Articles

Zombie Songs

For all those times when you’ve been thinking to yourself “Man, this would be the perfect situation in which to play a zombie song,” I’m glad to say modern independent musicians have stepped up to fill this gap:

Further zombie song recommendations are welcome in the comments.

0 comments

Posted by Calamitous on Sep 22, 2009

A More Effective Name

A quick note:

If you are:

  • Using Rails
  • Using RSpec
  • Have just discovered the incredible joy of named scopes

…restrain yourself, by any means available (up to and including physical violence) from creating a named scope called “public” or “private.” The reasons for this should be fairly obvious.

Really, whoever ends up cleaning up behind you will appreciate it.

0 comments

Posted by Calamitous on Aug 18, 2009

Annihilate Ubuntu's Annoying System Beep

A quickie to remind myself next time I build an Ubuntu box, and am being slowly driven batty by a tiny, tinny obsolete PC speaker made of hate:

sudo gvim /etc/modprobe.d/blacklist

(or /etc/modprobe.d/blacklist.conf, for Ubuntu 9.04) …and add the following line:

blacklist pcspkr

From the command line, kill it in the current session:

sudo rmmod pcspkr

No more waking the baby with late-night hacking sessions!

0 comments

Posted by Calamitous on Jul 09, 2009

Select Tag Funkiness With Merb

In my ongoing travails with Merb & Friends, I’ve run across a few behaviors with the select() form helper method. Since there’s currently a dearth of examples, I thought I’d document them for myself and future googlers.

Continue Reading…

6 comments

Posted by Calamitous on Jan 18, 2009

A Rails Developer Spends One Week With Merb (and HAML and JQuery and DataMapper)

Developers often talk about some hot new technology they plan on spending time with, but very rarely do they ever get around to it. I’m ordinarily in the same boat, but last week I had a new personal project crop up for a simple web application (5-6 models) which was an ideal candidate for testing out a slew of new tech that I’ve been meaning to get around to.

Merb, an erstwhile competitor to Rails, has been making a big splash lately. I decided to step out of my comfort zone of Rails/Acti* and into the wild and woolly world of young, cutting-edge frameworks. Since I’m undergoing the pain of learning a new framework, I figured I’d go whole hog and use Haml, jQuery, and DataMapper, as well.

Before last week, I’d never done much more than spin through the initial tutorials for any of these tools. That being the case, I can’t really speak to performance, deployment, or any of half-a-hundred other critical issues to consider when selecting a framework– this is strictly a shallow, first-impressions review.

I welcome comments and corrections to my observations, and suggestions for easing some of the new-developer pain.

Continue Reading…

3 comments

Posted by Calamitous on Jan 08, 2009