don’t go to greece

13 July 2008

We saw our friend Andrea tonight for the first time since she got home from a month in Greece. And I now understand why Greek myths are so fucked up. Andrea told us about a group hike she went on to find the cave where iambic pentameter was invented—so right from the get-go we’re wandering around Greece looking for a legendary cave. Apparently she wasn’t “well-equipped” (her words) for this hike, being clothed in nothing more than a swimsuit and swim shoes, because the path was overgrown with “plants with spikes” and “minotaurs.” So she turned back. And based on reports from the people who continued, five minutes after Andrea turned back, the bees came.

But the group evaded the bees and marched on. Eventually they came to a 40-foot cliff, covered in the same spiky plants that had overgrown the path, which they had to climb by grabbing onto the spiky plants. Stung by bees, hands impaled, they found the cave shortly thereafter.

When Andrea asked her friend from the group to tell her about this amazing find, she reported, “it was covered in bat shit and I hated it.”

a ruby koan

9 July 2008

(Courtesy of CZ.)

There once was an old man who was observing a particular pot. His student approached and said “master, why do you stare at the pot?” The old man responded:

ArgumentError: wrong number of arguments (0 for 1) from /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/core_ext/blank.rb:13:in empty?' from /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/core_ext/blank.rb:13:in blank?' from /usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/associations/association_proxy.rb:177:in send' from /usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/associations/association_proxy.rb:177:in method_missing' from /usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/validations.rb:357:in validates_each' from /usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/validations.rb:355:in each' from /usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/validations.rb:355:in validates_each' from /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/callbacks.rb:177:in call' from /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/callbacks.rb:177:in evaluate_method' from /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/callbacks.rb:161:in call' from /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/callbacks.rb:90:in run' from /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/callbacks.rb:90:in each' from /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/callbacks.rb:90:in send' from /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/callbacks.rb:90:in run'

how one apple fanatic overcame her deep need to own an iphone

2 July 2008

I couldn’t afford an iPhone when they first came out, but all of my coworkers could. I hated them all, and I’m not using the word “hate” lightly. I was so furiously jealous that I literally lost sleep, self-esteem, hope for the future—my lack of iPhone was a deep, painful void in my life.

I took a new job with better pay, and this past October, I bought an iPhone. It was amazing. People would ask me if it was really that cool, and I would quite honestly tell them that I didn’t know how I had lived without it. I ensured that all of my sites worked properly in Mobile Safari, even going so far as to start building a custom iPhone interface for JLex; I began to refer to the act of printing out directions from the Internet as “the old-fashioned way;” and perhaps worst of all, I settled arguments at bars by finding the answer on Wikipedia.

I was complete.

But after just a few blissful months, disaster struck. My purse, with my iPhone in it, was stolen. I was crushed. I spent the next several days holed up in my apartment with the lights off. I played violent video games and wrote bad poetry. And I tweeted: “All of our social systems depend on people being essentially good. But they’re not.”

A few days later, my ransacked purse was found and returned to me. I dug through it frantically looking for my iPhone—nay, for my very soul—but it was gone. I was crushed all over again. It was like it had been stolen twice. Never mind that I got back my notebook, IDs, and pretty much all of my other valuables. My fucking iPhone was gone.

I still had the RAZR I’d been using before I bought my iPhone, so I had it reactivated. I described it as “steam-powered.” And I felt like such a dork when I used it. I was convinced people were looking at me, thinking, “Oh my god, is she actually using a RAZR? What a loser.” I wanted a new iPhone immediately but I decided to hold off in case the then-still-rumored iPhone 3G was announced soon. I didn’t want to relieve my trauma only to be devastated a week later by obsolescence.

As time passed I began to get used to my RAZR again. I no longer swore violent retribution every time I had to make a phone call. As more time went by, I grew accustomed to the lower phone bill. An extra $30 a month isn’t much, sure, but when I go out for dinner or drinks or dancing, I silently thank my RAZR for buying the first round. I realized that the iPhone is perhaps the worst thing that ever happened to conversation. (”So I was reading Christopher Hitchens’ column the other day, and…hey, are you listening to me?” “Huh? Oh, sorry, I was just reading this email from my aunt Trudy. Don’t you just love lolcats?”)

It’s been three months since my iPhone was stolen. A week from Friday, the iPhone 3G will ship: the day I’ve been waiting for! But I’m not going to buy one. I’ve recovered.

They say people don’t really appreciate love until it’s gone. And although my iPhone and I weren’t even together long enough for the honeymoon phase to wear off, I realize now that I was in an abusive relationship. I was emotionally involved with my iPhone. It left me for another woman, and now it wants me back.

Well you know what? Go fuck yourself, iPhone. You’re an asshole.

sarah haskins is fucking brilliant

2 July 2008

marshaling file store

1 July 2008

Here’s a controller cache class that adds marshaling to the built-in FileStore. This is my workaround for the problems I ran into with Rails.cache yesterday.