Monday, May 16, 2011

svn: OPTIONS of '...' could not connect to server

I had this weird problem today with SVN. I was able to browse it using the web browser. I was able to update from SVN, but when I was trying to commit something, I got an error:

svn: OPTIONS of 'http://....': could not connect to server.

This looked weird. Finally I disabled my wifi link and restored a wired ethernet connection to my LAN. After this, the commit went fine without any issues.

I am still wondering what was the real cause behind this problem.

Thursday, May 5, 2011

The Safe Bool Idiom

The Safe Bool Idiom: "Learn how to validate objects in a boolean context without the usual harmful side effects."