News for hackers. Stuff that matters.
Re:The Engineer’s Lament by patio11 on Monday April 27, 2015 @05:51PM (#9449322)
There's a very strongly held opinion in certain places in central Japan that the Toyota sudden acceleration issue has at no time ever actually been a true statement about engineering reality, and that it has been at all times an outright fabrication on the part of the American government to protect the domestic auto industry which is presently owned by the American government.

I would be more skeptical of this but for the reports coming out from the NHTS confirming "Yep, there is no there there" combined with the multi-billion dollar fines. It has the appearance of it just not mattering whether there were any faults in the vehicles.

Re:The Engineer’s Lament by sjg007 on Monday April 27, 2015 @06:10PM (#9449409)
There was a court case later that investigated the firmware of the drive by wire throttle control system software. Basically, design choices in the software implementation couldn't rule out the software as the source of unintended acceleration. All bets are off after stack overflow and continued execution.

Also the "brake override" wasn't a feature included at all which one could argue should have been part of the design.

In fact, software for car control systems should go through the same rigorous testing, documentation, control etc... (similar to what is required for FDA medical devices).

More: http://www.edn.com/design/automotive/4423428/Toyota-s-killer...

Re:The Engineer’s Lament by vilhelm_s on Monday April 27, 2015 @08:16PM (#9449904)
The court case showed that the throttle control programming was shoddy in various ways, but I don't think they demonstrated any observably buggy behavior, let alone any proof that software faults were behind any particular accident.

I think it's also quite possible that there never were any abnormal unintended accelerations, but the media debacle caused people to carefully investigate the cars, at which point they discovered that the programming was bad.

Re:The Engineer’s Lament by pnathan on Tuesday April 28, 2015 @07:12PM (#9455661)
They actually demonstrated buggy behaviour, as well as the number of paths that could lead to that behaviour (very large).
Re:The Engineer’s Lament by ArkyBeagle on Monday April 27, 2015 @06:46PM (#9449583)
It's hard to say whether it should or not. Something like that, sure. Perhaps not exactly the same thing.
Re:The Engineer’s Lament by kijin on Tuesday April 28, 2015 @02:18AM (#9450744)
> similar to what is required for FDA medical devices

Given how often we hear about gaping security holes in all sorts of medical devices, that doesn't seem like a particularly high standard.

Does anyone know whether Boeing and Airbus have higher standards for software quality?

Re:The Engineer’s Lament by EpicEng on Tuesday April 28, 2015 @03:38AM (#9450906)
Well, I've spent the last decade designing FDA cleared systems (class I and class III), and I can tell you that it is. That doesn't mean that mistakes aren't made, and it doesn't mean that you can't outright lie in documentation. There's no way the FDA could catch that short of replicating all of your V&V.

However, most of us aren't trying to cheat, and I can tell you that the amount of engineering rigor that goes into a medical device is leagues beyond what most software devs have ever been a part of. At my company we don't hire "developers"; we hire engineers who have programming in their toolbox.

Medical software screwups are high profile. You don't hear about every bug that the next "disruptive startup" lets into the wild.

Re:The Engineer’s Lament by exelius on Tuesday April 28, 2015 @09:53AM (#9452315)
I could see how that viewpoint seems valid from the perspective of a Japanese engineer. But those of us from America know that our government is far too incompetent to pull off something like this intentionally. The far more believable (and frankly, more American) response is that we created a bunch of hysteria and outrage over nothing. As this article shows, we have done this with our domestic car manufacturers as well (though I'm surprised nobody else commented that this was a Malcolm Gladwell article).

Furthermore, I'm not sure there's a whole lot of difference between domestic and foreign auto manufacturers at this point. The domestic auto companies still build parts overseas, and the foreign manufacturers still do manufacturing in the US. Also, large parts of domestically manufactured autos are either licensed or purchased directly from Japanese auto companies -- so a recall of a faulty part in a Japanese car would likely lead to recalls of American cars that use the same part. This was the case with the Honda airbag recall -- Chrysler used a lot of Honda-made airbags in its cars, and had to recall them as a result.

Re:The Engineer’s Lament by ArkyBeagle on Monday April 27, 2015 @06:39PM (#9449559)
The Micheal Barr Group did a very high-profile autopsy on the code. The upshot is not good for Toyota.
Re:The Engineer’s Lament by pnathan on Tuesday April 28, 2015 @07:11PM (#9455656)
Somewhere in my computers I have a PDF of Michael Barr's testimony. I read through it (< 300 pages) one evening with a friend. Both of us had worked in an embedded device company that dealt in life and death type devices, such as cars, traffic controls, etc. So we are familiar with the tools and rigor needed to design and develop safety critical systems. It is a matter of great professional interest to us to observe what transpires in legal cases relating to software quality.

Some of the key overall findings: The management was at fault, by picking people who were not experienced in developing real-time devices to lead software development (many software faults were those of inexperienced developers, and of developers inexperienced in real-time control). The lead developers were at fault, following extremely poor coding styles. The end code, of course, was badly done, as you might expect from management who didn't understand and leads inexperienced in the field.

Toyota, bluntly, messed up in breadth and depth when it came to software quality control. If you can find an unsafe coding practice listed on the web, Barr found it and detailed the precise ways it was unsafe. Huge interrupt service routines, complex logic in the wrong places, huge cyclomatic complexity.

It is understood in the world of safety and real-time software that certain designs of code are to be encouraged and others discouraged, based upon painful experience. It is not a handwavy "different strokes for different folks" field. The information from the Barr transcript can be used as a comprehensive manual of things to not do.

Re:The Engineer’s Lament by lambdaelite on Monday April 27, 2015 @11:11PM (#9450393)
Is there a public version of their findings? Toyota hired Exponent to do an independent analysis of their electronic throttle and released that report to the public. It'd be interesting to compare Exponent's findings with the Barr Group. Exponent didn't find any plausible failure modes for the Toyota electronic throttle systems—their study looked very comprehensive, including a static code analysis and hardware-in-the-loop testing on the software side. They also did extensive hardware failure testing. It sounded like the Barr Group is claiming that the software was failing their quality tests, but it didn't sound like they were proposing a specific hardware or software failure that would lead to an uncommanded acceleration.
Re:The Engineer’s Lament by ArkyBeagle on Monday April 27, 2015 @11:49PM (#9450462)
Right. No smoking gun.

There were multiple scenarios described in which such a failure was plausible. The story is nowhere as cut and dried as in the Therac or the Arianne cases.

Here are his Embedded Systems Conference slides: http://www.barrgroup.com/killer-apps/

Re:The Engineer’s Lament by Aloha on Tuesday April 28, 2015 @01:55AM (#9450696)
Re:The Engineer’s Lament by sitkack on Monday April 27, 2015 @06:55PM (#9449619)
Floor mats fit Gladwell's narrative much better than even mentioning software. His writing sounds like news, but it is not news, it is revisionist entertainment by omission. A half story, is half truth, is a lie.
Re:The Engineer’s Lament by ArkyBeagle on Monday April 27, 2015 @08:47PM (#9450004)
It's an essay. An essay is whatever you want it to be.

Floor mats was a sort of strawman erected ( by someone other than Gladwell ) in the history of the subject.

He's illuminating the schism between how engineers think and how ... people ... who are not engineers .... think. Always a fun topic, IMO.

Re:The Engineer’s Lament by sitkack on Monday April 27, 2015 @10:20PM (#9450285)
I am an engineer, and I don't think in the picture he paints. An essay is obviously opinion meant to sway opinion, that is not how Gladwell writes.

Both Toyota and GM acted maliciously in covering up flaws in the products they sold. For Gladwell to spin the folksy, aww shucks it is just the floor mats, you still have breaks is just as disingenuous as GM telling teenagers not to hang so much shit from their key chain.

http://www.safetyresearch.net/blog/articles/toyota-unintende...

> Jean Bookout and her friend and passenger Barbara Schwarz were exiting Interstate Highway 69 in Oklahoma, when she lost throttle control of her 2005 Camry. When the service brakes would not stop her speeding sedan, she threw the parking brake, leaving a 150-foot skid mark from right rear tire, and a 25-foot skid mark from the left. The Camry, however, continued speeding down the ramp and across the road at the bottom, crashing into an embankment. Schwarz died of her injuries; Bookout spent five months recovering from head and back injuries.

Re:The Engineer’s Lament by ArkyBeagle on Monday April 27, 2015 @11:25PM (#9450417)
I am also a (software) engineer. I work on stuff that's much like the throttle controller on the Toyota without being directly automotive.

I don't think it's an opinion piece. It's just not journalism. People find Gladwell infuriating because he somewhat defies categorization and tries to take a very neutral, nonjudgemental tone. I said "essay" because that's as close as I could get.

I don't buy "acted maliciously". I don't agree that it was covered up. Malice implies intent; there was no intent. Indeed, that's the problem. There really isn't, to my knowledge, a fixed protocol for these things outside of whatever management or PR protocol you follow and then possibly the courts.

Toyota as an entity believed that it was acting responsibly.

From the article: "The engineers were right. A series of exhaustive investigations by federal regulators, with help from NASA engineers, established that the perception of an electronic failure was almost certainly illusory. The problem was caused either by the fact that some people put in poorly fitted, nonstandard floor mats or by the fact that drivers were pressing the accelerator thinking that it was the brake."

For one, Gladwell isn't the one saying it was the floor mats. The team of Federal regulators, with help from NASA engineers said that. Toyota took this seriously and launched an investigation.

Prior to Micheal Barr's analysis, I'd say it was formally undecided whether there was a software problem. Even then, the defects found were not a smoking gun.

This is new territory. The Barr Group is one of the first of its kind.

Re:The Engineer’s Lament by davidgerard on Tuesday April 28, 2015 @04:06AM (#9450972)
"Gladwell" is a synonym for "ignorant glibness". He doesn't understand anything he writes, and keeps right on going just as if he does. (Continued execution past a stack overflow.) Everything he writes should be assumed to be on the way to "not even wrong".
Re:The Engineer’s Lament by SilasX on Tuesday April 28, 2015 @01:55AM (#9450697)
>It's an essay. An essay is whatever you want it to be.

I really can't say I like the trend of exploiting ambiguity to obscure the line between fact and fiction.

Re:The Engineer’s Lament by larrys on Monday April 27, 2015 @06:12PM (#9449415)
"and that it has been at all times an outright fabrication on the part of the American government to protect the domestic auto industry which is presently owned by the American government"

If there were a shred of truth to this the press and in particular news magazines like 60 minutes as well as WSJ and NYT would be all over this. There are people in this country who also believe that the government played a role in 9/11. As if a conspiracy such as that could actually be kept quiet given the number of players involved in pulling that off not to mention the absurdity of the idea to begin with.

Re:The Engineer’s Lament by mpweiher on Monday April 27, 2015 @07:07PM (#9449675)
> "unintended acceleration -> outright fabrication"

> If there were a shred of truth to this the press and in particular news magazines like 60 minutes as well as WSJ and NYT would be all over this

ROTFLMAO!!!

In the 80ies, it was 60 minutes who manufactured an "unintended acceleration" story, pretty much out of thin air. Well, some compressed air as well.

http://en.wikipedia.org/wiki/Sudden_unintended_acceleration#...

What they claimed was physically impossible, and never happened. More here:

http://www.manhattan-institute.org/html/cjm_18.htm

Anyway, here's the kicker: my dad, who was an executive at Volkswagen, received an anonymous letter in the 90ies, from people who claimed they had engineered this scare, and who offered their "services". Could have been a hoax, but considering how engineered the whole thing was and how effective, I am not so sure.

So I am ever so slightly skeptical when I hear of unintended acceleration stories, and I think your trust in 60 minutes and the rest of the media is, er, misplaced.

Re:The Engineer’s Lament by peteretep on Tuesday April 28, 2015 @01:09AM (#9450605)

    >> If there were a shred of truth to this the press and in
    >> particular news magazines like 60 minutes as well as WSJ
    >> and NYT would be all over this

    > In the 80ies, it was 60 minutes who manufactured an
    > "unintended acceleration" story, pretty much out of thin air.
Unless you think that investigative journalism has a strong interest for Sudden Acceleration, the take-away here is that they have a strong interest in scandal and stories that sell newspapers/airtime/whatever. The US government conspiring to protect the domestic auto market is exactly the kind of scandal that sells newspapers.
Re:The Engineer’s Lament by nitrogen on Monday April 27, 2015 @08:47PM (#9449998)
...given the number of players involved...

While there are many good arguments against conspiracy theories, this is not one of them. Given how long it took for people like Snowden and Manning to come along, it seems compartmentalization, patriotism, and NDAs go a long way.

In the Toyota case, not many in-the-know would be required at all.

Re:The Engineer’s Lament by hysterix on Monday April 27, 2015 @06:29PM (#9449502)
>the absurdity of the idea to begin with

A false flag operation initiated by America is an absurd idea? What about all the documented and public comings and goings of when America has done just that?

How in the hell is the notion of America creating an enemy to rally against absurd when there is proof of it occurring in the past?

Operation Northwoods - http://en.wikipedia.org/wiki/Operation_Northwoods

Project TP-Ajax - http://en.wikipedia.org/wiki/1953_Iranian_coup_d%27%C3%A9tat

Many people say the Gulf of Tonkin incident which initiated the Vietnam "conflict" was also one.

I'm astounded that you can make a statement like that when there is such black and white proof of such incidents occurring in the past. I'm not talking about 9/11, I'm just saying that it isn't out of the realm of possibility for a government to manufacture an enemy.

What I'm wondering is, are you just ignorant and you've never heard of these documented false flag operations? Or instead have you heard of these things and choose not to believe it?

Re:The Engineer’s Lament by AnimalMuppet on Monday April 27, 2015 @06:48PM (#9449590)
You present evidence that the US has done such things in the past as evidence that it is not absurd to believe that 9/11 was a false flag operation.

But why is the idea that 9/11 was an inside job absurd? Is the only reason because people consider it absurd that the US would ever do such a thing? Or is it possible to believe that, yes, the US has done such things, but it is absurd to think that 9/11 was one of them?

I submit that it is possible to believe that the US has done such things, and also possible - even reasonable - to believe that it is still absurd to think that 9/11 was such an event.

Re:The Engineer’s Lament by brianpgordon on Tuesday April 28, 2015 @12:41AM (#9450561)
Whether or not 9/11 was a priori suspicious is irrelevant. It's not September 12, 2001, it's nearly 15 years later and the investigations are long-finished and utterly conclusive.
Re:The Engineer’s Lament by peteretep on Tuesday April 28, 2015 @01:17AM (#9450615)

    > A false flag operation initiated by America is an absurd 
    > idea? What about all the documented and public comings
    > and goings of when America has done just that?
I am confused by the links you follow up with. The first is a _rejected_ false-flag operation against American civilians, the second is CIA action overseas. The Gulf of Tonkin incident saw ... no American casualties.

And you use these as some kind of proof that the idea of the US government knowingly killing 3,000 of its own citizens, causing massive economic damage to the US, isn't absurd?!

    > What I'm wondering is, are you just ignorant and you've never
    > heard of these documented false flag operations? Or instead have
    > you heard of these things and choose not to believe it?
What, the first one, which never happened, or the second one which wasn't a false-flag incident against the American people, or the third one which involved no American casualties?