News for hackers. Stuff that matters.
Re:“Rust is safe” is not some kind of absolute guarantee of ... by alias_neo on Sunday October 02, 2022 @05:05PM (#33060260)
Interesting, how does your software detect an uncalibrated monitor? Did it come with a calibration device which had to be used to scan the display output to check?

I don't suppose monitors report calibration data back to display adapters do they?

Re:“Rust is safe” is not some kind of absolute guarantee of ... by GauntletWizard on Sunday October 02, 2022 @05:15PM (#33060342)
My guess is they had some heuristic based on EDIDs, which are incredibly easy to spoof.

https://smile.amazon.com/EVanlak-Passthrough-Generrtion-Elim...

Re:“Rust is safe” is not some kind of absolute guarantee of ... by gmueckl on Sunday October 02, 2022 @05:34PM (#33060516)
Yes, but why would you go to these lengths? The purpose of the whole mechanism is to prevent accidental misdiagnosis based on an incorrectly interpreted X-ray image. This isn't DRM, just a safeguard against incorrect use of equipment.
Re:“Rust is safe” is not some kind of absolute guarantee of ... by GauntletWizard on Monday October 03, 2022 @12:12AM (#33063391)
People are cheap and corrupt. The speed bump this presents is real, but minor, in the face of a couple medical shops looking to save $100/pop on a dozen monitors.

I hope it's rare, but I think a persistent nag window ("Your display isn't calibrated and may not be accurate") is probably a better answer than refusing to work altogether, because it will be clear about the source of the problem and less likely to get nailed down.

Re:“Rust is safe” is not some kind of absolute guarantee of ... by gmueckl on Monday October 03, 2022 @02:39AM (#33064186)
You have to draw a line somewhere, I guess. As far as I remember, protections against accidental misuse and foreseeable abuse of a device are required in medical equipment. But malicious circumvention of protections or any kind of active tampering are a whole other category in my opinion.
Re:“Rust is safe” is not some kind of absolute guarantee of ... by kaba0 on Monday October 03, 2022 @08:52AM (#33066780)
Medical devices are insanely expensive (a CT scanner may reach a million dollars), you won’t risk $100 on such a small thing as a screen.
Re:“Rust is safe” is not some kind of absolute guarantee of ... by gmueckl on Sunday October 02, 2022 @05:25PM (#33060440)
I didn't work on that specific software team and it has been a long time since I worked there. But the software came with its custom calibration routine and I believe that the calibration result was stored with model and serial number information from the monitor EDID.
Re:“Rust is safe” is not some kind of absolute guarantee of ... by alias_neo on Monday October 03, 2022 @02:37AM (#33064172)
Thanks, sounds like I need to do some reading about EDIDs; I knew _of_ them but no real understanding is what they are and what they do.