Category Archives: projects

Flickr Plugin

I decided it’s easier to use flickr for hosting pictures with the new camera. Flickr has a requirement that all photos link back, so it would get ugly pretty quickly if I had to do the link and image tag every time (although I could just cut and paste their code). Instead, I wrote a [...]

Roman Numeral Fun

In my waiting-for-people-to-leave-so-I-can-get-into-classrooms time at work I wrote a roman numeral translator in Factor. It’s a bit different from your normal implementation as Factor’s parser actually does almost all the work: USING: strings parser kernel words sequences math ; : NUMERAL: CREATE dup reset-generic dup t “parsing” set-word-prop parse-definition \ parsed add define-compound ; parsing [...]

Checklist

The code for generating the checklist is written in Factor. Factor is rather outside the mainstream, but it works beautifully for my purposes. I store the checklist data in a text file that looks like the following: CHECKLIST: FAMILY: Wrens SPECIES: Carolina Wren STATUS: Fairly common year-round. Can be found almost anywhere. There’s too many [...]

Blosxom Articles

The following is a quick patch for Blosxom that lets me hide articles from the daily updates. I’m sure it would better as a plugin, but this was way faster. @@ -180,6 +182,7 @@ # not an index, .file, and is readable and $2 ne ‘index’ and $2 !~ /^\./ and (-r $File::Find::name) ) { [...]