If you follow me on Twitter you have most likely seen my rants about my new service, Tweeted Links. The method behind the madness of it is basically this: I post a lot of links to Twitter, and often want to revisit them at a later time. I usually don’t Tweet anything meaningful with them [...]
Archive for the ‘Ruby’ Category
Unicorns and Rainbows
Last week I gave what we call a “Munch ‘n’ Watch” at work. If anyone comes across a new technology they like the look of, over lunch they give a presentation about it. I have been playing with the Unicorn server recently, and I am using it to serve one of my side projects.
It is [...]
Watch your UTCing…
After a good few hours of investigating a bug at work yesterday, I came across a weird Ruby feature…. The #utc method on Time objects is destructive and modifies the receiver.
$ irb
ruby-1.8.6-p383 > a = Time.now
=> Wed Apr 14 15:36:21 +0100 2010
ruby-1.8.6-p383 > a.utc
=> Wed Apr 14 14:36:21 UTC 2010
ruby-1.8.6-p383 > a
=> [...]