News for hackers. Stuff that matters.
Re:The first conformant M1 GPU driver by i_am_jl on Tuesday August 22, 2023 @02:26PM (#37226714)
>The iphone was an HTML device, loudly repudiating the proprietary (and terrible) Flash much less the crappy, mostly stillborn "mobile HTML" attempts.

Skipping Flash wasn't so much an ideological decision as a practical one.

At the time Steve Jobs listed a ton of reasons that they didn't implement Flash. Listed among them were concerns about it not being an open standard, inferiority to H.264, security and performance issues, etc. However, all of these things could've been ignored or overcome.

The principal problem was that a huge proportion of Flash applications, games, and websites used mouseovers as crucial methods of interactions, and Apple simply had no way to allow users to mouseover an element on a touchscreen.

Re:The first conformant M1 GPU driver by tomjakubowski on Tuesday August 22, 2023 @02:43PM (#37226927)
Apple did find a solution in mobile Safari for touchscreen hover states on the Web. However the Web platform generally offers more affordances for accessibility than Flash ever did, which I'm sure helps.
Re:The first conformant M1 GPU driver by i_am_jl on Tuesday August 22, 2023 @03:03PM (#37227160)
If I'm not mistaken the solution was to make touching an element trigger the :hover state and the click action unless the :hover state changed the visibility of another element. If the :hover state changed the visibility of another element, then the click action was not triggered until a user tapped again.

This is possible in HTML because it's trivial to determine whether or not a :hover changes display or visibility properties of other elements. As you've supposed, Flash did not afford browsers with that sort of ability.

Re:The first conformant M1 GPU driver by gumby on Tuesday August 22, 2023 @03:12PM (#37227268)
> more affordances for accessibility than Flash ever did

TBF one thing Flash did manage to achieve was the proliferation of web sites and apps that were as hard to use for people without protected disabilities as for people who did have them.

Whether this increased empathy for people with disabilities is an open question

Re:The first conformant M1 GPU driver by jjoonathan on Tuesday August 22, 2023 @02:57PM (#37227071)
That could have been overcome. The general crustiness of flash could not have been (from Apple's POV).

Apple used to ship a dev app called "Spin Control" that would log stack traces whenever an app failed to drain its event queue in a timely manner (i.e. beachball). One time I accidentally left this open for an entire week, went about a bunch of assorted business, and when I came back every single stack trace had to do with flash, and there were many. Either flash in a browser or flash in a browser embedded in something else (ads embedded in 404 pages for broken help pages that were never even displayed, lol). At first I thought it had to be a mistake, a filter I had forgotten about or something, so I triggered a spin in Mail.app by asking it to reindex and sure enough that showed up as the first non-Flash entry in Spin Control.

As hard as it was to believe: Flash had been responsible for every single beachball that week. Yikes.

Re:The first conformant M1 GPU driver by i_am_jl on Tuesday August 22, 2023 @03:10PM (#37227244)
I was mistaken, I found a copy of Jobs' letter re:Flash and he does cite the proprietary nature of Flash and Apple's lack of control over the content served on its platform as the most important reason Flash was kept off the iPhone.

https://www.cnet.com/culture/steve-jobs-letter-explaining-ap...

  As hard as it was to believe: Flash had been responsible for every single beachball that week. Yikes.
I used OSX and Flash in the late 2000s so I have no problem believing that.
Re:The first conformant M1 GPU driver by bootsmann on Tuesday August 22, 2023 @04:11PM (#37227914)
> This becomes even worse if the third party is supplying a cross platform development tool. The third party may not adopt enhancements from one platform unless they are available on all of their supported platforms. Hence developers only have access to the lowest common denominator set of features. Again, we cannot accept an outcome where developers are blocked from using our innovations and enhancements because they are not available on our competitor's platforms

Funny how one could and maybe should point the same criticism towards electron.

Re:The first conformant M1 GPU driver by wlesieutre on Tuesday August 22, 2023 @09:22PM (#37230766)
Better than OS 9 and Flash when it would bring down the whole system!
Re:The first conformant M1 GPU driver by Grazester on Wednesday August 23, 2023 @09:46AM (#37235775)
Pre OSX Macs I found to be more unstable than Win95 osr2. Apple really needed OSX!
Re:The first conformant M1 GPU driver by wlesieutre on Wednesday August 23, 2023 @09:53AM (#37235893)
Mostly thanks to flash!

Even in OS X it was still a bad plugin, one of Snow Leopard's headline features was that plugins were moved to separate processes so that Safari could keep running instead of bringing down the whole browser when a plugin had a problem.

Re:The first conformant M1 GPU driver by elondaits on Wednesday August 23, 2023 @10:16AM (#37236285)
If memory serves me right, that was one of the big raisons d'etre for Chrome (released in 2008)... so Snow Leopard (2009) was catching up with it more than solving a Mac specific issue. But yes, back then the big big plugin was Flash, and its security and performance left a lot to be desired (in all platforms).
Re:The first conformant M1 GPU driver by Grazester on Wednesday August 23, 2023 @10:14AM (#37236251)
I wasn't even using flash. It was Photoshop. When this bogged down from switching between applications it would just shit the bed.
Re:The first conformant M1 GPU driver by dimator on Tuesday August 22, 2023 @03:05PM (#37227184)
Yeesh, thank you for the reminder about how much the flash-based web sucked. It's easy to forget.
Re:The first conformant M1 GPU driver by wsc981 on Wednesday August 23, 2023 @02:27AM (#37232470)
Part of it sucked, part of it was great. On Mac-side the experience was worse than on Windows, that's for sure.

But Flash also allowed many games to be easily developed and played in the browser. Lots of fun cartoons were made (the Metallica cartoons "fire bad" on Newgrounds come to my mind now).

It's a shame Flash sucked so much on Mac, since the developer behind Flash [0] did create some nice games on the Mac early in his career, namely Airborne! and Dark Castle.

---

[0]: https://en.wikipedia.org/wiki/Jonathan_Gay

Re:The first conformant M1 GPU driver by pmarreck on Wednesday August 23, 2023 @09:37AM (#37235643)
I had no idea! Those games were amazing.
Re:The first conformant M1 GPU driver by irvinej00 on Wednesday August 23, 2023 @12:25PM (#37238441)
True
Re:The first conformant M1 GPU driver by hot_gril on Tuesday August 22, 2023 @04:15PM (#37227967)
Yeah Flash was slow, but the common alternatives for in-browser animation/games were (and still are) far slower. H.264/5 maybe did video better than Flash, even then idk, Flash YouTube was always way faster on my old iMac than HTML5 YT. Google Hangouts/Meet will lag a high-end Intel MBP thanks to the unaccelerated VP8/9 video, but AIM Flash-based video calls ran fine on an iMac G4. On top of that, there was never a real replacement to the Flash creation software. All those Flash games that people made without really understanding how to code, no longer doable.

I guess Flash had to die because of how outdated, insecure, and proprietary it was. It did seem like a nightmare to support well on mobile. Just wish someone made something strictly better.

Re:The first conformant M1 GPU driver by sheepscreek on Tuesday August 22, 2023 @07:42PM (#37230029)
Perhaps it was fast due to lack of tight security policies etc. These days, everything has to be containerized or be in a sandbox. That adds layers of overhead. Probably also why Google killed NaCl (Native Clients for Google Chrome). It was loosely in the same space as Flash and ActiveX - anyone remember that?
Re:The first conformant M1 GPU driver by hot_gril on Wednesday August 23, 2023 @02:53AM (#37232644)
I've thought about that too. Can only guess about it myself. Old software tends to be faster just because it has to be, and there isn't always a compromise other than time-to-implement.

Not sure how ActiveX's sandboxing worked, but I'll bet it was even less than Flash, since it was running actual x86 code.

Re:The first conformant M1 GPU driver by londons_explore on Wednesday August 23, 2023 @03:38AM (#37232905)
ActiveX required that the ActiveX code you wanted to run be already installed on your computer. The security mechanism was that users obviously wouldn't install insecure stuff...

Turns out nearly every extension had gaping security holes.

Re:The first conformant M1 GPU driver by nvm0n2 on Wednesday August 23, 2023 @06:06AM (#37233818)
Not quite. ActiveX would download and run unsandboxed native code direct from the web, even if it wasn't installed. The security mechanism was a popup dialog that contained the publisher name as verified by a code signing certificate.
Re:The first conformant M1 GPU driver by hot_gril on Wednesday August 23, 2023 @12:01PM (#37238089)
This is how I remember it. I was dealing with early 2000s smart home software that used ActiveX. I'd visit a website in IE, press ok, and run their "web app" that had raw access to my serial and ethernet ports. It was bizarre even for back then.
Re:The first conformant M1 GPU driver by brianpan on Tuesday August 22, 2023 @05:30PM (#37228781)
Not hard to believe. Reliability was one of the points in Steve Jobs' _Thoughts on Flash_:

> We also know first hand that Flash is the number one reason Macs crash. We have been working with Adobe to fix these problems, but they have persisted for several years now. We don’t want to reduce the reliability and security of our iPhones, iPods and iPads by adding Flash.

Re:The first conformant M1 GPU driver by zdw on Tuesday August 22, 2023 @05:33PM (#37228811)
Back in the day there was even a Mac browser plugin called "Click to Flash" that would prevent Flash from loading in web pages and draining battery like crazy. Made the web livable and more secure throwing Flash garbage ads everywhere.

Ah, the dev page for these: https://hoyois.github.io/safariextensions/clicktoplugin/

People also don't remember the huge number of CVEs that Flash had: https://www.cvedetails.com/version-list/53/6761/1/Adobe-Flas...

Re:The first conformant M1 GPU driver by jwells89 on Wednesday August 23, 2023 @12:19AM (#37231834)
There were also browser extensions that'd replace YouTube's terrible flash player with an HTML5 h.264 player which was a godsend on single-core PPC G4/G5 machines, where flash would happily keep the CPU pegged for no good reason.
Re:The first conformant M1 GPU driver by codedokode on Tuesday August 22, 2023 @09:31PM (#37230812)
> Flash had been responsible

Was it just Flash or low skilled web developers using Flash the wrong way, adding 10 Flash advertisements on a page and so on?

Re:The first conformant M1 GPU driver by phillco on Tuesday August 22, 2023 @09:34PM (#37230828)
My fuzzy recollection was that the OS X version of Flash was much worse than the Windows version. Given "Thoughts on Flash" and the direction of the iPhone, this ended up being very expensive for Adobe :)
Re:The first conformant M1 GPU driver by newaccount74 on Wednesday August 23, 2023 @04:54AM (#37233422)
I always thought Flash was unusably slow, until I tried it on Windows. On Windows Flash was fast and fluent, on the Mac it was choppy and unbearably slow.

Since Flash was so ubiquitous on the web, this made Macs a lot slower for many tasks than Windows computers. No matter how much Steve Jobs touted the power of the G4, and boasted about the speed of Final Cut, nobody would believe it when their Mac couldn't even run a space invaders clone in IE4 fluently.

Adobe ignored performance on Apple devices for years. There was no way in hell Apple would allow Adobe to do the same to iOS.

Re:The first conformant M1 GPU driver by saagarjha on Wednesday August 23, 2023 @02:42AM (#37232559)
Spin Control lives on as part of Instruments, which can be configured to collect a tailspin whenever an app hangs.
Re:The first conformant M1 GPU driver by photonerd on Tuesday August 22, 2023 @03:15PM (#37227304)
Also, from a practical perspective, even Adobe never had a fully working (feature parity to desktop) way to actually load Flash on the iPhone. Apple kept asking for one: Adobe could never produce something that wasn’t buggy crap.

There were some 3rd party things that sorta worked a bit, but they were not good either.

Flash was bad on touchscreens for sure, but we’d have seen content adapt eventually anyhow, if it had actually ever worked in the first place.

Re:The first conformant M1 GPU driver by xp84 on Tuesday August 22, 2023 @05:39PM (#37228872)
Very true. In case anyone is too young to remember, in the days of the iPhone 3G, it was somewhat popular to buy apps which would use a real browser on a server somewhere to render a browser session, complete with Flash, and stream it to you. It was very handy for those of us who played Flash games and needed to check in on our game on the go. (Think FarmVille, Cityville, etc.)
Re:The first conformant M1 GPU driver by _jal on Tuesday August 22, 2023 @05:48PM (#37228972)
I don't think that wasn't the deal-breaker. Jobs didn't want Flash to become the de facto development environment for the phone.

I'm pretty sure he always knew they'd end up with apps on it, they just didn't pull that together for the first release, thus the HTML song and dance. But if they supported flash, that would reduce a lot of the demand for apps later, and worse - it would be cross platform.

So he used the other (still good) reasons - battery life, security, etc. to obscure the real reason - Apple was not yet ready to compete with it on their own terms, so they banned it.

Re:The first conformant M1 GPU driver by coldtea on Tuesday August 22, 2023 @08:46PM (#37230524)
>The principal problem was that a huge proportion of Flash applications, games, and websites used mouseovers as crucial methods of interactions, and Apple simply had no way to allow users to mouseover an element on a touchscreen.

It's more about control and all the other reasons.

Mousovers is a dead herring. They could still give Flash not to run existing stuff, but new apps, that would take iOS into account.

And legacy flash movies and animations and games that just needed click and not mousovers would still work. To be frank, mouseover interaction weren't really that big in many (most?) Flash games anyway.

Re:The first conformant M1 GPU driver by acdha on Tuesday August 22, 2023 @08:59PM (#37230610)
Mouseovers were just the tip of the iceberg: fixed screen sizes and other desktop UI conventions, assumptions that you could just leave things constantly running rather than figure out how to do proper event-driven programming, etc. Yes, they could have tried to do a “Flash mobile” but most of the appeal was compatibility with the huge library of existing apps and users wouldn’t have been happy with that, while authors would have bristled at having to give up their favorite hacks. Flash was a fractal of bad programming and UI design, and there was no way to get that community to improve since Adobe was one of the worst offenders and didn’t care about their platform in any discernible way. People wrote Click-to-Flash plugins to keep it from crashing your browser, every browser had to change their architecture to handle Flash crashing, the plugin & authoring tools had tons of performance, stability, and security issues – and Adobe just kept snoozing, waking only enough to cash the royalty checks, and claim the next version would be totally better.

Another poster mentioned the hangs - which is very true - and I can say that the desktop Macs I supported had a high 90% of the crash logs show Flash as the culprit, not to mention almost every CPU / battery life issue.

There were some great artists who produced neat work despite it but the only company to blame for Flash’s demise is Adobe. As a thought exercise, ask why Flash on Android consistently sucked – if they were trying to make the case that Apple should reconsider, they could have put at least one intern on making that seem appealing.

Re:The first conformant M1 GPU driver by amluto on Wednesday August 23, 2023 @02:33AM (#37232499)
> Adobe was one of the worst offenders and didn’t care about their platform in any discernible way.

This is par for the course for Adobe. The other day I had occasion to try to fill out a PDF form using Acrobat Pro. I made it through about a page (painfully slowly) until I unwisely saved my work. Then I cursed for a bit, tried quitting and reloading, and eventually gave up and started over in PDF.js. Superior in every way.

I remember when a major selling point of Acrobat was that you could save a filled out form, whereas third party apps couldn’t. Apparently doing so still breaks the form, and third party apps have gotten it right for many years now.

Adobe seems to pretty much never care about their platform once they have market share.

Re:The first conformant M1 GPU driver by acdha on Wednesday August 23, 2023 @07:02AM (#37234110)
I remember working on a project in 2010. We hit multiple crashing bugs in Flash (both runtime and IDE) doing fairly basic stuff. I figured we’d paid for support, might as well use it, and reported them to Adobe.

Literally never heard back until a year later when they closed the tickets saying it might be fixed in the next release and we should buy licenses to find out (spoiler: no).

Re:The first conformant M1 GPU driver by psd1 on Wednesday August 23, 2023 @05:12AM (#37233529)
FYI, the idiom is "red herring"
Re:The first conformant M1 GPU driver by brokenmachine on Tuesday August 22, 2023 @09:16PM (#37230725)
I remember my old Samsung Galaxy Note (or was it the Note 3?) could actually sense when your finger was near the screen but not touching, for mouseover events.

I always wondered why that feature didn't continue - I remember it working quite well, but IIRC it only worked in Chrome browser.

Re:The first conformant M1 GPU driver by girvo on Wednesday August 23, 2023 @03:15AM (#37232782)
That, and even if you somehow fixed that, Flash on mobile sucked. I had Flash on my Windows Mobile handset. It was horrible!