Hi! I'm Avdi Grimm, and this is my software development blog. More...
Books and Screencasts
Category Archives: Ruby
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 … Continue reading
Sometimes on RubyTapas I serialize larger projects into bite-sized pieces. In this episode, you can see a slice of the outside-in TDD process I use as I develop part of my gem-love project. You’ll see me thinking about messages before … Continue reading
It’s been a while since I posted a freebie. Today’s is episode 59. It covers one of the most interesting (to me) classes in the Ruby core libraries: Enumerator.
I don’t post code on here nearly as often as I should. Here’s some code I just finished for a future RubyTapas episode. It implements a thread-safe, optionally bounded, timeout-enabled queue class suitable for communication between threads. Please throw rocks … Continue reading
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 … Continue reading
I am thrilled to announce that my book Confident Ruby is now finished. I even hit my target of releasing by September 1st… if by “September 1st” I had meant “of the following year”. So what is this book and why … Continue reading
I recently had reason to submit a one-character documentation fix to Ruby. I know submitting a patch to a high-profile project can feel intimidating, so I recorded the process to show just how straightforward it is.
Today’s freebie answers the #1 most common question I get about RubyTapas!
Today’s freebie (episode 55, if you’re counting) covers a simple technique for making a single .rb file work as either a library or a runnable script. In the process, it covers the __FILE__ constant and the $PROGRAM_NAME variable.
I just released a gem I’ve been working on for the last couple days. It’s called Naught and it’s intended to make it easy to build various kinds of Null Object class in Ruby. This isn’t the first generic Ruby … Continue reading