Ask HN: When have you coded yourself out of a real-life problem?
For me, I wanted to go to Momofuku Ko, except they have an annoying .NET reservation system for their coveted 12 seats and 2 seatings, which you can only book 6 days in advance for 24 seats. You have seconds to enter your credit card number to confirm.
But it is a good restaurant, and reservations disappear fast; all are gone by 10:00 AM ET. So like any self-respecting hacker, I got TextMate and Ruby out, performed some sudo gem install mechanize magic, did some serious Regex/XQuery work, wrote a function to perform exponential smoothing on calculating the time difference from my clock to the Momofuku clock, and slept soundly at 7 AM Arizona time, knowing that my reservation would be booked (it's unfair I have to get up at 6:55 AM to check if my resy went through, just because I live in a state like Arizona where food is bad except for Pizzeria Bianco and some others!)
Hope to hear some great things from you guys!
Cheers, Jason
Post scriptum: Frank Bruni, former NYT food editor, hates the resy system: NYT, Frank Bruni, "Going Ko-Ko," http://goo.gl/NYfj; NYT, Frank Bruni, "More Fun with Ko," http://goo.gl/gKGZ; NYT, Frank Bruni, "Ko-da," http://goo.gl/6rNc; Departures, "Eating Small in NY," http://departures.com/articles/eating-small-in-new-york