dfdashh
For those interested I'd highly recommend the work of Peter Christen [1], who does a ton of research in this space. If you want to see some code, check out the implementations of several of these algorithms I wrote a while back [2].
Also, I'll often briefly open up some code at work while I'm eating lunch just to get my mind going on it. A quick scan of the structure allows me to then break away from the computer to walk/think/socialize while my subconscious mind chews on whatever the problem is. Whenever I find a free chunk of time, I'll already have a rough idea of what I can do to push that needle forward. It's then just a matter of doing it!
Disclosure: I'm on the Xonotic core team :)
I hope it helps.
My "mindful" running hacks
http://www.antzucaro.com/2010/07/mindful-running-hacks/
As a long distance runner, I know that the biggest challenges to running aren't physical - they are all in my head! Most of the time it is mental fatigue or self-pressure that really slows me down. I've come up with a list of the mind hacks that I use to overcome the challenges of running longer distances. What are some techniques that you use?