When helping a friend last night with couchdb a got stuck when trying to start it as an unprivileged user. The error messages you get from couchdb is far from easy to understand.

This is my way of solving it.
Read More…

Posted in Databases, Hosting at April 10th, 2009. 5 Comments
Tagged with , , . Written by:

The iPhone is a really great device. It lacks a few basic features that I misses from ericsson or nokia but overall it’s a really great device.

Where it really kicks ass is when you are out of town and need to find a location or restaurant. This have been great when I am still in the same country but earlier this week I when to Glasgow/scotland and the first thing you get is a welcome SMS from one of the local mobile network operators and here is when the problem arise.

Read More…

Posted in Life at April 10th, 2009. No Comments
Tagged with , , , , , . Written by:

I do not usually blog about this tuff. Hell I do not blog much at all :) But I think this was pretty cool.

Internet is a virtual share-your-stuff-machine.
On YouTube you share you creativity.
On Facebook you share you life.
On Second Life you share your dreams.
On Wikipedia you share you knowledge.
On Ebay you share your belongings.

Translated from a swedish blogpost reacting to the new Swedish IPRED law (http://micco.se/2009/03/delning-blir-en-multimiljardindustri/)

A pretty weak google translation of the page

Posted in Life at April 2nd, 2009. No Comments
Tagged with , , , , , , . Written by:

Today I had a really painful experience with rails InvalidAuthenticityToken. It turned out not to have anything to do with rails at all and there is where the painful part come in to play.

Read More…

Posted in Hosting, Programming, Rails at March 23rd, 2009. 1 Comment
Tagged with , , , . Written by:

I generate a loooot of passwords. I try out a lot of webservices and all those needs passwords. I control about 70-100 servers and all those have different services and accounts. So I generate a lot of passwords… and this post is about how I do it do make it as easy as possible.
Read More…

Posted in Mouseless, Operatingsystem at January 13th, 2009. 2 Comments
Tagged with , , . Written by:

Configure and compiling VIM under OS X did not work out-of-the box for me. I did not want to use MacPorts VIM as it’s dependent on ruby (if you like me want that) and I did not find a way of compiling MacPorts VIM against my local ruby.

This post is about how to get VIM compiling on OS X/intel without the use of MacPorts.

Read More…

Posted in Programming at January 11th, 2009. 6 Comments
Tagged with , , , . Written by:

Just before christmas I worked with one of our customers new server cluster or cloud if you may.
This cluster has production nodes and staging nodes and this post is about how to get capistrano to play nice with both production and the staging environment.
Read More…

Posted in Hosting, Programming, Rails, Ruby at January 6th, 2009. 8 Comments
Tagged with , , , . Written by:

Just released a new version of capistrano_colors. This is a total rewrite from the last version. This post show some of the bigger changes.
Read More…

Posted in gems, Programming, Projects, Rails, Ruby at January 4th, 2009. No Comments
Tagged with , , , , , . Written by:

I got so tired of all the messy capistrano output so today I released my first public gem.

The name of the gem is capistrano_colors and the aim of the gem is to put some nice and shiny colors on capistrano output. The gem has only been tested with rails but should work wherever capistrano works.

Keep on reading to see some screenshots!
Read More…

Posted in gems, Programming, Projects, Ruby at December 21st, 2008. 6 Comments
Tagged with , , , , . Written by:

Today I where about to analyze a PostgreSQL database with the wonderful pgFouine. On the machine syslog-ng where installed as logging daemon and I have never worked with PostgreSQL logging and syslog-ng. This post is about how to get them to work together.

Read More…

Posted in Databases, Hosting, PostgreSQL at December 15th, 2008. 2 Comments
Tagged with , , , . Written by:

It's past my bedtime is using WP-Gravatar