Books and Screencasts
Objects on Rails
A developer notebook on applying classic Object-Oriented principles to Ruby on Rails projects.
-
-
Recent Posts
Recent Comments
- Steven G. Harms on FigLeaf Gem Now Available
- Rohan Nicholls on Your Code is My Hell
- snoobabk on A Ruby Conversion Idiom
- petejohanson on A Ruby Conversion Idiom
- Avdi Grimm on A Ruby Conversion Idiom
Archives
- May 2012
- April 2012
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
Categories
Meta
Undoing and redoing changes to Emacs window layouts (Emacs Reboot #17)
It’s frustrating when you have your buffers laid out just so, and then some command messes them up. In this episode I enable winner-mode, which keeps a ring buffer of window configurations so you can undo and redo changes to … Continue reading
The sorry state of video hosting for WordPress blogs
Either I’m missing something, or there is a huge hole in the video hosting ecosystem waiting to be filled. I want a video hosting service with the following features: I can upload a video in any common format and it … Continue reading
Posted in Videos
7 Comments
Emacs Reboot #16: Windmove
Emacs makes it very easy to split your workspace into panes of arbitrary size and shape. But out of the box it doesn’t make navigating the panes with only the keyboard very convenient. In this quick screencast I enable “windmove”, … Continue reading
Back in business
An update on the site intrusion which took out this blog for several days, and the steps I’ve taken to repair the damage and prevent future attacks. Continue reading
Travel tips needed
So in a month’s time I’m headed to Wroclaw, Poland for wroc_love.rb. This is the first time I’ve traveled overseas in almost two decades, so anything I ever knew about international travel I’ve forgotten. (Canada doesn’t really count as international … Continue reading
Posted in Conferences
12 Comments
Editing Directory Trees in Emacs
In which I demonstrate how to use Emacs to edit a directory tree just like you’d edit an ordinary file. Continue reading
On Module Integrity
A reply to Josh Cheek’s post “Modules called, they want their integrity back”. Continue reading
Ruby Thread Locals are also Fiber-Local
I was briefly concerned that thread-local variables would not also be Fiber-local, since fibers have their own stack. This would be a problem for any code which uses thread-local variables to delimit a stack context, e.g. to implement dynamically-scoped variables … Continue reading
Decoration is best, except when it isn’t
I think by now we all know to prefer composition over inheritance. But in a language with a lot of options, what’s the best kind of composition to use? Composing an adventure Consider an adventure game, with objects representing player … Continue reading

