Archives: October 2007

Target Market

More fun spam from Amazon’s usually accurate marketing machine. Quoted here verbatim:

We’ve noticed that customers who have purchased or rated “MySQL and Perl for the Web (Landmark)” by Paul DuBois have also purchased “Designer Dogs: Portraits and Profiles of Popular New Crossbreeds” by Caroline Coile.

If accurate, I don’t know what that says about the kind of people who buy MySQL/Perl books. Or dog books. I don’t own a dog. Perhaps relatedly, I no longer use MySQL either.

Perl and Search: Where Are We?

Perl has long been a handy language in the information retrieval world. It has been used to build everything from simple regexp-based search engines to powerful IR libraries.

This talk will focus on two of the most popular IR projects currently being used in the Perl development community: KinoSearch and Xapian. Examples of each will be given, as well as some pros and cons for each project.

More secret code: yamllint

Here’s a script I use to test the validy of a .yml (YAML) file.

#!/usr/bin/perl use strict; use warnings; use YAML::Syck; use Data::Dump qw( dump ); use Getopt::Std; our ($opt_d); getopts(‘d’); for my $file (@ARGV) { print “checking $file …”; my $buf = LoadFile($file); print “ok\n”; print( dump($buf), “\n” ) if $opt_d; }