Happy birthday this 9th October to ...
Oct. 9th, 2007 09:07 pmApropos of nothing in particular, but in the category of Geeky Things I Thought Were Brilliant, comes something noted in passing in the comments thread to this Making Light post about the A&R letter to booksellers -- a bug in a program with no code at all:
#184 ::: Rob Landley ::: (view all by) ::: August 15, 2007, 01:34 PM:Quality. I used to use Irix at uni -- I wish I'd known about this so I could see if it worked in the version we had. :)
Christopher D (#95): I can top that. My friend Piggy (Lamont Yarroll) once reported a bug in a zero byte program.
One of the old Unixes (irix?) used an empty file with the executable bit set as its implementation of the program "true". The system thought it was a shell script, loaded it, ran it (which did nothing), returned success. Clever, eh?
Except it didn't _quite_ do nothing. When running a new shell script, the shell reads and executes the script in /etc/profile first,to set up the environment. Now what happens if you use this version of "true" in /etc/profile? It caused an endless loop, spawning processes recursively until memory filled up.
Piggy noted that this was an infinite bug density. One bug in zero bytes of code.
Lyrics: Ah yes -- the last one was the Beatles classic A Day in the Life -- the fade-out track from Sgt Pepper in 1967. And since it's a favourite of mine, I was glad to discover that a lot of people knew it --
So having had a Beatles track, I guess the obvious next step is ...
I live in an apartment on the ninety-ninth floor of my block
And I sit at home looking out the window
Imagining the world has stopped
Then in flies a guy who's all dressed up like a Union Jack
And says, I've won five pounds if I have his kind of detergent pack (1960s)
no subject
Date: 2007-10-09 08:30 pm (UTC)no subject
Date: 2007-10-09 08:36 pm (UTC)::ponders::
You know, you're right. I can just make out 'detergent pack' but the rest is incomprehensible. :)
prior version deleted for sucky coding
Date: 2007-10-09 08:43 pm (UTC)I live in an apartment on the ninety-ninth floor with my love
I sit at home looking out the window imagining the world up above...
I don't think I ever stopped to ask how much of the world can possibly be above you if you live on the ninety-ninth floor.
The telephone is ringing, I play hide and seek with the bell on the line...
Obviously, his apartment is so messy that he has to hunt for the phone. It probably says something about my housekeeping skills that I thought this made perfect sense.
Don't hang around, 'cos I'll booze the ground!
I have no idea what I thought this meant.
It was so full a crowd of people there was nobody, not a soul around...
Clearly, one of those lost-in-a-crowd moments.
Re: prior version deleted for sucky coding
Date: 2007-10-10 12:02 am (UTC)::scurries away after having stolen a comment thread::
Re: prior version deleted for sucky coding
Date: 2007-10-10 12:52 am (UTC)::examines desk, tries to locate phone under pile of magazines/books/assorted random bits of paper::
Half the time I seem to have that "oh, that's what they're singing" reaction. Of course Proper Enunciation would help, but given a high tempo then the singer would probably finish the song about thirty seconds after the rest of the band. :)
Re: prior version deleted for sucky coding
Date: 2007-10-10 06:36 pm (UTC)Re: prior version deleted for sucky coding
Date: 2007-10-12 11:01 am (UTC)Re: prior version deleted for sucky coding
Date: 2007-10-12 04:48 pm (UTC)no subject
Date: 2007-10-09 10:00 pm (UTC)... and I guess I've never paid much attention to the lyrics, either, except for that chorus that's good to, um, shout along with.
no subject
Date: 2007-10-10 12:53 am (UTC)no subject
Date: 2007-10-09 11:57 pm (UTC)And why oh why must your music taste be so eclectic? I never get these! :P
no subject
Date: 2007-10-10 12:56 am (UTC)no subject
Date: 2007-10-10 06:06 am (UTC)no subject
Date: 2007-10-10 09:19 am (UTC)