Tuesday, September 11, 2007

Bad time to upgrade

Step 1: Get a new iPod, one of the latest-generation "iPod classic" ones.
Step 2: Realize that, while compatible with my iBook, it's not compatible with the OS I was running (10.3.something)
Step 3: Decide that, since I was planning on upgrading anyway, now would be a good time to do it.
Step 4: Go out and buy OS 10.4.
Step 5: Realize today that OS 10.5 is due to come out in a month, and is also compatible with my iBook.

I wonder if I'll be able to upgrade to OS 10.5 at a discount since my purchase of 10.4 was so recent. Google hasn't been much help on that end, so I guess it's "wait and see" for the time being.

Thursday, September 06, 2007

Bored

I'm bored, so I'm going to bore you with some computer stuff...

When working in any programming language that supports C-style commenting (both /* */ and //), there is a simple way to have a large block of code that can easily be commented and uncommented. You start the comment block normally: /*, but you end the comment somewhat differently: //*/, with no code following on the line of the end-comment code. To un-comment the block of code, type another / before the opening /*, resulting in //*:

// Commented out:
/*
foo("bar");
...
//*/


// Not commented out:
//*

foo("bar");
...
//*/

Okay, back to work.

Tuesday, September 04, 2007

Stardust

So last night I saw Stardust: that new movie based on the novel by Neil Gaiman. The movie was excellent; on par with Pan's Labyrinth, with the added bonus of me not having to read subtitles or learn Spanish (which, really, I should learn anyway.) This post is not, however, going to be a review of the movie. Just go see it.

A little later that night, I was standing outside with my field of vision unintentionally pointing upwards, when I saw a meteor (more precisely, a fireball, boldie, or detonating fireball.) Now, I've seen meteors before: individual unexpected meteors, meteor showers I've decided to go outside and watch, I've even briefly owned a couple meteorites. This one was a vibrant green, a color I've seen before in meteors, and lasted a good two to three seconds. Towards the end of it's path it slowed down and disintegrated into several smaller chunks, some falling behind to make a short trail of meteors. One of the more impressive displays I've seen. I'd guess it's apparent magnitude was at least as bright as -5.