The Myth of the All-Nighter
blog.acthompson.net
blog.acthompson.net
The all nighter is a natural solution to this. If you have a way to recover afterwards, then it is perfect. No interruptions from co-workers, family, friends, students (I am a Prof), tv shows, sports, etc (the world is asleep, at least your immediate surroundings).
For me, there are two activities I regularly engage in that require full concentration and "loading up" my brain with the full information, for me to make real progress: writing, and coding.
Others have written about similar topics before: http://www.paulgraham.com/head.html