Friday, February 27, 2009, 08:13 PM ( 2 views )
There's really nothing quite like waking up at 3am with a solution to a problem. Even better is when you test the solution and it is correct.I woke up at 3am this morning and realized that I wasn't incrementing my section header pointer and that I was copying the same section multiple times. At first, I didn't want to get up... it was 3am! By 3:15a I couldn't stop thinking about it. So I got up, started the VPN, remote desktopped to my machine, typed in:
sh++;compiled, and executed the program. By 3:20a it was properly iterating over the sections copying the data I needed. Waking up with the solution was hard to believe.
I fell back asleep, and got to sleep in a bit (Thanks Kristen!). When I got to work in the morning sure enough it had really happened. Usually I wake up with the solution and fall back asleep and forget about it by morning. But this morning was different, and the solution remained. Has this ever happened to you?
permalink




