![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
On friday I was very frustrated that my code worked fine in the debugger, but didn't work not in the debugger. On monday, rested, and having thought about the logical possible differences, I found the clue in a code fragment:
DOH!
The funny thing is that *today* I have a headache. I hope I don't code better with a headache, or I'll end up feeling obligated to drink every week and then not take paracetemol or water :( though :) too :)
And *why* do I have a headache. I didn't drink much on saturday, and nothing yesterday, and had as much sleep as reasonable. Except that *every day* now I think "I'll get up at eight" and then, eight hours later "I feel awful. I can work late this once. *snooze* " And then a few hours later I *still* feel awful. So I get wonderful lie ins but don't enjoy them. Stop hating me now :)
..."blah","blah","blah"}; // don't forget terminating ""
DOH!
The funny thing is that *today* I have a headache. I hope I don't code better with a headache, or I'll end up feeling obligated to drink every week and then not take paracetemol or water :( though :) too :)
And *why* do I have a headache. I didn't drink much on saturday, and nothing yesterday, and had as much sleep as reasonable. Except that *every day* now I think "I'll get up at eight" and then, eight hours later "I feel awful. I can work late this once. *snooze* " And then a few hours later I *still* feel awful. So I get wonderful lie ins but don't enjoy them. Stop hating me now :)
no subject
Date: 2004-11-30 07:37 am (UTC)choke on my lack-of-geek (he's at a conference), but I don't understand the bit about the bug.
maybe having a headache forces you to concentrate more properly?
bug
Date: 2004-11-30 12:54 pm (UTC)no subject
Date: 2004-11-30 01:35 pm (UTC)And ewx's right about what i should have put. (I deduce that the debugger zero'd some memory, simulating a "", while the live code didn't.)