Lazy Enumerators in Ruby

I gave a talk on Ruby’s Enumerators at the DC Ruby Users Group in August. I’ve posted my slides from the presentation, if you’re interested.  Basically, I discovered that enumerators make lazy evaluation easy to implement in Ruby, and applying lazy techniques with enumerators may yield more efficient and elegant code.

A Ruby on Rails mystery, and the price of magic

I count myself lucky that I can earn a living programming with Ruby and in particular with the Ruby on Rails framework. But every tool, even the best, has a few surprises up its sleeve. Sometimes you get hung up on something quirky, but more often you’re having a problem with a feature—something that’s there […]

Some gems from RubyNation 2009

Nothing close to a complete review of all the quality talks I heard at RubyNation, the following is just a summary of cool things I learned about while attending. For other resources, and some of my own snarky comments, take a look at the Twitter Channel for the event: #rubynation TupleSpaces and Rinda Luc Castera […]

So Much Win at JSConf 2009

Offered for your approval, one attendee’s observations of JSConf 2009, held this April in Rosslyn, Virginia. First, propers are due to Chris and Laura Williams for setting this up. A conference for javascript is an idea whose time has come. The speakers were outstanding. The food and after-party were fantastic, too. If there’s a JSConf […]

Caching, lazy sequences, and streams

On the Clojure Google group there’s been a good discussion about lazy sequences and streams. The exchange goes to some of the fundamentals of the language, but if I have a decent grip on the issues, it sounds as though Mark Engelberg is concerned about the inefficiency of caching the results of evaluating n elements […]

Implementing SICP-style streams in Clojure

Many people approaching a new language, particularly a new Lisp, often explore the new language by attempting to implement examples and exercises from canonical Lisp texts. Paul Graham’s On Lisp, Peter Siebel’s Practical Common Lisp, and Abelson and Sussman’s SICP are ususal suspects. I’m not going to attempt any large-scale “translation” of SICP into Clojure, […]

DC Clojure study group

Members of Fringe DC are organizing a Washington DC area study group around learning Clojure and hacking some righteous artifacts with it. The first meeting is Sunday, December 7, at 1PM at Chief Ike’s Mambo Room, 1725 Columbia Rd NW. We’ll be meeting in person for about 3 hours every 2 or 3 weeks, and […]