Alaska #4 It's settled. My fourth Alaska trip kicks off May 5, ninety-three days out. The team has a name: Midnight Meat Train.
Getting and Setting a File's Extended Attributes One last code snippet: getting and setting a file's extended attributes on OS X, wrapped in ARC-dependent Objective-C around setxattr, getxattr, and listxattr. Pass in an NSString or NSData and go.
OS X Computer Name and Local Host Name Two Objective-C functions for reading a Mac's computer name and local host name out of the SCPreferences file. The docs say to lock the file first; I never could, and I suspect that's a root-only trick.
Human Readable File Size & Duration Objective-C for turning a byte count into a human-readable file size (Finder-style, powers of ten), plus helpers for formatting durations as hh:mm:ss.sss from milliseconds or a pair of timevals.
Denali Expedition 2011 The following is a compilation of posts related to my self-guided Denali expedition in 2011. This also includes posts related to planning as well as the climbing journal posts. Denali 2010 ChangesMy part-time Denali team wants a return trip in 2010, so here are my notes, mostly aimed at shaving
Sparkle Automation with Xcode 4 Adding Sparkle for automatic updates is mostly painless, but each release means code signing, XML edits, and zipping. Here's a build script to automate the whole Sparkle publish step in Xcode 4.
Metal Tornado You haven't witnessed true cinema greatness until you've endured Metal Tornado. I won't spoil the ending, except to say Philadelphia was saved and Paris was not so lucky.
New Bike A birthday spent unhappily in town, softened by a new Civia Bryant. I ditched the lingering '70s tech of chains, cantilevers, and derailleurs for a belt drive, internal gear hub, and disc brakes. A thing of beauty.
In-door Rowing I bought an indoor rower and fell hard for the spreadsheet: splits, distances, calories, records. Five days in, 45k covered, and the wattage stat alone means I could power three laptops for half an hour. Glorious.