News for hackers. Stuff that matters.
Re:Hello from Orkut by sotojuan on Friday August 05, 2016 @01:03PM (#12233949)
> web pages can't send push notifications

https://developer.mozilla.org/en-US/docs/Web/API/Push_API

> web pages can't run in the background

Ok not the same at all, but you can use web workers for background threads:

https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers...

And the above have also been used to produce offline-first applications.

Unfortunately Apple has been bad at supporting these new APIs—ironic considering the last part of your comment. Google has been the best at it.

Re:Hello from Orkut by freehunter on Friday August 05, 2016 @01:52PM (#12234389)
I think you're missing my point. It doesn't matter if Firefox supports it, Safari on my iPhone does not. Native apps do support all of these annoying features.

Let me give you an example. The official reddit app on my phone asks me maybe two or three times per week "Please enable push notifications". No. I don't want to do that. And I can't seem to get it to stop asking me. But on the website, in my browser, it's never asked me that. Because it can't. It's not allowed to. I'm not talking "is it technically possible from a pure theoretical standpoint", I mean in practice, is it physically possible for a web page on my iPhone to send push notifications and tear up my battery in the background? And I'm pretty sure the answer is "no". And that makes me very happy.

Re:Hello from Orkut by sotojuan on Friday August 05, 2016 @08:35PM (#12236515)
I definitely agree with you and did not mean to sound rude—I'm just sad it can be done but Apple and others won't play nice :/

Though to be honest I do prefer apps for most things, but I want the web to at least give apps a challenge.