This article is totally missing the basics. Exercise. I promise it will make ALL the difference. Get yourself a pull-up bar, and if you're feeling extra fancy, a dip bar. Push-ups, pull-ups, dips, and sit-ups. Every day. You'll be a coding machine. At the VERY least, push-ups. Every hour or two, take a break, knock off ten push-ups, walk around a bit, get some water, get back to work. I'll do this right at the office…
It doesn't take much time to learn how to do it correctly, and it's a lot more fun than running. All those aches and pains have gone away. Seriously, I can't recommend enough getting into lifting.