Development

This is the Development category, which contains articles, tutorials, links, and updates about software development, programming, and the elements of application creation.

Converting from Mercurial to Git

Recently, I had to convert one of my older projects from Mercurial to Git. It turns out there’s an app for that. It’s called fast-export and it works very well, preserving all of your history and migrating from Mercurial to Git very quickly. This article walks you through the relatively simple process, with a caveat for Mac OS X users.


Meet Sinatra

My latest PeepCode screencast, Meet Sinatra has just been released.


Installing MySQL on Snow Leopard

These are instructions for compiling and installing a 64-bit version of MySQL, the world’s most popular open source database, on Mac OS X 10.6 (Snow Leopard).


Installing Git on Snow Leopard

These are instructions for compiling and installing Git, a free, fast, and efficient distributed version control system, on Mac OS X 10.6 (Snow Leopard).


Installing Mercurial on Snow Leopard

These are instructions for compiling and installing Mercurial, a fast and lightweight source control management system, on Mac OS X 10.6 (Snow Leopard).


Installing Ruby, RubyGems, and Rails on Snow Leopard

These are instructions for compiling and installing 64-bit Ruby, Rubygems, and Ruby on Rails on Mac OS X 10.6, Snow Leopard.


A fix for broken TextMate arrow keys in Snow Leopard

TextMate’s command-left/right arrow key functionality (one of the most commonly used keystrokes), is broken in Mac OS X 10.6 (Snow Leopard). Here’s the fix.


Playgrounder is born

I’m totally thrilled to announce the launch of Playgrounder today, a website helping parents and kids find the very best stuff. In addition to daily product coverage and news, Playgrounder also features bite-sized articles on events, destinations, and services geared toward parents and kids.


Meet Mercurial

My second PeepCode screencast, Meet Mercurial, has just gone live. The screencast is a 50 minute exploration of Mercurial, a distributed version control system that offers a faster and more agile way of managing projects. It’s used by projects like Mozilla, Python, Adium, and companies like Google and Sun.


Introducing Overlapr

Overlapr is a mini-app I built yesterday morning to display commonalities between Twitter users, starting with common followers and common friends.


Anonymous Pro: a programming font with style

A few weeks ago, I wrote an article discussing my top 10 programming fonts. You responded with a handful of suggestions for fonts that didn’t make it into the list, like Anonymous, by Mark Simonson. Yesterday, Mark released a brand new font, Anonymous Pro, which is so fantastic that it has become my monospace font of choice. Here are the details and screenshots.


Deploying ExpressionEngine from GitHub with Capistrano

Many people are familiar with the advantages of using Git and GitHub to manage their projects and source code, but deploying an ExpressionEngine installation for deployment in this way can be a bit tricky. This article details the Capistrano recipe I’ve created specifically for automating the management and deployment of an ExpressionEngine website, with provisions for maintaining uploaded content across deployments, omitting unwanted content from the repository, setting the correct permissions, and more. The recipe also handles creating the server-side directories you’ll need to accomplish these tasks in a completely automated way.


Top 10 Programming Fonts

In the past, we’ve had to decide between tiny monospace fonts or jagged edges. But today, modern operating systems do a great job of anti-aliasing, making monospace fonts look great at any size.

Here’s a round-up of the top 10 readily-available monospace fonts for your coding enjoyment, with descriptions, visual examples and samples, and download links for each.


ExpressionEngine: The Details

In a previous article, I discussed the switch from my Ruby on Rails publishing system to ExpressionEngine. In this article, I’ve written a more detailed breakdown including the list of feature requirements, plugins and modules, and some of the compromises I made as a part of this switch.


Regarding The Switch to ExpressionEngine

I’ve been building publishing tools for more than 10 years, and I finally realized that I was spending more time tweaking code than I was writing. I needed new features and I didn’t have time to implement them. It was time to make a change to a new publishing platform ... one I didn’t write.


RSS Feed Apologies

Whereby I apologize for the recent RSS-feed issues, which may have caused you to endure ancient articles appearing as unread in your RSS reader.


The Safari Cookie Issue: Fixed

This is an article titled The Safari Cookie Issue: Fixed and was written by Dan Benjamin on 23 February 2009.

Picasa for Mac

This is an article titled Picasa for Mac and was written by Dan Benjamin on 06 January 2009.

Labs Love At Last

This is an article titled Labs Love At Last and was written by Dan Benjamin on 04 December 2008.

The Enkoder for Mac OS X Is Back, Too

This is an article titled The Enkoder for Mac OS X Is Back, Too and was written by Dan Benjamin on 11 June 2008.

Regarding RailsConf 2008

This is an article titled Regarding RailsConf 2008 and was written by Dan Benjamin on 04 June 2008.

Title Case for Ruby

This is an article titled Title Case for Ruby and was written by Dan Benjamin on 21 May 2008.

Regarding Flash on the iPhone

This is an article titled Regarding Flash on the iPhone and was written by Dan Benjamin on 06 March 2008.

Installing Ruby, Rubygems, Rails, and Mongrel on Mac OS X 10.5 (Leopard)

These are instructions for compiling and installing Ruby, Rubygems, Ruby on Rails, and Mongrel on Mac OS X 10.5 (Leopard). I walk you through getting your system ready for building and compiling open source software, and expand on the benefits of building your own open source utilities.


Installing MySQL on Mac OS X

What follows is a set of instructions for compiling, building, and installing MySQL 5. These instructions should work perfectly on both Mac OS X 10.4 (Tiger) and 10.5 (Leopard), and they may even work on other UNIX and Linux systems.


My Railsconf 2007 Slides

This is an article titled My Railsconf 2007 Slides and was written by Dan Benjamin on 22 May 2007.

Cork’d Has Been Acquired

Cork’d has been acquired by a newly formed company, helmed by Gary Vaynerchuk of Wine Library TV fame. We’re psyched, and this means only great things for Cork’d members. Cork’d will remain a free, member-driven community. Its wine database will increase in a big way, the data will become more accurate, and tons of new features are already being added


Updates to the Rails OS X Build Instructions

This is an article titled Updates to the Rails OS X Build Instructions and was written by Dan Benjamin on 03 February 2007.

Building Ruby, Rails, Subversion, Mongrel, and MySQL on Mac OS X

What follows are instructions for building and installing the following applications on Mac OS X 10.4 (Tiger) along with their supportive software. I’ve been told that these steps work just fine on Mac OS X 10.3 (Panther) as well.


Building RMagick on Mac OS X

This is an article titled Building RMagick on Mac OS X and was written by Dan Benjamin on 10 June 2006.

Introducing Cork’d

This is an article titled Introducing Cork’d and was written by Dan Benjamin on 17 May 2006.

Updating to Rails 1.1.1 on OS X

This is an article titled Updating to Rails 1.1.1 on OS X and was written by Dan Benjamin on 29 March 2006.

LightTPD and Intel Macs: Friends at Last

This is an article titled LightTPD and Intel Macs: Friends at Last and was written by Dan Benjamin on 21 February 2006.

LightTPD Launchd Item for Tiger

This is an article titled LightTPD Launchd Item for Tiger and was written by Dan Benjamin on 30 December 2005.

Building Ruby, Rails, LightTPD, and MySQL on Tiger

What follows are instructions for manually building and installing Ruby on Rails, LightTPD, MySQL, and their related, supportive applications on Mac OS X 10.4 (Tiger).


Random Image Rotation in Rails

This is an article titled Random Image Rotation in Rails and was written by Dan Benjamin on 01 December 2005.

Using /usr/local

Today’s UNIX and UNIX-like systems (such as Mac OS X, Linux, FreeBSD, Solaris, etc.) allow you to create a special place in the filesystem where you can compile and install your own software independent of and without affecting the rest of the system. This article explains both how and why you should use this method.


Regarding Safari 1.3

This is an article titled Regarding Safari 1.3 and was written by Dan Benjamin on 22 June 2005.

A List Apart Relaunches

This is an article titled A List Apart Relaunches and was written by Dan Benjamin on 22 June 2005.

A Do-It-Yourself Guide to Installing Ruby, Rails, and FastCGI

This is an article titled A Do-It-Yourself Guide to Installing Ruby, Rails, and FastCGI and was written by Dan Benjamin on 22 June 2005.

Regarding Ruby (and Ruby on Rails)

This is an article titled Regarding Ruby (and Ruby on Rails) and was written by Dan Benjamin on 22 June 2005.

Installing Ruby on Rails on Tiger

This is an article titled Installing Ruby on Rails on Tiger and was written by Dan Benjamin on 22 June 2005.

Fix for Rails 0.11.0 FastCGI Problems (Updated)

This is an article titled Fix for Rails 0.11.0 FastCGI Problems (Updated) and was written by Dan Benjamin on 22 June 2005.