Live data from Hacker News

You got the programming fatigue?

news.ycombinator.com

11–20 of 38 posts

Re: You got the programming fatigue?

#11
1. Vim (black background)

2. Dvorak (use a typing tutor (like ten thumbs if on OSX))

3. Kinesis (not needed after 1 and 2 are fluent)

Almost left computing because of the pain, but after heeding the above 3 points, I'm back at 100%. No pain, and to top it off, I type faster. Win-win situation :) Oh, and get up and stretch every hour or two. If back pain is an issue (compressed L4 here), then get a desk you can stand at, and a comfy architects stool.

Re: You got the programming fatigue?

#12

Physical pain is to be expected when you work on a laptop. I use my PC for long hours without any kind of discomfort, but working on the MacBook for even a few hours tires me out. Here is what I suggest: 1. Try using a desktop computer, if you can. 2. If you can't use a desktop, get a separate monitor, keyboard and mouse for your laptop. Use this setup when you're coding at home. 3. Learn and use Emacs or Vim. They'r…

Additional tip on emacs: swap the Ctrl and Caps keys. If you are on Mac, use Aquamacs because it allows you to use the option key instead of the control key, which is awkwardly positioned on both PC and Mac.

If there was anything Sun got right in its workstation design, it was where they put the damn control key: next to your pinky, where it belongs.

Re: You got the programming fatigue?

#13
post #5

A lot of people keep their hands at the keyboard for long periods of time; excessive use of keyboard shortcuts keeps you in the same position for longer. I find that typing in bursts works better for me; I hold my chin, lean back, etc. while I ponder what to code next. Rather than keeping your wrist in the same position a lot, it gets to flex and move around. I had a lot more pain while coding at home because I would…

May I suggest Zenburn? It has to be one of the most beautiful and comfortable color schemes out there. Available for both Emacs, Vim and a host of other editors/IDEs. http://slinky.imukuppi.org/zenburnpage/

I prefer wombat. It's a gvim only scheme (unless you know a guy who interpolated it for 256 color), but it is veeeery nice.

Re: You got the programming fatigue?

#14

I found these wrist stretches very helpful: http://www.fitsugar.com/309088 I also read somewhere that staring at a computer screen for a long period of time weakens the eyes. It suggested that every 20 minutes you should get out of your seat and walk around, concentrating on objects different distances away. Also, make sure you maintain good posture when sitting at the computer.

I also read somewhere that staring at a computer screen for a long period of time weakens the eyes. It suggested that every 20 minutes you should get out of your seat and walk around, concentrating on objects different distances away.

I don't have any scientific proof of this but I try to do it when possible as well. Once or twice per day I try to go outside and focus on things as far away as possible and try to make out detail. It definitely makes me more relaxed when I sit back down to work again.

Re: You got the programming fatigue?

#15
post #4

Unless it has been diagnosed as carpel tunnel syndrome, I would guess that the wrist pain is actually a more general "repetitive stress injury" (RSI). Proper posture helps a lot for this, as does taking regular mini-breaks to let your wrists rest. Software RSI break timers help; I use AntiRSI on my mac. The idea is to let your arms hang down for 10 seconds or so every 5-10 minutes. Take longer breaks regularly, and s…

I agree, a lot of "carpal tunnel" is most likely RSI. This lady explains it in great detail here:

http://www.aboutcts.com/moreon_cts.html

Her main site is http://julstro.com which pertains to the whole body, but the aboutcts.com site deals specifically with carpal tunnel issues.

Re: You got the programming fatigue?

#16
Try changing your posture and work environment from time to time. I regularly switch mouse hands, for example.

Also, dark color scheme is best. I have harmless floaters in my eyes but they make bright white backgrounds look like a freaking protozoan dance party.

Re: You got the programming fatigue?

#17
eyestrain: optometrist said to focus on something far away every so offend. This relaxes the eyes. I also got some eye drops to help relax them (called "clear eyes" or something)

wrist pain: for me, coldness was a big factor, so I have fingerless gloves onhand, rub my hands warm when sore, and of course try to keep the room warm. Awkward posture and being tense were also factors. And, for the first time ever, I went to the trouble of automating my common tasks in vim (esp. mapping keys to macros).

Straining an injury can make it permanent. Having done it myself, I sincerely do not recommend it.

Re: You got the programming fatigue?

#18

Physical pain is to be expected when you work on a laptop. I use my PC for long hours without any kind of discomfort, but working on the MacBook for even a few hours tires me out. Here is what I suggest: 1. Try using a desktop computer, if you can. 2. If you can't use a desktop, get a separate monitor, keyboard and mouse for your laptop. Use this setup when you're coding at home. 3. Learn and use Emacs or Vim. They'r…

Additional tip on emacs: swap the Ctrl and Caps keys. If you are on Mac, use Aquamacs because it allows you to use the option key instead of the control key, which is awkwardly positioned on both PC and Mac. If there was anything Sun got right in its workstation design, it was where they put the damn control key: next to your pinky, where it belongs.

Some people argue that swapping ctrl and caps isn't good. See http://xahlee.org/emacs/emacs_pinky.html. Xah Lee says use a good keyboard... Not sure if this is true. I'm perfectly happy using the control key by reaching down with my left pinky...

Re: You got the programming fatigue?

#19
Sadly, I think a lot of this isn't physical but psychological. The stress of programming for a job will express itself in your body, despite the best mitigating techniques (keyboard layout, editor choice, screen color scheme, typing breaks, posture).

During intense job-related programming sessions, I'd have all sorts of hand and back aches. When programming just as intensely on a personal project, no aches at all.

Re: You got the programming fatigue?

#20

Physical pain is to be expected when you work on a laptop. I use my PC for long hours without any kind of discomfort, but working on the MacBook for even a few hours tires me out. Here is what I suggest: 1. Try using a desktop computer, if you can. 2. If you can't use a desktop, get a separate monitor, keyboard and mouse for your laptop. Use this setup when you're coding at home. 3. Learn and use Emacs or Vim. They'r…

Additional tip on emacs: swap the Ctrl and Caps keys. If you are on Mac, use Aquamacs because it allows you to use the option key instead of the control key, which is awkwardly positioned on both PC and Mac. If there was anything Sun got right in its workstation design, it was where they put the damn control key: next to your pinky, where it belongs.

I wholeheartedly agree with swapping ctrl/caps. It also keeps other people from using my machines. :) Linux, Windoze, and Mac all have swapped ctrl keys.

Personally, I use command and option as meta. I don't like Aquamacs, they make it just different enough from standard Emacs to be annoying.

Post reply on HN