Archive for December, 2006

Added an RSS aggregator

Sunday, December 31st, 2006

I added an aggregator to my site for some of the low-volume blogs I like to keep track of. It’s on the sidebar, under ‘pages’. Thanks to the BDP aggregator from ozpolitics, with a little help from the Exec-PHP plugin from Bluesome. I’m not quite certain about the latter, though; my site seems to feel slower after I installed it, and of course it’s a bit scary from a security perspective. Maybe I should add a custom page template and stick the PHP code in there.

(more…)

Customizing Wordpress: failing SK2 captchas and a clickable logo

Sunday, December 31st, 2006

Well, I must say I’m quite pleased with Wordpress so far.

I did some customizations, and ran into some minor problems:

Spam Karma

I didn’t want to enable comments and pingbacks before I had some good spam protection. I have that now: Jeroen pointed me to Spam Karma 2. Although the installation and configuration were easy enough, I ran into one snag: it did not display captcha images correctly.

(more…)

A Lisp interpreter in 170 lines of Perl code

Saturday, December 30th, 2006

A few years ago, I was on a train from Eindhoven to Utrecht; this should have been a ride of less than an hour, but thanks to various mishaps (”ladies and gentlemen, it turns out that the replacement engine is also broken, so we’ll be here a little longer”), it took me almost five hours to get home that day.

Fortunately I had my laptop with me, so to while away the time I wrote a very simple Lisp interpreter in Perl. Recently, while looking through some old back-ups, I came across it again.

Here it is: the interpreter and a test file. To run the test program, execute:
perl minilisp.pl test.l

Needless to say, this is a toy. If, for any reason, you need a real Lisp interpreter in Perl, check out perl-lisp on CPAN, by Gisle Aas.

Hello, world!

Friday, December 29th, 2006

Well, looks like I’ve got Wordpress up and running. That was easy!

My previous blog can be found at the site of my former employer, Info Support.