

PostgreSQL is easy available for OSX thanks to the packages distributed officially by PostgreSQL itself. But if you got a 64-bit version of Perl installed (you probably have if you got a relatively new Intel Mac), DBD::Pg simply won't compile unless you manage to fake its build environment so that it think it will be compiling against a 32-bit Perl installation.
Continue reading Installing PostgreSQL and DBD::Pg on OSX.
In my last article on Perl I was trying to explain how you can use local::lib to install your own set of Perl modules in your home directory. While the last versions of Mac OSX still ships with fairly old versions of Perl (currently 5.8.6 and 5.10), a better idea is to install a complete and more up to date distribution of Perl in your home directory.
Continue reading Install Perl in your home directory with perlbrew.

This video of Beardyman's amazing beatboxing has become one of my favourites on Youtube. And the great thing is that this video doesn't require any flash player to be installed. It will play if you're "only" using a HTML5 capable browser like Chrome. Even on FreeBSD.
This year's snowboard trip went to Schladming in Austria. Allthough it was a bit late in the season the conditions in the slopes were quite good. Especially after noon when the sun had heated the snow into soft sugar. We had one whole day in the park, and that single day was worth the whole trip alone. There wasn't much photographing on this trip, but above is a shot taken with my cell phone from the top of the park in Planai.
Installing Perl modules traditionally with the operating systems package system as root has a lot of disadvantages. Often you will be forced to stick around with outdated versions, and when you want to do an upgrade you need to check that every application and user have their requirements or dependencies met. Or the opposite way but less frequent - the new version of the operating system wont let you run your legacy application that requires an old module. Installing smaller Perl modules via cpan and mixing them with already installed packages in /usr/local/lib can work for short while, but in the end you will most likely end up with a mess with a complete reinstallation of all modules as the result.
Continue reading Easy installation of Perl modules (as a non-root user).
A highly configurable AJAX search widget for our museums is one of the projects we've been working on at KulturIT over the last couple of months. This week it was released in beta, i.e. it may contain some bugs. This tiny article will show if it can work even in a blog post ;)
With this widget you can search within the 60 000+ photographs in the collections of Oslo byarkiv and Oslo museum. Some photographs from Akersgata in Oslo, where I used to work in the early 00s, is included as a starter. Enjoy!
If you want to make your own, go check the widget wizard here!
If you're still installing packages on FreeBSD manually by running make install clean directly in the ports tree, and find it tedious having to wait and answer different dialog screens when installing huge package sets like Gnome and OpenOffice you should really take a look at portmaster.
Continue reading Install and keep your FreeBSD ports updated with portmaster.

