Menu Sidebar
Menu

Avdi Grimm

Hacker; code documentarian.

Author: Avdi Grimm

Where to find me in 2015

The first half of my conference-going year is starting to firm up, so I thought I’d briefly post about where you can find me this year, if you feel so inclined. So far it’s a light year for travel, but I’ll probably be adding a few more dates as the year advances. March 4-8: Tropical Ruby […]

http://www.dreamstime.com/stock-images-wreck-beach-gili-island-indonesia-image30110494

Who is your failure helping?

True story: I once worked on a project where I was told from the outset that “we probably will not use your code”. This was back when I worked at a big defense contractor. There were negotiations under way for an expanded contract that would obviate the work I was doing, if it were signed. […]

Why does Ruby have blocks?

Ruby’s blocks are easily the biggest hurdle most newbies to the language have to overcome. Even for people with years of experience in other languages, the the concept of blocks is often an elusive one at first. In my opinion, some of the difficulty in grokking blocks can be chalked up to how they are […]

In defense of fat tools

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: […]

Older Posts

Virtuous Code

"The three virtues of a programmer: laziness, impatience, and hubris" — Larry Wall

Books and Screencasts

RubyTapas Screencasts

RubyTapas Screencasts

Small plates of gourmet Ruby code.

Confident Ruby

Confident Ruby cover

32 Patterns for joyful coding.

The Making of Cowsays.com

Confident Ruby cover

Watch me build an app in Sinatra and Rails

Objects on Rails

Objects on Rails

A developer notebook on applying classic Object-Oriented principles to Ruby on Rails projects.

Exceptional Ruby

Exceptional Ruby

The definitive guide to exceptions and failure handling in Ruby.

Archives

Categories