Archives for December 2007

Secret Santa w/ Ruby

For our office secret santa pool, I wrote a quick little ruby script to generate the pairings and email each of the people in our office with their result.
Here’s the salient code:

pool = ["person1@email.address.com",
"person2@email.address.com",
"person3@email.address.com"]

avail = pool.dup
pairs = []

pool.each do [...]

18 December 2007 | general, ruby | Comments

Bar Masa

I’ve always wanted to try Masa, that shrine to sushi perfection, with its $300 prix fixe menu. I didn’t do that last week, but I did get a mini sampler at Bar Masa, which is nonetheless frightfully expensive, though somewhat less so than Masa. I was there showing my Chilean friend Maca around. [...]

17 December 2007 | nyc | Comments

Gomboc Self-Righting Object: Created!

The Gomboc, a special object that has only a single point of balance, and thus is self-righting, has been created. Read more about it in NYT or visit the (hungarian) website for a short visual demo. I can’t wait to see one of these things in real life.

11 December 2007 | general | Comments

Sweet Relief: Non-visual Editor

I’ve always eschewed, if not outright hated, WYSIWYG editors, from the early, incredibly crappy HTML editors like GoLive and Dreamweaver to the recent yet still incredibly crappy TinyMCE. I upgraded WordPress a little while ago, and have done nothing but struggle against the new and improved visual editor. I can’t write HTML, the [...]

6 December 2007 | general | Comments

Making Applescript suck less with Ruby

I was messing around with Adium’s iTunes status message functionality today and ended up coming across RubyOSA, a gem that bridges AppleEvent functionality with Ruby.  You can use RubyOSA to do anything that AppleScript can do, using familiar Ruby syntax.  It also comes with a command-line tool that you can use to generate RDoc-style documentation [...]

5 December 2007 | general, ruby | Comments

About Me

I work at outside.in during the day. On nights and weekends I do stuff and work on side projects, which you can read about here.

    Meta