Archive for October, 2008

Halloween 2008

When I was a kid here in Peru we didn’t celebrate Halloween at all. October 31th is for the day of peruvian folk music and tomorrow is also a holiday but today Halloween time got us inspired at work and got some pumpkins to carve some cool designs on them.

Since we are a Django shop at Aureal we got this Django pumpkin carved:

This is how my desktop looked today for a while at work. I’ve posted this pic to Deskograpy too.

Installing Cherokee 0.9.x on Ubuntu Hardy

The Chrerokee Web Server is an extremely fast modular opensource HTTP daemon written by my good friend Alvaro Lopez Ortega from Spain. The project has recently been making great progress towards the 1.0 release. The product has been very stable for years and since version 0.6 includes a web-based administration interface so you can avoid tweaking text files manually like you still have to do with Apache, Lighttpd or nginx.

Installing the latest Cherokee package in Ubuntu Hardy can be a little tricky. The version that’s included with the distribution is mantained by the MOTU team and based on the Debian version mantained by another good friend Gunnar Wolf from Mexico.

The packages for the latest version of Cherokee are mantained by Leonel Nuñez, also from Mexico, and are found in his PPA apt repo so in order to install them on Hardy you have to follow these steps:

STEP 1) Add the PPA repo to /etc/apt/sources.list

Simple adding this two lines to the files does the trick:

deb http://ppa.launchpad.net/leonelnunez/ubuntu/ hardy main

deb-src http://ppa.launchpad.net/leonelnunez/ubuntu/ hardy main

STEP 2) Configure the prefered version of the packages at /etc/apt/preferences

This is the most tricky part, simply add these lines in this file. If you don’t have it just create it.

Package: cherokee

Pin: version 0.9.4-1*

Pin-Priority: 999
Package: cget

Pin: version 0.9.4-1*

Pin-Priority: 999
Package: libcherokee-base0

Pin: version 0.9.4-1*

Pin-Priority: 999
Package: libcherokee-base0-dev

Pin: version 0.9.4-1*

Pin-Priority: 999
Package: libcherokee-config0

Pin: version 0.9.4-1*

Pin-Priority: 999
Package: libcherokee-config0-dev

Pin: version 0.9.4-1*

Pin-Priority: 999
Package: libcherokee-server0

Pin: version 0.9.4-1*

Pin-Priority: 999
Package: libcherokee-server0-dev

Pin: version 0.9.4-1*

Pin-Priority: 999

When a newer package appears in the PPA repo it will be installed or upgraded. Version 0.9.4-1 is there simple because it was the current packaged version at the time of writing this blog post. The important bit is having Cherokee 0.9.x and not Cherokee 0.5.6 installed in your box.

STEP 3) Update your APT sources and install Cherokee

$ sudo apt-get update

$ sudo apt-get install cherokee

That’s it. Give it a try! I’ll be using it for serving static content here on my blog.

Podcast recommendations

Today it’s a national holliday here in Peru and I just came to the office to catch up with some bit of work and all the way here from home I’ve been enjoying a very interesting interview with Anders Hejlsberg, the creator of C# and Chief Language Strategist for Visual Studio at Microsoft. He talks about many topics but the most interesting bits were about the advantages of dynamically-generated static code like they do with LINQ and ASP.Net as opposed to using dynamic languages.

This podcast is part of a great show I’m now a fan of: Software Engineering Radio. They have been interviewing some big names recently and I’ve been enjoying the episodes with Erlang’s Joe Armstrong or CORBA’s Steve Vinoski. A great show, the interviewer knows very well the software developing field and suggest really nice topics. I have many of this SE Radio podcasts waiting in the pipeline including topics like relational databases, SOA, functional programming, aspect-oriented programming, REST, transactions and many other currently relevant subjects. Free Software fans can find an episode on GNU GCC and UML fans can find one with Grady Booch as the guest.

Other podcast i’m a big fan of are the always great programs at IT Conversations, DotNetRocks and of course FLOSS Weekly and Security Now among others shows from the Leo Laporte’s  TWiT network. Leo is a great radio commentator and the guy who helped podcast become popular.


Leo Laporte

For Linux I used to enjoy The Linux Action Show a lot but haven’t listened to the show in the past few months. Before I tried listening a bit to Jono Bacon’s LUG Radio.

There are certainly a few other podcast I listen to or used to listen in the past. Last year I used to catch up with the major Rails news by listening the Rails Envy podcast and this year I’m complementing my following of Django listening to This Week in Django. If you’re interested in a PHP podcasts you could try PHP Abstract.

So this blog post is all about saying thanks you to the people behind the many podcasts I’m listening again since I got a portable MP3 player again since the one I previously had got the earphone jack broken somehow.

Some guys from these shows tell you to spread the word about their podcasts and it’s something I definitely feel good to do since I really enjoy their work.