Archive for September, 2007

Stupid Ruby Tricks

Friday, September 28th, 2007

Problem: I wrote this line of code to record whether a record contains an email address:
enabled = not contact.card.email.nil?
I don’t like the “! something” or “not something” syntax in this case, since it’s really far away from the question I’m asking: “is the email nil?” I thought about it for a moment, and [...]

A Strange And Lovely Evening

Saturday, September 22nd, 2007

Last night, fawnapril pointed out what a lovely evening it was, and that we should go out and enjoy it. So we went to a not-great Indian restaurant and then over to the Mission Theater, where we saw Jonathan Coulton. The audience was almost exclusively geeks, and we enjoyed an evening of sweet, [...]

Two Belated Realizations

Thursday, September 13th, 2007

…connected only by the fact that they’ve occurred in the last week:

Hobo is a damn good framework built on top of Rails.
Heroes is a damn good TV show. Actually, it’s more like one long 16-hour movie arbitrarily divided into 42-minute chunks.

Useful Geek Tool: Ack

Tuesday, September 11th, 2007

Ack is a command-line replacement for doing “find -name pattern | xargs grep” voodoo. If nothing else, it’s a lot faster to type. ;> And, hey, it’s got a great ASCII logo of Bill the Cat. What more could you want?

Introducing… Sadie!

Sunday, September 9th, 2007

New Kitty loves the shoes

Originally uploaded by fawnapril.

We adopted/were adopted by a new kitteh last weekend. We drove out to BFE where land is cheap enough for the Cat Adoption Team to occupy a huge warehouse-style building FULL OF CATS. And, as some of you well know, being around a few hundred cats [...]

Best Spam Subject Line Of The Day

Tuesday, September 4th, 2007

“ungodly mating ritual”