Skip to content

Monthly Archives: May 2010

MacFuse on 64bit Snow Leopard 10.6.3

28-May-10

I just spent a good bit of time searching Google on how to get MacFuse working my 64bit Snow Leopard (10.6.3) machine. Here is what I found. MacFuse for Snow Leopard ( 10.6.3 ) You don’t really need MacFusion 2 but it puts a nice interface on MacFuse. It included the SSHFS and FTPFS files [...]

How to determine how many threads you can create from Java

19-May-10

I was getting Out of Memory Error: can’t create native thread errors on a server, and it was definately not running out of memory, so I hacked this little program together to tell me how many threads I should be able to create. 64K is the minimum stack size that Java will allow on an [...]

Updating all Code blocks to prefer Inconsolata where supported

17-May-10

I am looking at you IE with your non-standard EOT font format. I added an @font-face declaration for my favorite monospace programming font. All Firefox 3.5+, Safari 3.1+, Opera 10+ the latest version of Chrome should now see all the formatted code blocks in the font Inconsolata instead of the default monospace which is what [...]

Get All Views from All Databases in CouchDB

11-May-10

Here is a little code snippet on how to get a list of all the Views from all the Design Documents from all the Databases in a CouchDB instance with couchdbkit. #!/usr/bin/env python from couchdbkit import * server = Server() dbs = server.all_dbs() for dbname in dbs:     db = server.get_or_create_db(dbname)     result = db.all_docs(startkey=’_design’, endkey=’_design0′)     for [...]

Getting CouchDB to install from source on OSX 10.6.3 Snow Leopard in 64 bit

06-May-10

The problem with getting CouchDB to install and run correctly in 64 bit mode of OSX 10.6.x is that the ICU dependency has a broken configure script that just won’t compile in 64 bit mode, even with the correct arguments passed in. The solution is to patch up the configure script and force it to [...]