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. Get Up And Walk Around moments

Get Up And Walk Around moments

Scheduled Pinned Locked Moved The Lounge
helpc++hardwarealgorithmsquestion
54 Posts 26 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.
  • G Gary Wheeler

    GuyThiebaut wrote:

    a deer shakes after having escaped danger the walk around gets the adrenalin out of the system

    I see the same thing in my greyhound. After he's run zoomies for a couple of minutes, he walks around shaking and blowing for a while. Even at almost ten years old, he can still get up to around 25 mph (racers at their peak can do 40+ mph).

    Software Zen: delete this;

    T Offline
    T Offline
    trønderen
    wrote on last edited by
    #21

    On the highway, I have seen Grehounds at 55 and 60 mph :-)

    G 1 Reply Last reply
    0
    • A Amarnath S

      My moment was in a complicated mathematical computation. Was getting wrong results for about a week. Then one afternoon was debugging when I saw that a minus sign was keyed in as a plus sign. After that fix, all results became correct.

      G Offline
      G Offline
      Gary Wheeler
      wrote on last edited by
      #22

      Reminds me of when I took the computer graphics class in college. I had been debugging a 3D clipping algorithm for a week, and it kept failing in a weird way. One night, after I'd been in the lab for almost 40 hours straight (yes, I was insane back then), I went out to the hallway with a listing and stretched it out on the floor. I looked at it for a couple hours, chain-smoking (I was also stupid back then) the whole time. I finally got up and started walking the hallways. After about ten minutes, the thought occurred to me to check my variable names against the original algorithm. I had used the names the algorithm used, which were unfortunately single lower-case characters. In one place, I had typed a 'b' instead of an 'h', both of which were variables in the algorithm. Go look at your keyboard; I'll wait.

      Software Zen: delete this;

      B 1 Reply Last reply
      0
      • T trønderen

        On the highway, I have seen Grehounds at 55 and 60 mph :-)

        G Offline
        G Offline
        Gary Wheeler
        wrote on last edited by
        #23

        Of course, I'm talking about the dog, 2nd fastest land animal on Earth (1st is the cheetah). They can accelerate from a standstill to 40 mph in six strides. Retired racers make great pets; "world's fastest couch potato" is a common description :-D .

        Software Zen: delete this;

        T M A 3 Replies Last reply
        0
        • G Gary Wheeler

          Of course, I'm talking about the dog, 2nd fastest land animal on Earth (1st is the cheetah). They can accelerate from a standstill to 40 mph in six strides. Retired racers make great pets; "world's fastest couch potato" is a common description :-D .

          Software Zen: delete this;

          T Offline
          T Offline
          trønderen
          wrote on last edited by
          #24

          Obviously! :-) 0 to 40mph in six strides, that is something. Did you ever calculate the acceleration in terms of g load? And also, how much kinetic energy does he gain in those six strides, in how short time - or in other words, how many watts of effect does he produce to do that acceleration? Animals can display some amazing capabilities, and if you sit down and do the math, it sometimes goes from amazing to truly unbelievable.

          G 1 Reply Last reply
          0
          • T trønderen

            Obviously! :-) 0 to 40mph in six strides, that is something. Did you ever calculate the acceleration in terms of g load? And also, how much kinetic energy does he gain in those six strides, in how short time - or in other words, how many watts of effect does he produce to do that acceleration? Animals can display some amazing capabilities, and if you sit down and do the math, it sometimes goes from amazing to truly unbelievable.

            G Offline
            G Offline
            Gary Wheeler
            wrote on last edited by
            #25

            trønderen wrote:

            Did you ever calculate the acceleration in terms of g load?

            No, but he develops considerable momentum (he weighs around 75 pounds). When we first got him it took a while to find a fencing contractor, so we put him outside on a steel cable attached to a tree to use the bathroom. We bought a collar that included plastic hardware, but was guaranteed for large dogs - 100 pounds and up. One day he caught sight of a cat, took off running, reached the end of the cable, and did not stop. The collar hardware shattered and off he went. Fortunately I was watching and chased off after him. The good news was he still needed to pee and when he stopped to do that I caught up to him.

            Software Zen: delete this;

            T 1 Reply Last reply
            0
            • A Amarnath S

              My moment was in a complicated mathematical computation. Was getting wrong results for about a week. Then one afternoon was debugging when I saw that a minus sign was keyed in as a plus sign. After that fix, all results became correct.

              B Offline
              B Offline
              BBar2
              wrote on last edited by
              #26

              Sounds like a good moment. I'm a big fan of some good math code.

              1 Reply Last reply
              0
              • G Gary Wheeler

                Reminds me of when I took the computer graphics class in college. I had been debugging a 3D clipping algorithm for a week, and it kept failing in a weird way. One night, after I'd been in the lab for almost 40 hours straight (yes, I was insane back then), I went out to the hallway with a listing and stretched it out on the floor. I looked at it for a couple hours, chain-smoking (I was also stupid back then) the whole time. I finally got up and started walking the hallways. After about ten minutes, the thought occurred to me to check my variable names against the original algorithm. I had used the names the algorithm used, which were unfortunately single lower-case characters. In one place, I had typed a 'b' instead of an 'h', both of which were variables in the algorithm. Go look at your keyboard; I'll wait.

                Software Zen: delete this;

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

                Ah yes. Spreading out listings. I visualize listings on fan fold printer paper. I realize you can get a listing on sheets of paper from any modern printer, but it's just not the same.

                1 Reply Last reply
                0
                • B BBar2

                  I’m a 60 year old coder. I’ve been doing it since I was 20. I always knew I loved it, but I just realized I truly do it for the get-up-and-walk-around moment. That’s the moment when you fix a sneaky bug, or complete a demanding or tricky task/algorithm/approach. It’s so satisfying, that you can’t simply move on to the next thing. You have to get up and walk around to bask in the satisfaction. I’m chasing a get up and walk around worthy bug in a bit of embedded C++ at the moment. It’s a timer fringe case, or a variable the should be volatile, and it’s not. I’ll get it, and I’ll certainly need to get-up-and-walk-around once it’s dead. Has anyone else recognized the need to get-up-and-walk-around after a truly satisfying coding moment? Do you have other victory rituals?

                  D Offline
                  D Offline
                  DrWalter PE
                  wrote on last edited by
                  #28

                  When I hit a snag and have no idea what else to try, I usually get, take a walk outside and when I return, I normally have some idea of what to try next, etc, until it's solved and time for a bourbon on the rocks.

                  T 1 Reply Last reply
                  0
                  • D DrWalter PE

                    When I hit a snag and have no idea what else to try, I usually get, take a walk outside and when I return, I normally have some idea of what to try next, etc, until it's solved and time for a bourbon on the rocks.

                    T Offline
                    T Offline
                    trønderen
                    wrote on last edited by
                    #29

                    Did you ever try to explain the problem to your rubber duck? I, and many others, can tell you that it works! A slightly modified variation: Write the documentation for it. Both the user/API documentation explaining how it is intended to be used, and the detailed maintenance documentation, explaining the data structures and the processing logic. Besides: Then the documentation is there, when someone asks for it! For non-programming stuff, I have been using a further slightly modified way. I really never thoroughly understood how a gyro works. How a heat pump works. How genetics and inheritance works. The chemistry of a battery ... So in my imagination, I keep alive gang of smart junior high school kids in a "Young Scientist Club" giving presentations of various stuff to their schoolmates. As I gradually learn more about a topic, I write it down as these young people's 'lecture' to their schoolmates - including the questions they receive from their audience when something is not clear. The rubber duck is a children's toy. A child needs to have things explained simply and clearly, yet in a correct manner. And you must be prepared for (sometimes shockingly) logic questions about why and how. Pretending that your rubber duck is that oh, so logic kid asking 'why' is a great help. Letting them materialize as an audience, and forcing that simple and clear explanation into a kid's presentation is mostly a way of 'formalizing' it, but for me, it has great value. This is an excellent way to force yourself to really get a thorough basic understanding, extract the fundamental ideas in a simple way, making sure that all you say (while impersonating one of the "young scientists") is correct, even if in a simple form. And the question part pinpoints what you have not yet mastered: I write down, as question from the audience, all those nasty 'sorry, I do not have a good answer to that', and then keep up my search for information on the field so that I can provide and answer. I rewrite 'lectures' all the time: If I manage to express my newly acquired understanding in simple terms, it goes into the basic presentation, but to keep the presentation at the simple level, some advanced parts must be kept as question/answer. It it definitely a goal to get as much as possible into such simple terms that they can be included in the basic presentation. This is a great way of learning, in a way that ensures that you really understand the problem completely, that you know how to bring your understanding

                    B 1 Reply Last reply
                    0
                    • G Gary Wheeler

                      Of course, I'm talking about the dog, 2nd fastest land animal on Earth (1st is the cheetah). They can accelerate from a standstill to 40 mph in six strides. Retired racers make great pets; "world's fastest couch potato" is a common description :-D .

                      Software Zen: delete this;

                      M Offline
                      M Offline
                      Mycroft Holmes
                      wrote on last edited by
                      #30

                      They are amazing to watch when they do zoomies, we have a few rescues (ex racers) that walk the beach with us in the morning, poor bloody labs just watch on in consternation of the flying streaks as they tear up and down the sand having a great time.

                      Never underestimate the power of human stupidity - RAH I'm old. I know stuff - JSOP

                      G 1 Reply Last reply
                      0
                      • G Gary Wheeler

                        trønderen wrote:

                        Did you ever calculate the acceleration in terms of g load?

                        No, but he develops considerable momentum (he weighs around 75 pounds). When we first got him it took a while to find a fencing contractor, so we put him outside on a steel cable attached to a tree to use the bathroom. We bought a collar that included plastic hardware, but was guaranteed for large dogs - 100 pounds and up. One day he caught sight of a cat, took off running, reached the end of the cable, and did not stop. The collar hardware shattered and off he went. Fortunately I was watching and chased off after him. The good news was he still needed to pee and when he stopped to do that I caught up to him.

                        Software Zen: delete this;

                        T Offline
                        T Offline
                        trønderen
                        wrote on last edited by
                        #31

                        Gary Wheeler wrote:

                        One day he caught sight of a cat, took off running, reached the end of the cable, and did not stop.

                        We may be sidetracking quite a bit here, but ... My dogs, several years ago, were great teddy bears, but not exactly greyhounds ... They were St.Bernhards, 75-80 kg (and at that time, that was lightweight, for a St.Bernhard!). My first dog of course couldn't follow a cat making twists and turns, but he could get into speed down a straight street. He did, getting into considerable speed. The cat jumped into a lawn, and he followed. The lawn had an area protected by a dense fir hedgerow. The cat flew under it. My 80 St.Bernhard tried to do the same. The earth shook. It is a great wonder none of the the hedge firs were pulled up by the root. Anyone claiming that animals have no feelings, can feel no shame, have never seen my dog that day. His tail was so tightly pressed against his belly that the tip almost reached his mouth. He refused to look me in the eye for at least an hour or two, searching for corners where he could hide. I guess our laughs (we did laugh!) didn't improve matters. But after all, we were his pack, so he gradually realized that our comforting strokes were honest signs of unity and support, and he relaxed. I believe that this episode was essential to strengthen the bonds between him and us as a pack. OK, so we did laugh when it happened, but he showed his feelings to us, and we clearly signaled: Yet you are one of us! We are still accepting you, we will comfort you. Straighten up, you are a good boy!

                        G O 2 Replies Last reply
                        0
                        • G Gary Wheeler

                          Of course, I'm talking about the dog, 2nd fastest land animal on Earth (1st is the cheetah). They can accelerate from a standstill to 40 mph in six strides. Retired racers make great pets; "world's fastest couch potato" is a common description :-D .

                          Software Zen: delete this;

                          A Offline
                          A Offline
                          Alister Morton
                          wrote on last edited by
                          #32

                          Sleeps up to 20 hours a day, runs like s**t off a shovel. Sighthounds are great.

                          G 1 Reply Last reply
                          0
                          • B BBar2

                            I’m a 60 year old coder. I’ve been doing it since I was 20. I always knew I loved it, but I just realized I truly do it for the get-up-and-walk-around moment. That’s the moment when you fix a sneaky bug, or complete a demanding or tricky task/algorithm/approach. It’s so satisfying, that you can’t simply move on to the next thing. You have to get up and walk around to bask in the satisfaction. I’m chasing a get up and walk around worthy bug in a bit of embedded C++ at the moment. It’s a timer fringe case, or a variable the should be volatile, and it’s not. I’ll get it, and I’ll certainly need to get-up-and-walk-around once it’s dead. Has anyone else recognized the need to get-up-and-walk-around after a truly satisfying coding moment? Do you have other victory rituals?

                            J Offline
                            J Offline
                            Jan Heckman
                            wrote on last edited by
                            #33

                            Sure, there's a whole proces. For me often like this: Agitation, walking around and most succesfully, going to the toilet, the idea hits home in a double relief, anticipation walking back to confirm and often yeah, Victory! Then, a bit of an inward, not seeing much, complete rest, hardly a heartbeat and feeling good.

                            1 Reply Last reply
                            0
                            • B BBar2

                              I’m a 60 year old coder. I’ve been doing it since I was 20. I always knew I loved it, but I just realized I truly do it for the get-up-and-walk-around moment. That’s the moment when you fix a sneaky bug, or complete a demanding or tricky task/algorithm/approach. It’s so satisfying, that you can’t simply move on to the next thing. You have to get up and walk around to bask in the satisfaction. I’m chasing a get up and walk around worthy bug in a bit of embedded C++ at the moment. It’s a timer fringe case, or a variable the should be volatile, and it’s not. I’ll get it, and I’ll certainly need to get-up-and-walk-around once it’s dead. Has anyone else recognized the need to get-up-and-walk-around after a truly satisfying coding moment? Do you have other victory rituals?

                              A Offline
                              A Offline
                              Adam ONeil Travelers Rest SC
                              wrote on last edited by
                              #34

                              I remember the moment I wrote my first ever function (1994) in what was then called Access Basic. I had taken one class in Turbo Pascal up to that point, but didn't understand it. I was handy with spreadsheets and understood what functions were. But I was trying to bridge over to databases, and everything looked strange. I don't remember what my function did, but I remember straining to understand how to solve a certain problem I was having at the moment, then having a flash of understanding how a function would help me. I distinctly remember getting up to take a walk around the building on my college campus where I was. I don't really have a victory ritual as such these days. It feels like every victory comes a dozen more action items.

                              1 Reply Last reply
                              0
                              • B BBar2

                                I’m a 60 year old coder. I’ve been doing it since I was 20. I always knew I loved it, but I just realized I truly do it for the get-up-and-walk-around moment. That’s the moment when you fix a sneaky bug, or complete a demanding or tricky task/algorithm/approach. It’s so satisfying, that you can’t simply move on to the next thing. You have to get up and walk around to bask in the satisfaction. I’m chasing a get up and walk around worthy bug in a bit of embedded C++ at the moment. It’s a timer fringe case, or a variable the should be volatile, and it’s not. I’ll get it, and I’ll certainly need to get-up-and-walk-around once it’s dead. Has anyone else recognized the need to get-up-and-walk-around after a truly satisfying coding moment? Do you have other victory rituals?

                                D Offline
                                D Offline
                                Dan Borden
                                wrote on last edited by
                                #35

                                In baseball terms it's called a homerun

                                1 Reply Last reply
                                0
                                • M Mycroft Holmes

                                  They are amazing to watch when they do zoomies, we have a few rescues (ex racers) that walk the beach with us in the morning, poor bloody labs just watch on in consternation of the flying streaks as they tear up and down the sand having a great time.

                                  Never underestimate the power of human stupidity - RAH I'm old. I know stuff - JSOP

                                  G Offline
                                  G Offline
                                  Gary Wheeler
                                  wrote on last edited by
                                  #36

                                  Mycroft Holmes wrote:

                                  they tear up and down the sand having a great time

                                  The joy they feel when they run is amazing. When I first adopted Bacchus, we thought like everyone else; they had to be 'forced' to run and were subject to cruel treatment if they didn't. Nothing could be further from the truth. You haven't seen real joy until you've watched them. Even when they're very old and reduced to a slow trot, they love running. That's why I refer to Bacchus as a retired racer rather than a rescue. He's a professional athlete who retired due to an injury (broken ankle, easily fixed but no more racing). His trainer called us twice after we adopted him to see how he was doing. Those folks love these animals; that's not cruelty.

                                  Software Zen: delete this;

                                  1 Reply Last reply
                                  0
                                  • B BBar2

                                    I’m a 60 year old coder. I’ve been doing it since I was 20. I always knew I loved it, but I just realized I truly do it for the get-up-and-walk-around moment. That’s the moment when you fix a sneaky bug, or complete a demanding or tricky task/algorithm/approach. It’s so satisfying, that you can’t simply move on to the next thing. You have to get up and walk around to bask in the satisfaction. I’m chasing a get up and walk around worthy bug in a bit of embedded C++ at the moment. It’s a timer fringe case, or a variable the should be volatile, and it’s not. I’ll get it, and I’ll certainly need to get-up-and-walk-around once it’s dead. Has anyone else recognized the need to get-up-and-walk-around after a truly satisfying coding moment? Do you have other victory rituals?

                                    W Offline
                                    W Offline
                                    WPerkins
                                    wrote on last edited by
                                    #37

                                    I am 66, I agree with the walk around time involved in some projects. I started out writing assembly code, some new, some "maintenance" which really meant chasing down reasons why the code misbehaved. Right now I am back in the embedded C (not C++) world in what will probably be my last full time job. The company is looking to move from one hardware platform to another and what is now stable code will become unstable once the switch starts. I have been tasked with understanding twenty year old code with an eye towards adapting it to new hardware - not rewrite but re-fit. Going to be fun.

                                    1 Reply Last reply
                                    0
                                    • B BBar2

                                      I’m a 60 year old coder. I’ve been doing it since I was 20. I always knew I loved it, but I just realized I truly do it for the get-up-and-walk-around moment. That’s the moment when you fix a sneaky bug, or complete a demanding or tricky task/algorithm/approach. It’s so satisfying, that you can’t simply move on to the next thing. You have to get up and walk around to bask in the satisfaction. I’m chasing a get up and walk around worthy bug in a bit of embedded C++ at the moment. It’s a timer fringe case, or a variable the should be volatile, and it’s not. I’ll get it, and I’ll certainly need to get-up-and-walk-around once it’s dead. Has anyone else recognized the need to get-up-and-walk-around after a truly satisfying coding moment? Do you have other victory rituals?

                                      J Offline
                                      J Offline
                                      john morrison leon
                                      wrote on last edited by
                                      #38

                                      Absolutely. It is time to take half a day off. But first I have to deal with the urgent bodily needs that have been building up while I've been so concentrated on the task.

                                      1 Reply Last reply
                                      0
                                      • T trønderen

                                        Gary Wheeler wrote:

                                        One day he caught sight of a cat, took off running, reached the end of the cable, and did not stop.

                                        We may be sidetracking quite a bit here, but ... My dogs, several years ago, were great teddy bears, but not exactly greyhounds ... They were St.Bernhards, 75-80 kg (and at that time, that was lightweight, for a St.Bernhard!). My first dog of course couldn't follow a cat making twists and turns, but he could get into speed down a straight street. He did, getting into considerable speed. The cat jumped into a lawn, and he followed. The lawn had an area protected by a dense fir hedgerow. The cat flew under it. My 80 St.Bernhard tried to do the same. The earth shook. It is a great wonder none of the the hedge firs were pulled up by the root. Anyone claiming that animals have no feelings, can feel no shame, have never seen my dog that day. His tail was so tightly pressed against his belly that the tip almost reached his mouth. He refused to look me in the eye for at least an hour or two, searching for corners where he could hide. I guess our laughs (we did laugh!) didn't improve matters. But after all, we were his pack, so he gradually realized that our comforting strokes were honest signs of unity and support, and he relaxed. I believe that this episode was essential to strengthen the bonds between him and us as a pack. OK, so we did laugh when it happened, but he showed his feelings to us, and we clearly signaled: Yet you are one of us! We are still accepting you, we will comfort you. Straighten up, you are a good boy!

                                        G Offline
                                        G Offline
                                        Gary Wheeler
                                        wrote on last edited by
                                        #39

                                        That poor baby... :laugh:

                                        Software Zen: delete this;

                                        1 Reply Last reply
                                        0
                                        • A Alister Morton

                                          Sleeps up to 20 hours a day, runs like s**t off a shovel. Sighthounds are great.

                                          G Offline
                                          G Offline
                                          Gary Wheeler
                                          wrote on last edited by
                                          #40

                                          Brilliant! :-D

                                          Software Zen: delete this;

                                          A 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