April 12, 2011
Form and Function

Form and function is a difficult balance to strike, even in something as trivial as a mobile phone case.

I recently crashed on my bike while riding to work one morning. I skidded along the pavement rounding a slick corner at high speeds. In the process, I shredded the corner of the Apple Bumper1 on my iPhone 4.

I got the bumper when Apple was giving them away for free, and have had a lukewarm relationship with it. Because it was designed to fit the iPhone form factor so perfectly, I had two problems with the bumper:

  1. I could not use my Etymotic2 headphones without removing the bumper since the headphone cutout will only accept jacks shaped like the Apple supplied headphones.
  2. The USB connector from my older iPod nano won’t fit on the phone with the case on.

The headphone issue was a big deal as I often ride BART3 to and from San Francisco. I need the noise isolation because the trains are just so loud. It’s also the perfect time to catch up with some podcasts.

Why use the bumper at all? Well, the glass-on-both-sides design makes it difficult to set the phone down on a variety of surfaces. The bumper gives it enough lift so that’s no longer a worry. Really, that was the only reason for me—until I crashed.

I had always thought that if the bumper wears out I would just go without, but imagining what a naked phone would have been like after the crash made me reconsider.

I did what any good tech geek would do and spent far too much time scrutinizing the specs and reviews online for a $20 item. The Griffin Elan Form Graphite4 seemed to fit the bill:

  1. Fairly unobtrusive
  2. Black
  3. Allows me to set the phone down, front or back, on a hard surface
  4. Has cutouts that eliminate the problems I had with my headphones and USB connector

When I put the case on, my iPhone immediately ceased to look and feel like an iPhone anymore. The clean lines are replaced by weird angles and bumps. The shininess of the case competed with the iPhone. And worst of all, it made the whole phone feel cheap to hold in my hand.

One of the things I enjoy the most about the iPhone 4 is the feel of the glass. There’s a certain silkiness and softness to the touch. With the new case which covers the entire back, I can’t enjoy that really nice sensation of just touching the phone while I’m walking or on the train.

While I admire the industrial design of the iPhone 4, holding it raw with the steel band was uncomfortable for me while talking on the phone. The bumper felt perfect. The Griffin, not so much.

So, there is something to be said about form over function. On paper, the Griffin is a better fit for my use case. But there is the very tangible pleasure of using the Apple Bumper which I never thought about until now, when I miss it.

10:44pm
(View comments
Filed under: musing 
March 31, 2011
Converting an O’Reilly iOS app to EPUB

I am currently learning Ruby on Rails1. Instead of diving right into Rails, I decided to learn the fundamentals of Ruby first by reading The Ruby Programming Language from O’Reilly2. Doing a bit of comparison shopping showed that purchasing the book as an iOS app3 was the best deal at $6.99.

I downloaded the app and started reading and this is what I saw:

Nasty code truncation

Umm…completely unacceptable for a programming book. Since the app uses Stanza underneath the hood, I decided to crack open the package4 to see what’s going on.

mkdir ~/ruby_book
cp ~/Music/iTunes/"iTunes Media/Mobile Applications/Prog Lang 1.0.ipa" ~/ruby_book
cd ruby_book
unzip "Prog Lang 1.0.ipa"

Digging around revealed the Open Publication Structure5. Some Googling quickly led me to Bob DuCharme’s blog entry6 about the proper way to create an EPUB file.

cd "Payload/Prog Lang.app/book/"
zip -q0X "The Ruby Programming Language.epub" mimetype
zip -qXr9D "The Ruby Programming Language.epub" *

Voilà, our very own EPUB book that can be viewed using iBooks:

Happy iBooks

11:12pm
(View comments
Filed under: iOS EPUB 
August 18, 2009

March 31, 2009
Lines & Shapes

February 6, 2009

This is difficult to watch.