The string is a stark data structure and everywhere it is passed there is much duplication of process. It is a perfect vehicle for hiding information. — Alan Perlis Here’s a great talk by David Copeland on why and how to avoid making everything a string.
In 2011, “Uncle Bob” Martin challenged the Rails community to decouple their business log from Rails machinery. But he didn’t much detailed guidance as to how. Here’s a talk by Jim Weirich from 2013, where demonstrates his implementation of Martin’s ideas.
Rails has this thing called the “flash”. It’s like a special subset of the session hash. It’s a key/value store with an enforced short lifespan. Stuff you put in the hash lasts for exactly one render or redirect, and then goes away. It’s handy for stuff like notifications. You can set it in the controller: […]
As I posted a few months ago, the good folks at TekPub recently took my hours of footage of a weekend coding project and turned it into a tightly edited hour-and-fifteen-minute screencast. Well, as you might have heard, TekPub has since been acquired by Pluralsight. First of all, I just want to say huge congratulations […]
A long while back I gave myself a challenge: I was going to code up and launch a web app in a weekend. And I was going to narrate and record the whole process for later release as a screencast series. I did just that, and created cowsays.com. I later edited and released two parts […]