Stok Footage

I believe in this world to come. I think it’s going to be a pretty good world.

Computing

Building Ruby 1.8.7-p374 on OSX Mavericks (now homebrew has dropped apple-gcc42)

Recently I needed to build an older Ruby to use on a relatively new Mac running Mavericks. These days I use chruby (installed by homebrew) as my ruby switcher of choice, and ruby-install (also from homebrew) as my ruby building… Continue Reading →

Solo Work

I hoped that I would be able to get some pairing in over the past month, and it seems that summer activities have made it tricky to pair up with friends and work deadlines dashed my hopes of getting to… Continue Reading →

Learning From the Experience of Others

Once again I’m struggling to deploy an inherited application. It has quite a solid “happy path”, but few tests, no automated deployment, and should the configuration file be missing the error report can be more than two and a half… Continue Reading →

First Lessons From “Rite of Spring” Exercise

Starting to work through Sandi Metz’s RailsConf slides has been an enjoyable and relaxing exercise. I have made it through the first hundred or so slides, and I consciously observed my behaviour. Domestic constraints meant that I needed to wrap… Continue Reading →

The Rite of Spring

The bicycles are up from the basement, the plants are up from the dirt (in the front yard at least). It must be time for me to start showing some activity here again. My pairing project is on a brief… Continue Reading →

Array#product in Ruby’s core

One of the things which has delighted me about Ruby ever since I discovered it is that its core and standard libraries cover so much useful ground, and I’m usually half way through implementing something before I stop, search, and… Continue Reading →

More Adventures in Pair Programming

Only a few days ago I read Paul Hinze’s Pairing vs Code Review blog post, and it gave me an opportunity to reflect on some recent experiences. In one context I use gerrit to review code, and there isn’t much… Continue Reading →

Quick Project Start

I have been thinking about updating a Rails app I wrote for my wife a few years ago. I still love Ruby, and in 2013 I have had a chance to read Sandy Metz’s Practical Object-Oriented Design in Ruby. I… Continue Reading →

“Autovivifying” Ruby Hashes (another code nugget)

I often found Perl’s “autovivification” of intermediate levels of a nested hash useful, particularly in quick and dirty scripts were defining a real object and access methods seemed like overkill. Recently I noticed a post on the ruby-lang mailing list… Continue Reading →

Code Nugget of the Day

The Ruby language mailing list is often a source of gentle reminders about things I might have missed, and I read Robert Klemme’s with particular interest. One of his recent posts was a nice reminder of a way to initialise… Continue Reading →