Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. I feel stupid.

I feel stupid.

Scheduled Pinned Locked Moved The Lounge
question
26 Posts 21 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Marco Bertschi

    Have you ever debugged your app, asking yourself why it doesn't perform like it should just to find out that you haven't implemented the OnClick event of the Button which should call the method which is intended to make the app do what you want it to? I just did :| .

    You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, the tallest guy in the NBA is Chinese, the Swiss hold the America's Cup, France is accusing the U.S. of arrogance, Germany doesn't want to go to war, and the three most powerful men in America are named "Bush", "Dick", and "Colon."

    K Offline
    K Offline
    kmoorevs
    wrote on last edited by
    #9

    Don't feel bad. I just found a create table statement with an extra comma that caused an infinite loop. The statement was added over 4 months ago. Unfortunately, it was discovered on a client remote. :doh:

    "Go forth into the source" - Neal Morse

    1 Reply Last reply
    0
    • R Rage

      Well, everybody brainfarts from time to time, so do not feel stupid. Plus, that one seems pretty obvious to debug.

      ~RaGE();

      I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus Do not feed the troll ! - Common proverb

      M Offline
      M Offline
      Marco Bertschi
      wrote on last edited by
      #10

      Rage wrote:

      Plus, that one seems pretty obvious to debug.

      Genius me started to look for a bug in the TCP Client/Server implementation - For 15 minutes until I reckoned that the client's send method was never called - I think you can guess why :~.

      You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, the tallest guy in the NBA is Chinese, the Swiss hold the America's Cup, France is accusing the U.S. of arrogance, Germany doesn't want to go to war, and the three most powerful men in America are named "Bush", "Dick", and "Colon."

      1 Reply Last reply
      0
      • M Marco Bertschi

        Have you ever debugged your app, asking yourself why it doesn't perform like it should just to find out that you haven't implemented the OnClick event of the Button which should call the method which is intended to make the app do what you want it to? I just did :| .

        You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, the tallest guy in the NBA is Chinese, the Swiss hold the America's Cup, France is accusing the U.S. of arrogance, Germany doesn't want to go to war, and the three most powerful men in America are named "Bush", "Dick", and "Colon."

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #11

        NO, no I never have. :-O

        MVVM # - I did it My Way ___________________________________________ Man, you're a god. - walterhevedeich 26/05/2011 .\\axxx (That's an 'M')

        1 Reply Last reply
        0
        • M Marc Clifton

          _Psychopomp_ wrote:

          you haven't implemented the OnClick event of the Button

          Just this morning I spent 30 minutes typing in over and over "www.codeproject.com", and then I realized I hadn't pushed the power button on my computer. ;) Marc

          Unit Testing Succinctly

          U Offline
          U Offline
          User 3117538
          wrote on last edited by
          #12

          Once, I implemented a mail client/server in Java long back (around 2002 I think). I found that no mails are being sent. I started putting System.out messages everywhere (No debugging tools :(. Used to use notepad to write code). Finally to find out that the sendMail method was never called. Took around 30 minutes to find that that line was commented by me the previous day to do some fast coding+debugging on UI feature. :)

          1 Reply Last reply
          0
          • M Marco Bertschi

            Have you ever debugged your app, asking yourself why it doesn't perform like it should just to find out that you haven't implemented the OnClick event of the Button which should call the method which is intended to make the app do what you want it to? I just did :| .

            You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, the tallest guy in the NBA is Chinese, the Swiss hold the America's Cup, France is accusing the U.S. of arrogance, Germany doesn't want to go to war, and the three most powerful men in America are named "Bush", "Dick", and "Colon."

            U Offline
            U Offline
            User 3117538
            wrote on last edited by
            #13

            Once, I implemented a mail client/server in Java long back (around 2002 I think). I found that no mails are being sent. I started putting System.out messages everywhere (No debugging tools back then :(. Used to use notepad to write code). Finally to find out that the sendMail method was never called. Took around 30 minutes to find that that line was commented by me the previous day to do some fast coding+debugging on UI feature. :)

            1 Reply Last reply
            0
            • M Marco Bertschi

              Have you ever debugged your app, asking yourself why it doesn't perform like it should just to find out that you haven't implemented the OnClick event of the Button which should call the method which is intended to make the app do what you want it to? I just did :| .

              You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, the tallest guy in the NBA is Chinese, the Swiss hold the America's Cup, France is accusing the U.S. of arrogance, Germany doesn't want to go to war, and the three most powerful men in America are named "Bush", "Dick", and "Colon."

              E Offline
              E Offline
              ExcellentOrg
              wrote on last edited by
              #14

              I did that in a demo to a new client but then quickly thinking on feet savd the day. I loudly yelled "So, this is how we debug, folks... Who wants to have coffee break?"....

              1 Reply Last reply
              0
              • M Marco Bertschi

                Have you ever debugged your app, asking yourself why it doesn't perform like it should just to find out that you haven't implemented the OnClick event of the Button which should call the method which is intended to make the app do what you want it to? I just did :| .

                You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, the tallest guy in the NBA is Chinese, the Swiss hold the America's Cup, France is accusing the U.S. of arrogance, Germany doesn't want to go to war, and the three most powerful men in America are named "Bush", "Dick", and "Colon."

                M Offline
                M Offline
                Mark_Wallace
                wrote on last edited by
                #15

                I want a tee-shirt that says that. (Not sure the Mrs will like it, though)

                I wanna be a eunuchs developer! Pass me a bread knife!

                1 Reply Last reply
                0
                • M Marco Bertschi

                  Have you ever debugged your app, asking yourself why it doesn't perform like it should just to find out that you haven't implemented the OnClick event of the Button which should call the method which is intended to make the app do what you want it to? I just did :| .

                  You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, the tallest guy in the NBA is Chinese, the Swiss hold the America's Cup, France is accusing the U.S. of arrogance, Germany doesn't want to go to war, and the three most powerful men in America are named "Bush", "Dick", and "Colon."

                  3 Offline
                  3 Offline
                  3n1g
                  wrote on last edited by
                  #16

                  I do something of the like. I write functions and spend quite some time making sure it works fine and it won't blow up on me. Then I go to debug the darn thing to see if it works only to find that I didn't even called the function where I should. So I'm just left with a function that isn't called anywhere and wondering why the hell the darn thing doesn't work. Just last week I did this 3 times in the same day (it was a bad day).

                  1 Reply Last reply
                  0
                  • M Marco Bertschi

                    Have you ever debugged your app, asking yourself why it doesn't perform like it should just to find out that you haven't implemented the OnClick event of the Button which should call the method which is intended to make the app do what you want it to? I just did :| .

                    You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, the tallest guy in the NBA is Chinese, the Swiss hold the America's Cup, France is accusing the U.S. of arrogance, Germany doesn't want to go to war, and the three most powerful men in America are named "Bush", "Dick", and "Colon."

                    M Offline
                    M Offline
                    Mark_Wallace
                    wrote on last edited by
                    #17

                    You're not supposed to click things any more, anyway, not when you've got greasy fingers that can tap.

                    I wanna be a eunuchs developer! Pass me a bread knife!

                    1 Reply Last reply
                    0
                    • M Marco Bertschi

                      Have you ever debugged your app, asking yourself why it doesn't perform like it should just to find out that you haven't implemented the OnClick event of the Button which should call the method which is intended to make the app do what you want it to? I just did :| .

                      You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, the tallest guy in the NBA is Chinese, the Swiss hold the America's Cup, France is accusing the U.S. of arrogance, Germany doesn't want to go to war, and the three most powerful men in America are named "Bush", "Dick", and "Colon."

                      D Offline
                      D Offline
                      DarthDana
                      wrote on last edited by
                      #18

                      I used to (and still do) have an issue with semicolons when coding in C/C++. I will get so used to placing them at the end of each line that I will inadvertently put one at the end of an if/while/for statement and then try to figure out why the following code only ran once.

                      1 Reply Last reply
                      0
                      • B Brisingr Aerowing

                        :doh: Lé Oops!

                        Keep Clam And Proofread -- √(-1) 23 ∑ π... And it was delicious.

                        G Offline
                        G Offline
                        Gary Huck
                        wrote on last edited by
                        #19

                        Brisingr Aerowing wrote:

                        √(-1) 23 ∑ π..

                        Thanks for exercising my old math parts.

                        1 Reply Last reply
                        0
                        • M Marco Bertschi

                          Have you ever debugged your app, asking yourself why it doesn't perform like it should just to find out that you haven't implemented the OnClick event of the Button which should call the method which is intended to make the app do what you want it to? I just did :| .

                          You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, the tallest guy in the NBA is Chinese, the Swiss hold the America's Cup, France is accusing the U.S. of arrogance, Germany doesn't want to go to war, and the three most powerful men in America are named "Bush", "Dick", and "Colon."

                          R Offline
                          R Offline
                          RafagaX
                          wrote on last edited by
                          #20

                          Yes, and it's the moment where I simply stop working and go to get some coffe and fresh air...

                          CEO at: - Rafaga Systems - Para Facturas - Modern Components for the moment...

                          1 Reply Last reply
                          0
                          • M Marco Bertschi

                            Have you ever debugged your app, asking yourself why it doesn't perform like it should just to find out that you haven't implemented the OnClick event of the Button which should call the method which is intended to make the app do what you want it to? I just did :| .

                            You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, the tallest guy in the NBA is Chinese, the Swiss hold the America's Cup, France is accusing the U.S. of arrogance, Germany doesn't want to go to war, and the three most powerful men in America are named "Bush", "Dick", and "Colon."

                            C Offline
                            C Offline
                            Christine Forward
                            wrote on last edited by
                            #21

                            No, but I've found those kind of things while doing manual testing...and then I don't feel so bad when I miss a test scenario. It's not always that easy to second-guess users.

                            Don't look now but a QA Engineer just snuck in...

                            1 Reply Last reply
                            0
                            • M Marco Bertschi

                              Have you ever debugged your app, asking yourself why it doesn't perform like it should just to find out that you haven't implemented the OnClick event of the Button which should call the method which is intended to make the app do what you want it to? I just did :| .

                              You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, the tallest guy in the NBA is Chinese, the Swiss hold the America's Cup, France is accusing the U.S. of arrogance, Germany doesn't want to go to war, and the three most powerful men in America are named "Bush", "Dick", and "Colon."

                              B Offline
                              B Offline
                              BrainiacV
                              wrote on last edited by
                              #22

                              I spent two weeks in the field once trying to find out why a conveyor would stop working. I rewrote a colleague's code that I thought was too sloppy in handling 8 bits in a 16 bit register and its inverse. Still failed. Finally back in the office, problem unsolved, one of other programmers offered his help. I pulled up the code and said pointing at the code, "it does this, then it does that, and what the hell is that doing there?" I had cloned a subroutine and changed all but one reference in it from the original. My eyes had glided over it, I don't know how many times, but it was a lot. It didn't help that the hardware was operating in a manner not described in the manual. A scale was to report the weight of a package when the package was between photoeyes mounted at 1". The client was trying to sort 1/2" cutting boards and the scale realized it had weight on it without seeing a package from the leading photoeye and would respond immediately instead of last in a chain of events. The code was written not to care about order, but that one out of place command introduced an implied sequence of order that normal carton flow allowed to exist.

                              Psychosis at 10 Film at 11 Those who do not remember the past, are doomed to repeat it. Those who do not remember the past, cannot build upon it.

                              1 Reply Last reply
                              0
                              • M Marco Bertschi

                                Have you ever debugged your app, asking yourself why it doesn't perform like it should just to find out that you haven't implemented the OnClick event of the Button which should call the method which is intended to make the app do what you want it to? I just did :| .

                                You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, the tallest guy in the NBA is Chinese, the Swiss hold the America's Cup, France is accusing the U.S. of arrogance, Germany doesn't want to go to war, and the three most powerful men in America are named "Bush", "Dick", and "Colon."

                                L Offline
                                L Offline
                                Lost User
                                wrote on last edited by
                                #23

                                numerous times I have used = instead of == Doh! :doh:

                                1 Reply Last reply
                                0
                                • M Marco Bertschi

                                  Have you ever debugged your app, asking yourself why it doesn't perform like it should just to find out that you haven't implemented the OnClick event of the Button which should call the method which is intended to make the app do what you want it to? I just did :| .

                                  You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, the tallest guy in the NBA is Chinese, the Swiss hold the America's Cup, France is accusing the U.S. of arrogance, Germany doesn't want to go to war, and the three most powerful men in America are named "Bush", "Dick", and "Colon."

                                  P Offline
                                  P Offline
                                  Plamen Dragiyski
                                  wrote on last edited by
                                  #24

                                  1. If you need to debug one piece of code more than once, check your hungry/thirsty/wc status. If there is a problem, solve it. 2. If you need to debug more than three times in a row for single module/class/function (depends on language), check what time is it. If it is late night, go to sleep. 3. Don't forget it also seems there is some connection between your health status and the computer programming way of thinking, so check your health status. If none three of the above apply, don't forget that "code as you think" programming requires you to be exact (machine-like thinking), while human imperfect but resilience to errors thinking model does not follow exactly the rules, so errors occurs, that's ok.

                                  1 Reply Last reply
                                  0
                                  • M Marco Bertschi

                                    Have you ever debugged your app, asking yourself why it doesn't perform like it should just to find out that you haven't implemented the OnClick event of the Button which should call the method which is intended to make the app do what you want it to? I just did :| .

                                    You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, the tallest guy in the NBA is Chinese, the Swiss hold the America's Cup, France is accusing the U.S. of arrogance, Germany doesn't want to go to war, and the three most powerful men in America are named "Bush", "Dick", and "Colon."

                                    C Offline
                                    C Offline
                                    ClockMeister
                                    wrote on last edited by
                                    #25

                                    Happens all the time! ;)

                                    1 Reply Last reply
                                    0
                                    • R Rage

                                      Well, everybody brainfarts from time to time, so do not feel stupid. Plus, that one seems pretty obvious to debug.

                                      ~RaGE();

                                      I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus Do not feed the troll ! - Common proverb

                                      A Offline
                                      A Offline
                                      aboubkr90
                                      wrote on last edited by
                                      #26

                                      Nah, Sometimes I debug a huge amount of code (that i previously tested) to find a problem more obvious (like and '!' in front of a Boolean expression).

                                      1 Reply Last reply
                                      0
                                      Reply
                                      • Reply as topic
                                      Log in to reply
                                      • Oldest to Newest
                                      • Newest to Oldest
                                      • Most Votes


                                      • Login

                                      • Don't have an account? Register

                                      • Login or register to search.
                                      • First post
                                        Last post
                                      0
                                      • Categories
                                      • Recent
                                      • Tags
                                      • Popular
                                      • World
                                      • Users
                                      • Groups