TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

From WinZips to GIFs, Jacob Ziv’s Algorithms Have Powered Decades of Compression

98 点作者 chha大约 4 年前

6 条评论

tombert大约 4 年前
I know it was meant as a bit of a goof, but i always thought that the &quot;look up the file in pi!&quot; idea was a clever way of doing compression[1], exploiting the fact that pi is normal and thus any given sequence of numbers will happen <i>eventually</i>, meaning that any given <i>file</i> that could possibly exist will show up eventually. Using this, you could theoretically just store two numbers to compress <i>anything</i>, a beginning point and an end point for its position in pi.<p>I&#x27;m aware this would be unbearably slow and the numbers to store really big files might end up taking more memory than LZMA, so I don&#x27;t need a lecture about it, I just thought it was an interesting idea.<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;philipl&#x2F;pifs" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;philipl&#x2F;pifs</a>
评论 #26908217 未加载
评论 #26908116 未加载
评论 #26908303 未加载
bobbyi_settv大约 4 年前
Did the word &quot;compression&quot; get cut off due to title length? Or is it intentionally being compressed in the original title as a meta-joke? Turns out it&#x27;s the former
评论 #26906830 未加载
0xcde4c3db大约 4 年前
&gt; The following year, the two researchers issued a refinement, LZ78. That algorithm became the basis for the Unix compress program used in the early ’80s; WinZip and Gzip, born in the early ’90s; and the GIF and TIFF image formats.<p>I don&#x27;t understand the inclusion of WinZip and gzip here. Those are based on DEFLATE, which I thought was deliberately derived from LZ77 and LZSS rather than anything particular to the LZ78&#x2F;LZW lineage (for patent reasons). Am I confused about something?
评论 #26907815 未加载
评论 #26912254 未加载
Twirrim大约 4 年前
&gt; Without these algorithms, we’d likely be mailing large data files on discs instead of sending them across the Internet with a click, buying our music on CDs instead of streaming it, and looking at Facebook feeds that don’t have bouncing animated images.<p>I really hate these hyperbolic statements. It makes it seem like if it wasn&#x27;t for Ziv and Lempel <i>no one</i> would have figured out how to do lossless compression, which is just utterly ridiculous.
low_tech_love大约 4 年前
“We would pick a book and then study together, like religious Jews studying the Hebrew Bible.“ Damn, I miss the days when I had the opportunity to actually do that. As a researcher, nowadays I’m forced to skim over many papers a day without having the time to actually study them and learn something deep about what the authors proposed. Anyone else thinks that the joy of creating&#x2F;learning has been replaced by the need of constant output and technical literature feels really shallow nowadays?
评论 #26912155 未加载
forgotmypw17大约 4 年前
accessible link for nojs clients:<p><a href="https:&#x2F;&#x2F;archive.is&#x2F;Bb1Aw" rel="nofollow">https:&#x2F;&#x2F;archive.is&#x2F;Bb1Aw</a>