Monthly Archives: July 2008

Tweaking PNG transparency with ImageMagick

This took me way too long to find out, so I thought I’d blog here and hopefully save someone else some time. ImageMagick is a great swiss-army-knife type tool, with a shed-load of options for converting and combining images. Unfortunately,

Posted in Tip

Microformats, dark data and CSS – part 2

The first part of this article considered over 100 HTML 4 attributes and came to the conclusion class was the only one suitable for storing machine data (i.e. data specifically inserted and intended for machine parsing.) In this second part,

Posted in CSS, HTML

Microformats, dark data and CSS – part 1

There’s was a bit of kerfuffle when the BBC dropped support for microformats in their program listings. You can’t argue with their reasons: data for microformats was being read aloud by screen-readers, popping up as tool-tips, and confusing the hell

Posted in CSS, HTML

PHP grievance number 1

There’s a lot to hate about PHP. Maybe that’s harsh: nothing’s perfect, every language has it’s strength and weaknesses, and noone ever suggested using PHP for everything. Bearing that in mind, I’m using PHP daily, and you get used to

Posted in PHP, Rant

Fixing mysqldump character-encoding in Vim

If you find yourself in a position where your mysqldump backup/restore process isn’t working, it’s worth checking for character-encoding issues – and the best way to do this is often to look at the SQL in your backup file. To

Posted in Tip