Month: February 2014

  • How Star Trek into Darkness should have ended

    Stop reading if you haven’t seen the movie yet, as obviously this will be a big spoiler. I think Star Trek into Darkness should have ended with Kirk dead. I don’t care if they revive them in the next one, that’s fine. A friend told me: I didn’t even realize that Kirk was dying, they…

  • Wrapped exceptions in Ruby

    Sometimes you want to raise an exception when a method fails but without losing information about an inner exception. Let me explain it with an example. At Watu we have a method that causes a user to be indexed in our search engine. This method is called many times in different situations. One of those…