Monitoring Rails Requests with StatsD

Monitoring your application is important - full stop. When the response time plummet's you want to know before your customers do...and certainly before you bother to check your twitter feed.

Yes, go on... ›

Compiling Vim with Ruby and Python Support

Like a lot of developers, I use vim. Of course, I don't use straight out of the box vim though. I use Vundle and other settings (see my dot files for more) to make it better.

Yes, go on... ›

Running Rails Inside Vagrant

I use vagrant (along with chef, a vagrant plugin and my dotfiles) for my development environment. I do this for a number of reasons, but mostly, I find it's the easiest way to get everything installed and configured properly regardless of which physical box I'm working on.

Yes, go on... ›

Dining Philosophers in C

In a recent bout of insanity, I thought it would be cool to play around with concurrency in pure C. Nothing crazy, maybe controlling access to a shared resource and a semaphore or two for good measure.

Yes, go on... ›

Freezing and Thawing Git State

We do lightening/dev talks every week at work, where a few developers get up and talk about cool projects or anything they think is interesting. One of the recent talks by James Macauley was about git freeze and git thaw.

Yes, go on... ›

Pushing Files to GitHub Programmatically

Recently I had the opportunity to work with GitHub's API again. This time I was particularily interested in the Repo Contents API. The goal was to be able to publish files from disk or embedded resource (read: stream) directly to a GitHub repo without having to clone the repo somewhere and then issue a git push.

Yes, go on... ›

Drying Out Specs With Shared Examples

I generally find that most developers are fairly aware of and willing to apply the DRY principal on their main codebase. However, when I look through people’s tests, I find that the old copy/paste habit has found it’s way into their workflow (again?).

Yes, go on... ›

Continuous Integration for .NET with Travis CI and xUnit

For this post, I’m going to go over getting a simple CI environment setup using Travis CI and xUnit.

Yes, go on... ›

My First Ruby Brigade Meetup

Last night I attended my first Ruby Brigade Meetup in Toronto and I have to admit…it was kinda fun!

Yes, go on... ›

Testing EmberJS Apps with Rails and QUnit

I recently started playing around with EmberJS. While I was insanely impressed with how easy it was to get a single-page app up and running, I was having difficulty getting QUnit setup correctly.

Yes, go on... ›