jack: (Default)
[personal profile] jack
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:

..."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 :)

Date: 2004-11-30 07:37 am (UTC)
mair_in_grenderich: (Default)
From: [personal profile] mair_in_grenderich
the only solution is to go bed really, really late, so that when you wake up late, you've still only had eight hours sleep.

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)
ext_8103: (Default)
From: [identity profile] ewx.livejournal.com
Presumably it should have said "blah","blah","blah",""}.

Date: 2004-11-30 01:35 pm (UTC)
From: [identity profile] cartesiandaemon.livejournal.com
Well, I'd have had free time in the evening, but it wouldn't fix that I'm going in to work late constantly...

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.)