About
Hi! I'm Avdi Grimm, and this is my software development blog. More...
Books and Screencasts
Objects on Rails
A developer notebook on applying classic Object-Oriented principles to Ruby on Rails projects.
-
Subscribe
-
Recent Posts
Archives
Categories
Meta
Monthly Archives: March 2010
Dumping Tabular Data with Hirb
Sometimes you just want to dump an ASCII table of data: +————————————–+ | Key | Value | Source | +————————————–+ | baz | default_baz | defaults | | foo | file_foo | file example.yml | | bar | env_bar | … Continue reading
Hire Me
The time has come once again to evaluate my career path and adjust course. The time I’ve spent working for Devver has been the most exciting and satisfying in my career to date. But the hectic pace of a startup … Continue reading
Posted in Uncategorized
3 Comments
The New Openness
Herb Sutter wrote a post explaining the ISO meaning of the word “open”. I responded: I understand that this was once a perfectly acceptable interpretation of the word “open”, but the software world has moved on. Groups like the IETF, … Continue reading
Removing files with varied capitalization
Nothing ground-breaking today, just a one-liner that I expected to be longer than a one-liner. # Remove Rakefile, rakefile, RakeFile, etc… File.delete(*Dir.glob(‘rakefile’, File::FNM_CASEFOLD)) There are two notable things going on here: Dir.glob can take optional bitflags; in this case, FNM_CASEFOLD … Continue reading
ruby-standard.org
So there’s this draft ISO standard for the Ruby language. Is it a good standard? Is it useful to implementors? Do we even need a standard? I don’t know, I don’t know, and I don’t know. What I do know … Continue reading
Getting Pedantic About Ruby Semantics
I just can’t resist the tempation to be an asshole language lawyer. Yehuda thinks that it’s important to keep a semantic model of Ruby behavior in mind, and not get hung up on implementation details. He’s right. While it’s important … Continue reading




