I'm writing a book called "Why programmers work at night" (http://nightowlsbook.com) and as part of it I'm tackling the problem of helping programmers (and their managers/clients) get the best out of their brain, which includes things like sleep deprivation, how nutrition impacts cognitive performance and feelings of fatigue etc.