297 points · by sgerenser · 3y ago · 187 comments
SVG had the same base layer functionality but network support would have been a big step towards making an open standard version of Flash. The iPhone was famously one of the last devices to drop support for Flash (due to both wild and regular security holes), and when they did, Flash (the predominant consumer web technology of the early-mid 2000s) finally died. It was a big deal. Had SVG gotten flash-like capability, it could have been a real game changer (although with giant security holes). Security back then was "somebody elses' problem" so while raw sockets seems wholly irresponsible by modern standards, back then it was the norm, partly because less than 10 million people worldwide really had any kind of risk exposure, plus the fact that the internet was still mostly decentralized, AOL was still considered a major force back then. Facebook and others with billions of users didn't exist yet.
Being the first to call the death on something seems to be an ongoing trend with Apple.
It was not well received at the time. Oh how things have changed.
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.
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!"
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.
https://www.fastcompany.com/1646594/adobe-launches-hearts-an...
Example: if they didn't remove the 3.5mm headphone jack, almost nobody else would have.
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).
i mean, there's clearly enough space for it, so was it really just to make way for the (very profitable) earbud trend?
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).
Of course it’s possible with enough time and money, but from all accounts Adobe could not have achieved it.
Also interesting that at the time Jobs did not want native apps on the iPhone, only web apps.
That said vector graphics and extreme sound compression was just how shit got done. In those days gaming and entertainment online was all about CD deployment, extreme delta patching, low bit rate audio (Teamspeak et al) and vector graphics when possible.
I miss those days. On top of it not yet being spoiled by billion dollar businesses, the extreme constraints meant that creative minds could excel far above and beyond corporate types. And that's why the internet had the reputation it did. The ones who were making waves were individuals and small development houses that were founder-driven. It's nothing like today.
From my memory¹ the big flash days in terms of my interaction with stuff created with it, started as I was upgrading from 36k6 to 56k at home (though I had faster access at University sites) and ended around the time I bumped up from 512kbit to 2mbit downstream.
*> But even with 56k, you're getting 5kBps.
Usually less. It was rare to connect faster than 45k on most lines, 42k on some.
Of course once upgraded (first from ~56k modem to 512kbit ADSL), and before upgrading at home but using faster connections at uni/work, there were other issues: often the sites we were getting the flash content from would not deliver nearly as fast as the new line could receive²³ so a ½Mbyte+ flash app could still take a noticeable time to arrive.
----
[1] UK here, landline internet tech rollout progress varied a lot between territories
[2] again, UK: some other-end bandwidth issues (and latency issues) might have been experienced differently where you are due to differences in [inter]national peering arrangements
[3] or if they did, there was enough latency to mask a chunk of the bandwidth benefit
HTML was basically frozen at the time, since this was when Internet Explorer had absolute domination of the browser space and Microsoft had decided not the develop it further. But innovation could still happen in Flash which Microsoft did not control, but what still popular enough that IE has to support the plug-in.
So W3C was trying to move the web forward through specs which were independent of HTML. SVG 1.2 was not just for logos, it was intended to be viable as a stand-alone application format (which required network communication). Another attempt was XHTML 2 which was not backwards compatible with HTML, but considered a fresh start.
Firefox changed that by creating competition in the browser space, which made innovation in HTML possible again.
What utterly changed was CSS and JS, though; you could say CSS was expanded to this absurd extend because HTML was bound to stay the same during W3C and then WHATWG's organizational lock on HTML.
Of course things turned out differently, and SVG became integrated in the HTML rendering engine and browser environment.
Isn't it the opposite? iOS never supported Flash, which helped kill it once iOS gained popularity.
I saw people saying basically the same in Twitter and almost mentioned that SVG with networking was going be positioned as a Flash competitor (and sure it makes sense!), but found no reliable source on this.
Do you have any source/link/PDF from that time mentioning this goal for SVG? I would happily update the article if you could link it here. Thanks!
It wasn't an explicit goal of SVG 1.2 to replace Flash. You should be able to dig out the working group charter to check that. However the way these groups worked was that there were various communities ('stakeholders' if you must) who contributed thoughts and ideas. At least one of the companies implementing SVG certainly did want a Flash competitor, and so was keen on sockets.
I think they all knew it wouldn't fly, but they get excited. You see the same with Chrome and stuff like USB and Bluetooth access.
It was so all pervasive you didn't have to explicitly say it.
HTML5 was flash killer. The way the Javascript standard developed was a Flash killer. Everything was aiming to kill Flash and take down Adobe.
Flash always seemed to work and load fast which likely had some role in it getting mass adoption.
Designing interactive animations (even games) without any programming knowledge was really easy.
I haven't seen anything as intuitive since.
A handful of folks in yesterday's Scratch thread were saying it could be a modern version of what Flash was. I haven't used it myself. https://news.ycombinator.com/item?id=35373052
For non-interactive things I use synfig https://www.synfig.org/ after learning some of the UI quirks it is okay for pure animation work without interaction.
https://github.com/ruffle-rs/ruffle
They released their first "progress report" a few weeks ago:
https://ruffle.rs/blog/2023/03/12/progress-report.html
Seems like good news. :)
[1]: https://www.gnu.org/software/gnash/
So, kept an eye on some of the other attempted players, but they didn't really seem to gain enough traction/adoption to really go places.
That's why I think this Ruffle thing has legs (eg "is going places"), as it's showing the right signs of actually getting adoption and traction. :)
As one data point, YouTube was still using flash as the default player on some old browsers and embedded players in 2015 [1]; it dropped support only in 2017 [2].
[1] https://www.theverge.com/2015/1/27/7926001/youtube-drops-fla...
[2] https://old.reddit.com/r/youtube/comments/6puoc2/did_youtube...
Actual raw (PF_INET, SOCK_RAW) sockets would allow you to do all kinds of additional crazy things beyond merely establishing a TCP connection or sending a UDP datagram.
I had the pleasure of working with Sarah at Basho long ago, one of the rare people who are as talented creatively as they are technically.
I LOVED Flash - it probably is one of the first software products I actually bought at the student price in highschool. Flash 5 was just magic, I thought.
I don't think any of those died because they were unfashionable. They died because the world/environment they were designed for changed or left them behind.
Flash was built for the world of desktop computers with a mouse, keyboard, and relatively large amounts of RAM. It was optimized for Windows/x86 but could also be made to run on other platforms and architectures. Even on Windows it was unstable and extremely insecure. On mobile its performance was atrocious and all on onMouseDown() events (the typical click event people used) just went nowhere. Flash as written also didn't tend to handle portrait aspect ratios nor window dimension change events well if at all. Adobe was also a terrible steward of the plug-in. They did not want to put the resources into making it good, they barely kept it up with security updates.
VB was similar in that it was designed for the unconnected 32-bit desktop world. Microsoft wanted to drop the VB6 runtime and just make the VB language hosted on top of the .NET runtime. It wasn't that the language was out of fashion, lots of LOB apps were written in VB in many companies, Microsoft was just uninterested in continuing development and had a new hotness they were pushing. VB.NET was an imperfect upgrade path for VB6 developers.
Flash died because the iPhone killed it because Adobe refused to work with Apple to make it more secure and more power-efficient. Ultimately it was Adobe's own-goal.
And Visual Basic was similarly a self-inflicted death, when Microsoft decided to make VB.NET incompatible with the previous VB6. But what was bad for Microsoft was good for the internet, as HTML+JS ultimately replaced VB6 for enterprise apps.
FoxPro I don't know about, though. Never approached Flash/VB in terms of popularity.
Flash videos and apps got easily replaced, and animations with HTML/CSS/JS, and those bite-sized Flash games basically got replaced with mobile gaming as apps.
Although i guess you still have the problem of serving the actual svg file. There are some http headers that can help with that (csp)
At this time of history SVG also was running on a belief that the correct solution to differing performance constraints was to have profiles. The high and low power profiles were not compatible such that you could easily end up in a position where you had content that could not display correctly in both at the same time.
SVG is a wonderful standard but it seemed pretty clear that all the scripting should be done in javascript, with SVG as an web element tag or document type.
It’s pretty cool what you can do dynamically. I have been playing with dynamic css inside of the SVG, but animations are my next step.
Our logo in an upcoming release uses inlined SVG, and it’s taking a class name property to change the text color dynamically.
https://github.com/elegantframework/elegant/blob/v2.0-alpha/...
One history of this era: https://medium.com/siliconpublishing/the-fall-and-rise-of-sv...
Covers a the general gotchas on phone number parsing (by convention, countries, and telco eccentricities).
And started using it. Thanks, Hacker News.
Oh, it’s a good thing that Full (networked) SVG didn’t get formalized.
https://leonidasv.com/til-parsing-phone-numbers-is-a-nightma...
You can always fall back to MS Paint: https://ms-paint-i.de/
Modern browsers can already communicate peer to peer (via WebRTC) and DDoS other web servers (via CORS failures or good old embedding).
Is the main concern the increased attack opportunity of non-web servers?
Although recently browsers changed rules for connecting to internal ips
There’s some more details in the WebSocket RFC for why it’s a bad idea to give access to tcp/udp sockets to untrusted code unless the receiving server is willing to receive them.
You can already cause OPTION requests, if the concern is denial of service (although these are presumably much easier to filter out at a load balancer or similar than arbitrary unauthenticated requests).
And yes, it would have made more sense to have TCP support rather than to force HTTP onto everything.
SVG stands for "scalable vector graphics" not for "static vector graphics". Scalable files, but not static or pixel oriented files can be scaled to a higher resolution without losing fidelity. You lose fidelity, when increasing the display size of a bitmap. Think of how your company logo appears, when zooming-in on a 16x16 icon version.