Sunday, August 16, 2015

Let's read about things that failed.

There's lots more to learn from failure than from success.

  • A Large-Scale Study of Flash Memory Failures in the Field
    Based on our field analysis of how flash memory errors manifest when running modern workloads on modern SSDs, this paper is the first to make several major observations: (1) SSD failure rates do not increase monotonically with flash chip wear; instead they go through several distinct periods corresponding to how failures emerge and are subsequently detected, (2) the effects of read disturbance errors are not prevalent in the field, (3) sparse logical data layout across an SSD’s physical address space (e.g., non-contiguous data), as measured by the amount of metadata required to track logical address translations stored in an SSD-internal DRAM buffer, can greatly affect SSD failure rate, (4) higher temperatures lead to higher failure rates, but techniques that throttle SSD operation appear to greatly reduce the negative reliability impact of higher temperatures, and (5) data written by the operating system to flash-based SSDs does not always accurately indicate the amount of wear induced on flash cells due to optimizations in the SSD controller and buffering employed in the system software.
  • Postmortem for July 27 outage of the Manta service
    It appears that PostgreSQL blocks new attempts to take a shared lock while an exclusive lock is wanted. (This sounds bad, but it's necessary in order to avoid writer starvation.) However, the exclusive lock was itself blocked on a different shared lock held by the autovacuum operation. In short: the autovacuum itself wasn't blocking all the data path queries, but it was holding a shared lock that conflicted with the exclusive lock wanted by the "DROP TRIGGER" query, and the presence of that "DROP TRIGGER" query blocked others from taking shared locks. This explanation was corroborated by the fact that during the outage, the oldest active query in the database was the "DROP TRIGGER". Everything before that query had acquired the shared lock and completed, while queries after that one blocked behind it.
  • Behind the Scenes of a long EVE Online downtime
    First we ran step 2a on all nodes in parallel. The command completed instantly, and we saw a spike of 125,000 lines (250*500) on the Splunk graph. That might seem like a lot of logging, but it isn't anything the system can't handle, especially in small bursts like this. Next we ran step 2b in the same way. This was where something curious happened. The correct number of log lines did show up in Splunk (The logs do show something!), but the command did not appear to return as immediately as it did for step 2a. In fact it took a few minutes before the console became responsive again, and the returned data indicated that several nodes did not respond in time. Looking over the status of the cluster, those nodes were now showing as dead. Somehow this innocent log line had managed to cause these nodes to time-out and drop out of the cluster.
  • Black Hat USA 2015: The full story of how that Jeep was hacked
    Recently we wrote about the now-famous hack of a Jeep Cherokee. At Black Hat USA 2015, a large security conference, researchers Charlie Miller and Chris Valasek finally explained in detail, how exactly that hack happened.
  • Remote Exploitation of an Unaltered Passenger Vehicle
    Automotive security research, for the most part, began in 2010 when researchers from the University of Washington and the University of California San Diego showed that if they could inject messages into the CAN bus of a vehicle (believed to be a 2009 Chevy Malibu) they could make physical changes to the car, such as controlling the display on the speedometer, killing the engine, as well as affecting braking. This research was very interesting but received widespread criticism because people claimed there was not a way for an attacker to inject these types of messages without close physical access to the vehicle, and with that type of access, they could just cut a cable or perform some other physical attack.
  • Not Even Close: The State of Computer Security (with slides) - James Mickens
    Did you hear what I just said? You can use WireShark to analyze the network traffic being exchanged by the light bulbs in the house!
  • Welcome to The Internet of Compromised Things
    It's becoming more and more common to see malware installed not at the server, desktop, laptop, or smartphone level, but at the router level. Routers have become quite capable, powerful little computers in their own right over the last 5 years, and that means they can, unfortunately, be harnessed to work against you.
  • Oracle security chief to customers: Stop checking our code for vulnerabilities [Updated]
    Davidson scolded customers who performed their own security analyses of code, calling it reverse engineering and a violation of Oracle's software licensing. She said, "Even if you want to have reasonable certainty that suppliers take reasonable care in how they build their products—and there is so much more to assurance than running a scanning tool—there are a lot of things a customer can do like, gosh, actually talking to suppliers about their assurance programs or checking certifications for products for which there are Good Housekeeping seals for (or “good code” seals) like Common Criteria certifications or FIPS-140 certifications."
  • Don’t Bug Me
    The claim that Oracle can, on its own, find all the vulnerabilities in its products is nonsense. No tech company in the world is equal to the task of shipping bug-free code. The idea that no one outside of Oracle could have the expertise or ability to find relevant exploitable coding errors in the company’s products is similarly ridiculous: Independent security researchers routinely find important vulnerabilities in commercial products made by companies they don’t work for. And while it is no doubt true that some of the reports Davidson and her team receive are false alarms, the notion that assessing and responding to these concerns is a waste of her time demonstrates a fundamental misunderstanding of the value provided by people who devote their time and energy to finding and reporting software vulnerabilities.
  • Metacritic Matters: How Review Scores Hurt Video Games
    But people find it hard to trust what they don’t understand. And nobody understands how Metascores are computed.

    One of Doyle’s other big policies has also been in the news recently: Metacritic’s refusal to change an outlet’s first review score, no matter what happens. It’s a policy they’ve had for a while now, Doyle told me. He enacted it because during the first few years of Metacritic, which launched in 2001, reviewers kept changing their scores for vague reasons that Doyle believes were caused by publisher pressure.

  • Bad comments are a system failure
    For years this has been discussed in more academic circles as “context collapse.” You have an identity and a set of ideas about the world that exists and is understood in one social context. You want to bring it to another place and not have to have to do a five minute introduction about who you are and what you value every time you say anything. Other people don’t share the same preset understandings and may read more into what you are saying than you think you put there. Your jokes fall flat, or cause offense. Conversation devolves into side discussions and arguments about first principles and word definitions. People start citing the dictionary and Wikipedia and angrily talking past each other.
  • Man fights off bear near Yosemite National Park, drives himself to hospital
    The attack occurred about 4 a.m. when the man walked onto his porch and was ambushed by the bear in Midpines, a community on the edge of Yosemite National Park.

    The bear was feeding on a bag of trash left 20 feet from the man’s front door, Stoots said. The bear tackled the man and attacked him. But the man fought back, using his legs and arms, and eventually escaped back into his house.

A bag of trash 20 feet from his door? Sheesh. Some of these failures are easier to fix than others...

Saturday, August 15, 2015

In which people discuss things I don't understand

  • G is for Google
    Fundamentally, we believe this allows us more management scale, as we can run things independently that aren’t very related. Alphabet is about businesses prospering through strong leaders and independence. In general, our model is to have a strong CEO who runs each business, with Sergey and me in service to them as needed. We will rigorously handle capital allocation and work to make sure each business is executing well. We'll also make sure we have a great CEO for each business, and we’ll determine their compensation. In addition, with this new structure we plan to implement segment reporting for our Q4 results, where Google financials will be provided separately than those for the rest of Alphabet businesses as a whole.
  • 26 reasons Google created Alphabet
    There are two ways of looking at Google right now. The first is that it’s a hugely successful search company which is frittering away its money on crazy projects like self-driving cars and next-generation contact lenses. The second is that it’s a hugely successful search company which is making smart, high-risk, long-term bets which, if they pay off, could be worth trillions of dollars. Either way, it’s a search company. And Google wants to be more than that.
  • 5 Questions About Google's Alphabet Shakeup
    What happened to Omid Kordestani?

    He’s stepping back. Google’s Employee No. 11, returned last year as chief business officer when Nikesh Arora left for Softbank. Worth noting: When Page announced Kordestani’s return, he said it was “for now.” With Pichai running the revenue-generating products, Kordestani becomes adviser to Google and Alphabet, and the “CBO” title vanishes. That wasn’t mentioned in Page’s announcement; you had to find it in the SEC filing.

  • Google Surprises Everyone By... Breaking Itself Up (Kinda)
    Frankly, the whole thing seems to be leaving a lot of people scratching their heads (myself included). It may turn out to be nothing beyond just a different take on a corporate restructuring -- or it may be a prelude to the company doing something much bigger that would fit much more readily into this holding company structure.
  • Alphabet is bringing Google up to date on corporate legal tricks
    The result won't change Google's tax bill much (R&D expenses are deductible under either structure), but the liability concerns are real, and many of the lawyers I spoke to were surprised that Google had kept the X projects so exposed for so long. "You would have thought that each new business would have been set up as its own subsidiary, but apparently that was not the case," said Duane Morris' David Feldman, who has written on the advantages of corporate restructuring in the past. Feldman said he likes the simplicity of Alphabet, as an unusually direct way of getting the protection of subsidiaries. "It's a very clean structure, and it works."
  • No, Google's restructuring isn't about cutting taxes
    "I know there is a feeling on Wall Street that this maneuver was somehow tax motivated, but the consensus among tax professionals is just the opposite," says Bob Willens, one of the best-known corporate tax advisers on Wall Street for decades. "We do not see any tax advantage to be gained from forming a holding company."
  • Why Google's Recent Alphabet Announcement Is Pure Genius
    In fact, in my book on The Future of Work I make the argument that many organizations are already too big. These large organizations have survived simply because of their massive resources but this will change. The larger an organization becomes the more sluggish it becomes and agility and adaptability seem farther out of reach. Gary Hamel has actually been talking about this for many years now.
  • Google, Alphabet, and the Googlettes
    Google has been focused on diversifying their business for a long time, even before their IPO. In August of 2003, they posted a job listing on Craigslist looking for a manager to run their collection of Googlettes, which were essentially startups within Google
  • Alphabet Soup
    The way I see it, Google is the cash cow that finances all the big bets Larry and Sergey are making inside Alphabet. The public markets get the transparency of seeing how the cash cow is performing and how the entire holding company is performing.
  • Do You Trust Larry Page?
    The problem for Page, though, is that he is not a strategy and business nerd. Page is, for lack of a better description, a change-the-world nerd, and it seems clear that he found the day-to-day business of managing a very profitable utility to be not only uninteresting but a distraction from what he truly wanted to do. Page declared in Google’s 2004 Founders IPO Letter that “We aspire to make Google an institution that makes the world a better place”, a rather large departure from aspiring to capture a greater share of global advertising, and I suspect the strongest driver behind this change was that in Page’s mind “making the world a better place” was increasingly in conflict with “Google the institution”. With the establishment of Alphabet Page has prioritized the former at the cost of abandoning the continued making and maintenance of the institution Google has become to the very capable hands of Sundar Pichai.
  • Here’s Why Google Is Making the Titanic Shift to ‘Alphabet’
    But the shift to mobile has caused some observers to wonder about the company’s future rate of prosperity. As Internet users abandon desktop computers and flock to mobile devices, search results become harder to monetize, either because there’s less screen real estate or because users are searching in distinct apps rather than on the open web.
  • The Example Larry and Sergey Should Follow (It’s Not Buffett)
    But there’s a better comparison than Buffett: it’s John Malone, the “mastermind” who built the cable TV powerhouse Liberty Media. Malone is a brilliant financial engineer, who creates separate capital structures — each with a unique stock — for his different lines of business. Liberty Media, Malone’s holding company, owns a portion of the stock in each business. This approach allows Malone to attract equity and debt investors whose preferences regarding risk and payoff horizon match those of the business in question.
  • Google’s Alphabet Move Is Reorganizing 101
    If what it takes to operate the businesses and make them successful are fundamentally similar, then it will be helpful to have a unifying corporate culture so that knowledge and learning get shared. But if they are really different, then any attempts at corporate synergy will simply frustrate people. My guess is that in businesses that depend on truly great creative talent, there are fewer economies of scale or scope than one might think.
  • Why Google Became Alphabet, Explained In 120 Seconds
    Here’s everything you need to know in a quick two minute video.

Thursday, August 13, 2015

My Backpacking Trips with Mike

It's been a few years, and hence it's time to update my list of my backpacking trips with Mike:

  1. Paynes Lake, Russian Wilderness (2015)
  2. Matlock Lake, John Muir Wilderness (2014)
  3. Mokelumne Wilderness: Grouse Lake from the Upper Blue Lake trailhead (2013)
  4. Yosemite National Park: Rancheria Creek from the Hetch Hetchy dam trailhead (2012)
  5. Caribou Wilderness: Posey Lake from the Hay Meadow trailhead (2011)
  6. Trinity Alps Wilderness: Lilypad Lake via Poison Canyon (2010)
  7. John Muir Wilderness: Baboon Lake from the Lake Sabrina trailhead (2009)
  8. Yosemite National Park: unnamed lake below Mt Hoffman from the May Lake trailhead (2008)
  9. Emigrant Wilderness: Relief Reservoir via Kennedy Meadows trailhead, with Dan (2007?)
  10. No trip in 2006?
  11. No trip in 2005?
  12. Yosemite National Park: Rancheria Creek from the Hetch Hetchy dam trailhead (2004 -- yes, we did this trip twice)
  13. Hoover Wilderness: Robinson Lakes via the Twin Lakes trailhead (2003?)
  14. Sequoia National Park: Mosquito Lakes from the Mineral King trailhead (2002?)
  15. John Muir Wilderness: South Fork of the San Joaquin River from the Florence Lakes trailhead (2001?)
  16. Desolation Wilderness: American Lake from the Echo Lakes trailhead. (2001?)

Backpacking 2015: Paynes Lake, Russian Wilderness

This year we headed north, far north, about as far north as you can go and still stay in the state of California, to the Russian Wilderness, a small and not-well-known Wilderness Area tucked between the larger and better known Trinity Alps and Marble Mountain wildernesses in California's Salmon Range.

The best way to get to the Russian Wilderness, at least from where I live, is to drive north on Interstate 5 until you are nearly in Oregon. Just before leaving the state, you'll find yourself in the small town of Yreka, where you should stop and spend the night.

Sadly, the marvelous tale about the naming of Yreka, from Mark Twain's autobiography, is not true, though you may be like me and choose to believe it anyway!

In the morning, make your way down California Route 3 through Etna, and then up to the Russian Wilderness trailhead of your choice.

Etna has its own marvelous creation story, commemorated by an E Clampus Vitus plaque on the main drag. The town was founded by local pioneers who relocated from the mining center of Deadwood.

No, sorry, not that Deadwood. And, not that Deadwood, either. I'm talking about this one.

There are a number of ways to arrive at Paynes Lake, but we chose to take the trail from the Paynes Lake Trailhead, which is on the eastern edge of the Russian Wilderness, up French Creek Road from Etna.

Now, sometimes trails are interesting things in and of themselves, for the trail-maker may have various puzzles to solve and obstacles to overcome in the process of deciding how to arrange the trail.

In the case of the Paynes Lake trail, no such complication was in order: the trail-maker simply snapped a chalk line along the ridgeline between two canyons and sent the trail accordingly, resulting in an easy-to-follow and obvious trail which takes you from the 4,400 foot trailhead to the 6,500 foot Paynes Lake in a mere 2.4 miles of trail-walking.

Which is not to say that the trail has no personality. As I walked it, I could see that it was divided into segments, as follows:

  1. First it was difficult,
  2. then strenuous,
  3. followed by severe,
  4. then unrelenting,
  5. which led to punishing,
  6. after which there was a 100-yard level section with a view, where we ate lunch,
  7. and then moved on to the devastating section,
  8. which rapidly became vicious,
  9. and, finally, was followed by the heart-breaking last segment.

If you've done the math, you can tell that climbing 2,100 vertical feet in barely 12,500 horizontal feet is an average grade of over 15%, which is quite the climb.

The trail is at least forested and visited by breezes, which is something good that I feel the need to say about it.

And it got us to Paynes Lake.

Paynes Lake itself is a perfect California mountain lake, a delightful 14-acre lake set in a gorgeous basin ringed by towering granite cliffs. It is wonderful for swimming, fishing, or just sitting by the shore and watching the time go by, depending on where your preference lies.

There are several very nice camping spots on the north side of the lake, safely away from the water but with nice lake views. The shoreline is forested and makes an excellent habitat for birds, squirrels, chipmunks, deer, and all sorts of other mountain creatures.

On our first afternoon at Paynes Lake we were treated to a spectacle I've never before seen in my backpacking trips: just around dusk, a bald eagle swooped down over the lake, passing barely 30 feet above the water surface. The eagle made several circuits of the lake, around and around, rising slowly until it disappeared over the ridge line, 300 feet above the lake surface. We never saw it again during our visit, but what a majestic bird that was!

If you've been paying much attention to California recently, you'll know a few things:

  • California is experiencing a severe period of prolonged drought.
  • Pretty much the entire state is impacted.
  • As a result, there is little water, and many fires are burning.

As a result, our first several days in Siskiyou County were heavily impacted by smoke from the forest fires. On our drive up, we could barely see two miles for the smoke, and we drove right past majestic Mount Shasta without even knowing it.

Several days into the trip, however, the smoke cleared, and our remaining time was blessed with superb visibility.

But we didn't get to see the Perseids, unfortunately. Can't have everything.

Most people who visit the Russian Wilderness are Pacific Crest Trail through-hikers, and typically they are On The Move, for they have miles to go before they sleep.

Paynes Lake, being both a Source Of Water as well as a delightful place to spend the night, is a frequent host to these most serious of backpackers, and we saw many of them during our visit.

Happily, though, these are folk who treasure the wilderness and care for it with the utmost concern, and Paynes Lake is remarkably well preserved for all the use it gets.

During our time in the Russian Wilderness, we spent a fair amount of time at the lake, but also made a few side trips:

  • Above Paynes Lake is Albert Lake, which the map shows with a nice trail which should have started essentially at our campsite. The trail, however, is nearly impossible to find, and we found ourselves lost, climbing higher and higher on the canyon wall until it became nearly impassible. Our fearless leader, and best athlete, made his way carefully across the top of the canyon, and later reported to us that he had in fact found Albert Lake, and that it was indeed beautiful. Meanwhile, we had a nice lunch by Paynes Lake after carefully climbing back down.
  • To the south of Paynes Lake, the PCT leads to Carter Summit, with a nice view of Lipstick Lake. The trail in this section goes through a large burned portion of the forest, perhaps the result of a recent fire?
  • To the north of Paynes Lake, the PCT heads to Etna Summit. We followed it as far as a saddle at about 6,900 feet, where we got delightful views of Taylor Lake to the west, and an unnamed mountain meadow to the east, 650 exhilarating vertical feet below us as the PCT hugs tightly to the spine of the Salmon Mountains.

The Russian Wilderness apparently came into being as part of the California Wilderness Act of 1984. I suspect that it has benefitted from being small, from being in a remote corner of the state, and from being sandwiched between several much larger and much-better-known wilderness areas.

Regardless, the Russian Wilderness is a treasure. Even though it was formed from reclaimed logging lands, it has healed nicely. This area is wild, healthy, and vibrant, and it stands as a vivid demonstration of why America's wilderness areas are an inadequately praised marvel.

Oh, and finally: gear notes!

This year, I treated myself to my own Garcia bear canister. I've been wanting one for years, and it was time. You might think that buying a big black plastic jar is a complete wast of time, but Garcia bear canisters have simply transformed the way I visit the backcountry.

My other gear change this year was to pick up a set of Pat's Backcountry Beverages gear. This was actually our second year using Pat's; my friend brought the supplies last year. I think this is what you can say: it works, as Pat says it does. And beer in the backcountry is dramatically superior to no beer in the backcountry. That said, I wish they had a wider range of Brew Concentrate.

Friday, August 7, 2015

Meta

So, there's an article in Rolling Stone, reviewing The End of The Tour.

Yes, that's right:

an article in Rolling Stone about

a movie,

about a book,

written by a guy who is trying to write an article

for Rolling Stone

about the book tour

David Foster Wallace went on for Infinite Jest

Thursday, August 6, 2015

Yes, I know, the wheels grind slowly, ...

... but why did they wait 25 years to release this?

FBI hopes grainy video will help solve 25-year-old $500 million art heist

Federal investigators in Boston on Thursday released 25-year-old surveillance video showing a security guard admitting a man to the Isabella Stewart Gardner Museum the night before it was robbed of $500 million worth of art in the largest such heist in U.S. history.

The six-minute, 40-second video shows a white man, wearing glasses and apparently in his 50s or 60s, being let in by the guard through a rear entrance to the museum shortly after midnight on March 17, 1990, about 24 hours before the heist.

The (short) article doesn't mention why the FBI decided the time had finally come to release the video, nor why that time couldn't have come sooner.

Wednesday, August 5, 2015

It's not just a game, ...

... it's a "a springboard for philosophy": The Witcher 3's best quests

In other words, the game is at its best when it stops being about saving the world and is instead about anything else, like finding a frying pan for a distraught old woman in a decrepit riverside village. It’s these particularities in a massive world that give it a pulse. And while the main questline is good fantasy storytelling, it wouldn’t carry weight or consequence without being grounded in mundanity first. Don’t get me wrong; I enjoy sliding through The Hero’s Journey time and time again, it’s just always been a conduit—especially in games—to live somewhere else and care about something new.

What I figured would just be a two to three hour hub for early quests bloomed into a massive domestic drama that washed away the majority of my concern for Geralt’s priorities—I wanted to help a family in ruins. It’s this focus on the particular, on something outside the typical spread of fantasy storytelling, that I found so refreshing. The Witcher has it’s fair share of ugly bad guys and mysticism and prophecy, but in Return to Crookback Bog, I was simply given the culmination of small family’s story. Granted, it’s told using familiar fantasy props (how about those Crones?), but in such a fantastic world, it’s the attention to normalcy that most willfully suspends my disbelief elsewhere.

Doing what feels like the right thing in The Witcher 3 can always leave you feeling uncertain, because unlike in most fiction, noble intentions don't always lead to happy endings.

So, so, so true.