News for hackers. Stuff that matters.
Re:HTML5 still doesn't replicate what mattered about Flash by 8organicbits on Wednesday December 30, 2020 @09:56PM (#25589096)
In terms of sending a single SWF file to someone: The HTML equivalent would be to inline your CSS and Javascript, and use data URLs to inline images/assets. Now you have a single, self contained HTML file you can send around and it will "play" when you double click it.

I suppose the point may be that no one has written a tool to package a HTML5 app up like that? Seems possible to build under certain constraints.

Re:HTML5 still doesn't replicate what mattered about Flash by stupidcar on Wednesday December 30, 2020 @10:22PM (#25589244)
They have. It’s called Webpack. There are also various similar tools.

EDIT: I got downvoted for telling the truth? The website is here if you don't believe me: https://webpack.js.org/ It literally does what the post I replied to asked for.

Re:HTML5 still doesn't replicate what mattered about Flash by claytongulick on Thursday December 31, 2020 @12:28AM (#25589872)
I've noticed an increase in upvote/downvotes based on whether or not a person agrees, rather than whether the comment was on-topic and contributed to the conversation.

I try to make a point of upvoting comments I disagree with, but that are clearly made in good faith in order to counteract this trend.

I suppose this problem is a normal low entropy state in community moderated systems.

It takes a lot more mental energy to moderate based on the value of the conversation rather than whether you personally agree.

Re:HTML5 still doesn't replicate what mattered about Flash by mook on Thursday December 31, 2020 @07:45PM (#25599266)
The older HTML equivalent would be to package it in a *.mhtml where the various parts are mime-encoded, like a multipart email would. It's only been around for decades. Creating it was saving a webpage in IE. Mozilla/Firefox never supported it, though, even though they already had the necessary code for doing email… possibly because they had inherited the Netscape mail codebase which was a bit difficult to reuse.