Show HN: An interactive guide to compression basics
unwttng.com
unwttng.com
[1] https://i.giphy.com/l0Iy1ZcHArR9aAQta.gif (2.7MB)
[2] https://i.giphy.com/media/l0Iy1ZcHArR9aAQta/giphy.mp4 (307KB)
[3] https://media.giphy.com/media/l1J3OGcUiw8NeXuM0/source.mp4 (146KB) <-- optimized with ffmpeg
Of course, the term "viral" is itself used metaphorically here, and is also used as an analogy to a biological entity. But in this case, I think more people are aware of the existence of viruses than they are of the original meaning of the term "meme", though they might not make the conscious connection between a "viral" idea, video, or image and that of a biological virus or how it spreads "virally".
Spoilsport :P
However, otherwise an excellent introductory article. Got me reading about Shannon, Kolmogorov, and information theory now.
The GIFs are the "your babies" of this article.
Maybe if someone really likes King's works it'd be worth reading, but I didn't find it that interesting. I think perhaps if someone wanted to make a career out of writing, it'd be good to get a perspective on what it took him to "make it." Otherwise, eh.
BTW I think your content is great and I imagine you think so to. You commented on the fact that most of the comments were about the GIFs and not the content. I think that should be a not so subtle clue about the value of some lady waving in front of a green screen.
The result is beautiful, consistently formatted, lightweight, and perfectly readable plain text (fully integrated with my editor/OS, incidentally).
[1]: http://orgmode.org/
They also make me see the author as a bit immature (not necessarily true, but still).
1: https://akud.github.io/visualization-blogs/posts/01_content_...
Make sure to get the actual container (might need to do the image first) so you aren't left with giant gaps.
Perhaps some people are less susceptible to this than others.
> (100 / 200) = 0.5. Protip: compression ratios less than 1 are frowned upon.
> Unfortunately, it's not that simple. Say we had an algorithm (let's call it A) that, given any input whatsoever, was capable of achieving a compression ratio of strictly less than 1.
But starting with RLE is IMHO definitely a good choice --- far better than Huffman, as a lot of introductory material seems to do. A minimal LZ12/4 (4KB window, 18B max length; an old favourite of the demoscene intro packers) compressor/decompressor pair is literally a few hour's worth of work, and yields surprisingly good compression for its simplicity, much better than simple order-0 Huffman.
Any chance you want to do one on compression of a integer time series? How about variable length integers? Such an article would be very appreciated in IoT circles since data (timed voltage values) transfer and storage can get quite expensive for dollars and latency.
Cheers!
However, this article is dealing with the concept of compression in terms of a simple symbolic representation of data.
It's "eke": http://www.dictionary.com/browse/eke
Really liked the better/worse thing too, added some nice comparison
Including the size of each Obama JPEG could be pretty interesting too.
*goes ands talks to wife about compression basics :)
Hmm