After a long legal wrangle, some defendant-side attorneys have audited the source-code of Alcotest, the breathalyzer used in New Jersey DUI stops. Turns out it was programmed by muppets who don't know how to calculate an average and who throw out error messages by the dozen.
Like voting-machine vendors, breathlyzer vendors go crazy when defendants ask to have their source-code audited, claiming that there's a bunch of top-s33kr1t stuff in there that their competitors would steal. And, just like voting-machine software, breathalyzer software appears to have been written by squirrels dancing on the keyboard until they got something that would compile.
2. Readings are Not Averaged Correctly: When the software takes a series of readings, it first averages the first two readings. Then, it averages the third reading with the average just computed. Then the fourth reading is averaged with the new average, and so on. There is no comment or note detailing a reason for this calculation, which would cause the first reading to have more weight than successive readings. Nonetheless, the comments say that the values should be averaged, and they are not...
SUMMARY OF THE SOFTWARE HOUSE FINDINGS
SOURCE CODE OF THE
DRAEGER ALCOTEST 7110 MKIII-C
4. Catastrophic Error Detection Is Disabled: An interrupt that detects that the microprocessor is trying to execute an illegal instruction is disabled, meaning that the Alcotest software could appear to run correctly while executing wild branches or invalid code for a period of time. Other interrupts ignored are the Computer Operating Property (a watchdog timer), and the Software Interrupt.
Craiglist has something wonderful on it: a vast collection of more than 600 vintage Smith-Corona typewriters, including accessories and marketing literature. Yours for a hundred grand. My collection consists of over 600 typewriter items including the company’s first typewriter in the 1880’s to one of the company’s last typewriters in 2000’s and all models in […]
We’re huge fans of portable power gadgets, but this one isn’t going in my pocket to help me keep my phone topped up after lunch. Anker’s Powerhouse is the size and weight of a concrete construction brick, and at $500 and 120,000mAh, by far their largest power pack yet. It’ll charge your laptop 15 times […]
Dyson, makers of high-end vacuum cleaners and other gadgets that do clever things with air, is moving into beauty products. The Dyson Supersonic hair dryer promises a premium model’s power in a smaller, quieter package, and was built around the company’s smallest motor yet. It’s priced at $400, too — apparently not unreasonable for salon […]
You may not love Microsoft Word, but you’ve definitely used it. Other than being one of the most ubiquitous programs on the planet, it’s been the go-to word processing system for more than a quarter-century because it’s as basic as it gets. But occasionally, you’ve got assignments that beg for a lot more options than simple […]
Almost everyone has their smartphone in a case of one kind or another. Beyond simple protection, finding a case that can charge your phone on its own, but doesn’t feel like it’s also adding a couple pounds to the phone’s weight is the tricky part. Billed as the world’s thinnest battery case, the ThinCharge iPhone […]
You never know when new projects, ideas or opportunities can drop into your lap at a moment’s notice. That may require you to learn a new programming language like Python. Or maybe you need a primer on 3D game development. Or you might realize you could use a serious brush-up on iOS mobile creation.Point is, […]