The screen-saver effect

Yesterday I was struggling to write an automatic JavaScript generation thing in .NET. I spent most of the afternoon looking at it, and got it nearly working, but had to go home before it was finished. This morning, it took less than five minutes to get it fully sorted out.

This sort of thing happens to me almost monthly. I am good at "switching off" when I leave work, so I don't think about work much when I'm at home. When I have lingering problem, I find that if I start to think about it when I go to bed, when I get to work, my brain has done a whole load of OnIdle() processing while I was asleep and I already know how to solve it.
12 January 2005