Comment My solution... (Score 5, Funny) 119
#SaveWaterWithGoatse
It's a very simple error. You have a codebase that allows high muckity-mucks to make phone calls and yell at people until they delete the parts the the muckity-muck didn't like, and the code didn't stop that from happening. Just completely normal access control things. Totally normal.
Yes, a monorail!
Unfortunately it *is* stupid that there's no authentication. Something as simple as even a 4-digit PIN check would have been sufficient. There is no need to allow random radio transmitters to apply the brakes, and anyone with the *authorized* equipment would be able to have an emergency override code possibly built right into their gear.
The system, as designed, has *no* such codes at all.
In my experience, this checks out.
I bought a Scion IQ and--sheesh--you can't even see the hood from the driver's seat.
I presume in order to play this violin one must be one of the five most sarcastic people on earth.
The fact that there are so many memory leak and bounds overflow vulnerabilities with C++ programs that are actually out there is something you just can't sweep away.
Yes, we can, because those are largely a problem of discipline and can be greatly reduced with more careful analysis.
They do so because it's cheap, and it doesn't immediately collapse into recycled wood pulp when exposed to moist, warm air.
Don't try and make low-craftsmanship furniture the new standard just because there's even more terrible things on the market. Mediocrity does not become excellence just because it's more widely available.
C++ is very definitely not a plastic knife.
It's a knife with a sharp blade where the handle is also the blade. Double knives FTW!
I'm afraid I'm going to have to call "nonsense" on this. Using a lame metaphor does not excuse people of their personal responsibility to not write code that's functionally just three bugs in a trenchcoat. nor will using Rust stop them from doing so.
Per example, the code for the cat utility is dead simple. Anyone reasonably competent should be able to audit that code to be 100% sure it's safe within a few hours, and yes I'm including time to go look at the reference manual for every single instruction because someone might be unfamiliar with the language. Someone familiar with the language would be able to do this much more quickly. Yet people who apparently can't summon up enough discipline to carefully consider two pages of code are rewriting cat and the other tools that ship with it in Rust "because reasons". This is unlikely to make anything at all safer, but it will probably sell more training classes and manuals.
We see you there, ignoring the question of whether or not people should learn to be more careful.
Planes stay in the air because the people who write the code that keeps them in the air are careful and thoughtful engineers who also use code checkers to ensure that planes stay in the air, or if they don't stay in the air then it wasn't the software that brought them down.
Outside of that industry the baseline for diligence seems to be "will this code get me fired before lunch". Using Rust isn't likely to change that.
Nor will they be increasing payouts to artists.
Audio is already very carefully scaled for this because you wouldn't want a large explosion at the actual decibel levels in your living room--neighbors who live blocks away would call the police to report an emergency.
Some televisions support compressing their audio although just as often it's only impacting the bands where human speech typically exists, but only slightly because by and large it simply makes things where care was taken in constructing the audio notably worse. Advertisers need to stop trying to force people to listen to the commercial from their bathrooms--unless they're selling toilet paper, it's just being intrusive and wildly inappropriate.
Some of the streaming services are absolutely ridiculous about this, with the audio of the commercials being easily 30-50% louder than the programming they're interrupting.
Imitation is the sincerest form of plagarism.