Today I learned - Page 13
Page 13 of 17 FirstFirst ... 31112131415 ... LastLast
Results 181 to 195 of 245

Thread: Today I learned

  1. #181
    Senior Member cluelessPHP's Avatar
    Join Date
    Apr 2015
    Location
    Scotland
    Posts
    461
    Today I learned the plant pot I used to grow potatoes may have been a little small

    Once you had a good excuse, you opened the door to bad excuses ― Terry Pratchett, Thud
    Fresh start
    Current date 14/10/17
    Finish date "should be" 14/04/18

    Vote on your preferred indentation method

  2. #182
    Pedantic Curmudgeon Weedpacket's Avatar
    Join Date
    Aug 2002
    Location
    General Contact Unit "Coping Mechanism"
    Posts
    22,518
    Quote Originally Posted by cluelessPHP View Post
    Seems useful, was getting sore heads looking at the white screen for so long with notepad++ this seems better
    You know you can change that in Notepad++ as well, right?
    THERE IS AS YET INSUFFICIENT DATA FOR A MEANINGFUL ANSWER
    FAQs! FAQs! FAQs! Most forums have them!
    Search - Debugging 101 - Collected Solutions - General Guidelines - Getting help at all

  3. #183
    Senior Member cluelessPHP's Avatar
    Join Date
    Apr 2015
    Location
    Scotland
    Posts
    461
    Quote Originally Posted by Weedpacket View Post
    You know you can change that in Notepad++ as well, right?
    Um you can? I never looked at the settings to be honest, besides Visual studio deems to highlight different syntax which makes it easier to read. I normally avoid plugins but I would assume notepad++ can do the same.

    Oh one other positive seems to be you can set it up to debug PHP without going to network response(admittedly I have to set it up but from what I've read that's what it does)
    Once you had a good excuse, you opened the door to bad excuses ― Terry Pratchett, Thud
    Fresh start
    Current date 14/10/17
    Finish date "should be" 14/04/18

    Vote on your preferred indentation method

  4. #184
    Senior Member cluelessPHP's Avatar
    Join Date
    Apr 2015
    Location
    Scotland
    Posts
    461
    Once you had a good excuse, you opened the door to bad excuses ― Terry Pratchett, Thud
    Fresh start
    Current date 14/10/17
    Finish date "should be" 14/04/18

    Vote on your preferred indentation method

  5. #185
    Senior Member cluelessPHP's Avatar
    Join Date
    Apr 2015
    Location
    Scotland
    Posts
    461
    Today I learned

    PHP Code:
    function startTime() {
            var 
    today = new Date().getHours();
            if (
    today >= && today <= 12) {
                
    document.getElementById("demo").innerHTML "<h1>Good moring</h1>";
            }
            else if(
    today >= 12 && today <= 15){
                
    document.getElementById("demo").innerHTML "<h1>Good afternoon</h1>";
            }
            else if(
    today >= 15 && today <= 0){
                
    document.getElementById("demo").innerHTML "<h1>Good evening</h1>";
            }
            else if(
    today >= && today <= 5){
                
    document.getElementById("demo").innerHTML "<h1>Greetings night owl</h1>";
            } 
    Or is that tonight I learned
    Once you had a good excuse, you opened the door to bad excuses ― Terry Pratchett, Thud
    Fresh start
    Current date 14/10/17
    Finish date "should be" 14/04/18

    Vote on your preferred indentation method

  6. #186
    Senior Member cluelessPHP's Avatar
    Join Date
    Apr 2015
    Location
    Scotland
    Posts
    461
    Today I learned...
    According to a new survey, one third of millennial, generation “X” and “Z” respondents believe that more people were killed while Bush was US president than under the dictatorship of former Soviet Union leader Joseph Stalin.
    What the...?
    Once you had a good excuse, you opened the door to bad excuses ― Terry Pratchett, Thud
    Fresh start
    Current date 14/10/17
    Finish date "should be" 14/04/18

    Vote on your preferred indentation method

  7. #187
    Settled 4 red convertible dalecosp's Avatar
    Join Date
    Jul 2002
    Location
    Accelerating Windows at 9.81 m/s....
    Posts
    8,505
    Quote Originally Posted by cluelessPHP View Post
    Today I learned...


    What the...?
    Poor education, and too much poor media to top it off.

    Perhaps also that some people are better at WWW publishing than they are at gathering statistics via surveys.
    /!!\ mysql_ is deprecated --- don't use it! Tell your hosting company you will switch if they don't upgrade! /!!!\ ereg() is deprecated --- don't use it!

    dalecosp "God doesn't play dice." --- Einstein "Perl is hardly a paragon of beautiful syntax." --- Weedpacket

    Getting Help at All --- Collected Solutions to Common Problems --- Debugging 101 --- Unanswered Posts --- OMBE: Office Machines, Business Equipment

  8. #188
    Senior Member cluelessPHP's Avatar
    Join Date
    Apr 2015
    Location
    Scotland
    Posts
    461
    Quote Originally Posted by dalecosp View Post
    Poor education, and too much poor media to top it off.

    Perhaps also that some people are better at WWW publishing than they are at gathering statistics via surveys.
    I'm still going to grumble about it
    Once you had a good excuse, you opened the door to bad excuses ― Terry Pratchett, Thud
    Fresh start
    Current date 14/10/17
    Finish date "should be" 14/04/18

    Vote on your preferred indentation method

  9. #189
    High Energy Magic Dept. NogDog's Avatar
    Join Date
    Aug 2006
    Location
    Ankh-Morpork
    Posts
    14,855
    To be fair, that question is kind of confusing: is it asking whether more people were killed in general world-wide during those different national leaders' terms of service, or as a direct result of them? While I'm personally pretty sure Stalin would win on the directly responsible side; with the world population being much, much larger during Bush's terms as president, overall killings world-wide might be, at least, closer? (Still seems to me Stalin would "win" since a good chunk of his leadership time was during WWII, but I don't know that for sure without a bunch of Googling.)

    That being said, I suspect world history is lacking in the US school systems, as it wasn't great way back when I was in school, and I suspect it's even worse now. Most of what I know has come from my own personal reading and general interest in military history in my younger days, as opposed to what I was taught in school.
    "Well done....Consciousness to sarcasm in five seconds!" ~ Terry Pratchett, Night Watch

    How to Ask Questions the Smart Way (not affiliated with this site, but well worth reading)

    My Blog
    cwrBlog: simple, no-database PHP blogging framework

  10. #190
    Settled 4 red convertible dalecosp's Avatar
    Join Date
    Jul 2002
    Location
    Accelerating Windows at 9.81 m/s....
    Posts
    8,505
    Quote Originally Posted by cluelessPHP View Post
    I'm still going to grumble about it
    I can't say as I blame you. The lack of truth will ultimately be the undoing of mankind.
    /!!\ mysql_ is deprecated --- don't use it! Tell your hosting company you will switch if they don't upgrade! /!!!\ ereg() is deprecated --- don't use it!

    dalecosp "God doesn't play dice." --- Einstein "Perl is hardly a paragon of beautiful syntax." --- Weedpacket

    Getting Help at All --- Collected Solutions to Common Problems --- Debugging 101 --- Unanswered Posts --- OMBE: Office Machines, Business Equipment

  11. #191
    Senior Member cluelessPHP's Avatar
    Join Date
    Apr 2015
    Location
    Scotland
    Posts
    461
    I guess there is some technical wiggle room, I found the survey. Some of those numbers are just a little too low to be right, I'm hoping at least

    Survey
    Once you had a good excuse, you opened the door to bad excuses ― Terry Pratchett, Thud
    Fresh start
    Current date 14/10/17
    Finish date "should be" 14/04/18

    Vote on your preferred indentation method

  12. #192
    High Energy Magic Dept. NogDog's Avatar
    Join Date
    Aug 2006
    Location
    Ankh-Morpork
    Posts
    14,855
    Yep, those "this killed that many" questions are horribly vague. All I know is that between Hitler and Stalin and other leaders at that time, a ****load of people were killed, with the Soviet Union having significantly more than any other country: https://en.wikipedia.org/wiki/World_...ses_by_country
    "Well done....Consciousness to sarcasm in five seconds!" ~ Terry Pratchett, Night Watch

    How to Ask Questions the Smart Way (not affiliated with this site, but well worth reading)

    My Blog
    cwrBlog: simple, no-database PHP blogging framework

  13. #193
    Senior Member cluelessPHP's Avatar
    Join Date
    Apr 2015
    Location
    Scotland
    Posts
    461
    Certainly puts things into perspective, the first fifty years of that century was a bit of a meat grinder
    Once you had a good excuse, you opened the door to bad excuses ― Terry Pratchett, Thud
    Fresh start
    Current date 14/10/17
    Finish date "should be" 14/04/18

    Vote on your preferred indentation method

  14. #194
    Senior Member cluelessPHP's Avatar
    Join Date
    Apr 2015
    Location
    Scotland
    Posts
    461
    Oh and I did learn this

    PHP Code:
     $( "#click" ).click(function() {
         var 
    number Math.floor(Math.random() * 6);
        $( 
    ".inner" ).html(number);
      }); 
    And watch Victoria, I didn't know Rob Stark's girlfriend was Clara Oswald until today
    Last edited by cluelessPHP; 08-29-2017 at 04:29 PM.
    Once you had a good excuse, you opened the door to bad excuses ― Terry Pratchett, Thud
    Fresh start
    Current date 14/10/17
    Finish date "should be" 14/04/18

    Vote on your preferred indentation method

  15. #195
    Senior Member cluelessPHP's Avatar
    Join Date
    Apr 2015
    Location
    Scotland
    Posts
    461
    Today I learned about someone called Hypatia
    Once you had a good excuse, you opened the door to bad excuses ― Terry Pratchett, Thud
    Fresh start
    Current date 14/10/17
    Finish date "should be" 14/04/18

    Vote on your preferred indentation method

Thread Information

Users Browsing this Thread

There are currently 2 users browsing this thread. (0 members and 2 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •