Technology

Syncing my iPhone with Snow Leopard Server with Address Book — Not!

I have some contacts I wanted to share with other people so I figured let’s put them into Address Book Server on my Snow Leopard Server. I moved the group on to the server and everything was great. Contacts show up in Address Book on my macbook.
I synch my iPhone as usual. Next day I get a call from a familiar number but no name (I can’t remember phone numbers if my life dependent on it)! I check the contacts on my iPhone and none of the ones I moved are there!
After much fiddling and googling it turns out it doesn’t work! That doesn’t make any sense. How could Apple fail at something so basic? I imagine they want the iPhone to sync remotely to Address Book Server much like iCal and mail. Reasonable philosophy but it doesn’t do that! In the interim, I’d expect iTunes to be able to sync — after all, it’s in your address book. Not only that, they already handle Google sync using CardDAV, right? So why isn’t it in iTunes until they get it working on the iPhone!
From ForkBombr:

Sadly, this isn’t the case. Address Book Server works beautifully between Macs. It’s fast and reliable. However, the iPhone OS doesn’t support CardDAV, the technology behind Address Book Server, meaning these contacts cannot be synced over the air to an iPhone like iCal or Mail data.

And the relevant discussion:

ABS does not sync OTA or have push changes. The iPhone supports LDAP access. This means you can lookup contct info stored in your WGM for users in your company. It does not support CardDAV.

ABS is Address Book Sync; OTA is over-the-air; WGM is Work Group Manager (aka Apple’s LDAP server); CardDAV is how to share contact information.

Technology

Visualizing disk usage (Mac OS X)

I downloaded GrandPerspective to visualize disk usage on my laptop. It uses the tree visualization algorithm to show the directory hierarchy and the size of the hierarchy.
grandperspective.png
Each “bump” represents a file with the area reflecting the relatives size. As you move around, a series of nested rectangles are highlighted. Each highlighted rectangle represents a directory and the nesting of the rectangles the directory hierarchy.

Technology

DNS Performance

My ISP’s DNS servers were horrible (Verizon FIOS) so I switched to dyndns.com a while ago. It was quite an improvement. With Google’s announcement about a public dns server I got curious to see if things are better.
There’s a great tool namebench to evaluate DNS performance. It can use your local browser history to determine the set of hosts to tests or some pre-built lists:
grab-001.png
I was averaging over 90ms per request — and this is the faster version! This graph is produced by namebench:
grab-002.png
So I signed up for OpenDns to see if I could get an improvement. It’s pretty decent. I think it’s been dropped down to 45ms.
grab-003.png

Technology

Xcode: notes

To reset Xcode to the default settings:

$ defaults delete com.apple.Xcode
$ rm -rf ~/Library/Application Support/Xcode

First, I dislike having a lot of popup windows so I set the layout to “All-In-One” to keep most things within a single window:

grab-001.png

And my usual indentation style:

grab-003.png

I like having the files autosaved on build:

=grab-007.png
Technology

DVD Ripping

I’ve been watching more movies on my laptop while commuting to work on the train. I’d mostly been happy either buying them from iTunes or just playing the DVD. However, lately I’ve wanted to have a couple available and decided to try some of the dvd rippers.
I’d used “Mac the Ripper” but it’s getting rather dated and since I upgraded to Snow Leopard I’ve been avoiding installing Rosetta to run old PowerPC binaries. So it was out.
I tried Aieesoft’s “DVD Ripper” but the demo wasn’t that impressive and I didn’t like the way the movies were organized. Why no titles?
I ended up trying Ripit and it does just what I want: insert a DVD and it copies it and names it appropriately.

grab-001.png

It worked pretty well.
Price is $19.95 and you get 10 free conversions to try it out. It’s based on the open source Handbrake decoders.