Actually, I too had a share of weird dreams throughout my 'creative' life as a programmer. Since after I started coding Pascal intensively at age 13, I would get those dreams where I would continue hacking away at a piece of code that I didn't quite finish in the day.
The most weird thing though is that there were many times when I would wake from such a dream, rush back to my computer and type out whatever I did in the dream.. and know what? many times it would work with minimal debugging!! I swear to it! ;-). Further, most of my toughest challenges were solved while I was asleep. Simply amazing.. nothing special, but amazing...
No wonder some companies are willing or even eager to claim and pay for any coding that takes place outside normal work hours (up to and including dreams!).
"There is no system but GNU, and Linux is one of its kernels." -- Confession of Faith