Archive for April, 2005

Paving the road for CSS layouts

Not like it's really news anymore, but the IE team published some details on IE7 beta 1. Oh all right, they only said it'll have PNG alpha support as well as CSS compatibility fixes, but at least that's something the web community wanted to hear. Putting aside the discussion on whether the new version of […]

April 24, 2005 В· Jouni Heikniemi В· One Comment
Posted in: Web

Localizing linked images in Word (and horrible interfaces)

A couple of weeks back, I was struggling with a set of Word documents that had external links to images (equivalent to the HTML img element). I desperately needed to get the image links broken and the binary image data included in the document. There were thousands of documents, so an automated solution was required. […]

April 16, 2005 В· Jouni Heikniemi В· Comments Closed
Posted in: Misc. programming

Code quality, part IV: Nameless abstractions are just complexity

I recently bumped into this: foreach my $module ( grep( !/^Perl$/, $installed->modules() ) ) { if ($module =~ /DBD::(.*)$/) { $installed_DBD_modules{lc($1)} = 1; } } For the non-perl-literate ones: The code block runs through the list of Perl's external code modules and collects the names of installed database drivers into a hash table. We now […]

April 10, 2005 В· Jouni Heikniemi В· One Comment
Posted in: Misc. programming