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â€™ (cheat.errtheblog.com/) 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.
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.
I keep meaning to play more with Ruby on Rails when I get a chance.
It’s nice to know that Capistrano can be used to deploy RoR apps to DreamHost. That way I can develop at home in a secure environment with a comfortable development environment and then deploy to DreamHost.
Here’s a nice Wiki page on how to use Capistrano with DreamHost.
Courtesy of oddball Ruby personality Why the Lucky Stiff (yes, that’s his name), here’s a medley of two songs that he did with his band, The Thirsty Cups:
The Parts of Ruby + Chunky Bacon.mp3
You won’t get the “chunky bacon” reference unless you’ve read Why’s Poignant Guide to Ruby.
Steve Yegge, interesting as always:
Ruby and Java and Stuff
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.