Perl and Pike scripts, and other projects

Auto ripping script for audio cd:s, Linux

[Perl] This is based on something called "rip", which needs CDDB_get and MP3-info (Perl modules). It waits for a cd, rips it, ejects the tray and waits for another cd. I've done some modifications of the cddb.pl code and added a wrapper shellscript (autorip.sh). Everything is explained in the README. The "rip" package (version 1.07, courtesy Greg <smethegj (at) cs.wisc.edu>) is included in the autorip package.

[Download] Autorip package v1.0, tar.gz archive, 113 kB (2003-04-23).

GTKomfram, estimated tram/bus stop times

[Perl] [GTK] Based on the web service "Vagnen kommer", this small Perl script shows the estimated times of arrival for buses and trams at a particular stop. You'll need the Perl bindings for GTK (Debian package: libgtk-perl).

This project is stale, the servers delivering the data are new and my application is not re-written to work with them.

Automatic Internet radio broadcasting

[Perl] During 2002, me and a couple of friends tried broadcasting radio over the Internet. It worked great. Using IceCast, IceS and a manually written Perl script to tell IceCast what to play we provided the net with various tracks. We also invoked a voting system, so users could visit the official web page and give "money" from their "bucket" to have certain tracks played. If noone voted, it went on auto-play - with a system that made sure the same track and/or artist wasn't played to close in time.

The web pages were constructed in RXML, Roxen's own markup language. Information about the audio tracks were stored in a PostgreSQL database.

I've been planning to put up a package containing the useful files and scripts for this, but still there is nothing. Please contact me if you're interested.

Essay: How to be a programmer, by Robert L. Read

[PDF] A great essay handed over to me by Lars Brinkhoff. It goes trough the basics of being a good programmer, different approaches and methods of debugging and planning time and working with a team.

This is great reading if you're into programming, but maybe even greater for those that have a hard time understanding what programming is about (ie. your boss).

[Download] How to be a programmer, rev 1.5, PDF, 267 kB (2003-04-24).

Updated