Contributed a patch to chit

A few weeks ago, I stumbled upon Chit. If you’re not familiar with it, Chit is a command line cheat sheet utility based on git. Chit was inspired by ‘cheat’ ( by Chris Wanstrath of GitHub fame, but it uses a git repository to store the cheat sheets so people can fork the repository and do additions and edits.

I thought of two little features that would be handy and it seemed like it would be fun to hack on some Ruby, so I forked the repo and dove in.

Here’s the pull request, which was accepted on February 8, so these features are now part of Chit proper.

Django vs. Rails

I just finished going through a Django tutorial.

My first impression is that Django is perhaps a little trickier to get going than Ruby on Rails (though this probably becomes immaterial once you get accustomed to it). The thing that I really like about Django is that the basic paradigm for setting up models makes more sense to me – that is, in Django, you write Python code to represent your model and Django generates the SQL for your database. This is the opposite of the approach of Rails where you start with database tables and RoR does introspection and generates the code for the model. Personally, I am more comfortable with code than with SQL so this feels better to me. Also, SQL can vary between database implementations (i.e.: sqlite vs. MySQL vs. Postgres) so code seems like the more “stable” representation.

Komodo, a Komodity

ActiveState Komodo is a programmer’s IDE for Linux, Mac OS X, and Windows that is tailored for programming with a number of dynamic languages such as Perl, PHP, Python, Ruby, and Tcl.

I came across this post the other day which gives the promo code kmd3n9-ur8 for getting Komodo Personal Edition for free, but says that the code was supposed to expire Dec. 2005. I gave it a whirl and I was surprised to find that it works.

If you’re interested in Komodo, give it a shot. You’ve got nothing to lose.