web development war stories from the frontlines to the backend

We ran into a problem today where capistrano wasn’t correctly cleaning up old releases on a 15-minute multi-host deploy. It seems like the default deploy:cleanup task wasn’t written with multiple hosts in mind. Essentially what it does is list the contents of your releases_path for the first host in the list of hosts and assumes [...]

Over the last few days I released my first open-source plugins on GitHub. google-define – Extracted from a side project I worked on, it’s basically a wrapper class for parsing definitions from Google (define:perplexed). last-fm – This plugin was inspired by a previous gist, which itself was taken from an app I wrote to aggregate [...]

I recently had to use the FormStack API in the context of a Rails app. You need to make these calls over SSL, and API returns either XML or JSON. I chose JSON because it’s much easier to work with in my opinion and I hate XML. Below is a simple example. Check out the [...]

Send this to your significant other/parent/relative/friend so, instead of that sweater, you get one of these nuggets of awesome this Christmas. The Pragmatic Programmer: From Journeyman to Master Write better, cleaner, more maintainable code. Learn how to manage your projects and focus on shipping your product. With insight that covers the gamut of software development [...]

Motivation: SD News is a “social news site” (basically a Hacker News clone), written in Rails, that I work on as part of my efforts with a Christian publishing company I run with some friends.  As part of the administrative backend, I wanted to be able to send posts to our Twitter profile.  The site [...]

I like Python. I like Ruby. I like C, C++, and Objective-C. I like Java. I also (actually) like PHP. I like programming – get it? Use whatever gets the job done and done well. Use whatever achieves the performance and scalability you require for a given task. Use what makes sense given a specific [...]

What exactly are they using it for? Front-end?

I’ve been using Phusion Passenger for a few months now and I’m really pleased with it.  The performace vs. Mongrel is better, but what makes it so useful is the ease of deployment.  Being able to setup a vhost in Apache just like you would for a PHP application was very appealing to me.  Having [...]

  

Recent Posts

Categories

Archives

 

Recent Comments