198 points · by max_ · 5y ago · 190 comments
In the essay [0], Jobs suggested mobile app development on should focus on HTML5 (which is now called Progressive Web Apps / PWA)
Apple has has been recently been rolling out anti-PWA practices [1].
Probably to reinforce their "walled garden".
[0]: https://web.archive.org/web/20170615060422/https://www.apple...
[1]: https://ionicframework.com/blog/is-apple-trying-to-kill-pwas...
This is clear gaslighting and is verifiably false. Progressive Web Apps is a Google thing, coined by a Google engineer[1] and promoted by Google[2]. The HTML living standard does not include a single mention of the term[3].
[1]: https://infrequently.org/2015/06/progressive-apps-escaping-t...
[2]: https://web.dev/progressive-web-apps/
[3]: https://github.com/whatwg/html/search?q=progressive+web+app&...
Please don't destroy the term gaslighting. It means something very important and not at all what you are using it for here.
If this isn't a clear case of gaslighting, I don't know what is.
And its a very old concept in web design.
HTML5, PE & PWA is all the same thing. Just an evolution of standard practices & terminology.
[0]: https://www.smashingmagazine.com/2009/04/progressive-enhance...
That article is from a year ago and the author's conclusion is more or less "no, Apple isn't trying to kill the web; it's reasonable to have some time limits in place." Safari clears some script-writable storage for a site after 7 days of Safari use without visiting that site, but home-screen installed webapps aren't affected.
- Apple added support for blob.stream() in Safari 14.1 but calling the function causes a null pointer exception and crashes the renderer process [2]
- Read this summary of Safari changes in iOS 14.5 (released a few weeks ago, and without an official changelog for nearly a week) and tell me that Apple isn't trying to kill PWAs through neglect [3]
[1]: https://twitter.com/jaffathecake/status/1389493762129375232
I'm not recreating my websites in app form just to have that. But Apple sure wants me to.
Allow non-Safari browsers (not just re-skins!) on iOS and I'll believe the author.
Also, most users are not aware that third-party iOS browsers like Chrome, Brave, and Firefox are actually just light UI "skins" on top of the Safari browser engine, Webkit. Apple refuses to allow third party browser engines on iOS.
So this means that it's not possible for users to just switch to another browser in order to use more powerful web apps. They're literally prevented from doing so by Apple's policy to ban browser competition on iOS.
[1]: https://www.accc.gov.au/system/files/Apple%20Pty%20Limited%2...
"Apple rolling out anti-PWA practices" refers to them clearing local state after 7 days of no use.
How is that going to stop anyone from having a PWA app? Web browsers have to prune their cache all the time, otherwise your entire phone would be just web cache.
Local storage is intended to be cache. Nothing more. If you have something worth preserving beyond 7 days of inactivity, put it on the damn server and reload it when you have to.
For the record, local storage is typically limited to 5MB. Users visit hundreds, often thousands of sites each month. They open links through social media to some random meme all the time. So we never clear those 5MB, what happens?
Month 1: 5GB of local storage...
Month 2: 10GB of local storage...
Month 3: 15GB of local storage...
How about the idea that not everything must live in the cloud?
I like apps that keep my data on my phone.
Or when you use your phone in areas with bad connections?
Say an outdoor app, you have on your phone with lots of data you specifically wanted for this area. In case you need it. But now you have to remember to use it regulary, or you have to walk up an mountain to get parts of your old state again.
There is a difference between temporary cache and intentionally saved data. Even from webapps.
But this just means a further push to develope a "real app" inside apples walled garden, for a proper functioning app.
(assumed this auto delete of all pwa cache is actually the case, and it would be allright with me, if there are exceptions for "installed PWA's")
I like apps that act like apps, and sites that act like sites. There's a reason we don't drive-by install apps on our phone just by clicking a link. But you do drive-by install site local storage on your phone by clicking a link. So you need a way to clean those up at the very least.
> But this just means a further push to develope a "real app" inside apples walled garden, for a proper functioning app.
You can also wrap a page as an app on the App Store if that's what you want. And store infinite data for infinite time. So everything is already possible.
So you don't have to develop an app in the walled garden, you just have to submit it to the walled garden, and not do something horrible using the native APIs, and you're done.
The paradox is that you have far less control with an app, and most come with even more analytics than a webpage. Apps in the Play and App stores don't make me feel any better than PWAs, quite the contrary. I've a LineageOS phone and use apps from F-droid to have a modicum of control and privacy, coupled with an ability to have it be usable without network.
Yes, and you should take the trouble to install those 'things'. Or host on a server you control.
The notion that a remote website has persistent storage rights on my device because I visited it a while back is ... odd.
> I like apps that keep my data on my phone.
LocalStorage is simply not appropriate for this. The act of keeping persistent data should be transparent to the user, via "download" (save to disk) and "upload" (load from disk) workflows. This also allows the user to manage e.g. their own backups for this data, which they can't via localstorage.
> If you have something worth preserving beyond 7 days of inactivity, put it on the damn server and reload it when you have to.
It could be also true about native apps, heck, why do we even have any storage option beyond 7 days except on servers? If what you said were true, why would they not have the same policy for native apps? It's just an excuse to cover up how they knee cap PWAs.
Their actions result in PWAs that can replace native apps even less often than today. PWAs had the potential to be free and platform independent, whereas Apple has much more control over their native apps. See your own example with the local storage: it doesn't make it completely impossible to make PWAs, it just makes it overall a worse option, for both devs and users, so it's easier to go ahead with the native app.
If they actually did that, it'd be crippling installed PWAs compared to native apps, since you couldn't persist anything without an account.
However, from what I remember, they don't actually clear the state of installed PWAs for the primary domain, since the 7 days only count down if you actually open the app on that day.
We're can I read up about this intention? I always thought local storage was just that, local storage.
Setting the same limitations as a website for a PWA defeats a major purpose for using them.
"Progressive Web Apps" means Chrome-only at this point. The framing of this discussion in terms of "Open Web Standards" vs "Apple's walled garden" is just hiding the fact that's Google who're paying the bills and calling the shots on the web "platform".
Sent from my notebook running Chromium (for webapps) alongside with FF for the extant web such as HN.
I think this part is interesting, because it's still true:
> Our motivation is simple – we want to provide the most advanced and innovative platform to our developers, and we want them to stand directly on the shoulders of this platform and create the best apps the world has ever seen. We want to continually enhance the platform so developers can create even more amazing, powerful, fun and useful applications. Everyone wins – we sell more devices because we have the best apps, developers reach a wider and wider audience and customer base, and users are continually delighted by the best and broadest selection of apps on any platform.
If he would have done much different, I don't know. I also guess his main concern with Flash was, that he couldn't control the proprietary plattform. The flash player could have been improved ... but Adobe would have been still in charge.
The original IBM PC had pretty open hardware and software, both a little unintentional. Hardware-wise they published everything so add-in cards and more could be developed. Sofware-wise they didn't hold Microsoft to an exclusive agreement for PC-DOS so MS-DOS could come out.
Later they tried to close the barn door with very locked down hardware with the microchannel bus and IBM's own operating system OS/2. But it was too late...
I actually think Apple and their customers would be more successful with open hardware. When they went from powerpc to intel with more generally compatible hardware, I think that was great. Now they're reeling it back in, and I wonder if they'll be following the same path as IBM did...
Phone ... smart phone opened? From Nokia, Newton, palmpilot, windows phone, ...
The question is whether the phone business model can bring it to desktop and conquer there. Wonder.
I like my phone is walled garden and I can take risk of my collections of pc.
Those words of Steve might have been true back then. It is far from the truth today.
At least Apple no longer sees selling more devices as their primary motive. Remember when the App Store started, Steve thought it would be about the size of their iTunes Store.
I think you should read that essay again. In the context of the mobile web, it argues for HTML and against Flash. In the context of apps, it argues for native platform technology and against Flash. It doesn’t argue for using HTML for apps.
Edit: Quite confused about why this got downvoted. If you disagree with my reading of the article, could you explain what in the essay suggests focusing on HTML5 for mobile app development?
Apple's preferred approach was web apps that you could "install" to the home screen on the device.
While that functionality is still available, Apple has left that web app approach stagnant - not adding features that other platforms/browsers have, and reducing performance compared to running the same web page in Safari.
Second, this is completely irrelevant to claiming that the essay in question suggests developing mobile apps with HTML5. That’s just flat-out incorrect.
Or maybe because PWA is a flawed concept? At least that's my take as a consumer and a developer. As the sibling commenter noted PWA is also a Google concept, with corporate strategic interests behind, it's not as simple as it appears.
Apple deleted the essay exactly a week before they stopped supporting Adobe flash.
Thanks for HackerNews it's all saved here =)
HN submission: https://news.ycombinator.com/item?id=23652461
My comment: https://news.ycombinator.com/item?id=23654011
Another user comment: https://news.ycombinator.com/item?id=23655374
I just use one: "Brewfather", a fantastic home brewing (beer) app which can even use some Bluetooth API to communicate to local devices (Chrome-only of course). On my iPad, I'm using the app though.
Since when HTML5 became PWA?
> Everyone wins – we sell more devices because we have the best apps, developers reach a wider and wider audience and customer base, and users are continually delighted by the best and broadest selection of apps on any platform.
What strikes me is that he simply states Apple's goal - to sell more devices and make more money. He doesn't try and sugar coat it about serving some greater purpose, he just states what everyone knows to be true. It is refreshing, given how many business leaders seem reluctant to publicly admit that their goal is to make money.
Secondly, it clearly broadcasts what problems they are and are not trying to solve, and where their priorities lie. Love it.
His writing style is quite good though and often very insightful.
But I am not sure, if it is really honest or true.
"Everyone wins – we sell more devices because we have the best apps"
Apple having the best apps meaning apple only has the best apps, meaning walled garden. Not PWA's that run on any good device for example.
It is a very huge Apple boost, when some awesome apps are apple only - Apple wins there, but not everyone.
All of their revenue came from selling devices - the improvements year over year were more significant than they are today. Each year would bring new features that would open up entirely new market opportunities for developers and it was happening at such a pace that even Apple engineers could not keep up. Apple needed developers to sell devices much more than they do today.
Steve's argument that having an intermediary between Apple and developers would delay the implementation of new technologies and capabilities is entirely valid in that context. Of course, the context has now changed - Apple is increasingly a services-oriented company, and that means their objectives are to both sell more devices AND sell more services, which puts them at odds with developers who were typically responsible for providing the actual services that ran on top of the platform.
The 2010's was perhaps the single most transformational decade in technology, and while the shift from devices to services may be obvious now, it was far from obvious back then. Steve's clarity is even more impressive when you consider the era in which it was written.
Not to mentioned Steve was baffled by the App Economy. Unfortunately it didn't live long enough to see all the beauty and Chaos it brings.
Mobile devices sucked and applications sucked The promise of a phone with a little marketplace for little paid apps made by little developers empowered with good UI tools was utopian at the time. And it didn’t seem like a multi-billion dollar business until apps like Uber started proving that this was going to be a huge lifestyle change for everybody.
It really is a shame the guy is dead, I would be really curious how he would be tackling all of these issues today.
But since he clearly stated the goal as apple should have the best apps, I am not convinced, that he would have continued to push for a open technology, that would run well on any good hardware, whether apple or not.
And in 2010 the competing smartphones were already not that far behind.
Deleted between June 14-16, 2020
https://www.youtube.com/watch?v=UnjkM5TwTzM&ab_channel=C-Mur...
Stay strapped cause the ghetto is so wicked now.
People will say what helps their paycheck.
Thoughts on Flash - https://news.ycombinator.com/item?id=1304310 - April 2010 (505 comments)
also:
Ex-Adobe Engineers on Thoughts on Flash - https://news.ycombinator.com/item?id=1308788 - April 2010 (56 comments)
> And the 250,000 apps on Apple’s App Store proves that Flash isn’t necessary for tens of thousands of developers to create graphically rich applications, including games.
> Apple already provides some amazing documentation and tutorials for making offline-capable mobile web apps
Sounds like a PWA to me, even though it probably wasn't called that back then.
> but they're still treated by Apple as the bastard cousins of "real" iPhone apps.
So no change in tone since 2010, which is exactly my point:
> It was and is still compatible with Apple's walled garden approach.
How far they have strayed from that visionary approach to the web. Apple used to lead the pack in promoting advanced web apps. These days they are holding the web hostage to protect their App Store business model.
I know Flash never had a reputation for.. security, but Youtube-for-html5 games seems like it could never exist for my intuition. I'm sure you could get away with it on small scales, but anything beyond a person's ability to curate and we go backwards.
It’s worth noting that Flash was actually quite hard to contain from interfering with your origin, and the main defense against this was that there were no sensitive APIs, cookies, or local data on the domains the flash was hosted from anyway.
I suspect any way I attempted to put this together, ner-do-wells would upload a game that adds upvote/like/subscribe/logout to every event handler. Now that I think about it, I can't remember any reason why I wouldn't be able to do that from inside actionscript.. I ran javascript from inside flash all the time..
The fact those flash sites didn't just unravel from shenanigans is pretty astounding in retrospect.
There's also Caja by Google [3], but that is abandoned too.
[1] https://www.crockford.com/adsafe/index.html
It’s very hard to static-analyze JavaScript, of course, because it’s all late bound with a reflective runtime — you can get access to anything by building the right identifiers out of strings and then subscripting using them.
WASM doesn’t have that same problem, though. It’s very easy to static-analyze bytecode-encoded WASM (as long as you don’t want “requiring modules from external URLs” to be a part of your Newgrounds-alike platform’s runtime surface.)
It’d be pretty safe to have a site that hosts arbitrary untrusted static-analyzed-subset-of-WASM.
There are capabilities that you can only either expose to WASM or not, because they’re simple atomic functions in Javascript land. Dereferencing external Javascript-side objects by a passed-through key, for example.
You could in theory write a “fat ISA-op emulation-shim implementation” for that WASM-side operation that has a bunch of Javascript verification code that runs every time the WASM-side op is called, at runtime (like how the Ethereum VM has fat ISA-ops that spend gas/check remaining gas in their impls.) But the resulting runtime likely won’t be performant enough to be a good host for games, if the games make heavy use of that capability, rather than just using it as a one-off boot-time thing.
Remember, we want to mostly allow arbitrary code execution here—other than direct attacks on the user or the hosting infrastructure. That probably means that we want to allow the user of the WASM to require (a pre-approved set of) Javascript-side libraries and talk to them. For example, maybe the game wants to talk to Firebase using the Firebase SDK. It should be able to do that.
But how do you allow the game’s WASM to talk to the Firebase SDK, efficiently, without allowing the game’s WASM to manipulate the objects of the Firebase SDK into giving it ACE in the host JS environment, outside its sandbox?
Static analysis. For the case of a “dereference a key of an remote object” call, just validate that:
1. The string being used as the key in the dereference op is known at compile time (i.e. the dataflow digraph terminating in the WASM “syscall” to the runtime, begins with a load from the static data section of the WASM file;
2. The static-loaded string you discover through this method, isn’t on a blacklist of ECMAScript system properties. (If you want to do something that requires one of those, there’d have to be a separate, much-more-restricted syscall for that, maybe one that does have a fat impl.)
The nice thing about this approach, is that it’s the server backend, not the players, who feel the sting of the overhead of checking the file for safety; and then, only once per uploaded program. It’s like putting the uploaded games into a moderation queue, where the “moderator” is a robot with good eyes to spot evil code.
Appel dont delete their Press Release. Why do they delete these blog/post then? It is still part of the company communications.
It was a flaw with the vision Adobe had with Flash, and they missed an opportunity being leader in mobile development.
Now Apple is kind of doing same for web, they've quietly removed that letter, as it now conflicts with what they preached in past.
As developers and technical leaders, it is incumbent upon us to ensure this ecosystem remains sound. The mobile business wants html5 dead yesterday because they can't be the middle man on access.
When someone comes to your desk with a new app idea, maybe steer them towards a website instead of native walled garden apps. Many businesses do not require the capabilities offered by native applications.
Or at least, write some js lib that lets WASM have access to the DOM in some JS calls.
Will always be available somewhere in an archive/wayback
I’m completely certain that there is some completely harmless explanation to this and I wouldn’t read anything at all into this (except that this post is very old and not a part of their website where they pay excessive attention as to whether old stuff is still up).
You make the bold assumption managers are aware of the Streisand effect when they're about to trigger it. So far reality has shown even management in IT companies falls for this every time.
Apple is the origin of the modern mobile web. And you can publish a web app on the App Store if you want, and many do that. The rest is very much a matter of philosophy and design that goes well beyond "Apple wants to push the App Store".
The reason why Thoughts on Flash was removed is that... Flash literally doesn't exist anymore. It's not like the text is not preserved historically all over the web. I have a PDF of it even somewhere on my drive.
Please explain how that alone is a reason to make the richest corporation on the planet go through their whole online presence and remove a few kB of redundant text.
Nobody does that just because it's not needed anymore, it's more expensive to pay an employee for deleting this than just keeping it up for another decade. It's very obvious Apple wants to hide the fact Steve Jobs would disagree with their current way of doing things and fell for the Streisand effect as everyone does.
So, delete them?
Perhaps it's just my set up, or perhaps Apple deleted Apple deletes Steve Jobs “Thoughts on Flash Essay”.