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 IE [...]

Share with your friends:
  • Digg
  • del.icio.us
  • Facebook
  • Twitter

April 24, 2005   Posted in: Web  One Comment

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.
Now, [...]

Share with your friends:
  • Digg
  • del.icio.us
  • Facebook
  • Twitter

April 16, 2005   Posted in: Misc. programming  Comments Closed

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 focus on the grep( !/^Perl$/, $installed->modules() ) [...]

Share with your friends:
  • Digg
  • del.icio.us
  • Facebook
  • Twitter

April 10, 2005   Posted in: Misc. programming  One Comment