News for hackers. Stuff that matters.
Re:In protest of the web{*} bulldozer, a response to websock... by saagarjha on Wednesday May 20, 2020 @05:08PM (#23251822)
All the new web standards are a bit tiresome, to be honest, and some of them have the flimsiest justification. I remember someone pushing the Ambient Light Sensor API on Twitter at some point and the example they gave was "you can offer dark mode to your users if the brightness you detect is low". Like, really? There are actual browser APIs for this, and they offer a better signal of user intent than brightness levels could ever do. Can you please just think these through?
Re:In protest of the web{*} bulldozer, a response to websock... by hoten on Wednesday May 20, 2020 @06:58PM (#23252991)
Extrapolating the reasons behind a particular standard being created from a random Tweet is a bit disingenuous. Here are the examples that the standard proposal cites:

https://w3c.github.io/ambient-light/#usecases-requirements

The camera one especially seems convincing to me.

Re:In protest of the web{*} bulldozer, a response to websock... by gruez on Wednesday May 20, 2020 @08:46PM (#23253726)
None of the examples they've listed sound convincing.

>A Web application provides input for a smart home system to control lighting.

Why would you need ambient light level to control lighting? Do you need a phone to calibrate the room's brightness or something?

>A Web aplication checks whether light level at work space is sufficient.

Can't think of a reason why an app would need to do this

>A Web application calculates settings for a camera with manual controls (apperture, shutter speed, ISO).

Seems contrived to me. It might make sense for an analog camera, but every digital camera has a lightmeter, which is what you'd want anyways rather than the light sensor on your phone with unknown accuracy and viewing angle.

>A Web application monitors light level changes produced by hovering hand user gesture and interprets them to control a game character.

Wouldn't that be better served by using the front facing camera? You can even implement different hand gestures that way.

Re:In protest of the web{*} bulldozer, a response to websock... by Rantenki on Wednesday May 20, 2020 @09:35PM (#23254021)
They left some out:

- Monitor room light level for fluctuations that correspond to advertising broadcasts for advertising proximity fingerprinting, or location fingerprinting, ie: the illuminance profile for a video broadcast is moderately unique, and can identify the fact that it's playing on a screen near the user

- Side channel for data exfiltration attacks (we require permission to use the microphone for more reasons than just listening for people talking)

- Monitoring for in/out of pocket/purse state for the phone

- Probably a ton of other nefarious stuff that I am not devious enough to think of.