Hahaha I did that too! Or you upload it to the wrong directory. Been there, done that 😃

    4 days later
    Weedpacket;11008195 wrote:

    You're not alone: D'OH!.

    D'oh! Indeed ... 😛

    Corrected link: D'OH!

    Derokorian: sorry about your half-wasted day. But the bright side (I assume): you still get paid. 🙂

      Seems like at least once a week I'll spend some inordinate amount of time testing queries, var_dump()-ing arrays, and whatnot, and then realize my horribly complex bug that must be the result of a subtle logic error is, in fact, one mistyped variable name.

        I often miss dealing with PHP. I'd say my language use at work is now more like 85% C, 10% Python, 5% assembly.

        Still amazes me how some of the simplest errors (misplaced brace, missing semicolon, etc.) can cause a C compiler to vomit cryptic error messages all over the screen.

          bradgrafelman wrote:

          Still amazes me how some of the simplest errors (misplaced brace, missing semicolon, etc.) can cause a C compiler to vomit cryptic error messages all over the screen.

          Have you tried C++ with the use of template libraries? 😃

            NogDog;11008683 wrote:

            Seems like at least once a week I'll spend some inordinate amount of time testing queries, var_dump()-ing arrays, and whatnot, and then realize my horribly complex bug that must be the result of a subtle logic error is, in fact, one mistyped variable name.

            I used to have those. Now my IDE shows me that the variable is not set and highlights other occurrences of the variable. Makes it a lot harder to make that mistake. Now I could code while drunk! No, I don't do that. But I could!

              Bunkermaster;11008733 wrote:

              I used to have those. Now my IDE shows me that the variable is not set and highlights other occurrences of the variable. Makes it a lot harder to make that mistake. Now I could code while drunk! No, I don't do that. But I could!

              I guess I need to try your IDE. Not that I drink ... it's just that my top code quality is likely equal to yours after a quart of Jagermeister, or Weedpacket's whilst unconscious after a bike accident w/o a helmet.... 😃

                Don't underestimate yourself! The force is strong with you!

                That said, make your life easier, use a proper IDE. I switched to Jetbrain's PhpStorm 18 months ago and loving it every day. Free one month trial, worth the bucks for license. And no, I don't get percentage on sales.

                  Drinking whilst programming (or more like programming whilst drinking) brings me back to my college days... I learned that not only does alcohol reduce my ability to think logically, but it also reduces my ability to recognize my reduced ability(ies). I'd somehow managed to convolute what would have been a relatively simple boolean expression into this big huge nasty if() statement that, naturally, contained some logic flaws.

                  (Cue nerdy math joke: Friends don't let friends drink and derive!)

                    I almost never CUI (code under influence) but sometimes, when around midnight I receive a panicked phone call telling me something exploded and I'm in the middle of a party... I go fix the damn site and am drunk. But I don't make a habit of it. I'm a bit old now for party coding on regular basis!

                      bradgrafelman;11008817 wrote:

                      (Cue nerdy math joke: Friends don't let friends drink and derive!)

                      Can't believe I actually get this...

                        5 days later

                        Sometimes on a Friday night I really want to code and I really want to drink. So I do both. I've gotten quite good at recognizing when I need to stop (coding, that is 🙂).

                          23 days later
                          Bunkermaster;11008895 wrote:

                          I almost never CUI (code under influence) but sometimes, when around midnight I receive a panicked phone call telling me something exploded and I'm in the middle of a party... I go fix the damn site and am drunk. But I don't make a habit of it. I'm a bit old now for party coding on regular basis!

                          Lol. I've got one server that reads another server's site footer every so often to make sure it's still up; if not, I get a text message.

                          It's a good thing for the most part, but every once in a while someone reboots a router someplace at just the right (wrong?) time --- probably around 3AM.

                          And I'm a light sleeper these days. Sux0rz for me.....

                            Write a Reply...