1/3/2015: 1:17 pm: Reviews

I enjoyed Zero to One: Notes on Startups, or How to Build the Future, by Peter Thiel, more than I expected. It’s a good complement to The Hard Thing about Hard Things. Zero to One provides more guidance on what makes a startup idea more likely to be viable, while THTAHT focuses more on how to execute as a startup founder once you have your idea.

One of his core ideas is the not entirely intuitive notion that competition is more akin to socialism than capitalism. His argument is that competitive markets destroy profits. Thiel favors using proprietary, breakthrough technology to start a company that can quickly control a small market, before scaling into a legal monopoly of a much larger and/or adjacent market. His “seven questions every business must answer” is pretty good guidance for evaluating startup ideas.

12/18/2014: 2:31 pm: Reviews

Ben Horowitz has assembled a great collection of hard fought knowledge for future founding CEOs. I took away a lot from this book, despite neither being a CEO nor planning to be one. Anyone who intends to take a leadership role in a company, especially in high tech, should read it. The advice on hiring and firing is clear, succinct and valuable. I also got a lot of great insights on what to look for in product managers. While not entirely discouraging to would be entrepreneurs, Horowitz’s vividly retold experiences make it clear that running a startup consists a lot more of stomach churning decisions and shit sandwiches than unicorns and ponies.

12/14/2014: 11:27 pm: Reviews

Creativity, Inc. is both a great insider’s look at the history of Pixar and a primer on how to nurture and manage a creative culture. An added bonus is new insight, at least for me, into the complex intellectual force that was Steve Jobs.

It’s now hard to imagine that Pixar struggled as a company, but they clearly came very close to collapse several times, especially in the Pixar Image Computer days. Steve Jobs took a huge risk to save them.

The early backstory reminded me that at my first job in around 1990 I helped evaluate hardware from Pixar Image Computer and AT&T Pixel Machines. We eventually bought SGI Indigos. Ed, Steve and the rest of team eventually decided to abandon hardware to focus on their software. Interestingly enough, though, when so many people were advising Jobs to make the same decision about Apple, he didn’t. Staying in the hardware business at Apple ended up being a brilliant decision, as it allowed them to build the iPod, iPhone and iPad.

As successful as Pixar films have been, it was amazing to read about how many almost weren’t. Toy Story 2 was a near disaster. It was proposed by Disney as a quick, direct to video sequel. Only a complete overhaul after a mostly wasted year saved the movie.

But the book is really about Ed Catmull’s very successful management philosophy, primarily for leading creators and builders. A key message in the book is continuous improvement. I would maybe even call it relentless improvement.

Although it’s not funny like the fake blooper reels at the end of their movies, you should definitely stick around for the “Managing a Creative Culture” list at the end of the book. It nicely summarizes the book.

11/23/2014: 9:14 pm: Healthcare, Reviews

Complications: A Surgeon’s Notes on an Imperfect Science by Atul Gawande is a very engaging and enjoyable book about Gawande’s experiences as a medical resident, grouped by chapters on fallibility, mystery and uncertainty. In many of the cases, mystery and fear of fallibility contribute greatly to the uncertainty.

As with some other specialized fields, outsiders looking in often assume medical doctors very rarely makes mistakes, fully understand their current problems and are supremely confident in their decision making. Though I am nowhere near the level of Dr. Gawande in my field of software engineering, I think others believe I make fewer mistakes, know more about all of my work and am more certain of my decisions than I actually am, so it was reassuring to hear his stories. There’s a fine line between humility and self awareness on one side and Impostor Syndrome on the other.

The book weakened just over halfway in, especially in the chapters on vomiting and blushing. Mary Roach would have done those topics better justice. But Gawande pulled the book together strongly in the final section on uncertainty, especially the final chapter.

I definitely recommend this book if, like me, you wish you knew more about the day to day life and work of a surgeon. Gawande is a fantastic writer and chronicler of his profession.

7/28/2014: 10:57 pm: Healthcare, Reviews

In “Catastophic Care: Why Everything We Think We Know About Health Care Is Wrong”, David Goldhill does a very good job of laying out many of the biggest issues in US health care pricing, a field I actually happen to know a lot about. From his experience running a company and being on the board of the Leapfrog Group, Goldhill is in a good position to understand the excessive, and growing, costs of our current system to individuals and companies, as well as the challenges in achieving price and quality transparency in health care.

Although he superficially comes out against the ACA, he seems to accept that it was the only thing politically possible at the time, though he would have liked something even more extreme. The short period of history since the book has been published has not been too kind regarding some of his speculative criticisms of the ACA. In particular, he suggests that the uninsured population may actually increase after the introduction of the ACA, when in fact it has decreased by about 10 million. His arguments against the ACA are some of the weaker parts of the book. One good point he does make about the ACA is that despite all the uproar, it actually affects a relatively small percentage of the population.

Where the book shines is in laying out the fundamental problems with our health care system regarding the relationships between health plans (a.k.a., health insurance companies, insurance carriers and payers), medical providers, employers and employees and their dependents. The financial incentives for providers have inevitably brought us to the situation where fee for service leads providers to perform more (and more costly) procedures. Similarly, health plans acting as third party administrators of self funded plans for medium to large employers. generally, those with more than 1,000 employees, are incented by higher volumes. Some of this is being addressed by Accountable Care Organizations and corrections to the Medicare reimbursement system, but it is the tip of the iceberg.

Goldhill also does a fantastic job of explaining how and why so much unneeded care is performed, and why it is not only economically bad, but actually produces worse clinical outcomes. More care can be worse. But, he also understands that in the extreme case of the heat of the moment when a family member or loved one is very ill, it can be very hard not to want the doctors to do everything possible to save them, regardless of cost or likelihood of success. Since the max out of pocket on insurance plans is roughly around $10k, the costs aren’t typically borne by the family, but are spread across everyone in higher premiums.

In a section on cost sharing and price transparency, he mentions my company in a footnote as a potentially successful startup. We’ve since had a successful IPO this year and we experience continued rapid growth. Maybe this health care pricing transparency thing has something going for it.

5/8/2014: 9:49 pm: Mac

Several times I’ve downloaded an app and had OS X ask me the following every time I opened it:

TheAppName is an application downloaded from the Internet. Are you sure you want to open it?

The first time, well, okay, but everytime?

The trick is to remove the com.apple.quarantine extended attribute from the application’s directory. For example, in the case of Adium, I needed to run the following from a Terminal shell:

xattr -d com.apple.quarantine /Applications/Adium.app/


11/11/2013: 12:12 am: Reviews

Nothing to Envy: Ordinary Lives in North Korea is a fascinating book on a topic that I previously knew almost nothing about. Barbara Demick very much deserved the National Book Award Finalist award.

I first found out about this book when I went to the Goodreads office in San Francisco for a talk on their recommendation engine. On top of a great explanation of recommendation engines and some cool anecdotes about how they tuned their recommender algorithms, I walked away with a recommendation for this great book. The engineer giving the presentation said it was his goal to get as many people as possible to read Nothing to Envy.

Demick’s early reporting on North Korea was thwarted when she realized that she wouldn’t be able to have any meaningful conversations with citizens, due to the oversight of her North Korean minders. So, she painstakingly interviewed North Korean defectors and fact-checked their stories. Demick did an amazing job of turning those interviews into riveting stories of the soul-crushing poverty, totalitarianism and terror that still reigns in North Korea. The North Korean famine in the mid 90’s very likely resulted in more deaths than the Great Famine in Ireland.

On a related note, one of my cousins very recently traveled to South Korea and was able to go to the Joint Security Area. She wrote that, “to visit that area, we had to board a special military bus, ride on roads surrounded by mine fields and anti-tank obstacles rigged with C-4 explosives, wear visitor ID badges, and line up single file when walking about.” While standing near armed South Korea guards, a North Korean soldier only a few hundred feet away stared at them through binoculars. Another North Korean peaked through a window and photographed them. Given the sad stories in Nothing to Envy of poverty, even amongst the North Koreans, I wouldn’t be surprised if it were a film camera for which film has long since not been available.

8/23/2013: 9:10 pm: Conference, MongoDB

Yesterday I presented at NoSQL Now! 2013 in San Jose, CA, on how Castlight Health uses MongoDB to support low latency geospatial searches on huge amounts of health care pricing data. Given the number of parallel tracks and the total number of people attending sessions, I was pleased to get about 50 engaged people in my session.

When I presented a very similar talk at MongoDB Days SF in May, we had about 600 million prices. In August we went over 1 billion. That’s a lot of JSON documents.

The main update in this version of the presentation is that I described my process of switching from the haystack index to the 2DSphere index. The thing that has changed is our data. It is now more common for us to have very large collections of prices in which the majority of rates in an area are for provider networks that are not in-network for the user. The 2DSphere index allows me to add the provider network id as a third part of the composite index. The performance I’m now seeing is anywhere from 10% slower to 5 times faster. My admittedly statistically insignificant testing so far suggests I’m going to get an average speedup of about 50%.

5/12/2013: 9:21 pm: Conference, MongoDB

My presentation at MongoDB Days SF on Friday went very well, though I got to the last slide of my 40-minute talk in just 30 minutes. Hopefully, I didn’t speak too fast for a lot of people. Fortunately, I remembered at the end that I had also wanted to talk about how I saved space by omitting keys with a very common default value. While that required adding a very small amount of app logic to fill in default values for missing keys, it enabled me to save quite a few bytes per document. Every byte counts when you are storing 600+ million documents.

The extra time at the end of my talk was also nicely filled in by a lot of good questions. I ended up having to rush off the stage for the next talk.

It was also cool that I was speaking to about 100 or so people in the Gold Room at the beautiful Palace Hotel. The Castlight Xmas party was in the same room two years ago.

As always, 10gen put on another excellent show. Meghan and her team are awesome. I’ve attended several of these events and they get better each time.

Here are the slides I presented:

3/29/2013: 9:32 pm: Conference, MongoDB

MongoDB_Days_2013_Speaker_Badge_200x200 2 I’m very excited that my talk proposal “Geo Searches for Healthcare Pricing Data” was accepted for MongoDB SF 2013. I’ll be speaking at 11:55 am on May 10th in the Palace Hotel Gold Ballroom about why I chose to deploy MongoDB at Castlight Health to serve large amounts of healthcare pricing data with very low latency. I’ll go into as much detail as I can in forty minutes as to how we use it, how we deployed it and the excellent results we’ve gotten.

I previously spoke about logging to MongoDB at Mongo SV a few years ago in Mountain View and have attended several other MongoDB conferences and events. The 10Gen team has built a fantastic product and has an amazing events team. Their conferences are very well run, economical, educational and I highly recommend attending them.

Fork me on GitHub