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. Your brain doesn't work right...

Your brain doesn't work right...

Scheduled Pinned Locked Moved The Lounge
adobequestion
41 Posts 33 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.
  • A Albert Holguin

    You need to break your foot.. preferably at the ankle... then try again.

    N Offline
    N Offline
    Nicholas Marty
    wrote on last edited by
    #22

    I once broke my leg... and got me a second knee on that leg. :D (at least until they fixed it in the hospital)

    1 Reply Last reply
    0
    • M Mark H2

      Please re-write without the use of GOTO. There's real programmers reading this. :)

      If your neighbours don't listen to The Ramones, turn it up real loud so they can. “We didn't have a positive song until we wrote 'Now I Wanna Sniff Some Glue!'” ― Dee Dee Ramone "The Democrats want my guns and the Republicans want my porno mags and I ain't giving up either" - Joey Ramone

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

      Exactly! That goto can easily be replaced by 60 lines of code, which will bring the added bonus of having time to nip off for a coffee/bacon sarnie/beer at the end of each iteration.

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

      1 Reply Last reply
      0
      • R r_hyde

        The circle gets a little hitchy at one point, but other than that I can do it correctly with good consistency. Furthermore, I find that I can do it absolutely flawlessly every time as long as I keep my eyes focused on the foot rather than the hand.

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

        Yeah, but you're supposed to draw a 6, not a 9.

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

        1 Reply Last reply
        0
        • OriginalGriffO OriginalGriff

          Try this. Trust me, it won't hurt. 1) While sitting at your desk, lift your right foot of the floor, and rotate it in clockwise circles. There! That wasn't too bad was it? 2) Now, while still rotating clockwise, lift your right hand, and draw a "6" in the air. Nothing wrong so far? goood. 3) Look at your foot. Why is it going anticlockwise? Because as I said - your brain doesn't work right...and there is nothing you can do to stop it happening... :laugh:

          The only instant messaging I do involves my middle finger. English doesn't borrow from other languages. English follows other languages down dark alleys, knocks them over and goes through their pockets for loose grammar.

          F Offline
          F Offline
          Freak30
          wrote on last edited by
          #25

          I first thougt it worked for me ... until i realized I was drawing the 6 with the left hand. :-O

          The good thing about pessimism is, that you are always either right or pleasently surprised.

          1 Reply Last reply
          0
          • L Lost User

            I had no trouble doing it right.

            J Offline
            J Offline
            Jonathan C Dickinson
            wrote on last edited by
            #26

            I could resist the change in direction for a few seconds. As it turns out I could also easily make my coworkers think there is something wrong with me. Another one you can try is (I learnt this one in primary school): 1. With an open palm rub your stomach in a circular motion. 2. Pat the top of your head with the other hand. One of your hands will follow the other and you will wind up patting your stomach or rubbing your head. Most people can get that one right with some practice though; especially if you are partially or fully ambidextrous.

            He who asks a question is a fool for five minutes. He who does not ask a question remains a fool forever. [Chinese Proverb] Jonathan C Dickinson (C# Software Engineer)

            1 Reply Last reply
            0
            • OriginalGriffO OriginalGriff

              Try this. Trust me, it won't hurt. 1) While sitting at your desk, lift your right foot of the floor, and rotate it in clockwise circles. There! That wasn't too bad was it? 2) Now, while still rotating clockwise, lift your right hand, and draw a "6" in the air. Nothing wrong so far? goood. 3) Look at your foot. Why is it going anticlockwise? Because as I said - your brain doesn't work right...and there is nothing you can do to stop it happening... :laugh:

              The only instant messaging I do involves my middle finger. English doesn't borrow from other languages. English follows other languages down dark alleys, knocks them over and goes through their pockets for loose grammar.

              T Offline
              T Offline
              Tomz_KV
              wrote on last edited by
              #27

              My brain works left.

              TOMZ_KV

              1 Reply Last reply
              0
              • OriginalGriffO OriginalGriff

                Try this. Trust me, it won't hurt. 1) While sitting at your desk, lift your right foot of the floor, and rotate it in clockwise circles. There! That wasn't too bad was it? 2) Now, while still rotating clockwise, lift your right hand, and draw a "6" in the air. Nothing wrong so far? goood. 3) Look at your foot. Why is it going anticlockwise? Because as I said - your brain doesn't work right...and there is nothing you can do to stop it happening... :laugh:

                The only instant messaging I do involves my middle finger. English doesn't borrow from other languages. English follows other languages down dark alleys, knocks them over and goes through their pockets for loose grammar.

                E Offline
                E Offline
                englebart
                wrote on last edited by
                #28

                Tap out a triplet pattern with one hand. Now try and tap out a half note or sixteenth note pattern with the other hand. Once you have mastered this, now try and reverse the hands.

                1 Reply Last reply
                0
                • M Mark H2

                  Please re-write without the use of GOTO. There's real programmers reading this. :)

                  If your neighbours don't listen to The Ramones, turn it up real loud so they can. “We didn't have a positive song until we wrote 'Now I Wanna Sniff Some Glue!'” ― Dee Dee Ramone "The Democrats want my guns and the Republicans want my porno mags and I ain't giving up either" - Joey Ramone

                  I Offline
                  I Offline
                  IndifferentDisdain
                  wrote on last edited by
                  #29

                  Someone had to do it, right? :)

                  var rightFoot = new Foot();
                  var rightHand = new Hand();
                  bool success = false;

                  while (!success) {
                  rightFoot.Rotate(eMode.Clockwise);
                  rightHand.DrawFigure(6);
                  Thread.Sleep(5000);
                  if(rightFoot.IsRotating(eMode.Clockwise) && rightHand.IsDrawing(6)){
                  success = true;
                  }
                  }

                  T K 2 Replies Last reply
                  0
                  • OriginalGriffO OriginalGriff

                    Try this. Trust me, it won't hurt. 1) While sitting at your desk, lift your right foot of the floor, and rotate it in clockwise circles. There! That wasn't too bad was it? 2) Now, while still rotating clockwise, lift your right hand, and draw a "6" in the air. Nothing wrong so far? goood. 3) Look at your foot. Why is it going anticlockwise? Because as I said - your brain doesn't work right...and there is nothing you can do to stop it happening... :laugh:

                    The only instant messaging I do involves my middle finger. English doesn't borrow from other languages. English follows other languages down dark alleys, knocks them over and goes through their pockets for loose grammar.

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

                    My brain works perfectly fine... wait... why the hell am I drawing an 8?

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

                    1 Reply Last reply
                    0
                    • OriginalGriffO OriginalGriff

                      Try this. Trust me, it won't hurt. 1) While sitting at your desk, lift your right foot of the floor, and rotate it in clockwise circles. There! That wasn't too bad was it? 2) Now, while still rotating clockwise, lift your right hand, and draw a "6" in the air. Nothing wrong so far? goood. 3) Look at your foot. Why is it going anticlockwise? Because as I said - your brain doesn't work right...and there is nothing you can do to stop it happening... :laugh:

                      The only instant messaging I do involves my middle finger. English doesn't borrow from other languages. English follows other languages down dark alleys, knocks them over and goes through their pockets for loose grammar.

                      J Offline
                      J Offline
                      J Julian
                      wrote on last edited by
                      #31

                      Ok. That's it. Now I'll be singing "Hi, my name is Joe, and I work...." for the rest of the day. You are hereby sentenced to work in nothing but Dartmouth BASIC and all the legacy code is nothing but GOTOs. :~

                      P 1 Reply Last reply
                      0
                      • P PIEBALDconsult

                        OriginalGriff wrote:

                        rotate it in clockwise circles

                        It only goes about thirty degrees and stops.

                        P Offline
                        P Offline
                        patbob
                        wrote on last edited by
                        #32

                        Its possible to get it to rotate further, I managed to rotate mine about 90 degrees once. Takes some assistance, though. On the plus side, it gives the airport x-ray scanner people something interesting to look at :)

                        We can program with only 1's, but if all you've got are zeros, you've got nothing.

                        1 Reply Last reply
                        0
                        • OriginalGriffO OriginalGriff

                          Try this. Trust me, it won't hurt. 1) While sitting at your desk, lift your right foot of the floor, and rotate it in clockwise circles. There! That wasn't too bad was it? 2) Now, while still rotating clockwise, lift your right hand, and draw a "6" in the air. Nothing wrong so far? goood. 3) Look at your foot. Why is it going anticlockwise? Because as I said - your brain doesn't work right...and there is nothing you can do to stop it happening... :laugh:

                          The only instant messaging I do involves my middle finger. English doesn't borrow from other languages. English follows other languages down dark alleys, knocks them over and goes through their pockets for loose grammar.

                          F Offline
                          F Offline
                          firegryphon
                          wrote on last edited by
                          #33

                          I can't do it because I can't draw the 6 while rotating my foot.

                          P 1 Reply Last reply
                          0
                          • I IndifferentDisdain

                            Someone had to do it, right? :)

                            var rightFoot = new Foot();
                            var rightHand = new Hand();
                            bool success = false;

                            while (!success) {
                            rightFoot.Rotate(eMode.Clockwise);
                            rightHand.DrawFigure(6);
                            Thread.Sleep(5000);
                            if(rightFoot.IsRotating(eMode.Clockwise) && rightHand.IsDrawing(6)){
                            success = true;
                            }
                            }

                            T Offline
                            T Offline
                            tchris
                            wrote on last edited by
                            #34

                            Love it! Bravo ;)

                            1 Reply Last reply
                            0
                            • F firegryphon

                              I can't do it because I can't draw the 6 while rotating my foot.

                              P Offline
                              P Offline
                              PIEBALDconsult
                              wrote on last edited by
                              #35

                              Try it in Roman Numerals.

                              1 Reply Last reply
                              0
                              • J J Julian

                                Ok. That's it. Now I'll be singing "Hi, my name is Joe, and I work...." for the rest of the day. You are hereby sentenced to work in nothing but Dartmouth BASIC and all the legacy code is nothing but GOTOs. :~

                                P Offline
                                P Offline
                                PIEBALDconsult
                                wrote on last edited by
                                #36

                                J Julian wrote:

                                Dartmouth BASIC

                                Is there any other kind? (Goes back to playing with VAX BASIC...)

                                1 Reply Last reply
                                0
                                • I IndifferentDisdain

                                  Someone had to do it, right? :)

                                  var rightFoot = new Foot();
                                  var rightHand = new Hand();
                                  bool success = false;

                                  while (!success) {
                                  rightFoot.Rotate(eMode.Clockwise);
                                  rightHand.DrawFigure(6);
                                  Thread.Sleep(5000);
                                  if(rightFoot.IsRotating(eMode.Clockwise) && rightHand.IsDrawing(6)){
                                  success = true;
                                  }
                                  }

                                  K Offline
                                  K Offline
                                  KP Lee
                                  wrote on last edited by
                                  #37

                                  At first I thought you had a bug, because as soon as you left the Rotate function, the foot would stop rotating and your loop would never be true. Then I realized that this function could just be setting a state field, so it will continue rotating. So, it should be true in the first iteration of the loop. Oh, that's it! A design flaw! The brain controls both. You forgot your brain! when you designed it,

                                  I 1 Reply Last reply
                                  0
                                  • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

                                    I have a 6 year old girl - even she done it right! (Shea has a habit to drawing six from the inside-out :laugh:)

                                    I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is (V).

                                    K Offline
                                    K Offline
                                    KP Lee
                                    wrote on last edited by
                                    #38

                                    Kornfeld Eliyahu Peter wrote:

                                    I have a 6 year old girl - even she done it right!
                                    (Shea has a habit to drawing six from the inside-out :laugh: )

                                    1 Reply Last reply
                                    0
                                    • G Gandalf_TheWhite

                                      mark merrens wrote:

                                      Draw the 6 backwards; that works.

                                      Genius! :-D

                                      Believe Yourself™

                                      K Offline
                                      K Offline
                                      KP Lee
                                      wrote on last edited by
                                      #39

                                      Gandalf - The White wrote:

                                      Genius! :-D

                                      Yes, but a six year old beat him to it!

                                      Kornfeld Eliyahu Peter wrote:

                                      I have a 6 year old girl - even she done it right!
                                      (Shea has a habit to drawing six from the inside-out :laugh:)

                                      (Posted earlier in the thread

                                      1 Reply Last reply
                                      0
                                      • I Indivara

                                        It's a feature, not a defect.

                                        K Offline
                                        K Offline
                                        KP Lee
                                        wrote on last edited by
                                        #40

                                        Indivara wrote:

                                        It's a feature, not a defect.

                                        Yes, Microsoft has drummed it through our heads that every addlepated design concept they have is a feature of the design. It's just that "Idiot is, as idiot does!" (Of course that makes me a, hopefully occasional, idiot.)

                                        1 Reply Last reply
                                        0
                                        • K KP Lee

                                          At first I thought you had a bug, because as soon as you left the Rotate function, the foot would stop rotating and your loop would never be true. Then I realized that this function could just be setting a state field, so it will continue rotating. So, it should be true in the first iteration of the loop. Oh, that's it! A design flaw! The brain controls both. You forgot your brain! when you designed it,

                                          I Offline
                                          I Offline
                                          IndifferentDisdain
                                          wrote on last edited by
                                          #41

                                          Maybe I'm in a brain class? For sake of brevity, I didn't go through namespaces and class declarations. Though I should have put at the end:

                                          rightHand.Rest();
                                          rightFoot.Rest();

                                          That was wearing me out all weekend! :)

                                          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