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. Bug hunting

Bug hunting

Scheduled Pinned Locked Moved The Lounge
helpquestion
36 Posts 24 Posters 0 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.
  • S Soulus83

    Yes, all of the time. I remember having read some scientific studies showing that walking away of a problem - i.e. taking a break or going out for a cigar - it's the most succesfully approach to a problem, as our consciuous leaves the problem, we relay it to our subconnsciuos, which usually starts linking our ideas and previous knowledge that we don't consciously remember at the moment. On the other hand and probably related, I think that's why techniques like Pomodoro Technique have such good references, I have tried it a couple of times and can't complain! :-D

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

    The subconcious part exists, but is hard to get hold of. For no apparent reason the answer just comes to your mind. It's like your own mind started a thread to search for the answer and you don't realize it until it returns its results.

    "I have what could be described as the most wide-open sense of humor on the site, and if I don't think something is funny, then it really isn't." - JSOC, 2011 -----
    "Friar Modest never was a prior" - Italian proverb

    1 Reply Last reply
    0
    • H Hans Dietrich

      I read about a study done of people having brainstorms in the shower. I can't remember if it reached any conclusions.

      Best wishes, Hans


      [Hans Dietrich Software]

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

      It's not the shower. It's more about getting some distance to the problem and looking at it from another angle. Sleeping a night over it may accomplish the same thing, just as a million other things.

      "I have what could be described as the most wide-open sense of humor on the site, and if I don't think something is funny, then it really isn't." - JSOC, 2011 -----
      "Friar Modest never was a prior" - Italian proverb

      1 Reply Last reply
      0
      • G GenJerDan

        Yep. But more often, it seems, and in the environment I work, I find bugs months after the app has been in production...and the users never mentioned it. Or they DO suddenly start to complain about it as if I did something to break it after all these months...when the code hasn't been touched since the release. Some, I can't see how the app even worked at all, ever. Sure do wish I worked somewhere where the testers actually test the program, instead of just signing off on it to get it out of their queue.

        ..and water fell from the sky like rain.

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

        I think that's a different story. A few months ago a really bad application was replaced by one of mine. The old one could completely have been posted in the Code Horrors section, so I had to start completely from scratch. While I rewrote the entire thing, I was always surprised by the lethargy of the users. The old application failed every single day, as my improvised logging showed, but there were almost no support requests. I think the users simply took it as it was and lived with whatever they did or did not get. With the new one I keep getting support requests, even if not a single job has failed up to today. There are some things which had to be done differently in order to get them working and some of the users did not quite get it. Usually the answer is a polite version of RTFM. But everything is well. They have woken up, they actually use the application, they get what they were looking for and they ask questions. Only once in a while there seem to be users, who appear to want the awful old application back. It may have been bad, but they had gotton used to it. Now everything is new and that makes them uncertain. I guess, in time they will get over it.

        "I have what could be described as the most wide-open sense of humor on the site, and if I don't think something is funny, then it really isn't." - JSOC, 2011 -----
        "Friar Modest never was a prior" - Italian proverb

        1 Reply Last reply
        0
        • H Hans Dietrich

          In tracking down the bug I just mentioned below, I decided to put it aside and work on something else. When I came back to it the next day, I thought of obvious, simple way to find it - and it worked! Has anyone else had the experience of walking away from difficult problem, only to think of some simple solution when you come back to it later?

          Best wishes, Hans


          [Hans Dietrich Software]

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

          It is Very common to me also.

          Regards, Koushik. Most people never run far enough on their first wind to find out if they've got a second. Give your dreams all you've got and you'll be amazed at the energy that comes out of you.

          1 Reply Last reply
          0
          • H Hans Dietrich

            In tracking down the bug I just mentioned below, I decided to put it aside and work on something else. When I came back to it the next day, I thought of obvious, simple way to find it - and it worked! Has anyone else had the experience of walking away from difficult problem, only to think of some simple solution when you come back to it later?

            Best wishes, Hans


            [Hans Dietrich Software]

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

            Hans Dietrich wrote:

            Has anyone else had the experience of walking away from difficult problem, only to think of some simple solution when you come back to it later?

            I tend to take a break during the day and go for a walk. The brain can find associations when not actively working on the problem, that's why/how people can "dream up" solutions. Talking out loud to yourself helps too :)

            I are Troll :suss:

            1 Reply Last reply
            0
            • H Hans Dietrich

              In tracking down the bug I just mentioned below, I decided to put it aside and work on something else. When I came back to it the next day, I thought of obvious, simple way to find it - and it worked! Has anyone else had the experience of walking away from difficult problem, only to think of some simple solution when you come back to it later?

              Best wishes, Hans


              [Hans Dietrich Software]

              _ Offline
              _ Offline
              _stefanu_
              wrote on last edited by
              #26

              Welcome to the club :)

              1 Reply Last reply
              0
              • H Hans Dietrich

                In tracking down the bug I just mentioned below, I decided to put it aside and work on something else. When I came back to it the next day, I thought of obvious, simple way to find it - and it worked! Has anyone else had the experience of walking away from difficult problem, only to think of some simple solution when you come back to it later?

                Best wishes, Hans


                [Hans Dietrich Software]

                B Offline
                B Offline
                Battlehammer
                wrote on last edited by
                #27

                More times than not.

                1 Reply Last reply
                0
                • H Hans Dietrich

                  In tracking down the bug I just mentioned below, I decided to put it aside and work on something else. When I came back to it the next day, I thought of obvious, simple way to find it - and it worked! Has anyone else had the experience of walking away from difficult problem, only to think of some simple solution when you come back to it later?

                  Best wishes, Hans


                  [Hans Dietrich Software]

                  F Offline
                  F Offline
                  Fabio Franco
                  wrote on last edited by
                  #28

                  Yep, I get that a lot. Sometimes when I leave the problem alone I suddenly realize how stupid I am. Sometimes the problem is so ridiculous, that I wonder how I had not seen it. Now, on real difficult problems, I usually go outside, fire up a cigarret and usually I come up with a solution before it ends. (Disclaimer: This is the most stupid thing to get addicted to, so pleas don't, it won't make you smarter, just dumber. This was a bad choice of my younger days I'm trying to correct).

                  1 Reply Last reply
                  0
                  • A AspDotNetDev

                    Great idea! But I prefer to write things. Still, that's probably more workable than anything I've come up with.

                    [WikiLeaks Cablegate Cables]

                    L Offline
                    L Offline
                    Lilith C
                    wrote on last edited by
                    #29

                    Might try the Boggie Board. You can write on it with a stylus and erase the info with the push of a button. It looks like it might stand up to humidity.

                    I'm not a programmer but I play one at the office

                    S 1 Reply Last reply
                    0
                    • H Hans Dietrich

                      In tracking down the bug I just mentioned below, I decided to put it aside and work on something else. When I came back to it the next day, I thought of obvious, simple way to find it - and it worked! Has anyone else had the experience of walking away from difficult problem, only to think of some simple solution when you come back to it later?

                      Best wishes, Hans


                      [Hans Dietrich Software]

                      C Offline
                      C Offline
                      chaq686
                      wrote on last edited by
                      #30

                      Yes, walking away with a pork burrito, diet coke and cigar. Always help.

                      1 Reply Last reply
                      0
                      • H Hans Dietrich

                        In tracking down the bug I just mentioned below, I decided to put it aside and work on something else. When I came back to it the next day, I thought of obvious, simple way to find it - and it worked! Has anyone else had the experience of walking away from difficult problem, only to think of some simple solution when you come back to it later?

                        Best wishes, Hans


                        [Hans Dietrich Software]

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

                        For me, the solution is to take a nap. This applies to program development as well. After a nap, all the what-ifs, maybes, and could-bes get swept away and the important stuff resurfaces. I wish I could depend on it at all times, but more often than not, I'll wake up and a solution or another avenue of approach will appear in my mind.

                        Psychosis at 10 Film at 11

                        1 Reply Last reply
                        0
                        • H Hans Dietrich

                          In tracking down the bug I just mentioned below, I decided to put it aside and work on something else. When I came back to it the next day, I thought of obvious, simple way to find it - and it worked! Has anyone else had the experience of walking away from difficult problem, only to think of some simple solution when you come back to it later?

                          Best wishes, Hans


                          [Hans Dietrich Software]

                          M Offline
                          M Offline
                          Michael Kingsford Gray
                          wrote on last edited by
                          #32

                          More often than not! A beer or two often helps.

                          1 Reply Last reply
                          0
                          • H Hans Dietrich

                            In tracking down the bug I just mentioned below, I decided to put it aside and work on something else. When I came back to it the next day, I thought of obvious, simple way to find it - and it worked! Has anyone else had the experience of walking away from difficult problem, only to think of some simple solution when you come back to it later?

                            Best wishes, Hans


                            [Hans Dietrich Software]

                            R Offline
                            R Offline
                            R Erasmus
                            wrote on last edited by
                            #33

                            Walking away for a short brake helps alot... I usually think of what the problem could be on my little brake. It helps getting out of the office and going outside, even if for a ciggie. To go get some inspiration from nature. My brother is also a developer and he solves his problems in his sleep. I've heard in talking in his sleep about programming problems on numerous occasions. So I suppose everyone has there own way. ;)

                            "Program testing can be used to show the presence of bugs, but never to show their absence." << please vote!! >>

                            1 Reply Last reply
                            0
                            • L Lilith C

                              Might try the Boggie Board. You can write on it with a stylus and erase the info with the push of a button. It looks like it might stand up to humidity.

                              I'm not a programmer but I play one at the office

                              S Offline
                              S Offline
                              SohjSolwin
                              wrote on last edited by
                              #34

                              What about this? Minno Wrist Slate[^]

                              M 1 Reply Last reply
                              0
                              • H Hans Dietrich

                                In tracking down the bug I just mentioned below, I decided to put it aside and work on something else. When I came back to it the next day, I thought of obvious, simple way to find it - and it worked! Has anyone else had the experience of walking away from difficult problem, only to think of some simple solution when you come back to it later?

                                Best wishes, Hans


                                [Hans Dietrich Software]

                                B Offline
                                B Offline
                                Brady Kelly
                                wrote on last edited by
                                #35

                                Nearly always. That is a routine part of the way I code.

                                1 Reply Last reply
                                0
                                • S SohjSolwin

                                  What about this? Minno Wrist Slate[^]

                                  M Offline
                                  M Offline
                                  mysticalbear
                                  wrote on last edited by
                                  #36

                                  You might try this too: http://www.amazon.com/Aquanotes-AquaNotes-Waterproof-Notepad/dp/B003W09LTQ?&camp=212361&linkCode=wsw&tag=martothepas-20&creative=380781

                                  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