Archive for April, 2010

Space Invaders Strike Again

Thursday, April 15th, 2010

I’m doing some spring cleaning of my files, and while browsing a forgotten partition on an old hard drive, I came across an ancient archive directory containing a few megabytes of miscellaneous source code. It’s dating back to my late teens, when I got a kick out of programming simple DOS games in Turbo Pascal. Of course, I couldn’t resist trying to run some of the old programs in DOSBox. Here’s a screenshot of my unfinished Space Invaders game:

This brings so many memories. I remember my ambition back then was to code the game completely from scratch, not using any libraries — I wrote the graphics code, keyboard handling, sprites and such all by myself in Turbo Pascal and some X86 assembly. This taught me a lot about programming, the X86 architecture, and DOS — most of this stuff is now obsolete and pretty much useless (especially when you make a living as a web developer), but it was really fun back then.

Hmm… I wonder if it would take long to port the game to Linux…

SelectList 0.2

Wednesday, April 14th, 2010

A new release of selectList (my multiple selection jQuery plugin) is now out. Version 0.2 brings proper handling of optgroup elements (as requested by a few users), and fixes one minor bug.

Thanks to Łukasz Ledóchowski for his feedback.

When Cats Go Fishing

Wednesday, April 7th, 2010

One of the advantages of having a cat: free delivery of fresh fish.

Yep, that’s what one of my cats brought home yesterday. A fish. And it was alive — didn’t even seem injured.

I put the little guy in a food container filled with water (pictured above), then set him free in a nearby water ditch where he probably came from. Must have been one hell of a ride for him.