Notes on Life, ‘Puters and Hawaii

Deploying with Capistrano, Git and SSH-Agent

I deploy Rails and Ruby projects using capistrano and I manage my source control with git. Git is most typically accessed with a ssh key and not username-password. There is a way to proxy your key through your deploy server making it possible for capistrano to retrieve the code from a 3rd party [...]

Replacing Braid or Piston (for Git) with 40 lines of Rake

I was playing around with Braid and Piston for Git and didn’t like either of them.  I didn’t feel like Piston was ready for Git and Braid seemed to complex. I just wanted git subtrees.  Braid is doing the same thing but with more code around it. I like simple. It actually turns [...]

Public Ubuntu Hardy Amazon EC2 Image (AMI) Now Available

I have prepared a new Ubuntu Hardy Amazon AMI image(s). They are in my ubuntu-ami bucket. I’ll start with a “small” ec2 instance image. The public AMI is “ami-4f7a9f26″. It is meant to be started with AKI “aki-9b00e5f2″ (which comes with fuse). The image is a bare-bones ubuntu hardy standard [...]

Dmitri Gaskin Rocks

Kids amaze me. Here’s a video of Dmitri Gaskin giving a Google Tech Talk on JQuery. Good job Dmitri! You remind me of myself when I was 12 except, when I was a kid, 6502 assembly language and Commodore’s where the in thing for kids and not web-programming.
The only problem I have [...]

Rack: An API for Web Servers and Ruby Frameworks

In today’s ruby web application landscape, every framework developer is writing his/her own handlers for every server he/she wants to support. This results in semi-duplicate code, if not for the web-server developer then for the framework-developer. This is the pain-point that Rack aims to solve. Rack proposes “why not have some common ground?” Java did [...]

Karma Yoga in Software Engineering

I work in software development and it is a very competitive business.  At times I have to catch myself, when I feel an emotion, and ask myself “Why?”.  Why am I being competitive?  Why am I seeking recognition?  Why am I wanting control?  Is my argument on the design the best for the team?  Are [...]

Dear VMWare, So Long and Thanks for all the Fish

I downloaded and gave VirtualBox a twirl this week.  For those of you who haven’t heard of it, VirtualBox is a drop-in free and open source replacement for VMWare Fusion or Parallels.  Did I mention it’s open source and free?  Here’s the subversion repository.
Update 4/24/2008: I purchased VMWare Fusion last year and my rebate check [...]

Installing Apache and mod_rails on Mac OS X Leopard

Phusion Passenger ( mod_rails ) is out so I thought I would give it a twirl. The mod_rails site has some install notes but it doesn’t go far enough. However, once you do the install and get used to it, it is a rather friendly setup. I can see it being a [...]

Installing StGit (Stacked Git) On Mac OS X Leopard

I wanted to try out stacked git for maintaining patches. Here is how I did it on my mac.

git clone http://homepage.ntlworld.com/cmarinas/stgit.git
cd stgit
git checkout -b stable origin/stable
sudo python setup.py install –prefix=/usr/local

Here is some resources to get started using stacked git.

StGit Home Page
StGit Tutorial
Crash Course

JRuby 1.1 Has Been Released

JRuby, the awesome Java meets Ruby project, has been released and tagged as 1.1. This is really good news. Thanks should be patted on the backs of each JRuby developer for this milestone. If you haven’t checked JRuby out, now is the time.
Here is the announcement http://docs.codehaus.org/display/JRUBY/2008/04/05/JRuby+1.1+Released