I tap my feet. It must be really annoying for the guy next to me, because I keep my keys in the pocket of the same leg, and I'm pretty sure they jingle. Hard to tell - I always have headphones in.
I tap my feet. It must be really annoying for the guy next to me, because I keep my keys in the pocket of the same leg, and I'm pretty sure they jingle. Hard to tell - I always have headphones in.
I, er, smell my fingertips a lot.
>> TMI
Way.
Code:#include <cmath> #include <complex> bool euler_flip(bool value) { return std::pow ( std::complex<float>(std::exp(1.0)), std::complex<float>(0, 1) * std::complex<float>(std::atan(1.0) *(1 << (value + 2))) ).real() < 0; }
It's hard to explain. I take the heel of my thumb, grasp it between the thumb and middle finger of the other hand, and roll it back and forth. I do this enough that it leaves a callus on my hand, which I have to trim off using nail clippers.
Yes, it's really weird.
Code://try //{ if (a) do { f( b); } while(1); else do { f(!b); } while(1); //}
>> I do this enough that it leaves a callus on my hand, which I have to trim off using nail clippers.
That's...pretty unusual. Have you always done this, or is it just programming induced?
Code:#include <cmath> #include <complex> bool euler_flip(bool value) { return std::pow ( std::complex<float>(std::exp(1.0)), std::complex<float>(0, 1) * std::complex<float>(std::atan(1.0) *(1 << (value + 2))) ).real() < 0; }
I've always done it. As a child I had several nervous behaviors (not sure if they'd qualify as "tics" or not, although a neurologist did look at me). They've all passed except for this one.
I think it's psychological, not neurological. I remember as a young kid, holding my father's hand and squeezing his thumb in exactly the same way. He got annoyed by it, told me not to do it anymore, and so I started doing it to my own thumb. That's my theory, anyway.
For a while I tried substituting something else for it, like squeezing a ball of putty. Didn't really work.
Code://try //{ if (a) do { f( b); } while(1); else do { f(!b); } while(1); //}
I guess this isn't really a "bodily habit", but I do require a number of small, totemic stuffed animals around me while programming. They give me advice and seem to absorb my occasional frustrations. I always know I have lost perspective when my communication with my totemic idols breaks down.
I may not be alone in this; I was at a "web 2.0" convention last year and the most popular piece of swag (like, people were lining up and demanding to know where they came from) was a soft monkey with a cape and arms with slingshot bands inside, so you could pull the arms and fire the monkey into the air. There's some kind of kinetic noise maker inside connected to the slingshot bands, so while flying he makes a kind of "ooohh nnnooo!" squeak
Beyond that I'm not really religious but I also have a statue of Kali, mounted on a tiger, that I found. She is sort of an ancient, comforting presence with eight arms and a flaming sword.
Last edited by MK27; 06-14-2009 at 05:30 PM.
C programming resources:
GNU C Function and Macro Index -- glibc reference manual
The C Book -- nice online learner guide
Current ISO draft standard
CCAN -- new CPAN like open source library repository
3 (different) GNU debugger tutorials: #1 -- #2 -- #3
cpwiki -- our wiki on sourceforge
Nail biting. Smokers think they got it bad, but they definitly don't.
>> I remember as a young kid, holding my father's hand and squeezing his thumb in exactly the same way. He got annoyed by it, told me not to do it anymore, and so I started doing it to my own thumb. That's my theory, anyway.
That makes sense. We have a family friend whose son would do that to his fathers ears. As it turns out, the father explained to us, it was probably because he used to caress his sons ears when he was a toddler!
Beats rocking back and forth in your chair like a mad man, I guess.
Code:#include <cmath> #include <complex> bool euler_flip(bool value) { return std::pow ( std::complex<float>(std::exp(1.0)), std::complex<float>(0, 1) * std::complex<float>(std::atan(1.0) *(1 << (value + 2))) ).real() < 0; }
I remember reading a story about a Berkeley (MIT? Somewhere else?) computer science tutor who worked in the student lab. When a student would come to him with a question, he'd pull out an old Teddy bear. "Ask the bear first," he'd say, and would not help with the student's question until the student had done so.
9 out of 10 times (or something like that), the student would be enlightened simply by the act of explaining the problem to somebody, even if that somebody was an inanimate object.
I read that a long time ago, and took it to heart. You sure feel stupid interrupting somebody to ask a question, only to arrive at the answer yourself before they even get a chance to say anything.
Code://try //{ if (a) do { f( b); } while(1); else do { f(!b); } while(1); //}
That's a pretty funny story, but it's absolutely true. That principle should be taught in schools, come to think of it.
Code:#include <cmath> #include <complex> bool euler_flip(bool value) { return std::pow ( std::complex<float>(std::exp(1.0)), std::complex<float>(0, 1) * std::complex<float>(std::atan(1.0) *(1 << (value + 2))) ).real() < 0; }
I grind my teeth, frown, growl, rub my forehead, squint and lean towards the monitor.
Sometimes I take off my clothes, paint my body, and make offerings of fruit, animal furs and stone flints to the almighty Debugger!
OS: Linux Mint 13(Maya) LTS 64 bit.