2002-11-17

… and your little snake, too!

I did a little digging based on the Perl technique I described yesterday, and I think there is a similiar way to hook into the Python mechanism so that you don't have to do anything special in your module to get the desired behavior.

2002-11-16

Import Subversion in Perl

Perl has a way to subvert its import mechanism, which would be useful for making it retreive modules from databases or other non-standard sources. The examples that follow don't do anything complicated, but the technique could be adapted to use the DBI to talk to a database, or on Windows (say with ActiveState Perl), you could reach oout with COM and do other interesting things.

reduplication

(Yes, it is a real word, even though it sounds redundant.)

2002-11-09

SVG and Inline Bitmaps

I noticed the following code in the "SVGAbout.svg" file from the Adobe SVG Plug-In.

<style type="text/css">
<![CDATA[
@font-face { font-family: 'Arial MT';
  src:local(ArialMT),
  url("data:;base64,...")}
]]>
</style>

This appears to be a way of embedding font data with in the SVG file so we don't require it to be otherwise accessible to the display program's platform.