Hi! I'm Avdi Grimm, and this is my software development blog. More...
Books and Screencasts
Small plates of gourmet Ruby code.
32 Patterns for joyful coding.
The Making of Cowsays.com
Watch me build an app in Sinatra and Rails
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.
- Emacs Reboot
- RubyTapas Samples
- Smalltalk Best Practice Patterns
- Study Notes
- Stuff Worth Buying
- Stupid Ruby Tricks
Author Archives: Avdi Grimm
Justin Searls pinged me on Twitter asking if I had anything to add to his advice on building and presenting conference talks. First off, go read his article. He’s clearly put more thought into this stuff than I have. It … Continue reading
In theory, Amazon has been a boon to ebook authors. They created the world’s first widely-accepted dedicated ebook reader hardware. Their Kindle Direct Publishing program makes it easy for self-published authors to get their stuff featured next to works from … Continue reading
Periodically someone on the Internet becomes aware of concurrency-oriented programming languages like Erlang or Scala, and climbs up the bell tower to sound the “is Ruby dying” bell. This topic came up on Parley recently. A few people asked me … Continue reading
(Click for larger version)
Warning: reading the following may render you unemployable at some startups. Continue reading
I can fetch a JSON list of subscribers like this: curl -u $API_LOGIN:$API_PASSWORD https://example.org/subscribers Then there’s jq, which is basically AWK for JSON. The following invocation simply breaks a top-level JSON array into an object per line. cat subscribers.json | … Continue reading
I feel like I’m practically the poster child for the “passionate programmer”. I code for fun, always have. I’m like the stereotype of the guy who’d be programming even if it didn’t pay. I play with new programming languages for … Continue reading
Lately I’ve been handling configuration entirely through environment variables for my apps, as the 12 Factor App recommends, and I can’t recommend this approach enough. As a constraint it helps me think about what parts of a given app actually need to … Continue reading