Stok Footage

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

Computing

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 →

Rediscovering Interests

One of my favourite courses in Computing at university was compiler writing, and nearly three decades after taking it I am still in touch with the person who taught the course. That course fuelled my interest in programming languages, which… Continue Reading →

Some Lessons Learned from Pair Programming (Part 1)

There are many simple ways improve my programming! That was the biggest thing I have learned from my pair programming efforts so far. The more useful things I need to pay attention to: Be more careful with my git commits… Continue Reading →

Adventures in Pair Programming (Part 5)

At the August Toronto Perl Mongers meeting I gave a “brief” presentation of my experiences of pair programming. Fortunately some of my pair mates were in the audience, as were some Perl programmers with challenging questions, and they improved the… Continue Reading →

Adventures in Pair Programming (Part 4)

Another beautiful Saturday in Toronto, and another chance to do a good couple of sessions with Stuart Watt. This week there was a good mixture of programming in Ruby (a language I know and love), programming in Elixir (a language… Continue Reading →

Adventures in Pair Programming (Part 3)

Time is passing, and my pair programming presentation at the Toronto Perl Mongers is looming. So it’s time to do some more preparation… Today I had a friend over to try some pair programming. I wanted to attack a simple… Continue Reading →