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 2 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.
  • 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]

    W Offline
    W Offline
    wizardzz
    wrote on last edited by
    #5

    I agree, but try explaining that to the HR witch regarding why I swear, stand up, then leave my desk for 15 minutes. When I work from home or work on my own projects, I'll work out or play the drums for 10 minutes. I've had that approach for almost 10 years now. It's amazing how easily doing something physical, yet stimulating, can clear the mind.

    H 1 Reply Last reply
    0
    • W wizardzz

      I agree, but try explaining that to the HR witch regarding why I swear, stand up, then leave my desk for 15 minutes. When I work from home or work on my own projects, I'll work out or play the drums for 10 minutes. I've had that approach for almost 10 years now. It's amazing how easily doing something physical, yet stimulating, can clear the mind.

      H Offline
      H Offline
      Hans Dietrich
      wrote on last edited by
      #6

      wizardzz wrote:

      doing something physical, yet stimulating

      Hmmmm. Physical? Stimulating? No, I don't think... Oh, wait. I thought of one thing.

      Best wishes, Hans


      [Hans Dietrich Software]

      A 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]

        J Offline
        J Offline
        JOAT MON
        wrote on last edited by
        #7

        I find it often helps. Brings to mind the saying: "Can't see the forest for the trees."

        Jack of all trades ~ Master of none.

        1 Reply Last reply
        0
        • H Hans Dietrich

          wizardzz wrote:

          doing something physical, yet stimulating

          Hmmmm. Physical? Stimulating? No, I don't think... Oh, wait. I thought of one thing.

          Best wishes, Hans


          [Hans Dietrich Software]

          A Offline
          A Offline
          AspDotNetDev
          wrote on last edited by
          #8

          I could only think of one thing too. It involves some balls, at least one partner (sometimes more), and a stick of wood. You may have heard of this activity before. Ping pong. :)

          [WikiLeaks Cablegate Cables]

          L 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]

            S Offline
            S Offline
            Soulus83
            wrote on last edited by
            #9

            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 1 Reply Last reply
            0
            • A AspDotNetDev

              I could only think of one thing too. It involves some balls, at least one partner (sometimes more), and a stick of wood. You may have heard of this activity before. Ping pong. :)

              [WikiLeaks Cablegate Cables]

              L Offline
              L Offline
              LloydA111
              wrote on last edited by
              #10

              5 :)


              See if you can crack this: b749f6c269a746243debc6488046e33f
              (This one is much easier than the last one!)

              The unofficial awesome history of Code Project's Bob! "People demand freedom of speech to make up for the freedom of thought which they avoid."

              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]

                Y Offline
                Y Offline
                Yusuf
                wrote on last edited by
                #11

                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?

                all the time. When ever I get stuck, I go outside and take a walk. The worst one are, I go home for the day, but in the back of the mind I am still thinking about the problem, then when I get to the shower soaked with soap foam, boooooooom, the solution comes like revelation. I feel like running to my computer to test it out. Arrrrrggggg. I've to rinse and get dressed first. :doh:

                Yusuf May I help you?

                H 1 Reply Last reply
                0
                • Y Yusuf

                  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?

                  all the time. When ever I get stuck, I go outside and take a walk. The worst one are, I go home for the day, but in the back of the mind I am still thinking about the problem, then when I get to the shower soaked with soap foam, boooooooom, the solution comes like revelation. I feel like running to my computer to test it out. Arrrrrggggg. I've to rinse and get dressed first. :doh:

                  Yusuf May I help you?

                  H Offline
                  H Offline
                  Hans Dietrich
                  wrote on last edited by
                  #12

                  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]

                  W L 2 Replies 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]

                    W Offline
                    W Offline
                    wizardzz
                    wrote on last edited by
                    #13

                    That happens to me a lot, or while I'm on the can. Both are not optimal to transferring my ideas to a suitable media.

                    A 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]

                      G Offline
                      G Offline
                      GenJerDan
                      wrote on last edited by
                      #14

                      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.

                      H L 2 Replies 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.

                        H Offline
                        H Offline
                        Hans Dietrich
                        wrote on last edited by
                        #15

                        One of my clients has a policy of assigning developers to work in QA for a week, usually several times a year. I'm told that some developers even ask to be transferred to the QA department, because they like it better.

                        Best wishes, Hans


                        [Hans Dietrich Software]

                        1 Reply Last reply
                        0
                        • W wizardzz

                          That happens to me a lot, or while I'm on the can. Both are not optimal to transferring my ideas to a suitable media.

                          A Offline
                          A Offline
                          AspDotNetDev
                          wrote on last edited by
                          #16

                          Me too! In fact, I went through a variety of tests to try out things I could use to write in the shower. Nothing really worked. Some things washed off too easily, some things left marks, some colored the grout, and others melted in hot water. Though I haven't tried a grease pen yet. If somebody invents a practical way to take notes in the shower, I would be all over that action.

                          [WikiLeaks Cablegate Cables]

                          W 1 Reply Last reply
                          0
                          • A AspDotNetDev

                            Me too! In fact, I went through a variety of tests to try out things I could use to write in the shower. Nothing really worked. Some things washed off too easily, some things left marks, some colored the grout, and others melted in hot water. Though I haven't tried a grease pen yet. If somebody invents a practical way to take notes in the shower, I would be all over that action.

                            [WikiLeaks Cablegate Cables]

                            W Offline
                            W Offline
                            wizardzz
                            wrote on last edited by
                            #17

                            digital voice recorder that only starts recording on a command?

                            A 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]

                              G Offline
                              G Offline
                              Gary R Wheeler
                              wrote on last edited by
                              #18

                              Yup. I run at lunchtime three days a week. If I've got a bug pending before I go out, I'll often think of the solution while I'm running. The combination of the break in attention, relaxation, and the endorphins seem to help.

                              Software Zen: delete this;

                              1 Reply Last reply
                              0
                              • W wizardzz

                                digital voice recorder that only starts recording on a command?

                                A Offline
                                A Offline
                                AspDotNetDev
                                wrote on last edited by
                                #19

                                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 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
                                  #20

                                  That's quite normal, at first it's hard to see your own mistakes. Whatever you had in mind when you wrote your code, you first keep repeating it and this let's you go in circles. If you let it go and do something else for a while, you are forced to analyze it again. Then chances are much better that you see where you went wrong instead of just seeing what you originally intended.

                                  "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
                                  • 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
                                          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