Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Can the user be expected to make the right choice there? I have no problem deciding if Uber, a local restaurant or a news site need my location or camera data. I have no idea why they would need high precision timing data or even what "high precision" is. Maybe it's reasonable, maybe it isn't but it's not as easy to decide from the user's shoes as location/camera.


Most of the time, they won't need it. When they do, they'll need to make the case to you explicitly. Some phone apps currently do this when they need a non-obvious permission.


I think that the point is that most users can't be expected to understand the risks present in allowing a high resolution timer. It's a very nuanced decision, unlike camera and storage and location.


As a web developer, I am not entirely sure why a web app necessarily needs high precision timers.


Most web apps are unlikely to need high-precision timers. For games, however, Date.now() offers only millisecond resolution, which can make it occasionally inadequate.


I'm developing a website that will require somewhat high frequency timing to account for network latency but I think standard getTime is accurate enough with millisecond accuracy which I think will satisfy my requirements (I still need to test this though).

I can't think of something that needs microsecond level timing though.


A browser based DAW/soft-synth?


That's one of those things that seems better suited to being a native App.

I realize there's a whole group of people who want to make the web browser as powerful as native Apps but I for one do not.


I agree; I would like to see a move away from trying to cram everything into a browser app, and towards adding better connectivity and community features to native apps.


Which is why you 1) want to ask, 2) default to "no", and 3) explain that the request is both unusual and potentially harmful.

The option to blacklist an app from such requests should also be present.

If the app itself absolutely cannot perform some function w/o high-precision timing, that becomes its problem to communicate to the user.

I've made a practice of denying application permissions, and deleting apps that make such requests. I'm moving to deleting Android entirely, which has proved overall to be a poorly-performing and functioning virus and attack vector, at cognitive, social, economic, political, and other levels. Also, frequently, software.


That was the argument given for website notifications. Now every news site prompts you because users blindly click yes on everything.


Maybe show a more descriptive dialog like "do you trust x.com not to deliberately misuse your personal data (advanced->timer access)"


But that would be wrong. It's not your personal data. It's "do you trust x.com not to potentially serve you compromised JS that could be used to hack your computer" which 99.99% of regular web users do not have the necessary background to understand.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: