Live data from Hacker News

Toyota Unintended Acceleration and the Big Bowl of “Spaghetti” Code (2013)

safetyresearch.net

101–108 of 108 posts

Re: Toyota Unintended Acceleration and the Big Bowl of “Spaghetti” Code (2013)

#101
Just dealing wit the entertainment messy of modern cars I already came to the conclusion that the car industry has no damn clue how to write software.

It's like the worst internal shit code you see in the in house tools at many companies where the moment it ran it was considered done enough.

Re: Toyota Unintended Acceleration and the Big Bowl of “Spaghetti” Code (2013)

#102
post #99
post #87

Earlier quoted context omitted.

> I always think of Japan as being so technologically advanced. Ask anyone who has lived in Japan for a sufficient period of time and they will laugh at this statement, especially as it relates to programming.

I was thinking about robotics and consumer electronics mostly. I see that in the news a lot. There's even a wiki page about it. https://en.wikipedia.org/wiki/Science_and_technology_in_Japa...

As I understand it, a lot of the early foundation Japanese PCs werr delayed by the need to support kanji for all but the most dedicated hacker. So higher resolution screens, initially lots of ROM to store the glyphs, and of course input methods to easily convert kana to kanji.

Or you could just hand print messages and send them by fax....

Re: Toyota Unintended Acceleration and the Big Bowl of “Spaghetti” Code (2013)

#103
post #96
post #59

Earlier quoted context omitted.

Do you fly airplanes of commercial airlines? If yes, I have bad news for you. They are almost all fly-by-wire already.

They're also all triply redundant control systems with rad hardened computers and error correcting memory... you won't find that level of redundancy in passenger cars; and Toyota outright lied to NASA about the type of memory that was used in the 2005 Camry. (Claiming it to be ECC when it was not.) On top of that: pilots of any caliber undergo far more rigorous training than what is required of a licensed driver in t…

While safety relevant ECU's are not triply redundant, they ARE doubly redundant with error correction memory. So I don't know what Toyota used to do, but, from my experience, nowadays, auto companies take safety relevant applications VERY seriously.

Actually, for the division I used to work for, a lot of the people programming ECU's for cars came from aerospace. They built radars for planes, now they build radars for cars.

Also, the safety of the systems tends to improve with time, as technology matures.

Also, another interesting anecdote, the Flexray communication protocol used more and more in cars these days was first used in planes.

Re: Toyota Unintended Acceleration and the Big Bowl of “Spaghetti” Code (2013)

#104
post #74

Earlier quoted context omitted.

Agreed. Modern cars, even the modest ones, are fast enough that they can get out of control very quickly. While the brakes certainly can slow a vehicle with its throttle stuck open, the real question is what impact does that stuck throttle have on the average driver? When the brake doesn't work as expected, does the average driver continue to brake? Do they pump the brake pedal? Something else altogether? How long do…

> Do they pump the brake pedal? A comment below mentions this, and it's one factor that can be age-related without invoking ‘dumb old people pressed the accelerator by mistake’. People who learned to drive before ABS were taught to pump the brakes.

I hadn't even thought of pre-ABS drivers being taught to pump the pedal to avoid skidding.

I was thinking of my old race car days, where a low pedal (boiled fluid or worse) could be temporarily reversed by a few pedal pumps to bring up the line pressure.

Re: Toyota Unintended Acceleration and the Big Bowl of “Spaghetti” Code (2013)

#105
post #48

It's interesting that VW cars have been taken off the road for unintended acceleration. Also that quickcheck was used to find many timing related bugs between software components that VW uses. It was used after the models were taken off the road. There are other models still not recalled using similar software from the same era.

Almost all brands of cars have. You should read the NIST database sometime - the list of recalls is much longer then the ones you see in the news.

While you're at it, read the FDA list of food and medical recalls too, so much risk!

Re: Toyota Unintended Acceleration and the Big Bowl of “Spaghetti” Code (2013)

#106
post #94
post #7

Earlier quoted context omitted.

Same here, I drive the last year of the car model with mechanical steering and accelerator, on purpose. It's really hard to find cars with curtain airbags though without electronic accelerator and fake steering.

When you say fake steering do you mean power steering, or electronic assisted power steering? Because the way I see it power steering itself is just as mechanical as hydraulic brakes; and electronic steering is a far more recent development than throttle-by-wire. If you're willing to accept power steering it's not too hard to find vehicles w/ side curtain airbags. Lots of '01 Toyotas had side curtain airbags, and it…

Yeah I mean new cars have electronic steering, there is no real mechanical linkage to the wheels.

My steering works even with when the power assist fails, though it is much harder to turn at low speeds/standstill.

Re: Toyota Unintended Acceleration and the Big Bowl of “Spaghetti” Code (2013)

#107
post #99
post #87

Earlier quoted context omitted.

> I always think of Japan as being so technologically advanced. Ask anyone who has lived in Japan for a sufficient period of time and they will laugh at this statement, especially as it relates to programming.

I was thinking about robotics and consumer electronics mostly. I see that in the news a lot. There's even a wiki page about it. https://en.wikipedia.org/wiki/Science_and_technology_in_Japa...

I can see how people think this, but once you live here you see the reality. There are sectors though where Japan is still pretty damn advanced, but you don't necessarily notice it in daily life. A great example is precision manufacturing - they are awesome at it.

Re: Toyota Unintended Acceleration and the Big Bowl of “Spaghetti” Code (2013)

#108
post #82

Earlier quoted context omitted.

Who is responsible for the property damage in the example you gave? The car manufacturer? No. The water bottle manufacturer? No. You. You were the driver behind the wheel. It's still the driver's fault for not reacting properly. You could have unexpected acceleration or deceleration (which is just as dangerous in some circumstances) due to a lot of different problems; throttle stuck open, O2 Sensor goes wonky and tel…

> It's still the driver's fault for not reacting properly. But in the scenario I gave the driver DID react properly. The break was applied and the car brought to a halt. It didn't stop damage being done or a dangerous situation from occurring. Same thing with sudden acceleration. A driver can react appropriately and the condition can still be incredibly dangerous or even deadly. > Instead, what is the obvious answer…

> You're again contradicting the experts. They said that it is possible for the car to ignore brake input, but were unable to determine how corruption could have occurred to cause it.

No one who is actually an expert in cars would say this because the cars in question did not have purely drive by wire brakes. There's literally no way the car could "ignore" brake input unless the hydraulic system failed, which the driver should have noticed the moment they got in the car.

Post reply on HN