Log in

No account? Create an account
Previous Entry Share Next Entry
Getting with the program
while (!well) {

That said, last night I had the best sleep in the past week, so I seem to be on the mend. I hope.

In other news, it's brilliant sunshine outside and I have the light on in my office. The IR-blocking film that was placed on my windows while I was in Bulgaria cuts the light down by so much (70%) that it feels like an abnormally hot winter's day. Meanwhile, they're using pneumatic drills on the building site under my window, so I have my window closed. I've just finished a telecon, so I've had my office door closed. The temperature difference between my office (with window film, and with door and window closed) and next door (without film, with window open but door closed - the occupant is working in the main lab) is 1.5°C; my room is 29.5°C, my neighbour's is 28°C.

  • 1
You should put a sleep(); in that loop...

When I was at my worst, I wasn't managing to sleep between cycles...

My first thought was that you could have done all that with a shell script :) Maybe I should re-evaluate my current choice of bedtime reading.

...I'm waiting for the inevitable language jerk to come on and tell you that he could have been that ill in just a single line of perl.

I originally contemplated writing it in an Algol-style pseudocode, but thought that people would tell me off for being too academic (well, duh).

And yet you feel able to present code with control flow by global variable to the world? I worry the fever has addled your brain.

What makes you think the variable is global? That code fragment may be within a method body in C++. Or Java, if the brain damage is permanent.

The real sign that Nick is not well surely has to be that it's using a while loop at all, rather than tail recursion.

Four function calls in a loop? You could probably do that in one line of assembler, if it weren't for semantic newlines.

  • 1