Design Driven Tests: This is how I roll

The only way to be heard in programming these days is to start fires, and kill sacred cows. To which I’ll say: Fuck. That. Here’s how I write tests, and write design-driven code. I call it T&DD. It’s not a prescription, it’s how I work.

Keep Reading


GEM_PATH

I’m writing this as more of a note to myself than to you. In Ruby GEM_PATH environment variable is where rubygems will look for installed gems. Hidden in in the docs is:

Keep Reading


Why We Should (Absolutely Never) Build Software Like We Build Houses

I’m building a house and I write software for a living. So when someone showed me the article Why We Should Build Software Like We Build Houses I had to disagree.

Keep Reading


Practice while you Play: Multiple conferences, one Talk

New isn’t always better, especially when it comes to conference talks. A number of conferences have a CFP that explicitly looks for “fresh” talks that have never previously been given. My take: practice makes perfect, and repeat talks produces a better experience for attendees

Keep Reading


Ditching Tumblr

After 2 weeks of support requests with Tumblr over the inability to see basically any code on my old blog. I’m switching to self hosting!

Keep Reading


TIL: Symbol to Proc Trick not needed in Ruby Inject/Reduce 2.0.0

If you’ve been using Ruby for some time no doubt you’ve done something like this to sum up an array of integers:

Keep Reading


UT on Rails

Last year I held a series of non credit Rails courses for University of Texas Students, i’m happy to announce that i’ve been granted an Adjunct Professor position at the UT and I’m teaching a for credit course in Databases and Rails. Lucky for you, i’m a sucker for online learning, so i’ll be putting all my course material online, right here.

Keep Reading


UT on Rails

Last year I held a series of non credit Rails courses for University of Texas Students, I’m happy to announce that I’ve been granted an Adjunct Professor position at the UT and I’m teaching a for credit course in Databases and Rails. Lucky for you, I’m a sucker for online learning, so I’ll be putting all my course material online, right here.

Keep Reading


TIL how to null out or unset an ENVIRONMENT variable in bash

Heroku compiles your app without environment variables. This is all well and good, but how do you debug a problem that only shows up when an environment variable is missing? Not just set to an empty string "".

Keep Reading


Why Do Heroku Builds Run Without Config by Default?

I got this question awhile ago and answered in Gist form. I recently stumbled on my answer and thought it was worth sharing, so here you go:

Keep Reading


Subscribe to my Newsletter 😻 🤠

Join thousands of developers who get new code, writing, and programming links from me delivered to their inboxes.