124 points · by gscott · 7y ago · 122 comments
The age of early hypertext was awash in such cases. The University of Minnesota only mentioned that they might introduce a charge for gopher servers, effectively killing the protocol. Various early conferencing and hypertext systems, including one from Sun Microsystems (NEWS?), and a few models from Microsoft, existed. Somewhere, Tim O'Reilly has commented about the early days of O'Reilly & Associates where he was looking at various options and made the early decision to not get locked into any one proprietary system, a choice which has paid handsomly.
The whole phenomenon of prortocol creation, promotion, evolution, and quite often, stagnation, is a fascinating and understudied one IMO. The role of non-market players, particularly government standards organisations, the military, and academic fields, is extraordinarily underappreciated.
Not sure I've seen protocol discussions there (just never bothered to look) but it shows a whole lot of academics and government employees in the mix, and some commercial actors as well.
It's disappointing since those programs succeeded beyond the dreams of avarice but were not designed to gather publicity. The fact that so much of our economic growth is undergirded by public research funding is forgotten even by direct beneficiaries.
There's an interesting transition as those groups moved from small (able to fit into a VW Bug, bus, or small bar) to large (auditorium, or multi-campus groups), and the relative frictions in new developments.
Past a certain scale, the easiest way to change a standard is to move forward, either abandoning or ignoring backwards compatibility.
Both software languages and various social networking protocols (there are ... many) are interesting cases in point. Mastodon is in many ways IRC v. 2.0 (and there are any number of competing contenders). There actually was (and/or is, depending on your judging criteria) a Usenet II, though it's seen limited popularity.
Another good source on much of this would be the late Pieter Hintjins. See for example:
https://mixitconf.org/en/blog/messaging---social-architectur...
Which is why I'm devastated how much new conversation about how things are put together is generally not hosted by the organizations involved, but is stored places like issues on Google Code (all gone), SourceForge (increasingly difficult and likely will begone), GitHub (which people don't seem to like to believe will one day delete their data); imagine if some of these early standardization efforts had done all of their communication on Internet protocols using the contemporary equivalent of Yahoo Groups or Google+--maybe using CompuServe or AOL?--and all of that work was now only around due to haphazard archiving efforts. (Google+ really burns me, as there was so much discussion of how things in the Android ecosystem works--particularly among all of the third-party forks, such as CyanogenMod--which is now just deleted and gone :/.)
A history of the Brooklyn Bridge and its builder notes, apparently as a form of admiration, that he designed every detail down to the nuts and bolts. Thing is, that's because he had to. There were no standard fasteners. (The book doesn't detail this, it's just a passing reference I happened to catch.) David McCullough's The Great Bridge: https://www.worldcat.org/title/great-bridge-the-epic-story-o...
Herbert Hoover, as US Secretary of Commerce, instituted the National Bureau of Standards (now the NTIS, I think), which among other things standardised weights, measures, and yes, fasteners. Rather hagiographically addressed here: http://lcweb2.loc.gov:8081/ammem/amrlhtml/inhoover.html
Joanne Yates has written on such thrilling topics as the evolution of the interoffice memo and standarisation of business communications (and though I'm writing tongue in cheek, I really do find the work fascinating), and has been working on a book on standards and their evolution. I've not read it but it may be of interest. Engineering rules : global standard setting since 1880 https://www.worldcat.org/title/engineering-rules-global-stan...
Simon Winchester has a book on machining and measurement, also not read, though based on his previous works it should be excellent. The Perfectionists: https://www.worldcat.org/title/perfectionists-how-precision-...
There was a fairly popular book on containerised freight shipping that came out within the past five years or so called The Box That Changed the World which looks at the standardisation of containerisation: https://www.worldcat.org/title/box-that-changed-the-world-fi...
Somewhere someone commented that one of the computer containerisation standards was simply a bunch of people coming to an agreement as to how to organise and and do things. My history with Linux has taught me that various packaging formats and systems (and the infrastructure surrounding them) have profound consequences and impacts, for users, adminstrators, and software producers.
I wish I could point to a single source and say "read this", but I'm really not aware of one presently.
Is it? Gifs have been wildly successful. Today, many web deverlopers prefer newer formats like png for both technical and philosophical reasons, but gifs continue to make up a huge fraction of internet pictures. The average 12 year old knows what a gif is.
This very rarely affects anything other than animations. People simply aren't using gifs for images as a matter of course today. For photos, it's largely jpeg (vastly higher compression, though lossy), for text-based images, png, though SVG is making inroads, particularly for data visualisations.
And simply using or supporting gifs became an issue -- it was political. That's not something you want to have happen to your standard.
Depends on what you mean by "know". If you mean "moving picture that is not a video", sure they do. But if you showed them an APNG they will probably call it a GIF as well.
That being said, PNG always had much stronger compression, in addition to supporting 24- and 32-bit color. Nowadays, we even have WebP that usually compresses better than PNG, and compresses far, far better than animated GIF. Animated GIF is a pretty ugly hack to the format, very inefficient for many common kinds of animations (or full-blown video as it's often used now); I've found that animated WebP can produce files around 10% the size of GIFs.
Though that's got nothing to do with why GIFs got so popular. That's purely because GIF is the only format that could display animations on every browser since 1995. The timing of PNG was rather unfortunate - the PNG team had decided on not supporting animation because GIF animation was rare and adding it to the spec would've unnecessarily complicated things. They froze the spec, planning to submit it to W3C and IETF for standardization - and then Netscape, in full "move fast and break things" mode, released Navigator 2 with animated GIF support. So soon every GeoCities page is full of annoying sparkly GIFs, PNG only lets you make boring stills, and we've got to support both formats forever.
More like a paragraph... https://en.wikipedia.org/wiki/Lempel%E2%80%93Ziv%E2%80%93Wel...
Personally, I like LZ more than LZW because it doesn't have to slowly "build up" the dictionary in the same way as LZW nor need bit-I/O (because you can have an 8, 16, or 32-bit "indicator", followed by that many literal or length/distance pairs) and thus makes for an even simpler (and faster) algorithm. The only downside is that it's more asymmetric, in that compression is usually far slower than decompression (which can be faster than memcpy() - see http://www.oldskool.org/pc/lz4_8088 ) because the former has to do a lot of searching while the latter is mainly copying memory.
There’s also a lossless webp variant.
One thing that would be nice would be a way to tell whether a WebP is lossy (in which case you should only edit/resize the original file, to prevent degradation), or lossless (edit as much as you please).
(This kind of lossy encoding would be possible with PNG too, but most PNG encoders don't have a lossy mode.)
(GIF is now patent-free, but PNG and FLIF are still better compression than GIF anyways.)
There is a trick where subsequent frames use transparency for non-changed parts of the image which gives a much better compression ratio than you might think.
I am absolutely incredulous that people choose to use a GIF over a proper video format to share video on places like Reddit in this day and age. I don't understand the motivation to do so.
Also, where have you been able to casually upload video to share quick bites like a cat making a funny face? You aren't going to upload a 12 second silent video to youtube. Up until very recently, gifs were the only permissible way to share this sort of content.
Video, until maybe the last 5 years, didn't.
It could have very easily been better. I'm not sure what the moral is.
It's not that a bad deal though, one minute of video is roughly 7Mo for something close to DVD quality. I had GIFS lasting a few seconds weighting way more, with terrible quality.
I'm not that well-versed in the matter, is WebP already supported widely? I mean, not just on desktop and advanced smartphones?
For nicely optimized GIFs like these https://iwdrm.tumblr.com/ then WebP really struggles. Try to convert some of them to WebP and you'll see the result is often bigger than the original GIF.
Input #0, gif, from 'tumblr_nxt634tytr1qe0eclo3_r1_500.gif':
Duration: 00:00:08.64, start: 0.000000, bitrate: 1434 kb/s
Stream #0:0: Video: gif, bgra, 500x269, 16.67 fps, 16.67 tbr, 100 tbn, 100 tbc
vs Input #0, matroska,webm, from 'bar.webm':
Duration: 00:00:08.64, start: 0.000000, bitrate: 252 kb/s
Stream #0:0: Video: vp9 (Profile 0), yuv420p(tv), 500x269, SAR 1:1 DAR 500:269, 16.67 fps, 16.67 tbr, 1k tbn, 1k tbc (default)
1434kb/s for the gif, vs 252 kb/s for the VP9 webm. Even this highly optimized gif is only highly optimized by gif standards.And as a side note: png does not strictly compress better; sometimes the ability to use palette indexes that are smaller than 8 bits is an advantage.
PNG does support 4-, 2-, and 1-bit indexed modes :)
Information is so incredibly cheap to distribute and copy today that I forget it was still very cheap to do so even before the Internet.
The dancing star gif posted in that github issue is 5,464 bytes in the original form and only 4,015 bytes when converted to a VP9 webm (with alpha channel) using ffmpeg's default settings.
> "There should always be an option to not convert to video."
I disagree. The conversion should be automatic. The converted result should then be compared against the original, and whichever is smaller should be sent to users. There may well be gifs that are smaller than their conversions, but I don't trust users to know which those are. Let the computer compare the two and make an objective decision.
It's more of a human-centric label for "short+looping+silent+autoplay video" than a tech-centric file format. A tad ironic given there's no longer a patent issue on the actual format.
https://help.imgur.com/hc/en-us/articles/208606616-What-is-G...
Nothing on imgur.com's homepage is a gif, for example. Same with gfycat.com.
How many of the things have been granted? How many filed? How much are the filing fees? How much are typical lawyering fees for it.
There are many among us who feel it is the actions of pure parasites on genuine tech innovation in software and systems so it's a question of how much was gouged by that decision (intentionally or otherwise).
The other one that could be interesting to know is the descriptive stats on salaries for patent attourneys specialising in software vs people being paid to program software.
https://bugs.chromium.org/p/chromium/issues/detail?id=514102
What's the difference (to the user) between an animated <canvas> and a silent video ?
Of course, we might be able to find a middle ground between disabling JS entirely and auto-playing all media, but it may be very hard, and that "middle ground" might be changing as website developers find new way to deliver auto-playing media that bypasses the browser's restrictions.
Animations would animate, but only play through once.
https://web.archive.org/web/20040116134137/linuxmafia.com/fa...
i've written a couple libs that help record canvas pixel art to gifs.
https://github.com/leeoniya/RgbQuant.js/
https://github.com/leeoniya/GIFter.js
btw, always compress with https://www.lcdf.org/gifsicle/ it's amazing.
It's the only format that works pretty much everywhere on every platform
We have engineers replacing tech that works with their half baked barley functioning versions that lose all the benefits of sharing and remixability of a GIF file.
Video files are easier to share, on account of being smaller, and easier to edit since you can use real video editing tools which is a lot easier than editing a gif frame by frame in gimp.
The only sense in which gifs are superior is they're easier to write a parser/renderer for from scratch, but I think that's relevant to virtually nobody.
No technical committee or even loose-consensus-running-code working group would ever come up with anything like that. The mode of pop-culture remixing that GIFs epitomize could never have been anticipated; the value that defaulting to silence delivers has still not gotten through to news sites (good ones, too!) that autoplay talking video over your headphones or god forbid the open plan office; it's even been reported[0] that porn works better for women in GIF mode.
That's because GIFs were never conceived for video. Consumer computer video was never conceived for pop culture remixing (despite having the experience of turntables to pick from). Porn was never conceived for women, for that matter.
GIFs are legacy left for us from a time between the fall of the Berlin Wall and the erection of the EU castle when everyone expected planning and bureaucracy to lose out to spontaneity bordering on anarchy. Many important HN recurring themes are here: privacy vs. normalized surveillance, free speech x hate speech x rogue counter-establishment right-wing speech, the freaking Mac App Store. Every "hacker" that defaults to the safe repressive position is someone who would rather that GIF looked that those barely-working WebM or whatever embeds found on Wikipedia, with little transport controls, bureaucratic efficiency and that wrongthink GIF memes were somehow blocked by "good DRM, DRM that prevents Putin from attacking the system".
Which system? The one that brought us Medium.com when we used to have Geocities. But we'll always have GIFs.
All this pop culture stuff comes over a decade from when the GIF was invented.
They do for me, because I view them with software that chooses to support such things. It really has nothing to do with the format itself.