"Murphy was an optimist!"
I stole my wife’s dream November 7, 2007 6:43 am
Posted by Doug McCaughan in : Daily LifeI woke up having my wife’s dream waking up having my wife’s dream waking up having my wife’s dream. She did this the other night and it is both disturbing and cool. After coding during the wee hours I took a nap and dreamed that I woke up and went back to coding and after a little work I really woke up to realize I had been dreaming about work then I closed my eyes drifting back to sleep to have the same dream. I repeated this cycle about 4 times.
I feel very sleep deprived.
add a commentI dream solutions to my problems November 5, 2007 7:24 am
Posted by Doug McCaughan in : Daily Life, Health, MentalAt 3am, I was pounding my head on my keyboard with this bizarre problem. The PHP code I had written was reading the XML data from the XML file but for some inexplicable reason was breaking one of the nodes in half. If it was supposed to read "the quick brown fox jumped over the lazy dog" it would instead create two nodes such as "the quick brown" and "fox jumped over the lazy dog". Maddening! So I slept. And in 5 minutes this morning, I solved the problem. I still wish I could take a pill instead of sleeping.
Update: The correction to the problem was to read the whole file instead of reading it in 4096 chunks.
add a comment