ran marathon, broke hip.

March 16th, 2015

About a month ago, after six months of training and what I thought was a heroic recovery from a stress reaction in my right femur, I ran the Austin Marathon:

You may notice that things get really slow for the last four miles or so. Here’s the deal with that.

I hadn’t run much in the six weeks before the marathon, because I had a persistent pain in my right hip. It was diagnosed via MRI as a “stress reaction,” where the bone marrow swells due to stress on the bone. It’s a precursor to a fracture. I took three weeks off running, and worked with a physical therapist to rehabilitate the hip. I spent hours and hours simulating long training runs on an elliptical strider (do not try this). I did low-body-weight runs on an AlterG, a wacky device that supports your weight on a bubble of air while you run on a treadmill.

In the days leading up to the race, I was cleared to run by my physical therapist. I had some pain in my hip, but it wasn’t like the bone pain I’d had before the diagnosis, so I chalked it up to soft tissue. I was worried that I wouldn’t make it far, but I wanted to start the race on principle, since I’d trained so long for it.

Things started out better than I could have hoped. I had only a little bit of manageable pain in the hip one mile in. I felt strong. I made it 5 miles in, and crossed the river. I tried not to get too excited. I made to the 11 mile mark where the marathon / half marathon split was, and I took the marathon route. I couldn’t believe my luck! By mile 17, I was starting to hurt more. Walking was more painful than running, but as long as I could get moving after water stops, I was okay. Someone who saw me around mile 17 reported that I was running pretty funny, but I didn’t notice it. I was elated that I might finish.

At mile 22, there was a quick increase in pain in my right hip. I tried to take another stride, but I couldn’t. I was sure I had pulled a muscle or ligament or something. The bone was healed, after all.

I started limping along at a slow walking speed, determined to finish. I knew I’d be laid up on the couch for a day or two recovering from whatever I’d pulled, but, I told myself, it was worth it. A good friend who was running with me caught up a couple of miles into my ridiculous limp and offered to walk with me the rest of the way (he has several marathons under his belt). Boy, it was lucky that he did. We made the rest of the way, somehow, and I walked across the finish line on my hands (haha, what a joker!). Then he steered me into the medical tent, you know, just to be sure I was okay. Here I am 100 yards or so from the finish:

After I was examined and nothing serious found, I realized that I couldn’t really walk. So, I asked for some crutches to get back to the car. I crutched over to my poor pregnant wife who was waiting for me, and the pain in my leg was pretty extreme. We decided to head to the hospital, you know, just to be extra careful in case there was a fracture.


An hour later, exhausted and sweaty on a bed in the ER, I learned that I’d fractured my femur. The break was bad but not complete–it went halfway through the neck of the femur. If the fracture had gone all the way through, I would have needed a total hip replacement. As it stood, I likely needed surgery to insert screws in the femur to stabilize the fracture so I did not get worse. They offered to prep me for surgery right there, but I was exhausted, hungry, and a bit distraught at the idea of having screws permanently put in my body. So we went home to think about it.

It took about 24 more hours of internet research on femoral neck fractures to conclude that surgery was the right choice. If I didn’t get it, there was a chance that a fall at home could complete the fracture, leading to hip replacement, a terrible outcome. The screws reportedly did not have any lasting limitations. So I waited five days for the next available surgery appointment, leg hurting excruciatingly whenever it got bumped or moved the wrong way.

The surgery was quick and easy. I was told I would probably be admitted, unless I was feeling okay after the surgery in which case I could go home the next day. We showed up at 5am for the 7am surgery, Leslie bizarrely watching me get rolled away to the OR in a last minute role reversal. I was awake again 45 minutes later and the surgeon said everything had gone fine. I stepped off the bed with crutches and immediately could put weight on the leg. I was so relieved. I got to go home with some awesome X-rays of my new titanium-enhanced leg:

A month after the marathon, I’m still on crutches, but only because of doctor’s orders. I have almost no pain any more moving around. I’m getting exercise by swimming. I’d say I’m doing better than my very pregnant wife at this point. The doctor said I can ditch the crutches as soon as the baby is born :)

pig roast pics are up

May 31st, 2014

I posted the pig roast pics on gallery. I’ll try to write up the process of cooking specifically later, but for now you can get the texture of the weekend by reading through the captions.

the pig is in brine

May 24th, 2014


T-minus 24 hours to the roast!

pig practice

May 11th, 2014

This weekend we headed up to Tool, Texas to build a roasting pit for our Memorial Day pig roast. Here’s Leslie doing a test fit with “Wilbur”:

leslie with pig

Paper-mâché doesn’t roast up very well, though, so instead we tested with a pork shoulder:

It turned out well! You can see more pics on gallery.

first big house project: new doors!

May 3rd, 2014

After 9 months of searching for contractors, picking doors, waiting for doors, waiting for contractors, and monitoring all the work, we’ve finished our first big home improvement project, which was to replace all the interior doors in our house as well as the front door.

Here’s the old front door:

And today, with a few changes to make it more us, most recently our custom designed new front door:

The whole idea started because we were annoyed by the way several of the doors in our house swung, like into the pantry, eating up 30% of its storage space, or into our bedroom so that they blocked the light switches. Also, we had several doors that just didn’t fit in their rooms, swinging way out and blocking access.

It turned out the cost of changing the swing on doors was more in labor than the cost of new doors, so we decided to replace the cheesy molded masonite doors with “Shaker” stile-and-panel doors that were much more our speed. I guess you don’t really take pictures of doors very often, because this was the only one I could find of the old doors:

And here are some pics of the new doors as they arrived:

Being painted:

Finished barn door installation:

Another interior shot:

cap10k personal best

April 6th, 2014

I’ve always wanted to finish the Cap 10k under 45 minutes, and this morning I did! The official Cap10 timing was 44:05

indonesia: borobudur at dawn

December 6th, 2013

Pictures are up from our visit to Borobudur in Java. Borobudur is the largest Buddhist temple in the world, and we visited at the recommended time, dawn. This involved a 4am wakeup call but was totally worth it:

indonesia continues: ubud

December 1st, 2013

Pictures fall behind reality: I’ve just finished posting pics from Ubud, Bali while we’ve physically just landed in Sydney.

Ubud is an idyllic paradise in the interior of Bali where we mostly gaped at staggering natural beauty and drank Bintang beer. Many pictures and even a few movies are up on gallery, please to enjoy.

indonesia / australia trip begins: bali

November 27th, 2013

We’ve been in Bali a few days now, and lo it is glorious. As I type this I look out across one of three decks in our private villa in Ubud. It would be crazy to spend too much more time here typing, and our breakfast arrives soon, so I’ll just point you toward gallery which has the first few days of pictures already up.

Oh, and check out what’s got to be my coolest Strava track yet:

massive picture post on gallery

October 30th, 2013

Thanks to Leslie, many, many new events worth of pics are up on gallery, including at least six weddings, a ridiculous obstacle course, and the opening of the Wright Bros Brew & Brew. Have a look!

austin food: qui

July 4th, 2013

Last week we ate at a hyped new restaurant in town, Qui. It is Paul Qui’s first solo joint, which he has founded since leaving his role as exec chef at Uchiko.

The restaurant doesn’t take reservations so we arrived promptly at 5pm and were joined by Matt and Amanda who had the night off from their baby. It was no trouble to get seated by 5:30 after we’d enjoyed a custom cocktail at the trendy, locally stocked full bar. I popped up to snap a pic of the very jolly and friendly Paul overseeing his kitchen:

The food was high-end but not too pricey, and universally delicious. My favorite dish was rabbit 7 ways, which included consomme in this cute rabbit cup:

The rest of the presentation was nice too:

The food was inventive, playful, delicious, and the whole place was very down-to-earth and unpretentious. The staff seemed to be having a great time and was really into the food and the service. Paul visited our table several times to see how we were doing and gently nudge us toward the real wasabi (“the good stuff,” he called it) and to make sure we ate our cheddar cracker ice cream sandwich with our fingers and not utensils.

There are a few more pics on gallery. I would definitely visit again!

home NAS server 2013 part 2: Ubuntu

March 2nd, 2013

In my last installment, I discussed the hardware I was planning to buy for the build of my new home NAS server. Well, I got all the parts within a matter of days and threw the thing together, then spent my spare time over a couple of weekends setting the thing up. In this post, I’ll discuss the basic setup of the OS (Ubuntu server).

Installing Ubuntu Server 12.10

There are a lot of competent Linux distributions out there. I first got into Linux with Redhat in the late nineties, went through a Slackware phase, and finally found something I liked in Debian around 2001. Debian had an excellent package management system (apt), which made keeping all the software on your computer up-to-date. Fast forward a decade, and I’m still there, although with the Debian derivative Ubuntu. Ubuntu has the widest and deepest selection of pre-built software that I know of, and it is still a joy to work with.

Creating a bootable USB install disk

You may have noticed that my new server has no optical drive. So, I had to create a bootable USB stick with the Ubuntu installer. I did this by sticking a cheap 2GB flash drive I had lying around into my OS X 10.8 Mac Mini and then firing up Disk Utility. I formatted the disk FAT with an MBR boot record (GUID won’t allow boot), then added following incantation from the terminal:

# sudo fdisk -e /dev/disk2
f 1

Which (I think) activates the first partition for boot.

Then, I used unetbootin to download and image the installer (ubuntu-12.10-server-amd64.iso) onto the disk. I popped it in the NAS and it booted right up!

Installing Ubuntu

I won’t hold your hand through the entire installation process. I did a no-frills install:

  • selected a hostname (“nasty,” heh),
  • whole-disk LVM on the SSD,
  • only installed OpenSSH server
  • installed grup on the root of the SSD
I rebooted and SSH’d into the fresh installation. I highly recommend using the terminal session management utility byobu, which is a pretty front-end for tmux. It lets you preserve your SSH session (actually, many sessions which you can switch between at will) and reconnect to them whenever you like from different clients. This is nice if you have to leave in the middle of a task, or want to launch a long-running task and detach from it and check back later. Byobu is installed by default in Ubuntu, you just type ‘byobu’ to launch it. I set it to run automatically when I log in with
I then freshened up all the packages with
sudo aptitude safe-upgrade
That's it! Ubuntu installed.

Setting up the RAID volume

There are a lot more options out there for Linux RAID and filesystems than there were a few years ago. The last time I set up a NAS, I tried out ZFS with its whizzy volume management and snapshotting and whatnot, but discovered it was slow, unstable, and RAM-hungry. Before that I’d tried JFS, Reiser, and others. I was always bitten by their immaturity, and a lack of disaster recovery tools. Meanwhile, good old ext has always been reliable if not the most feature-rich. And, perhaps most importantly, ext is always supported by every recovery tool. So I decided to stay simple and just use Linux’s built-in software raid with an ext4 filesystem for my big media volume.

Before setting up a Linux software RAID volume, you should probably do some reading. It’s actually very simple once you figure out what you want, but figuring that out can be a lengthy process. I’ll direct you to the canonical guide that I’ve used several times in the past. For me, it boiled down to a 4-disk RAID5 array (one  disk worth of parity) with a 256KB chunk size (since I mostly have large media files):

mdadm --create --verbose /dev/md0 --level=5 --chunk=256 --raid-devices=4 /dev/sda /dev/sdb /dev/sdc /dev/sdd

And that’s it! Once the creation is started, you can start sticking stuff on the volume right away, so I went ahead and created a filesystem:

mkfs.ext4 -v -m .1 -b 4096 -E stride=64,stripe-width=192 /dev/md0

Here, the ‘-m .1′ reserves just 0.1% of the volume’s space for the root user (down from the default of 5%), and the block and stride arguments are tuned for the raid block size. See this section of the guide for info on how to compute them.

austin frontyard garden

February 26th, 2013

We’re greeting the spring with a raised-bed garden in our front yard. Leslie built the boxes then we worked together to mix the soil, plant, and install drip irrigation. Lots of tomatoes, peppers, and lettuce in the ground ready for the Texas heat. Bring it!

home NAS server 2013 part 1: shopping

January 21st, 2013

My 4-year-old home media server, made up of 4 1.5TB hard drives connected to a commodity motherboard in an old ATX case, is on its last legs. Drives will occasionally drop out of the RAID5 set, necessitating a rebuild, and I’m using 95% of the ~4.5TB of storage. Time for an upgrade!

I thought about abandoning the DIY approach this time. Synology offers a very tempting array of turnkey NAS servers based on low-power ARM systems with web-based storage management. If I’d gone this way, the DS412+ would have been my choice.

But, I’m a tweaker at heart, and my current DIY Ubuntu server hosts all kinds of third party applications that I rely on to deliver media: Sickbeard, sabnzbd+, and newznab+ for automatic TV downloads, rtorrent and rutorrent for HD movies and music, a Plex media server to deliver content to my TV, a dirvish-based remote backup system. While I could get most of these programs as packages for a Synology box, it’s fun to have the whole Ubuntu multiverse at my disposal. And I’m always a bit nervous having proprietary volume management software between me and my data. With Ubuntu, it’s just plain-old ext4 with Linux software raid, so I can rescue my data easily in an emergency.

So, I decided to build my own again. I had several important design goals:

  • At least double storage capacity (from 4.5TB to 9TB).
  • Reduce enclosure size (from mid-size ATX).
  • Network-accessible BIOS/KVM (no need to plug in a monitor or keyboard).
  • Enough horsepower for Plex transcoding.
  • Low overall power consumption, since it’s on 24/7.

enclosure: Chenbro SR30169

In some ways, the first thing I have to settle on is the enclosure. It controls which motherboard sizes I can use, how many drives I can fit, etc. I needed to hold at least 4 standard 3.5″ hard drives. Given the popularity of DIY NAS boxes, I’ve been surprised by the relatively small selection of enclosures that  can accomodate 4 hard drives and yet are not full-size ATX towers, which I wanted to avoid. I had my eye on this Chenbro for years, but it was relatively expensive and I just figured it was a matter of time before there was more competition in the space.

I also considered the Fractal Design Array R2, which can accomodate 6 3.5″ drives, but decided against it because the drive bays weren’t hot-swap, and the case is actually not very small for a Mini-ITX form factor.

So, I settled on the Chenbro despite mixed reviews of the included PSU; I planned to toss that out anyway. It has nice, hot-swap drive bays that plug into an included SATA III backplane, room for a low-profile PCI Express add-on card, and it’s pretty dern small.

price: $125 at Provantage

motherboard: Intel DQ77KB

Choosing a motherboard gave me the most angst. On the one hand, there are a million Chinese/Taiwanese manufacturers with commodity Mini ITX boards that have SATA ports and gigabit NICs sprouting from their ears, all relatively cheap (<$100) and widely available. I used a similar ATX board in my old NAS,  and it’s so generic I have no memory of its provenance.

But, one of the biggest hassles with my current NAS is that if something goes wrong and it won’t boot, I have to drag a monitor and an extra keyboard over to the closet where it sits and plug it in to debug. God help me if it croaks when I’m away from the house–I’m just SOL in that case. So, I made a design requirement of the new box remote KVM/BIOS access, so that I could do anything from a BIOS upgrade to debugging a bad kernel from anywhere on the Internet.

Finding good remote management software on an ITX board is tough. One of the best-regarded remote management platform’s is Intel’s AMT, which allows total control of the computer via a sideband interface on the NIC. Deciding to go with AMT eliminates basically every Mini ITX motherboard in existence, since you must select a board with vPro support to get remote managment functionality. This leaves the slightly aging DQ67EPB3, and the shiny new DQ77KB, with a Q77 chipset and Ivy Bridge support. I went for the latter.

This board has a couple of quirks worth mentioning: first, it has just 4 inbuilt SATA ports, only two of which sport 6Gbps SATA III throughput. This wasn’t a big deal for me, since magnetic drives can’t get close to SATA II’s 3Gbps peak throughput anyway. But it did raise the question: how was I going to connect the boot drive? Luckily, the board also sports a full-size mini-PCIe slot which can accomodata an mSATA II SSD. I knew I wanted a solid-state drive to run the OS, and this neatly solves the problem without any cables at all.

Second quirk: this board does not use standard, zillion-pinned Molex power connectors. Instead, it has what’s essentially a laptop power port that accepts regulated 19.5V DC input. This means I can’t use the Chenbro’s built-in power supply, but I was planning to replace it anyway. I ended up just ordering a 90W Dell Inspiron laptop power supply for $20, which is a good match for the board.

price paid: $126 at Amazon.

processor: Intel Core i5-3470S

Compared to when I was in high school, and processors were simply identified by their brand name and clock speed (who else remembers overclocking Celeron Slot 1 procs? Malaysia stock, baby!), there seem to be a dizzying array of models to choose from, even just from Intel. What’s worse, I can discern no rational mapping between the marketing names of the chips and their functionality.

Luckily, Intel provides a search engine which identified all current processors compatible with my motherboard of choice. Since I bothered to get the Ivy Bridge motherboard, I wanted a gen 3 Core chip. I also had to have vPro to enable AMT. That left me with exactly one i5, one i7, and one Xeon chip to choose from. I went with the i5, which was the cheapest.

Brief rant: it’s clear that Intel vastly oversegments their processor lineup to squeeze out margins. I suspect that there are only a handful of actual wafers, and that Intel just blows resistors on the package to determine what features and frequency a particular chip will run. This explains why I have to pay $200 to get a CPU with vPro support which probably has the same guts as an i3 at 2/3rds the price. Shame on you Intel!

price paid: $198 at Amazon.

memory: Corsair 16GB Dual Channel DDR3 SODIMM

When I was a wee babe I used to give a shit about RAM. What’s the CAS latency on those DIMMs, bro? I probably overpaid by 50% or more for exotic enthusiast memory. Now, I just don’t care. I know I want it to be dual channel, and I want there to be lots of it. So I got the cheapest 16GB DDR3 SODIMM kit I could find, which happened to be this Corsair.

price paid: $70 at Amazon.

boot drive: Crucial CT032M4SSD3 32GB mSATA SSD


As I mentioned in my discussion of the motherboard, I decided to go with an mSATA SSD for the boot drive. I don’t need much space at all, just that sweet, sweet SSD speed and the mSATA form-factor. So, I went for an mSATA version of Crucial’s well-regarded m4 SSD, at 32GB.

price paid: $55 at Provantage.

storage drives: Western Digital Caviar Green 3TB

The heavy lifting heart of any NAS: a whole mess of spinning platters. There has been a lot of consolidation in the hard drive industry over the years, with the exit of IBM and Fujitsu, two of my favorites. It used to be that I wouldn’t touch a Western Digital drive with a 10-foot pole, but their Caviar Green drives make a compelling contender for the NAS server: low power, quiet, and cheap. I know what you’re going to say, though: what about the recently launched Red drives, which are explicitly designed for the NAS market? Well, they are probably a bit of a better fit, but at an extra $30/drive, I just smelled more needless market segmentation. Plus, I already owned one 3TB Caviar Green from a near-death experience with my current NAS, so there was a nice uniformity to this choice. 4TB drives are now becoming available, but they’re quite a bit more expensive per GB.

price paid: $125 x 3 = $375 at Amazon.

Total cost: $950

All the parts are winging their way to me now. Once they arrive I’ll do another post describing the build, and then one more describing the software setup.

civic hits 100,000 miles

November 11th, 2012

My ’98 Honda Civic DX hatchback, purchased used with 36k miles in 2001, just hit 100,000 miles today at the ripe old age of 14. It has been basically problem-free the entire time I’ve owned it… can we make it to 200k together?


yard work!

September 3rd, 2012


After two mornings of hard labor, we’ve unearthed and repaired our drip irrigation system and remulched half of the front yard. Domestic bliss!

moving day (8/3): we’re austinites!

August 20th, 2012

Despite what you might think from my lapse in posting, we did make it alive to Austin and are now in the process of converting cardboard boxes full of our things to a house full of our things. You can in fact review much of the whole moving process now thanks to this great gallery album that Leslie made. Have a look!

moving day (2/3)

August 14th, 2012

Much driving. Now in Texas. Just 576 miles to go tomorrow. Sleep now.

moving day (1/3)

August 14th, 2012

So, we left Oakland for Austin today. Some interesting facts I learned:

  1. Despite being advised for “1 bedroom apartments,” a 16-foot Penske rental truck can (very nearly) contain everything we own in the world. This is only possible due to (a) sedulous cubic inch measurements made by Leslie and (b) magical loading skills employed by our industrious helpers from Movers Anonymous. See above picture for the truck just after ingestion of three (3) charcoal grills and a bicycle but still awaiting insertion of two nearly worthless sets of pine Ikea shelves.
  2. When you put everything you own in a truck and then attach your car to the back of it, you should not expect to get excellent mileage. However, we were thrilled to see that we are solidly in the double digits so far!
  3. It’s muhfuckin hot up in the Central Valley, but oh good god, still not as hot as in Austin. And, y’know, like they say… here it’s a dry heat. Yep. In Austin? Not dry. Bring the pain.
Now, for sleep! Bonus fact: Palm Springs is not a wonderland of palms and springs, but in fact just another part of the huge ass desert down here. Motel 6 still as classy as ever, though. ‘Night.

Tomorrow: to Austin

August 12th, 2012


Here’s Leslie driving the truck w/trailer away from the pickup. Mad tetris skills will likely be required to fit everything we own…