CouchDB installation on OS X

January 8, 2009 § Leave a comment

Here’s a quick tutorial on how to install CouchDB on OS X Leopard:


  • Make sure you have darwinport installed because that’s how I install mine.
  • Make sure you have installed easy_install for Python.


  • Install Erlang: ‘sudo port install erlang
  • Install CouchDB: ‘sudo port install couchdb +server
  • Launch CouchDB: ‘sudo launchctl load -w /Library/LaunchDaemons/org.macports.CouchDB.plist
  • Install couchdb-python: ‘easy_install couchdb

See if CouchDB is running:


  • The most recent CouchDB in darwinport is 0.72. In this version, I’m having problem with creating an ad-hoc View. Reading some posts online, it seems that this problem is solved in version 0.8.



Languages: Bondage and Disipline

January 8, 2009 § Leave a comment

This is one old wiki post that’s continually being updated. There’s not much value in the posting other than entertainment.

QuickSort music video

January 8, 2009 § Leave a comment

One year after I look away from Java World

December 26, 2008 § Leave a comment

A lot of interesting projects are happening in Java world.

First, is the highly celebrated Hadoop. For those who don’t know it’s open source distributed file system and map-reduce implementation.

Scripting languages such as Groovy, Jython, and JRuby are also gaining more popularity. Although, it’s kind of hard to google real world usage of these scripting languages.  

There is also a simpler open source web server project called Simple. For those who build web application using PHP, Ruby or Python, Simple makes sense immediately. It integrates well with Velocity Templating Engine, a powerful and yet POJO based system.

All these projects use java in a different manner than what you would expect in Enterprise environment, it’s exciting.


Just created my first open source project

December 18, 2008 § 2 Comments

It’s called Super Simple Message System.


For multiple obvious reasons, it will not scale to withstand the hailstorm of internet users.

What does it do:

It allows server-side machines to send string messages to each other.

Why did I do it:

To illustrate various concepts like:

  • Web service
  • Messaging system
  • How to build a complete application in 4 hours using Python.
  • What does it feel (for me) to host an open source project.


Backing up using S3

December 12, 2008 § Leave a comment

Two days ago, my MacBook’s hard drive failed. Lucky things are backed up using time machine.

But there’s a new problem, the backup drive is running out of space. Damn.

This post is the answer to my problem. Just backup using S3 (The cost concerns me a bit, but that’s a different issue).


OS X Maintenance

December 12, 2008 § Leave a comment

The author compile a list of quick and easy things to do for maintaining Mac OS X.

Side Note:

  • It seems that MacJanitor does something extra beyond periodic command.


Where Am I?

You are currently browsing the Uncategorized category at RAPD.