News for hackers. Stuff that matters.
Re:Why is Apple acting like an asshole? by romanoderoma on Wednesday September 16, 2020 @09:05AM (#24492296)
> I would personally like to continue paying higher prices to protect myself from low-quality background-syncing byte-code-obfuscated web-pages with push notifications

are you really saying you would pay higher prices because you can' t press the "no" button and never visit the same website again?

Re:Why is Apple acting like an asshole? by baddox on Wednesday September 16, 2020 @01:40PM (#24495087)
Yes, absolutely! Just like I'd rather pay for Apple Arcade so that I don't have to wade through the sewage of free-to-play games clicking "no" on in-app purchase requests and hiding spammy notifications. Just like I'd rather pay for streaming services with no ads rather than having to mute commercials on live TV or skip commercials on DVR'd TV.

It's not absurd to me to pay for platforms that attempt to preemptively remove filth rather than need to be on the constant lookout for filth. This is particularly true when most of these entire ecosystems (the web, app stores, video content) seem to be based on sneaking filth in front of your eyes at every available opportunity.

Re:Why is Apple acting like an asshole? by romanoderoma on Wednesday September 16, 2020 @02:48PM (#24496013)
Web notifications are a standard feature, meaning the APIs are in the web standard.

Making an hyperbole here, but wouldn't Mosaic 1993 edition solve every issue then?

Re:Why is Apple acting like an asshole? by baddox on Wednesday September 16, 2020 @04:27PM (#24497387)
Reasonable people can disagree about which features are and are not useful. And those reasonable people can purchase smartphones and computers which best cater to their own views about these features.
Re:Why is Apple acting like an asshole? by romanoderoma on Wednesday September 16, 2020 @04:55PM (#24497788)
True, but reasonable people that know about web notifications API are less than 1% of Apple customers...
Re:Why is Apple acting like an asshole? by baddox on Wednesday September 16, 2020 @05:56PM (#24498462)
That sounds like a great reason to not let every trashy website in the world to spam them asking if they want to enable notifications.
Re:Why is Apple acting like an asshole? by romanoderoma on Wednesday September 16, 2020 @06:00PM (#24498496)
But is it Apple's call?

I mean, removing features of course makes software more secure

I argue that disabling JavaScript would only bring great benefits to humanity

Re:Why is Apple acting like an asshole? by baddox on Wednesday September 16, 2020 @06:05PM (#24498538)
If Apple had a dominant market position in smartphones then one could argue that end customers don't have much of a choice, but Apple only has at most 50% market share in the US and much lower globally. For my own smartphone usage I would much rather Apple choosing which features and APIs that third-party developers (of apps and websites) can use rather than those developers being able to do whatever they want. I think it's pretty clear that developers tends to have a much more hostile relationship with their end users than Apple does with their customers.
Re:Why is Apple acting like an asshole? by romanoderoma on Wednesday September 16, 2020 @06:48PM (#24498904)
The argument is not about market domination, but about money power

Apple market is rich, it is the richest tech company, with the highest market valuation ever, one cannot avoid it

So it's gonna drive adoption no matter what

Like it did for Flash (right or wrong, they did it)

I was writing web applications during the 90s, they were called intranets back then, IE wasn't bad, it was simply unavoidable

And being unavoidable halted competition for more than a decade

On another side: having a platform that doesn't obey to common standards creates tech segregation

I remember seeing japanes phones 20 years ago, they were ahead of time,but unusable outside of Japan

Last but not least, having a flag that says "allow me to shoot myself in the foot of I want to" it's less hostile than "you don't know what you're doing let me handle it for you"

Re:Why is Apple acting like an asshole? by tekknik on Wednesday September 16, 2020 @09:25PM (#24500179)
So then write for all browsers, support what you can for each, and don’t promote Chrome anymore? If you continue to promote a one size fits all browser and the market moves that way then we’ll shortly be having this same discussion about Google. If you were writing websites in the 90s you should know this.
Re:Why is Apple acting like an asshole? by romanoderoma on Thursday September 17, 2020 @09:38AM (#24504434)
> So then write for all browsers, support what you can for each, and don’t promote Chrome anymore?

WOW

That escalated quickly

I never promoted Chrome, in fact I'm an old time Firefox users and in the 90s I owned a Netscape 3 gold license.

I don't write fronted software anymore, but writing for every browser means adhering to the standard

Apple has steered away more than any other vendor lately

So...

Re:Why is Apple acting like an asshole? by tekknik on Thursday September 17, 2020 @08:52PM (#24511811)
> I don't write fronted software anymore, but writing for every browser means adhering to the standard.

Yes, which you’ll find if you do Safari adheres to quite well. Finding examples where it doesn’t is easy, just like on chrome. Which is why we have media queries and poly fills because it’s simply impossible to have a unified platform without one entity owning it. If you found out Chrome doesn’t render the same on linux as it doesn’t on windows, would you call this not adhering to the standard?

Re:Why is Apple acting like an asshole? by chinesempire on Friday September 18, 2020 @05:17AM (#24514646)
> Yes, which you’ll find if you do Safari adheres to quite well

They don' t

Apple refused to implement 16 web API in Safari

> Which is why we have media queries and poly fills because it’s simply impossible to have a unified platform

And that' s why big players like Apple hat control a closed ecosystem shouldn't be allowed to be assholes

At least on Android I can install other browsers and other browser engines

Do you see the difference?

> Chrome doesn’t render the same on linux as it doesn’t on windows

that' s not true

Windows and Linux that have simply different font rendering engines and different native widgets

That's all

> would you call this not adhering to the standard?

absolutely NOT!

In no part of the standard rendering is formalized

It wouldn't make sense

The way things are rendered is standardized, not the way they should look

https://www.w3.org/TR/2014/REC-html5-20141028/rendering.html

> HTML is intended to apply to multiple media (it is a media-independent language). User agent implementors are encouraged to adapt the suggestions in this section to their target media.

Re:Why is Apple acting like an asshole? by tekknik on Friday September 18, 2020 @06:04PM (#24522323)
> Apple refused to implement 16 web API in Safari

OK and these APIs don’t stop real work.

> And that' s why big players like Apple hat control a closed ecosystem shouldn't be allowed to be assholes

And putting all that power into the hands of a single browser will not end well, so stop promoting Chrome or saying other browsers should be like Chrome. FF isn’t going to win.

> At least on Android I can install other browsers and other browser engines Do you see the difference?

Yes, next question, do I care?

> that' s not true

100% true, read the dev blogs and understand the WM on linux is fundamentally different than windows or mac, therefore rendering is not exactly the same.

Standards help align, they do not force alignment. If safari implemented a p element as a span, then this is not following the spec. Choosing not to implement a portion of a modular spec, is still following the spec.

Re:Why is Apple acting like an asshole? by tekknik on Wednesday September 16, 2020 @09:23PM (#24500167)
> But is it Apple's call?

Yes, just like you’re free to never visit an annoying website asking to spam notifications you’re free to take away Apple’s decision making power you grant them by simply not buying an iphone.

Re:Why is Apple acting like an asshole? by romanoderoma on Thursday September 17, 2020 @09:47AM (#24504542)
> you’re free to take away Apple’s decision making power you grant them by simply not buying an iphone.

That's a very common argument

But it doesn't get any less stupid with time.

I never owned an iPhone.

Because I am an adult homo sapiens that can take decisions for himself.

But you should know that if a standard exists, and the standard has been approved by a consortium, a consortium where Apple is a very important member, they should at least support what they signed for, instead of forcing developers to go through hoops just to support their platform.

When Elon Musk make Teslas he has to put airbags in them, stop lights, front lights, safety belts, they must pass crash tests, because that's the standard, otherwise he couldn't sell them as cars.

So if Apple believe that the standard that they approved is too dangerous, they can make their OS more secure, instead of putting the blame on developers.

Re:Why is Apple acting like an asshole? by tekknik on Thursday September 17, 2020 @02:20PM (#24508142)
Developers are not jumping through hoops to support their platform. I’m a full stack dev, I understand what it takes to support safari and a majority of the time is actually Chrome being fast and loose with the standard, not Apple. Is it a partial implementation, sure. But the features lacking don’t stop meaningful work at all. Just like hearing my statement is old, so is yours.
Re:Why is Apple acting like an asshole? by romanoderoma on Friday September 18, 2020 @05:20AM (#24514667)
> Developers are not jumping through hoops to support their platform

They are

> I’m a full stack dev, I understand what it takes to support safari and a majority of the time is actually Chrome being fast and loose with the standard

I am as well, I understand a closed platform when I see one.

> But the features lacking don’t stop meaningful work at all.

If only it was true...

It' s not lacking, it has been removed on purpose.

The web engine Safari is built from already supports those features.

Re:Why is Apple acting like an asshole? by tekknik on Friday September 18, 2020 @08:10AM (#24515664)
I can play this game too, Nope.
Re:Why is Apple acting like an asshole? by romanoderoma on Friday September 18, 2020 @09:17AM (#24516346)
Nope, apparently you can't play the game.

You don't even understand the rules.

Sorry.

Notification APIs are in Webkit, the open source implementation of Safari.

proof: https://github.com/WebKit/webkit/blob/89c28d471fae35f1788a0f...

Can you prove that Apple didn't remove standard APIs from their browser?

Re:Why is Apple acting like an asshole? by tekknik on Friday September 18, 2020 @05:59PM (#24522298)
So this somehow keeps other HTML from rendering and CSS just doesn’t display correctly right? Look around, you’ll find very little care for that API except from sites trying to spam devices, something apple is against. So again, no, safari is following the spec just fine.
Re:Why is Apple acting like an asshole? by mirthflat83 on Wednesday September 16, 2020 @01:38PM (#24495064)
Yes. I don’t want to press the “no” button for a 100 times.
Re:Why is Apple acting like an asshole? by cdeutsch on Wednesday September 16, 2020 @05:29PM (#24498192)
I can relate.

Every time I pickup an old iOS device the stupid thing is nags me to update it, 100 times. And you can't just click no you have to click multiple things to get it to fuck off.

Re:Why is Apple acting like an asshole? by romanoderoma on Friday September 18, 2020 @05:21AM (#24514676)
So, in practice, Apple vetting process doesn't even do what they say it does and still grabs 30% from developers?
Re:Why is Apple acting like an asshole? by romanoderoma on Wednesday September 16, 2020 @02:50PM (#24496044)
You should lobby W3C to remove the API from the standard then.

Or ask browser vendors to have a global allow/deny flag for every Web API

Re:Why is Apple acting like an asshole? by spideymans on Wednesday September 16, 2020 @03:23PM (#24496463)
I don't know if you're being sarcastic or not, but here's the thing:

I don't want websites asking me to enable notifications. 99.9% of the time, the answer is no.

I don't want websites asking me to enable location access. 99.9% of the time, the answer is NO.

Nor do I want them asking for permissions to install to my Home Screen (the answer is no), or to track me (the answer is NO).

>Or ask browser vendors to have a global allow/deny flag for every Web API

When possible, I've carefully configured my browser to automatically reject these requests, but instead of respecting that, these websites, with all their hubris, have chosen to circumvent my preferences by presenting shitty JS-based permission requests (as opposed to using the permissions UI built into the browser).

Each one of these new web APIs have significantly degraded my experience as an end user, by presenting a million permission dialogs whenever I'm visiting webpages, without providing me with any features of value (again, because I'm not ever, ever gonna trust some random website with these permissions).

Users don't care to pontificate about the virtues of the open web, they just want their stuff to work. And until the open web can provide a better user experience, of course users are going to flock to various walled gardens (App Stores, Facebook, etc...). Until we find a way to implement web standards elegantly, without degrading the user experience, the open web is always going to face an uphill battle over the relative safety of walled gardens.

Re:Why is Apple acting like an asshole? by romanoderoma on Wednesday September 16, 2020 @03:28PM (#24496531)
I think nobody wants web notifications, but the API is in the standard.

I know I don't want them.

Apple is in the committee.

https://www.w3.org/Consortium/Member/List

Re:Why is Apple acting like an asshole? by scarface74 on Wednesday September 16, 2020 @01:20PM (#24494858)
Along with every time I have to press OK to the “we used cookies” dialog, using the web is already like a “punch the monkey” game.
Re:Why is Apple acting like an asshole? by spideymans on Wednesday September 16, 2020 @01:45PM (#24495159)
These modern web APIs have a massive user experience problem, and if we want the web to be truly competitive with native, we'd be foolish to ignore that.

Beyond the "punch the monkey" game you mention, another massive problem is that web push notifications have just become another vector to deliver spam to users. If you look at devices belonging to "normal" users, you'll often see dozens of spammy web notifications (pornographic content, "30% off, BUY NOW", etc...). And because these are average users, they don't necessarily understand how to configure their devices to reduce or eliminate the spam.

Web push notifications needs a way to proactively filter out those that abuse the API, otherwise its doomed to become just another vector for spam that pisses off end users.

Re:Why is Apple acting like an asshole? by romanoderoma on Wednesday September 16, 2020 @02:52PM (#24496081)
I'm angry at Firefox because it was the only browser that I trust that allowed me to have extensions to solve my problems with bad websites on mobile and they removed them.

But bad websites are not something we are going to get rid of using only iPhones...

Re:Why is Apple acting like an asshole? by scarface74 on Wednesday September 16, 2020 @03:11PM (#24496280)
The difference is that notification spam on the web is allowed to escape the sandbox. Because of the punch the monkey nature of the web, I inadvertently clicked “allow notifications” on both PCWorld and Tom’s Hardware on different occasions - they both spammed me at least once a day. But not enough to figure out how to disable it.

To get rid of the cookie notifications, I can at least set web pages I go to default to reader view.

Re:Why is Apple acting like an asshole? by romanoderoma on Wednesday September 16, 2020 @03:22PM (#24496450)
I never accept web notifications, not even on slack.

The problem is that if Apple singlehandedly decide what's right and what isn't we are back to IE.

Re:Why is Apple acting like an asshole? by scarface74 on Wednesday September 16, 2020 @03:42PM (#24496720)
There is a middle ground I would be okay with. A website is only allowed to ask you if want notifications if you added it to your home screen. If you delete the web page from your home screen, it automatically disabled the notification. It falls within the same paradigm that people are accustomed to.
Re:Why is Apple acting like an asshole? by romanoderoma on Wednesday September 16, 2020 @04:59PM (#24497825)
AFAIK this is not the way Safari works and it's not the main motivation for Apple

They just don't want web apps to rival with the native ones skipping the whole store experience and fee

But that's just speculation on my side, I have no data to back it up

Re:Why is Apple acting like an asshole? by scarface74 on Wednesday September 16, 2020 @05:06PM (#24497918)
This makes no sense. As I said in another reply. If PWAs are so great, why aren’t companies bypassing creating Android apps and just telling Android users to use web apps?

On top of that, how many apps are really just surfacing server hosted services where there are no in app purchases?

Re:Why is Apple acting like an asshole? by romanoderoma on Wednesday September 16, 2020 @05:57PM (#24498469)
According to the data I found, PWAs make 50% of the Android market.

Among the most popular there are

- Uber

- Pinterest

- Telegram

- Trivago

- Tinder

- Google maps Go

- AliExpress

Re:Why is Apple acting like an asshole? by scarface74 on Wednesday September 16, 2020 @06:54PM (#24498975)
Yet most of those companies decided to make native apps. If PWA’s were good enough, why bother writing native apps for Android?

Do you have a citation?

Re:Why is Apple acting like an asshole? by romanoderoma on Friday September 18, 2020 @09:20AM (#24516387)
> PWA’s were good enough, why bother writing native apps for Android?

same reason people write native apps on iOS

It's easier to track users, especially those users rich enough to buy high end phones and that will probably spend more money and the ROI is higher.

They also make PWAS to gain user base on low end phones and emerging markets.

And because making them is quite cheap.

Re:Why is Apple acting like an asshole? by scarface74 on Friday September 18, 2020 @04:55PM (#24521797)
So most companies aren’t using PWAs to save money on Android and probably wouldn’t on iOS either....

Do you propose that Apple makes Safari more able to invade privacy?

If the only purpose of PWAs for Android is to make it easier to run on low end cheap phones - that’s really not a good argument is it with iOS is it? Even the 6s from 2015 is more performant than many mid range new Android phones.