Recent Posts

Looking Back on 2013

2 minute read

2013 was a good year for me in many aspects. I’ll share here some of the programming-related achievements of mine over the year that made me somewhat proud o...

Using Ruby’s each_with_object

1 minute read

Sometimes we’d like to build a new collection object from the elements of another collection. One trivial example would be element occurrence counting, whic...

Regexp anchors in Ruby

1 minute read

Some Rubyists, when faced with the task of matching against the beginning or the end of a string, are prone to using ^ and $ in their regular expressions. Mo...