News for hackers. Stuff that matters.
Re:When SVG almost got network support for raw sockets by Gigachad on Thursday March 30, 2023 @11:29PM (#35382148)
Good summary, only thing I'd add is that the iPhone didn't drop support for flash, they never had it to begin with and made it clear they never would. Android vendors at the time used to use flash support as selling point until they too dropped it.

Being the first to call the death on something seems to be an ongoing trend with Apple.

Re:When SVG almost got network support for raw sockets by nntwozz on Thursday March 30, 2023 @11:55PM (#35382356)
Flashback to Steve Jobs' famous "Thoughts on Flash" https://newslang.ch/wp-content/uploads/2022/06/Thoughts-on-F...

It was not well received at the time. Oh how things have changed.

Re:When SVG almost got network support for raw sockets by lmm on Friday March 31, 2023 @12:08AM (#35382436)
Have they? I would say the subsequent ~10 years of the web have vindicated Flash. HTML5 video hasn't made websites lighter or less annoying - quite the opposite (indeed video ads are a worse problem than Flash ads ever were). Meanwhile creativity and innovation on the web have taken a hit. 10+ years on there's still nothing that allows a lone auteur to produce a web experience as easily and effectively as you could with Flash (it seems to be possible to match Flash, a la the NYT's Snow Fall or the previous Madogatari intro, but not at a level that's accessible to an individual creator), and we're all worse off for it.
Re:When SVG almost got network support for raw sockets by vlovich123 on Friday March 31, 2023 @12:20AM (#35382510)
As someone that helped a little bit in bringing Flash to WebOS, it was a battery stuck because there was no HW acceleration. Additionally, the software was very very bad. Used a crapton of memory, was really slow, and horribly insecure. Adobe was caught really off guard by mobile and never prioritized flash. If little else, the modern web is infinitely more secure than the flash player and Adobe would never have prioritized it. We also have ~3 major open source browser engines that independently implement the web compared with one closed source vendor. So structurally things are also infinitely healthier. That the web is a cesspool in turns of content is an orthogonal problem that would have always been the case (but also a flash laden website are up way more RAM and CPU than the equivalent html)
Re:When SVG almost got network support for raw sockets by lmm on Friday March 31, 2023 @12:56AM (#35382762)
> it was a battery stuck because there was no HW acceleration. Additionally, the software was very very bad. Used a crapton of memory, was really slow, and horribly insecure.

Surely lack of hardware acceleration and poor implementation are incidental, not fundamental issues. Just as browsers eventually got their own PDF implementations because Adobe's sucked, I expect the same would have happened for Flash eventually.

> We also have ~3 major open source browser engines that independently implement the web compared with one closed source vendor.

We have WebKit and Gecko, and the latter barely exists on mobile. I'm not convinced we're a lot better off in practice.

Re:When SVG almost got network support for raw sockets by eyelidlessness on Friday March 31, 2023 @01:11AM (#35382866)
Blink (Chrome/Chromium-derived browsers) is a fork of WebKit but has diverged for many years. To treat them as the same, you should call them KHTML as that’s their common lineage. But that would be obviously absurd.

WebKit and Blink are not the same browser engine.

Re:When SVG almost got network support for raw sockets by dontlaugh on Friday March 31, 2023 @06:21AM (#35384878)
Sure, although Blink and WebKit are still much closer than WebKit and KHTML.
Re:When SVG almost got network support for raw sockets by geocar on Friday March 31, 2023 @02:21AM (#35383362)
> Surely lack of hardware acceleration and poor implementation are incidental, not fundamental issues.

Of course not. These are just some of the many many needles of crap that broke Flash.

> I expect the same would have happened for Flash eventually.

Perhaps you underestimate just how complicated "Flash" is: It's 2023 and despite everything you can do in a modern Web browser with HTML5, SVG, JavaScript, Video and so on, we still don't have a second full reimplementation of Flash. No emulator or converter that preserves all of the authors intentions, not even with a server-side-helper to cover the differences in networking policies between the web and Flash. I still think it would take serious cash/time to do this.

And for a large company to do it would risk being sued by Adobe. They promised. I think if Adobe couldn't fix the crap-needles for whatever reason, nobody else could either. Adobe made sure of that. And nobody wants to pay the Adobe tax when Flash hurts users so bad.

PDF on the other hand, is easy enough to implement on screens in a month or less, spec-in-hand. Users who use Adobe's PDF reader deserve what they get.

> We have WebKit and Gecko, and the latter barely exists on mobile. I'm not convinced we're a lot better off in practice.

I do feel a little better off. I remember a time when every flash bug was an opportunity to airdrop malware, just buy an ad and get on every desktop PC in the world for chump change. I had to browse the Web in a VM, back when VM's on workstation PC's were still painfully slow, because I needed the ability to rewind state so often. I really don't miss that.

A small number of players working (largely) openly (i.e. we have webkit and gecko's source code!) allowed features to the Web be deployed relatively quickly, and problems fixed fast and usually with the smallest-possible harm. And I think people are sufficiently suspicious of closed-source infrastructure that people (mainly purchasing VPs at big enterprises) will be able to resist any attempts to change that.

Re:When SVG almost got network support for raw sockets by gpvos on Friday March 31, 2023 @03:19AM (#35383748)
How far have Blink and Webkit diverged? Do they still take patches from each other?
Re:When SVG almost got network support for raw sockets by carefish on Friday March 31, 2023 @06:25AM (#35384897)
Lovely points you bring to the table, agreed on all fronts. Just wanted to add that there is definitely a decent attempt at creating that implementation though: https://ruffle.rs/
Re:When SVG almost got network support for raw sockets by geocar on Friday March 31, 2023 @07:31AM (#35385451)
I'll watch out for ruffle (60% of AVM2 sounds promising!). Thanks for that.
Re:When SVG almost got network support for raw sockets by Lex-2008 on Friday March 31, 2023 @06:48AM (#35385069)
Thanks for a nice writeup! Regarding "for a large company to do it would risk being sued by Adobe" - what do you know about "Pepper flash plugin", which was shipped with Chrome at some time? Back then I had an impression that it was an alternative implementation of flash player, but developed by Google.
Re:When SVG almost got network support for raw sockets by geocar on Friday March 31, 2023 @07:29AM (#35385434)
I think Pepper was just the name of Google's extension API, and so Pepper Flash was just a (re)packaging of the flashplayer artefacts from Adobe. My memory of this was that it was pitched (to users) as a "safer" flash, since it could take advantage of Google's isolation/sandboxing features, but I don't have any special knowledge here: I just made a shittonne of flash stuff back in the day.
Re:When SVG almost got network support for raw sockets by hnlmorg on Friday March 31, 2023 @02:21AM (#35383369)
We also have iOS, Android, ChromeBooks, Tizen, macOS, GNU/Linux, games consoles, TVs, tablets, home assistants like Echo Show, and a dozen other platforms I’ve not thought of.

Whereas back in the flash days there was basically just x86 desktop Windows and the few other web enabled devices were niche and didn’t properly support Flash.

The Dreamcast had a browser (based on IE) but suffered from an ancient version of flash. PDAs were uncommon, also had a browser based on IE, and also suffered from a crippled version of Flash. Smartphones were a few years off and when they did arrive also had a crippled version of Flash (or no support at all).

Flash was a format for a different era. An era when Microsoft had suffocated the tech industry. The fact that we can now view basically any website on any hardware is a massive step forward.

I agree that the modern era of the web has its problems too (I’m looking at you Google, Facebook, etc) but having been a developer and early adopter of the web, I’d still take modern web technologies over Flash any day of the week.

Re:When SVG almost got network support for raw sockets by lmm on Friday March 31, 2023 @02:58AM (#35383622)
> Whereas back in the flash days there was basically just x86 desktop Windows and the few other web enabled devices were niche and didn’t properly support Flash.

It wasn't quite that bad. I was running FreeBSD at the time and Flash was fine there. In fact I remember for a few years it was easier to have working Flash than working "web video".

Re:When SVG almost got network support for raw sockets by hnlmorg on Tuesday April 04, 2023 @09:19AM (#35439135)
I ran FreeBSD too but FreeBSD didn’t have the official Flash plug-in. In fact for a long time Flash didn’t support anything aside IE. Not even Firefox nor Opera (remember that?). And even when Flash did eventually get ported to more platforms, half the time it still required a bunch of jacks to get working (like Firefox using Chome’s Flash plugin)

And as good as the 3rd party hacks were, they didn’t work all of the time. I remember a few sites I needed for work which required me jumping onto a Windows VM just to use.

There also wasn’t really such thing as “web video”. Flash was the closest we had. There were some other clients supported like Real Player but it was the same problem about having to install their software too.

Re:When SVG almost got network support for raw sockets by lmm on Tuesday April 04, 2023 @06:17PM (#35446570)
> And even when Flash did eventually get ported to more platforms, half the time it still required a bunch of jacks to get working (like Firefox using Chome’s Flash plugin)

I had to put some kind of wrapper in, and I think it was actually using the Linux version of the plugin, but it all worked pretty reliably once it was there.

> There also wasn’t really such thing as “web video”. Flash was the closest we had. There were some other clients supported like Real Player but it was the same problem about having to install their software too.

I'm talking about slightly later, when people were pushing "web video" as a replacement for Flash for e.g. YouTube. Flash was more reliable and better supported on FreeBSD for some time, is my recollection. Although honestly straight-up <embed> also worked fine and I never felt that the move away from that was really justified.

Re:When SVG almost got network support for raw sockets by hnlmorg on Thursday April 06, 2023 @02:36AM (#35464966)
I seem to recall the Linux plugin used to ramp up the CPU load. Which wasn’t so much of an issue on desktops but was extremely annoying on laptops where battery life was dependent on heavy CPU throttling and most laptop fans spinning up sounded like jet engines.

As for the early days of web video, I think half the problem was that nobody could agree on what video format to support. Some wanted patented formats while others (namely Firefox) wanted open source formats.

I’m not sure what the end outcome was of all that but it does feel a resolution has at least now been found.

Re:When SVG almost got network support for raw sockets by egberts1 on Friday March 31, 2023 @10:21AM (#35387568)
We have four major technologies within web browsers.

JavaScript is one.

That too in turn also covers six types of JavaScript engine.

* Mozilla * Microsoft * WebKit * Adobe * Opera

https://egbert.net/blog/articles/javascript-jit-engines-time...

Re:When SVG almost got network support for raw sockets by conradev on Friday March 31, 2023 @11:29AM (#35388600)
It did happen eventually: https://github.com/ruffle-rs/ruffle
Re:When SVG almost got network support for raw sockets by Evidlo on Friday March 31, 2023 @01:25AM (#35382964)
> it was a battery stuck

Is this an idiom? What does it mean?

Re:When SVG almost got network support for raw sockets by jjtheblunt on Friday March 31, 2023 @01:35AM (#35383041)
I think it's a typo, the person meant "battery suck" as in drains the battery.
Re:When SVG almost got network support for raw sockets by cyberax on Friday March 31, 2023 @01:49AM (#35383111)
Apparently, the x86 version of Flash was extremely well-optimized and as a result very spaghettified. So even porting to 64 bits took Adobe years of effort.

Additionally, the SWF format itself was way ahead of SVG. It still is to some extent: https://open-flash.github.io/mirrors/swf-spec-19.pdf - look at the part that describes shapes, and compare it to SVG.

One thing that helped was ability to have shapes with fill on each side of the edge, allowing smoothly joined scenes that can be animated at real-time. All without the use of high-precision math, Flash used integers only with some fixed-point data!

Re:When SVG almost got network support for raw sockets by nly on Friday March 31, 2023 @03:23AM (#35383772)
Ah, yes. I remember the days of using b nspluginwrapper to load the 32 bit flash plugin in a 64 bit browser on Linux...
Re:When SVG almost got network support for raw sockets by tinus_hn on Friday March 31, 2023 @04:17AM (#35384153)
There was also bug for bug compatibility with every old version ever released. Hard to support and impossible to port.
Re:When SVG almost got network support for raw sockets by scrame on Friday March 31, 2023 @01:51AM (#35383123)
> it was a battery stuck because there was no HW acceleration. Additionally, the software was very very bad. Used a crapton of memory, was really slow, and horribly insecure.

You're describing javascript in that era.

Re:When SVG almost got network support for raw sockets by grishka on Friday March 31, 2023 @02:13AM (#35383301)
That's the problem with the particular proprietary implementation of flash player. There's nothing inherently bad about the swf format itself.
Re:When SVG almost got network support for raw sockets by acdha on Friday March 31, 2023 @08:44AM (#35386252)
That’s like saying there’s nothing wrong with Word because you could just build your own version. Adobe controlled the format and since they didn’t care about quality, performance, security, or tool quality that doomed it.

The other big thing which hit Flash was mobile. Rearchitecting it to support the equivalent of the web’s responsiveness was a huge problem which got lost in the “Steve Jobs killed Flash” narrative. Battery life wasn’t the only thing which made it unpopular on mobile – that could have been improved even though some aspects of the platform made that hard – but also the fact that Flash was based around mice and fixed-size displays. Very little of the existing content worked well (often at all) on the mobile devices which did have Flash.

Re:When SVG almost got network support for raw sockets by butlerm on Friday March 31, 2023 @01:56PM (#35390678)
Vector graphics designed for a desktop display or a printed page generally do not work well on small displays unless scaling to fit or scrolling is acceptable. I can hardly imagine what one would do to make something like SVG reflow in a sensible way. Line of business (web) applications often have the same problem, i.e. there is often a display size below which they simply are not usable, and that should be no surprise to anyone.
Re:When SVG almost got network support for raw sockets by numpad0 on Friday March 31, 2023 @02:25AM (#35383395)
Weren’t there tons of devices that use Flash Lite for UI up to that era, in mp3 players and flip phone markets?
Re:When SVG almost got network support for raw sockets by giantrobot on Friday March 31, 2023 @03:17PM (#35392015)
Flash Lite was not really "Flash". It didn't support older ActionScript, it had extremely limited codec support (relying on a device's hardware support), and was missing a lot of the network features the desktop plugin had. Generally it wouldn't be able to load arbitrary SWFs off the web. Even to run a SWF the developer needed to write to the Flash Lite profile, like targeting a MIDP profile in J2ME.

Flash Lite was usually used on the devices you mention as the "app" environment instead of J2ME, BREW, or whatever.

Re:When SVG almost got network support for raw sockets by rektide on Friday March 31, 2023 @12:17AM (#35382493)
This keeps coming up, but it keeps seeming hogwash & backwards.

There are dozens & dozens of really really good html/svg animation products that give Flash like capabilities. But there's vastly less interest in this stuff today. Fun/simple/quirky Flash-like stuff isn't nearly as unique or novel, now that we have much more upscale products & experiences. It was a magical time & Flash helped, but we've changed & these rose-colored glasses views on Flash never point out all the myriad of ways it was awful, choppy, poorly integrated, quirky to work with, & otherwise difficult.

If you want higher there are hundreds of web-dev targeting game dev systems which can be put to use. Many of these actually do have popularity. In spite of their being good Flash-ish animation toolkits, it doesn't feel like there's a ton of demand or clear winners. It's hard to imagine what we'd want it for today.

Re:When SVG almost got network support for raw sockets by EamonnMR on Friday March 31, 2023 @12:37AM (#35382629)
The loss of the mouse and keyboard as primary input devices is an underrated part of why everything feels worse now compared to the flash era. Web is a very different target now than it was. Also, the flash game ecosystem was intertwined with the animation ecosystem and the advent of streaming full motion video devalued animation skills.

Anyway nowdays we have Godot and Unity which are both very nice. But there were definitely lost years where amateur gamedev was less accessable.

Re:When SVG almost got network support for raw sockets by grishka on Friday March 31, 2023 @02:19AM (#35383348)
> The loss of the mouse and keyboard as primary input devices is an underrated part of why everything feels worse now compared to the flash era.

It's okay to say "please visit this from your computer" when someone opens something that requires a keyboard from a phone.

> Anyway nowdays we have Godot and Unity which are both very nice. But there were definitely lost years where amateur gamedev was less accessable.

The barrier to entry is considerably higher with these things. They require programming from the beginning. The coolest part about Flash was that you could get started without writing a single line of code. Then you could build up your understanding of the thing iteratively. You could build a simple quest-type game with just one line of code that you copy-pasted from somewhere, `goToAndStop(frameNumber)`. And then you go from there — variables, flow control, all that. Flash got a sizable number of people interested in programming. This ease of use is extremely important and it's still unmatched by any purported modern replacements.

Re:When SVG almost got network support for raw sockets by yathaid on Friday March 31, 2023 @08:17AM (#35385927)
>> It's okay to say "please visit this from your computer" when someone opens something that requires a keyboard from a phone.

Unless you have a captive audience, like forced to use enterprise users, this is not a winning strategy for any internet based product.

Also, the assumption that everyone will have devices in two form factors is, and I am being charitable here, naive.

Re:When SVG almost got network support for raw sockets by lmm on Friday March 31, 2023 @12:29AM (#35382576)
I think the demand is there, but you underestimate how much difference the tiny inconveniences make. Like, maybe there's stuff out there that can do the same thing, but the people who are just starting out don't know where it is (hell, I'm an experienced programmer and I don't know where it is) or what to pick up. A lot of those great Flash works were made by literal schoolkids, or more often by young adults who'd got their start as schoolkids and gradually refined their craft, because you could just pick up Flash and start doing things, and kids did. From what I hear maybe Roblox is filling the same niche now, but that's only happened in the last few years, and for all that Flash was notionally proprietary and poorly-integrated with the open web, having it right there in your browser was still a win.
Re:When SVG almost got network support for raw sockets by thrashh on Friday March 31, 2023 @03:20AM (#35383757)
I wouldn’t touch any of those game systems with 10-ft pole. Their user bases are too small to be worth using. They also don’t at all compare to the Flash IDE.

Flash was great because it was popular and supported with the weight of a big company that loved its own child. Their love translated to great tooling.

Whereas the web is “community-owned” and community/committee-designed things rarely get super cool and fleshed out things like well-integrated for-everyone tooling. Instead, you mostly get self-serving projects that serve the creator’s own need primarily. Usually half-baked. And it’s not interoperable with anything else.

Re:When SVG almost got network support for raw sockets by illiarian on Friday March 31, 2023 @04:08AM (#35384097)
> There are dozens & dozens of really really good html/svg animation products that give Flash like capabilities.

And those are?

> now that we have much more upscale products & experiences.

And those are?!!

Re:When SVG almost got network support for raw sockets by JoeyJoJoJr on Friday March 31, 2023 @07:49AM (#35385613)
I was a Flash developer and have searched everywhere for a comparable tool. None exists. Recently I have worked on interfaces for touch screen kiosks, and digital signage. Flash was excellent for these kinds of projects and 10 years later nothing compares.
Re:When SVG almost got network support for raw sockets by stuaxo on Friday March 31, 2023 @09:08AM (#35386578)
The authoring tool was a big part of why so much flash stuff got made.
Re:When SVG almost got network support for raw sockets by kitsunesoba on Friday March 31, 2023 @12:44AM (#35382692)
Flash games and animations were cool, but it seemed like for every cool thing made with flash there was also a terrible SWF-as-a-website that didn't play nice with browser window resizing and was more frustrating to use than even the worst modern JS-mudball monstrosities. At least content blocker extensions and reader mode can somewhat salvage bad sites… with flash pages you got the whole thing or nothing.
Re:When SVG almost got network support for raw sockets by philsnow on Friday March 31, 2023 @01:03AM (#35382800)
Oddly enough your comment made me think of electron apps vs native apps, because they are usually impenetrable to accessibility APIs so they appear as completely opaque apps with no a11y affordances.
Re:When SVG almost got network support for raw sockets by Earw0rm on Friday March 31, 2023 @03:01AM (#35383635)
Seems like a solvable problem in the medium term - Electron apps are, in effect, a web page; build an accessible page, the Electron runtime _should_ be able to join the dots same as a full browser does.
Re:When SVG almost got network support for raw sockets by giantrobot on Friday March 31, 2023 @03:24PM (#35392117)
It seems like a lot of frameworks used with Electron are the "reinvent every HTML tag as a component with divs" variety. So unless a developer hangs a bunch of event handlers off some widget they don't have default handlers for a lot of accessibility. If they used a real tag they'd get a bunch of free accessibility/functionality but instead they use components.
Re:When SVG almost got network support for raw sockets by kitsunesoba on Friday March 31, 2023 @11:14AM (#35388334)
To me that highlights how important it is for UI frameworks of all types to have accessibility affordances not only built in, but as one of the pillars of their designs. That makes it so even apps developed without any regard to accessibility are reasonably accessible by default.

This doesn't gel well with the bring-your-own-everything nature of the web, unfortunately. Even if you look just at React there's 50 ways to build the same thing, which I'm sure makes rolling in accessibility that "just works" across all React apps without additional effort from the developer extremely difficult. It's much more practical with UI frameworks that are strongly opinionated with only a single well-supported "happy path" for most things.

Re:When SVG almost got network support for raw sockets by paultopia on Friday March 31, 2023 @01:50AM (#35383117)
This brings back memories. 20 years ago, I was managing a band in New Orleans (by an amazing coincidence I'm in New Orleans for a 2 day trip now), and I decided to make them a website. It being 2003, I did the website in flash, and with my zero coding skills at the time ... it still came out pretty awesome. Wish that still existed.
Re:When SVG almost got network support for raw sockets by wink on Friday March 31, 2023 @09:18AM (#35386709)
Technically it's not the fault of the videos that web standards now allow easy embedding, it's still the people abusing it to show you video ads. Just saying it's worse than Flash... it's like saying browsers should not show non-animated images because you can have ad banners.
Re:When SVG almost got network support for raw sockets by lmm on Friday March 31, 2023 @10:51PM (#35396574)
Sure, but that was an argument used by anti-flash people at the time. (And if anything it was a lot easier to block flash on some pages than block web video on some pages - indeed I remember some browsers started to be click-to-start-flash by default).
Re:When SVG almost got network support for raw sockets by Pulcinella on Friday March 31, 2023 @12:58PM (#35389924)
I don’t get the love for Flash on Hacker News. It’s very odd to me to see people say they prefer Adobe’s proprietary format and software to the open web.
Re:When SVG almost got network support for raw sockets by lmm on Friday March 31, 2023 @10:52PM (#35396583)
I'm all for open source but I don't let that blind me to product quality. Same thing with Discord - yes, I'd definitely prefer an open system, but if this specific proprietary thing has a better UX then we should be honest about that.
Re:When SVG almost got network support for raw sockets by gumby on Friday March 31, 2023 @12:01AM (#35382394)
Well it wasn't received well by Adobe, who had by then bought Macromedia, nor by people who had tied their wagon to Flash. But Flash was pretty horrible even on most laptops and even many desktops of the day, and was a security nightmare.

The complainers were loud, but I think the majority of people who cared (99% of humanity didn't even notice, of course) were muttering "amen brother!"

Re:When SVG almost got network support for raw sockets by exsf0859 on Friday March 31, 2023 @12:26AM (#35382547)
Besides animation and games, Flash was also used for streaming video and video conferencing.

iPhone customers were so desirable that, over time, the video streaming sites had to support Apple's video streaming format. They would have also supported Apple's video conferencing app, but I think Apple was unable to open-source the protocols for the video conferencing format, due to patent issues.

Re:When SVG almost got network support for raw sockets by duskwuff on Friday March 31, 2023 @12:50AM (#35382727)
> had to support Apple's video streaming format

It's a little weird to call an open standard (like H264) "Apple's format".

Re:When SVG almost got network support for raw sockets by Evidlo on Friday March 31, 2023 @01:31AM (#35382997)
H264 isn't open though, depending on your definition of open
Re:When SVG almost got network support for raw sockets by duskwuff on Friday March 31, 2023 @01:36AM (#35383046)
Fine, pretend I said "industry standard" then. Either way it wasn't something Apple made.
Re:When SVG almost got network support for raw sockets by lultimouomo on Friday March 31, 2023 @02:14AM (#35383309)
H264 is not a streaming format. HLS is, and it is pretty much "Apple's format". It's pretty backwards, and everyone was forced to support it because it was the one streaming format you could use in iStuff.
Re:When SVG almost got network support for raw sockets by geocar on Friday March 31, 2023 @02:35AM (#35383455)
> It's pretty backwards

I think it's pretty clever.

There are a lot of usability issues with firewalls and proxies that make implementing other streaming protocols very difficult, and the HLS design basically causes the implementer to adopt a pattern that is resilient to those problems.

Networks got a lot better after Covid had everyone work from home so IT had to sort the hot-path out for videoconferencing. Nowadays I think WebRTC would be fine, but in 2009 I think HLS was pretty smart.

Re:When SVG almost got network support for raw sockets by lultimouomo on Friday March 31, 2023 @04:54PM (#35393510)
I am comparing HLS with other HTTP-based streaming formats - DASH and SmoothStreaming. They definitely have their issues (DASH in particular is the epitome of the second system syndrome) but they fix the two most glaring issues with HLS: separate manifests and non-aligned segments.

Source: I write an HTTP streaming client library for a living.

Re:When SVG almost got network support for raw sockets by geocar on Saturday April 01, 2023 @01:21AM (#35397387)
How can HLS be a move backwards if it came out before DASH and SS?

Why do you think users care about “separate manifests and non-aligned segments” more than the video playing and not stalling and having to refresh?

Re:When SVG almost got network support for raw sockets by lultimouomo on Saturday April 01, 2023 @02:21PM (#35402617)
SS came out in 2008, HLS in 2009.

Separate manifests and non aligned segments have a real impact on the ability of the client to switch qualities in responsabilità to bandwith change, and this to avoid stalling.

BTW, when I say "HLS is pretty backwards" I mean designed unergonomically and without clear requirements in mind, not a step back from what existed before. I would guess this is because the original specification was something like "whatever Major League Baseball can easily stream from their existing setup" (see the various Pantos drafts that ultimately became RFC8216)

Re:When SVG almost got network support for raw sockets by geocar on Saturday April 01, 2023 @03:18PM (#35403188)
> SS came out in 2008, HLS in 2009.

Oh you're quite right! I was definitely mis-remembering silverlight.

> Separate manifests and non aligned segments have a real impact on the ability of the client to switch qualities in responsabilità to bandwith change, and this to avoid stalling.

I don't know if that's actually true. I sell ads, so I'm collecting delivery data on billions of devices, but only over the crappy internet that has a lot of ads on it, and at least for short videos, and the long videos after the places those short videos are, HLS stalls less than Dash and silverlight: HLS publishers make more money.

I would be interested in learning more.

> I mean designed unergonomically and without clear requirements in mind

I can easily agree with that. I misinterpreted what you meant by "backwards" as referring to the progress of the experience.

Re:When SVG almost got network support for raw sockets by mikeryan on Friday March 31, 2023 @10:18AM (#35387521)
HLS was a significant improvement over other options for live (rtmp) and adaptive bitrate solutions.

I mean it could be delivered via HTTP and was was built off of open standards for the manifest files. (HLS just breaks down mp4 files into smaller chunks and lists them in a text manifest file based on the mp3 playlist spec) *

It significantly moved the needle forward on how video was delivered and did so in a standards based way until DASH came along.

Not sure why the hate here for their “proprietary standard” it wasn't proprietary - just no one was using it and it eventually became a defacto standard because it “just works”.

* I know I’m simplifying this.

Re:When SVG almost got network support for raw sockets by duskwuff on Friday March 31, 2023 @03:07PM (#35391855)
In particular, HLS allows existing HTTP load balancers and content distribution networks to be reused for video streaming -- you don't need to build or buy application-specific infrastructure to use it, as you would have with previous streaming protocols.
Re:When SVG almost got network support for raw sockets by giantrobot on Friday March 31, 2023 @03:48PM (#35392516)
Back when streaming meant RTP/RTSP the MPEG-4 file format, and the way bitstreams were packaged, definitely supported streaming. Not only does the format have a sample mapping table but it supports streaming hint tracks to give a server packetizing hints.

Scaling RTSP was difficult because it required two way signaling with the server and for the server to maintain client state. Using HTTP instead allowed for stateless servers in a CDN to easily scale and pushed stream negotiation onto the client. Besides simplifying the server side of streaming it made it much easier for clients switching from cellular to WiFi to maintain a stream, RTSP (and protocols like it) can't really handle clients switching addresses mid-stream.

Re:When SVG almost got network support for raw sockets by Groxx on Friday March 31, 2023 @12:17AM (#35382492)
It was divisive, but I wouldn't say "not well received". The "Flash deserves death" camp was very large and very, very happy that someone with power was finally calling them out on their horrific security record.

Losing the high-quality authoring environment, without anyone producing something competitive, was a pretty big blow. But for the rest, I'm quite glad to see invasive browser plugins disappear.

Re:When SVG almost got network support for raw sockets by wlesieutre on Friday March 31, 2023 @09:27AM (#35386827)
Maybe not well received from Windows users?

It had some fun games but on the Mac side it was always an unstable dumpster fire. Having the iPhone browser start to push people away from making entire Flash-based websites so they could play music and crash my browser was a godsend.

Re:When SVG almost got network support for raw sockets by dutzi on Friday March 31, 2023 @12:59PM (#35389943)
There was also the Adobe Loves Apple campaign

https://www.fastcompany.com/1646594/adobe-launches-hearts-an...

Re:When SVG almost got network support for raw sockets by twelvedogs on Friday March 31, 2023 @09:57PM (#35396255)
It was incredibly well received by web devs
Re:When SVG almost got network support for raw sockets by kristopolous on Thursday March 30, 2023 @11:57PM (#35382367)
They're often the ones holding the gun.

Example: if they didn't remove the 3.5mm headphone jack, almost nobody else would have.

Re:When SVG almost got network support for raw sockets by gopalv on Friday March 31, 2023 @12:04AM (#35382406)
> They're often the ones holding the gun.

Apple customers historically are often the most accepting of new things, even if that means change that involves spending more money, because Apple will cover the other end of change well (& expand a little that way).

The 3.5mm jack loss is tolerated because of airpods.

I'm old enough to remember the furor caused by Apple taking the 3.5 floppy drive when every publisher used Apple hardware for QuarkExpress & everything Adobe, replaced with this new-fangled usb thing.

The crucial thing over there was that Apple didn't bring in their own USB drive thing, but instead let IOMega try to deliver it & it went poorly for Apple customers who had big data swaps between them & others (DTP shops, magazine layouts, Photoshop artwork etc).

Re:When SVG almost got network support for raw sockets by KerrAvon on Friday March 31, 2023 @01:02AM (#35382790)
You have to remember that this was pre-iPod — Apple did not have infinite money at that time; it had been not quite two years since it was nearly bankrupt. They really had to be careful with resources. Having third parties provide all of the interesting external peripherals might have been a simple necessity.
Re:When SVG almost got network support for raw sockets by kristopolous on Friday March 31, 2023 @01:24AM (#35382956)
Nah, Steve was smarter than that. First, removing the floppy bought Apple millions of dollars worth of publicity - it seemed scandalous and people still remember it 25 years later just like he somehow got away with using public domain images of Ghandi and Martin Luther King to hawk consumer electronics. It was as if Albert Einstein personally thought you should really buy an iPod.

Second, as with all of Apple products, aesthetics concerns were more important than functionality. If you've ever dealt with that original iMac, it's a tight fit. The design ratios would be off with a floppy so it had to go.

Now I wish it didn't also have a bios battery that would freaking explode at about the 10 year mark, splattering battery acid everywhere and destroying the hardware but that's part of the long tradition of Apple's occasional exploding devices.

Re:When SVG almost got network support for raw sockets by laurencerowe on Friday March 31, 2023 @01:15AM (#35382898)
1.44 MB 3.5" floppy drives were becoming problematically small in the early 1990s, long before apple dropped the floppy drive from the iMac in 1998.

Iomega's Zip and Jaz drives came out in the 1994 and 1995 and were pretty popular for a while until CD-R and CD-RW drives became cheap and reliable enough in the late 1990s.

Perhaps the DTP shops were complaining about the iMac dropping the SCSI port which all Macs had had up to that point for USB, obsoleting their existing external SCSI peripherals - scanners as well as various external drives.

Re:When SVG almost got network support for raw sockets by toastal on Friday March 31, 2023 @01:53AM (#35383131)
Bluetooth earbuds are just not a substitute for wired heaphones. They could have supported both without compromising either but instead they started a trend of “we too have expensive-for-the-sound-quality branded earbuds” trend who’s two-year lifespan with little-to-no repairability will just be e-waste in the landfill. Thanks Apple.
Re:When SVG almost got network support for raw sockets by toastal on Friday March 31, 2023 @04:17AM (#35384155)
Hilariously, this includes the everyone's favorite Fairphone 4 which did away with the 3.5mm jack marketed with sustainability despite the waste these earbuds produce compared to a good pair of wired IEMs with detachable cable that can last a decade. Likely users had a pair of fine headphones and felt compelled to consume and buy a new pair of earbuds just to overcome the hassle of losing dongles or having to choose between charging or audio.
Re:When SVG almost got network support for raw sockets by avianlyric on Friday March 31, 2023 @07:23AM (#35385364)
> They could have supported both without compromising either

I find this a little hard to believe. If there really are no compromises to continuing to support the 3.5mm jack, then I would expect other phone manufacturers to continue support on their flagship devices, and hammer Apple for removing it.

I think in reality, mobile devices are so small, that having a single purpose port just doesn’t make sense. The 3.5mm port is larger in volume than a USB-C port, and USB-C is quite capable of carrying analog audio. I don’t see why any manufacturer would continue paying the cost of a 3.5mm port, when it’s so trivially rolled into other existing ports on the device.

I also suspect that the current domination of wireless headphone would have occurred even if the 3.5mm jack had stayed. After all it’s trivially easy to adapt a pair of wired headphones for a USB-C port or lightning port, and yet people still choose wireless headphones.

Re:When SVG almost got network support for raw sockets by enragedcacti on Friday March 31, 2023 @09:58AM (#35387259)
I don't disagree with your arguments but its hard not to point out the obvious conflict of interest with companies dropping the headphone jack while selling their own wireless headphones as the solution, both to the lack of headphone jack and to the fear of technical issues that BT headphones had at the time. I don't think we can really use the removal as evidence on its own when Apple, Samsung, Google, Xiaomi, Oppo, etc. all got a jump on a multi-billion dollar market because of their position as a device OEM.

The only real exceptions are Asus and Sony who are both targeting niche buyers with most of their phone offerings.

Re:When SVG almost got network support for raw sockets by toastal on Saturday April 01, 2023 @02:37AM (#35397757)
And if I can't find a feature phone soon that actually meets my needs, I'll be looking at picking up a last gen Asus or Sony phone when a new one drops to replace my aging/security-updates-no-longer-coming device. KaiOS 3.x phones are only in the US and aren't developer-friendly models. I'd love to see Linux phones take off, but having toyed around with Ubuntu Touch and postmarketOS, it's not really daily-drivable stuff that you could rely on. Luckily it seems OmniROM are consistently pumping out microG-supported options for Zenfones--whereas Sony the custom ROM scene appears weak likely due to the cost of the devices.
Re:When SVG almost got network support for raw sockets by toastal on Saturday April 01, 2023 @02:30AM (#35397726)
3.5mm audio jack is ubiquitous and universal--just like USB--and is audio is a very common, if not the most common, peripheral. Manufactures use port loss opportunity to try to push to you buy wireless new earbuds or a new wireless charging setup (that doesn't compete on wired charging speed or ubiquity). Consumers are probably choosing wireless earbuds though because the dongle adds weight and inconvenience to what would otherwise be a standard audio port popular for decades--and many low-to-mid-end and feature phones still have the port because the target demographics aren't ones that are going to just go out and buy all new gear just to support the lifestyle a phone is pushing on them; consumers certainly aren't choosing wireless for their price, sound quality, or build quality, or repairability in comparison to wired options.

I could get on board with the idea iff, phone manufactures had dual USB-C jacks (ideally one at the bottom and one at the side and this could make it easier to consume landscape content like movies/games). Right now you have to choose between audio or power delivery with one port (or have a massive dongle that's half the size of the phone).

Re:When SVG almost got network support for raw sockets by BeFlatXIII on Saturday April 01, 2023 @10:54AM (#35400770)
If nothing else, they should return the headphone jack on their plus-size phones (& iPads, if they've also dropped it). I can buy needing the room for the battery on the normal-size and mini phones, but not the plus models.
Re:When SVG almost got network support for raw sockets by tshaddox on Friday March 31, 2023 @12:51AM (#35382737)
That seems like the exact opposite of “holding the gun.” Like they literally didn’t force anyone to do anything and as far as I know didn’t even try to use their influence to persuade any other company to remove the jack from their devices.
Re:When SVG almost got network support for raw sockets by kristopolous on Friday March 31, 2023 @01:06AM (#35382825)
So it's all been a purely stochastic random coincidence of cosmic entropy and Apple has been some prescient fortuneteller?

The removal of physical keyboards from phones, lack of a serviceable battery, notch, death of the floppy, removal of ports from laptops, 3.5mm jack, these all would have completely happened, exactly like they did, exactly in the way they did, without Apple?

Instead I believe we live in a dysfunctional era of "designer as absolute dictator" and it turns out copying Apple is a safer choice then wandering through the wilderness and claiming your own path.

Investors, the board, senior management, very few have that courage and the path of Apple knockoff feels less risky.

I hate the monoculture through risk aversion, especially spearheaded by a company that seems hell-bent on turning everything into a locked down consumer-grade appliance but I get why it's that.

Why low contrast hairline grey fonts on grey backgrounds was the design trend until Apple stopped and why flat design where you can't tell if something was interactive or not was extremely popular until Apple decided it wasn't.

Re:When SVG almost got network support for raw sockets by tshaddox on Friday March 31, 2023 @01:45AM (#35383089)
> So it's all been a purely stochastic random coincidence of cosmic entropy and Apple has been some prescient fortuneteller?

No, the options are not limited to “being a fortune teller” and “holding a gun.”

Re:When SVG almost got network support for raw sockets by illiarian on Friday March 31, 2023 @06:24AM (#35384896)
> Instead I believe we live in a dysfunctional era of "designer as absolute dictator" and it turns out copying Apple is a safer choice then wandering through the wilderness and claiming your own path.

Ironically you try to refute "Apple is prescient" and "Apple is holding the gun" with... "Apple is omnipotent, and all their decisions turn out right and are slavishly copied by others".

> I hate the monoculture through risk aversion, especially spearheaded by a company that seems hell-bent on turning everything into a locked down consumer-grade appliance but I get why it's that.

It's amazing that you call Apple risk-averse when they, to quote you, did all these things, often against considerable backlash: "The removal of physical keyboards from phones, lack of a serviceable battery, notch, death of the floppy, removal of ports from laptops, 3.5mm jack"

Don't forget that also it wasn't just "removal of physical keyboards from phones". It was launching a completely new product for a company that never made such a product in a highly competitive market with lost of entrenched players.

Risk-averse my ass.

Re:When SVG almost got network support for raw sockets by kristopolous on Friday March 31, 2023 @02:30PM (#35391267)
I didn't call apple risk-averse. Maybe you were tired. I called the designers of phones at companies like say Oppo, Xiaomi or Asus to be risk averse. This creates a monoculture because they heed to the Apple design patterns as a defensible position to their bosses and superiors. So if the product doesn't sell well they can point the finger at "well we cloned apple" as opposed to "well I insisted on this novel design" which would be a bad move.

It's the antithesis lesson of the Edsel. It made (at that time) the big 4 recalcitrant, overly conservative, and weary of change. Everything that GM acquired ended up looking like a giant amorphous indistinguishable blob.

People just want to do well and they get spooked by failures so patterns and histories create cultures of design. Nobody knows truly what the future is so they end up doing "best practice" which is a euphemism for cultural conformity.

Apple was not this under Steve. He was pattern breaking change in both Steve I and Steve II incarnations. And he had a superhero batting average. Why that is is a huge conversation outside the scope here but yeah I agree with you.

Please reread my comment. Thanks

Re:When SVG almost got network support for raw sockets by geraldhh on Friday March 31, 2023 @04:05AM (#35384074)
btw, what was the rationale behind that?

i mean, there's clearly enough space for it, so was it really just to make way for the (very profitable) earbud trend?

Re:When SVG almost got network support for raw sockets by illiarian on Friday March 31, 2023 @06:21AM (#35384875)
Apple bet on the wireless future across the board, and has been betting on it for a while. The results are a mixed bag to say the least.

As for headphones/earphones, IIRC there was a marked trend in adoption of bluetooth headphones, so Apple bet on that. Funnily enough, the competitors that derided Apple for removing the jack, and building some of their marketing campaigns around that, would remove the jack a year later.

Re:When SVG almost got network support for raw sockets by dontlaugh on Friday March 31, 2023 @06:26AM (#35384906)
There is no longer enough space for it on recent iPhones, it has been used for other things.

Personally I think you could still make a small phone with a jack, but ultimately it doesn't matter much either way. Adapters work fine and bluetooth works even better.

Re:When SVG almost got network support for raw sockets by derbOac on Friday March 31, 2023 @08:48AM (#35386305)
FWIW, I disagree. The best Bluetooth earbuds don't compare to 3.5mm in sound quality, and wireless just adds another charging dilemma, which is usually fine but can become an issue in certain situations. The adapters are fine in theory but often are clunky or incompatible across platforms. USBC would probably be fine but almost no one uses them and when they increasingly double as charging ports, you have the charging problem again.

3.5mm is a standard that just works and works everywhere. I hate the pressure to get rid of it. It seemed nothing but self serving on the part of phone manufacturers to do so and driven partly by DRM concerns and a desire to either sell accessories (airpods) or ride a minimalism trend to shave design and manufacturing costs.

Re:When SVG almost got network support for raw sockets by geraldhh on Friday March 31, 2023 @11:07AM (#35388227)
> 3.5mm is a standard that just works and works everywhere

absolutely everywhere, anytime!

Re:When SVG almost got network support for raw sockets by kristopolous on Friday March 31, 2023 @02:42PM (#35391435)
bluetooth has latency and it re-encodes audio to a lossy bluetooth audio standard (and yes I know there's at least two and the high-fidelity one isn't bad - it's still lossy) . Unless that is, Apple has "special bluetooth" that avoids this. I wouldn't put that past them. Link me to a doc if they do.
Re:When SVG almost got network support for raw sockets by BeFlatXIII on Saturday April 01, 2023 @10:55AM (#35400776)
"Bluetooth works even better"

Than what?

Re:When SVG almost got network support for raw sockets by dontlaugh on Saturday April 01, 2023 @02:52PM (#35402923)
Than wires with a jack at the end, in my personal opinion.

No analog unpredictability or crackling, clean digital all the way to the DAC matched to the speakers, no wires to tangle or damage, reliable controls.

Re:When SVG almost got network support for raw sockets by tetris11 on Friday March 31, 2023 @12:59AM (#35382780)
Anecdotally, it was the reason why I went for Nokia N900 as my first smartphone, because I didn't want to give up my beloved Newgrounds. Flash turned out to not run super well on the device, but by then it was too late and I'd already deep-doved into the Linux and on-device programming rabbit hole.
Re:When SVG almost got network support for raw sockets by bick_nyers on Friday March 31, 2023 @02:10AM (#35383272)
Anecdote #2: As a kid/preteen I never cared much about the iPhone or iPod Touch because I couldn't play Age of War and other games on either AddictingGames or Kongregate. Fruit Ninja etc. was cool but didn't feel complete enough of a game for me. I still had dial-up for a few years after the first iPhone released, so I would often save the webpage for a flash game, and then I could play it whenever (but not wherever).
Re:When SVG almost got network support for raw sockets by mejutoco on Friday March 31, 2023 @04:21AM (#35384184)
I think they were more part of the reason Flash died, than predicted it.

Also interesting that at the time Jobs did not want native apps on the iPhone, only web apps.

Re:When SVG almost got network support for raw sockets by londons_explore on Friday March 31, 2023 @05:25AM (#35384538)
Flash probably wouldn't have died had it not been for Apple's refusal to support it.

One could totally imagine a rewritten and modernized version of flash that became the dominant web experience (perhaps replacing HTML and javascript, which in many ways are inferior).

Re:When SVG almost got network support for raw sockets by macintux on Friday March 31, 2023 @12:42PM (#35389668)
That’s like saying one could imagine a modern U.S. rail infrastructure that allows pleasant passenger rail travel everywhere you want to go.

Of course it’s possible with enough time and money, but from all accounts Adobe could not have achieved it.

Re:When SVG almost got network support for raw sockets by stuaxo on Friday March 31, 2023 @09:02AM (#35386497)
I'm pretty sure Adobe did build a version even if it wasn't released.