Installing Postgresql 9.3 Beta using Homebrew
05/17/2013
and && or
08/20/2011
Github Pages & Jekyll
09/15/2010
Handlebars.js & Mustache.js Benchmarks
09/12/2010
"In a rough performance test, precompiled Handlebars.js templates rendered in about half the time of Mustache templates. It would be a shame if it were any other way, since they were precompiled, but the difference in architecture does have some big performance advantages."Interested in the specifics, I did some benchmarking based on Brian Landau's Benchmarking Javascript Templating Libraries and came up with the following results.
Bypass Featured on TV
07/27/2010
Distributing Your Data
07/13/2010
Language.rdoc
04/15/2010
While programing I usually have a few different rdocs open for the various libraries I am working with. I also have a dictionary and a thesaurus on hand and have often noticed I reference them more than the rdocs. I've always felt that there is a literary art form to abstraction naming but I have never been able to succinctly state why I felt this was so important. It existed as a strong intuition, something I knew was worth focusing on.
Ruby Hacknight to the Rescue
In order to prepare for the next Ruby Hacknight I have been reading Refactoring, Ruby Ed. and recently came across this quote which states precisely why proper naming is important.
So much of object-oriented design depends on the effectiveness of the abstractions that you create. Let’s say you have object A that delegates to object B, which in turn delegates to object C. It is much easier to understand the algorithm if each object can be synthesized in isolation by the reader. To provide for this, the clarity of the public interface of the object being delegated to is important. If object B’s public interface represents a cohesive piece of behavior with a well-named class, well- named methods, and parameter lists that make sense given the name of the method, a reader is less likely to have to delve into the details of object B to understand object A. Without this clear abstraction around the behavior of object B, the reader will have to move back and forth between object A and object B (and perhaps object C as well), and understanding of the algorithm will be much more difficult.Fields, Jay, Shane Harvie, Martin Fowler and Kent Beck. Refactoring. Ruby ed. Upper Saddle River: Addison-Wesley, 2010.
Rails 3 Generators: Hooks
03/29/2010
Hackday: Intro to Ruby Meta-Programming
12/22/2009
Pygrack, Pygments Highlighting Middleware
11/07/2009
simple_importer, a csv processing gem
10/26/2009
Getting XML Into Your Processing Sketch
10/08/2009
During one of the recent Learning Processing sessions, Keith asked how one would go about getting data from a web service, such as YQL, into a Processing sketch. After poking around the Processing library reference we were able to create an example of how to pull in data from a web service and use it to control the parameters of a sketch.
Learning Processing, Lesson 1
09/03/2009
Learning Processing, Introduction
08/25/2009
Excess Poultry Waste Contamination
08/20/2009
Monome & Lily
06/02/2009
