News for hackers. Stuff that matters.
Re:Microsoft and Google collaborate to make PWAs better by alwillis on Friday July 10, 2020 @06:02PM (#23797062)
In this regard, Apple reminds me of a cult leader brainwashing their followers into believing the cult's way is the best way. Makes me a little sick actually.

Are you sure you aren’t the one being brainwashed?

Why should anyone trust Google, since they make virtually all of their revenue from ad tech, which means tracking users across the web, even when they don't want to be. Advertisers are Google's customers, not the users of their browsers or operating systems.

And since Apple makes virtually all of their revenue from selling devices and services, who's more credible on the issue of privacy?

If we are to believe Apple cares about its users, then it makes perfect sense why they don't allow slower, less power efficient, less secure and less private web engines available on iOS.

"But shouldn't this be up to the user?" some will say ask. Yes, but to a point. There are already so many ways on the web to shoot yourself in the foot. Apple is making it clear that if you want a platform where there are no safeguards, then this isn't the platform for you.

There are certainly a tiny, vocal minority of iOS users who complain a lot about wanting the ability to shoot themselves in the foot if they so choose. But Apple knows those aren't their core users and their revenue show that.

They need to stop doing this, or they will hurt themselves in the long run.

People have been saying this for many years and now they're valued at over $1.5 trillion during an economic collapse and global pandemic. Please tell me when the lack of web APIs that would make it easier for their users to be tracked on the web is going to have any material effect on them.

Re:Microsoft and Google collaborate to make PWAs better by osrec on Friday July 10, 2020 @07:04PM (#23797630)
Oh man, not sure where to begin with responding to this.

I'm not saying Google is incredible (my opinion is quite the contrary actually). However, I am saying Apple is holding the web back, in a fairly annoying way, for developers.

The fact that they are a rich corporate does not mean they always will be, or that they're conducting their business in the best way possible. There are plenty of examples of rich tech businesses that lost their market share very quickly. We don't even need to look that far into the past for an example: BlackBerry sticks out in my mind. I believe their stubbornness and resistance to change caused their downfall. I feel it may be a similar fate for Apple, and for similar reasons, unless they change their attitude towards the web.

Re:Microsoft and Google collaborate to make PWAs better by tannhaeuser on Friday July 10, 2020 @11:56PM (#23799335)
"Holding the web back" lol. What the web is today, is coming straight out of Google's playbook, with WHATWG just a miniscule puppet organization consisting of Chrome devs promoting whatever Chrome does as standard. It's a scam to subvert what once was the web into a monopolistic tracking network and a 20 year project to morph a document viewer into the most absurd, power-inefficient, and clunky app platform imaginable that still can't do most anything that you'd want a smartphone to do, such as phoning. The narrative that big brother Google protects us from evil proprietary vendors somewhere lost its credibility; today, we need protection from Google more than anything else. Almost all new HTML5 APIs and even CSS can and will be used for fingerprinting so need to be rolled back or switched off anyway.
Re:Microsoft and Google collaborate to make PWAs better by mihaela on Saturday July 11, 2020 @02:00AM (#23799938)
"Apple is holding the web back"

Nope, Apple is taking care of it's customers and protecting them from Google's ad exploitation.

"I feel it may be a similar fate for Apple, and for similar reasons, unless they change their attitude towards the web"

On the contrary, if Apple allowed this web Wild West that Google is advocating, then the users would have incentive to switch. This move from Apple actually ensures that things run smoothly on Apple devices.

It is not about "power for web developers", it is web developers being lazy to self-educate and learn other stacks.

There is skill called "desktop development" and it does not entail Electron.

Luckily Apple is not gonna let that happen with the mobile apps and the PWA.

Re:Microsoft and Google collaborate to make PWAs better by osrec on Saturday July 11, 2020 @02:21AM (#23800024)
But Apple's app store is full of junk too - it is a veritable wild west in its own right.

You have the likes of Tiktok on there, collecting way more data than a PWA ever could. Do Apple not care about that?

Feels like a bit of a double standard on privacy, explicitly aimed at stifling the web.

Re:Microsoft and Google collaborate to make PWAs better by fauigerzigerk on Saturday July 11, 2020 @03:11AM (#23800222)
>Nope, Apple is taking care of it's customers and protecting them from Google's ad exploitation.

Apple is "protecting" its customers by restricting and patronising them like little children. Privacy by default is good, but many of their restrictions are clearly aimed at rent seeking.

Where customers really need protection, Apple is stabbing them in the back by aiding and abetting human rights abuses with their pointless side-loading ban and their willingness to let dictators run their own iCloud service.

Re:Microsoft and Google collaborate to make PWAs better by dmitriid on Friday July 10, 2020 @07:44PM (#23797956)
> I'm not saying Google is incredible (my opinion is quite the contrary actually). However, I am saying Apple is holding the web back, in a fairly annoying way, for developers.

Right. Because Google, who dominates the entire web standards spectrum, is known for creating well thought-out, well-designed APIs that take into consideration concerns and criticism, and thinking long-term of the web as a whole.

Oh wait, they don't. Up to and including the point where both Mozilla and Safari are saying they won't implement certain functionality because of glaring holes in the design, and Chrome not only shipping the features, but making them GA.

Oh, and yes. Most of the "Safari is holding back web developers" talk is bullshit, of course. It actually should read "Chrome releases APIs at neck breaking speed with zero concerns for the future of the web." See web API counts in major browsers: https://web-confluence.appspot.com/#!/confluence

Re:Microsoft and Google collaborate to make PWAs better by soraminazuki on Friday July 10, 2020 @09:56PM (#23798771)
> Up to and including the point where both Mozilla and Safari are saying they won't implement certain functionality because of glaring holes in the design, and Chrome not only shipping the features, but making them GA.

I feel this is being dismissed by many people, but there's a lot of truth in this statement. Here's an example of this at play:

https://twitter.com/Rich_Harris/status/1220412711768666114

Chrome devrels and cheerleaders pile on Safari and Firefox all the time for not adhering to Chrome's agenda and frame it as "holding the web back." But the true thing that holds the web back is a browser monoculture.

Re:Microsoft and Google collaborate to make PWAs better by osrec on Friday July 10, 2020 @08:14PM (#23798142)
Why, then, did it take safari so long to implement ServiceWorkers? I believe they were the last of major browsers to implement it. And they landed the feature more than 2 years after Firefox!

Also, why was Safari's IndexedDB feature released nearly 4 years after the other major browsers? And when released it, why was it full of bugs that simple test cases would have caught?

I don't want to fuel conspiracies, but the pattern is fairly obvious. Apple appears to resist progress in Web APIs.

Re:Microsoft and Google collaborate to make PWAs better by dmitriid on Saturday July 11, 2020 @11:38AM (#23802956)
> Why, then, did it take safari so long to implement ServiceWorkers? > Also, why was Safari's IndexedDB feature released

Priorities. Safari's team isn't as big as Chrome's.

> but the pattern is fairly obvious.

The only obvious pattern is the link I provided. And things like this:

- Chrome releasing APIs even when other vendors are against: https://twitter.com/Rich_Harris/status/1220412711768666114

- Chrome sabotaging competitors with shady practices: http://archive.is/tgIH9

and there are many many many more examples of this behaviour.

Re:Microsoft and Google collaborate to make PWAs better by osrec on Saturday July 11, 2020 @11:55AM (#23803091)
What about Firefox? Is Safari's team smaller than Firefox's as well?

Looking at this page: https://webkit.org/team/ and comparing it to https://wiki.mozilla.org/Firefox/Team/whois would suggest otherwise.

Do you have numbers from elsewhere to back up that claim?

Btw, I'm not saying Google are right to power through with poorly designed APIs either, but when there is a standard in place, why Safari takes sooo long to implement it is perplexing (or perhaps just a rather obvious strategy).

Re:Microsoft and Google collaborate to make PWAs better by dmitriid on Saturday July 11, 2020 @03:26PM (#23805036)
> Is Safari's team smaller than Firefox's as well?

Unknown

> but when there is a standard in place, why Safari takes sooo long to implement it is perplexing

Some standards are so bad, even Chrome ends up deprecating them (see Custom Elements v0).

Or they just go out of favor (see HTML Imports).

Or they are so poorly specified that even years after "becoming a standard" they have things like "this section is not specified yet" in their texts. And the status of these "standards" is often not above "Candidate Recommendation" (that is it is gathering implementation experience, and yes, that refers to Service Workers).

BTW Service Workers were moved to Candidate Recommendation about half a year ago: https://github.com/w3c/ServiceWorker/issues/1460 ("Double check everyone is happy with v1 going to CR.")

So yeah, I don't know what to say. Safari isn't chasing every API under the sun? Good for them. Web Devs assuming that whatever's in Chrome is the be all end all standards on the web? Bad for the web and for the devs. Apple possibly not prioritising Safari? Bad for the web as well.

Re:Microsoft and Google collaborate to make PWAs better by Spooky23 on Friday July 10, 2020 @10:28PM (#23798951)
Developer experience needs to be good enough. Beyond that it’s in the platform owners interest to keep them on a tight leash.

The android ecosystem demonstrates that freedom isn’t necessarily creating a materially better ecosystem.

Blackberry was a different problem — they saw themselves as a messaging platform that did some other stuff.

Re:Microsoft and Google collaborate to make PWAs better by kinkrtyavimoodh on Friday July 10, 2020 @08:45PM (#23798341)
Where did privacy come in this discussion?

If you are going to be fear-mongering based on vague assertions and appeals to business models, it would be wise to mention the 30% fee on all digital transactions that Apple extorts from all its apps. It is very clear that Apple doesn't want to lose that control (and revenue) to the Web, which despite the attempts of all corporations (including at times Google), still manages to be a little more open than our corporate overlords would like.

Re:Microsoft and Google collaborate to make PWAs better by osrec on Saturday July 11, 2020 @03:12AM (#23800225)
Some people are happy to buy the Apple speil re privacy to knock web apps, all while using apps like Tiktok that'll probably violate their privacy much more than a PWA ever could.

The privacy argument is without basis, imo. Google is terrible on privacy too, and somewhat evil, and its browser is terrible at managing memory (I say this to prove I'm not a Google fanboy!) but at least it's not stifling innovation on the web.

Re:Microsoft and Google collaborate to make PWAs better by tannhaeuser on Saturday July 11, 2020 @04:05AM (#23800426)
There are people who don't want Google's "innovations" as they turn browsers into monstrosities that nobody except Google can maintain, and already have turned the web into the pile of shit of content marketing (with like 500 trackers on every site), service lock-in, cesspool of polarizing clickbait and propaganda, hopeless web app crap, and place where content creators get screwed that it is today. Saying this as someone with a very heavy time investment into web tech. Compare this with the useful web we used to have 10 years ago. Apple is no saint, but there's a difference between resistance to social-engineer open standards into a monopolistic enslavement machine and race to the bottom vs "stifling innovation".
Re:Microsoft and Google collaborate to make PWAs better by tapoxi on Friday July 10, 2020 @06:32PM (#23797349)
> If we are to believe Apple cares about its users, then it makes perfect sense why they don't allow slower, less power efficient, less secure and less private web engines available on iOS.

Caring would mean giving people a choice. The real reason is they're pivoting into services and other forms of recurring revenue. They don't want people building platform-independent apps that don't need Apple approval and can bill outside of their 30% cut.

Re:Microsoft and Google collaborate to make PWAs better by vially on Friday July 10, 2020 @06:32PM (#23797355)
> [...] why they don't allow slower, less power efficient, less secure and less private web engines available on iOS

Do you have a source that shows how chromium/edge/firefox/etc are inferior to safari in this regard?

Re:Microsoft and Google collaborate to make PWAs better by alwillis on Saturday July 11, 2020 @03:01PM (#23804769)
For pure speed of the web + Javascript engines: "Introducing the JetStream 2 Benchmark Suite": https://webkit.org/blog/8685/introducing-the-jetstream-2-ben...

Anyone with a MacBook or MacBook Pro can attest to the fact their battery last significantly longer using Safari vs Firefox or Chrome. Apple has numbers on the Safari page: https://www.apple.com/safari/

You can run EFF’s Panopticlick test for what browsers block (or don't block) regarding fingerprinting. Safari blocks or disguises several features that are used for fingerprinting; Chrome blocks nothing: https://panopticlick.eff.org/

Re:Microsoft and Google collaborate to make PWAs better by waon on Friday July 10, 2020 @10:38PM (#23798996)
Mozilla's arewefastyet.com used to show daily benchmark results for all major browser engines. Sadly, it ceased to include Safari after they scrapped the system in favor of a new one.

https://github.com/mozilla/arewefastyet

Re:Microsoft and Google collaborate to make PWAs better by Abishek_Muthian on Friday July 10, 2020 @10:42PM (#23799014)
>If we are to believe Apple cares about its users, then it makes perfect sense why they don't allow slower, less power efficient, less secure and less private web engines available on iOS.

Woah![1]

> "But shouldn't this be up to the user?" some will say ask. Yes, but to a point. There are already so many ways on the web to shoot yourself in the foot.

That sounds exactly like what a dictator would say when asked why the citizens are not allowed to vote.

[1]https://googleprojectzero.blogspot.com/2018/10/365-days-late...

Re:Microsoft and Google collaborate to make PWAs better by AnthonyMouse on Friday July 10, 2020 @07:44PM (#23797961)
> Why should anyone trust Google, since they make virtually all of their revenue from ad tech, which means tracking users across the web, even when they don't want to be. Advertisers are Google's customers, not the users of their browsers or operating systems.

We don't need this whataboutism to evaluate Apple. You're making the argument for PureOS or Debian, not iOS.

> If we are to believe Apple cares about its users, then it makes perfect sense why they don't allow slower, less power efficient, less secure and less private web engines available on iOS.

No it doesn't. They could make a better browser and, if it was actually better in every way, nobody would have any reason to use anything else. The fact that people would given the choice implies that something about choosing differently makes them better off enough to switch from the default.

> Apple is making it clear that if you want a platform where there are no safeguards, then this isn't the platform for you.

Safeguards mean warning someone adequately when they're about to do something suspect. Outright prohibiting the user from making an informed choice isn't a safeguard, it's a cage.

> People have been saying this for many years and now they're valued at over $1.5 trillion

Exxon was at one point the most valuable company on the exchange as well. What does that tell you about the ethics of how they got there, or what their future prospects look like?