simont: A picture of me in 2016 (Default)
simont ([personal profile] simont) wrote2002-07-08 01:39 pm

(no subject)

When I'm sitting in front of a computer and I get bored, I usually type a series of commands that check whether I have any new email, any new netnews, anything new on GROGGS, or anything new in any of the livejournals I read.

Today I got sick of typing four different commands, so I wrote a wrapper that brings them all together. Now I just type "bored" and the machine automatically goes and checks all my usual haunts for me.

I'm already thinking this may have been a mistake: the act of typing four separate commands and dithering in between them usually occupied up to a minute, but now I have the "bored" command it takes more like two seconds. This gives me an extra 58 seconds to spend actually being bored, so I'm unconvinced that it's an improvement! :-)

[identity profile] enslore.livejournal.com 2002-07-08 06:12 am (UTC)(link)
That's excellent. I want one! I'm always bored.

More options

(Anonymous) 2002-07-10 02:45 pm (UTC)(link)
The script should do something interesting (maybe violent?) when invoked with "now" as the first argument.

[identity profile] kilinrax.livejournal.com 2002-07-11 06:14 am (UTC)(link)
I think I'm suffering from some kind of unhealthy language bias. Took one look at the source for bored and ljpoll and my immediate response was to mentally rewrite them in Perl.

Re: *blinks*

[identity profile] kilinrax.livejournal.com 2002-07-11 09:25 am (UTC)(link)
*grins*. Sorry about that.

I wasn't criticising you're choice of language; my point was that writing it in python is a perfectly reasonable thing to do. That my brain immediately decided to translate it into Perl in order to understand it either displays an excessive bias towards Perl, or a fluency in it that vastly exceeds that which I possess in most other languages.
Whichever it is; I feel this needs to be rectified ;}