Hi! I'm Avdi Grimm, and this is my software development blog. More...
Books and Screencasts
Small plates of gourmet Ruby code.
Watch me build an app from scratch.
Objects on Rails
A developer notebook on applying classic Object-Oriented principles to Ruby on Rails projects.
The definitive guide to exceptions and failure handling in Ruby.
Monthly Archives: September 2011
Out of the box, Emacs shows me the current line number in the modeline, not the column number. And it doesn’t show any line numbers down the side of the page. Today I’m going to change that. First of all, … Continue reading
Somtimes I just need some filler text. And it’s silly typing it out myself when I’m using a thermonuclear text editor. Via EmacsWiki, I discover lorem-ipsum.el. I toss it into my elisp folder and set up some autoloads so that … Continue reading
I really like all the features that WordPress gives me. But I hate writing blog posts inside of WordPress. I want to do all my writing inside Emacs! Ideally, I’d be able to write my posts in Org-Mode, and publish … Continue reading
In which I enable ido-mode for fast buffer and file switching.
In Smalltalk, you can “cascade” side-effectful calls to the same object using the semicolon (;) operator. E.g.: If I understand it correctly, the semicolon is effectively a K-combinator or “Kestrel”. I am jealous. Sure, we have Object#tap, but that’s awfully … Continue reading
Lately I’ve been using Github’s “Gist” service to post code snippets to this blog, so it would be really handy if I could quickly post new snippets from Emacs. There is a project by Chris Wanstrath called gist.el, but it’s … Continue reading
I’m pleased to find Kent Beck shares my affinity for methods with a consistent cadence. In the next pattern I translate, he looks for a way to bring a uniform rhythm to a method that writes an object to a … Continue reading
Smalltalk Best Practice Patterns continues from the introduction with a brief explanation of patterns. Some notable quotes: About leveraging commonality: “large-scale software re-use has not proven to be the answer”. A lot of the mid-90s OO PR centered around the … Continue reading
The Ruby Rogues are reading Smalltalk Best Practice Patterns for next month’s book club, so I finally got around to ordering a copy. It’s high time, considering that in my experience it’s one of the most consistently recommended programming books … Continue reading
In this episode, I use the Maramalade package archive to install the latest and greatest Magit-mode for managing Git repositories.