Tuesday, June 24, 2008

Mounting NFS shares on OS X Leopard

A lot of the information about doing this on Mac OS X refers to the NetInfo database and related utilities, but pre-dates changes which came with Leopard.

On Debian - Ubuntu in my case - most of the information refers to nfs-kernel-server for NFS. Unforntunately nfs-kernel-server requires the uid and gid to be the same on both server and client in the general case. While there is information on how to change your OS X uid/gid it is a pain in the neck and gets worse with more systems.

The best resource I found to address these issues securely is on the Ubuntu forums written by EirĂ­kr, and uses nfs-user-server to map between the client and server uids and gids - instead of nfs-kernel-server. Install nfs-user-server using your favorite package manager and configure it according to Eirikr.

Saturday, June 21, 2008

The Mac mini

My windows laptop is on it's last legs. I need a machine for development and I loved the MacBook Pro I chose for development at Jackpot Rewards. The only problem I have with the Pro is it's price - it is a premium-priced product.

I have a great 24" monitor on my desk at home and plenty of keyboards and mice. Having a very portable machine is not very important right now. These factors led me to the Mac mini. My current work from home is using Ruby on Rails and my development environment is centered on TextMate so my performance requirements are quite low.

Sure, I would have loved to buy a Mac Pro but the price difference is huge for the extra capabilities. If we get to the point of running an office with a few people I will definitely consider it.

I will write again when i have spent more time using it as a personal system and a development system.

Tuesday, June 3, 2008

"The Name of the Wind" by Patrick Rothfuss

I love the Fantasy genre and this book is is one of the best. A great story with well-interleaved flashbacks and great prose.

It was one of those perfect autumn days so common in stories and so rare in the real world. The weather was warm and dry, ideal for ripening a field of wheat or corn. On both sides of the road the trees were changing color. Tall poplars had gone a buttery yellow while the shrubby sumac encroaching on the read was tinged a violent red. Only the old oaks seemed reluctant to give up the summer, and their leaves remained an even mingling of gold and green.

Everything said, you couldn't hope for a nicer day to have a half dozen ex-soldiers with hunting bows relieve you of everything you owned.

The humorous style of writing made it a joy to read. I picked that passage at random - it is the start of the second chapter - but it is typical of the whole. Just reading that passage again makes me want to re-read the whole book. The characters are well-developed and this, the first of three books, finished much too soon (662 pages).