Archive for April, 2005

Melodic Dirtbag

Wednesday, April 27th, 2005

Teenage Dirtbag, as sung by a Brazilian Cabaret singer

I’m not sure I need to say anything else.

Backups

Monday, April 25th, 2005

Back everything up to /dev/null. Takes seconds, and you can always get them back from /dev/random. Eventually.

Handing 404s over to Google

Monday, April 25th, 2005

This site once won an award from a perl web hackers site – now defunct – for the 404 system.

The system was really simple. If you hit a 404 on this site it would apologise, then redirect you to a google search of Aquarionics for whatever you were looking for. This has worked for a while now, with the apologies getting ever more extravagant and the redirections being turned into google links (Because I hate being redirected places without a chance to stop it).

The latest iteration of this has just been finished (Yay the lunch break). It uses the Google API to display the first ten results alongside the apology. Finally a real use for the thing :-)

The next stage is to automatically wander though the mysql table of my access logs and automagically reply with 410 Gone if it used to exist but doesn’t anymore

Green Gem

Sunday, April 24th, 2005

This weekend I was going to do laundry. I was going to do Long Term Cookery. I was going to Tidy and I was going to redesign this site (well, sort of). I was even going to finish the article on my first few weeks with Ubuntu that’s been in the pipeline for six months and the other article on why my home PC only runs Windows.

Instead, I have been mostly playing Jade Empire, watching Anime, and reading I am a Japanese school teacher

You should do the same, esspecially the third one.