Earlier quoted context omitted.
Wikipedia mostly doesn't allow primary sources though. It needs to be corroborated by a reliable secondary source.
Which is why he actually said it could be cited: >I am the reference, having been part of all of that. This post could be cited in Wikipedia as an original source. His post on SO is the reliable secondary source.
How are zlib, gzip and Zip related? (2013)
121–130 of 145 posts
Re: How are zlib, gzip and Zip related? (2013)
#122Earlier quoted context omitted.
> The 32K back distance just limits how far back to use the duplicate data from the current cursor. It doesn't really limit the block size. Yes, which is a problem because the huffman encoding tree is at the begiing of the block (I believe). except for that, for LZ77 I believe it doesn't really matter when the block begins, because the deduplication is based on prior occurrences (within 32k), so as long as you have t…
In the risk of dragging this too far, tar is just a command line front end to gzip. It just forks gzip in a child process to pipe data to it. No zlib is involved. The archive.tar.gz means tar the files into archive.tar, then gzip it into archive.tar.gz. You can run gzip -d to get back archive.tar. Tar -czf is just a shortcut command. Tar cannot change the file format of .tar.gz. Otherwise, gzip -d won't work.
That is very much implementation-dependent. BSD tar does not fork, it's provided by and compresses through libarchive, which depends on zlib for gzip support (although it may fallback to forking gzip if not linked against zlib).
Re: How are zlib, gzip and Zip related? (2013)
#123In other compression news, Apple open sourced their implementation of lzfse yesterday: https://github.com/lzfse/lzfse . It's based on a relatively new type of coding - asymmetric numeral systems. Huffman coding is only optimal if you consider one bit as the smallest unit of information. ANS (and more broadly, arithmetic coding) allows for fractional bits and gets closer to the Shannon limit. It's also simpler to impl…
Apple's fse implementation is based on an open-source work from an individual which predates lzfse by about ~20 months.
https://github.com/Cyan4973/FiniteStateEntropy
It's even less optimized than the original one, due to a few errors that slipped through during lzfse conception.
http://encode.ru/threads/2221-LZFSE-New-Apple-Data-Compressi...
Re: How are zlib, gzip and Zip related? (2013)
#124The last few days i find myself wondering if there needs to be some kind of org set up to preserve this sort of info. Right now it seems to be strewn across a myriad of blogs, forums and whatsnot that risk going poof. And even if the Internet Archive picks them up, it is anything but curated (unlike say wikipedia, even with all the warts).
However, in this situation, the collaboration between Wikipedia and the Wayback may be what you had in mind. We're working with Wikipedia to make sure all external links from Wikipedia articles are backed up in the Wayback Machine, and there's a Wikipedia bot going around adding these links to articles.
Re: How are zlib, gzip and Zip related? (2013)
#125Earlier quoted context omitted.
I thought he was joking. Then I read the name: Adler: as in Adler-32 (the checksum function that zlib uses). Then I knew it was real. The darn author of zlib answered the question. That's as close as you're gonna get to "primary source" folks!
Mark Adler is such a boss. Check out his answers to space questions on http://space.stackexchange.com/users/265/mark-adler
Re: How are zlib, gzip and Zip related? (2013)
#126It seems like it wouldn't be that hard to create an indexed tar.gz format that's backwards compatible. One way would be to use the last file in the tar as the index, and as files are added, you can remove the index, append the new file, append some basic file metadata and the compressed offset (maybe of the deflate chunk) into the index, update the index size in bytes in a small footer at the end of the index, and ap…
Re: How are zlib, gzip and Zip related? (2013)
#127https://www.youtube.com/watch?v=_zvFeHtcxuA
The whole "The BBS Documentary" is great and I recommend starting at the beginning if you're interested in it.
Re: How are zlib, gzip and Zip related? (2013)
#128The last few days i find myself wondering if there needs to be some kind of org set up to preserve this sort of info. Right now it seems to be strewn across a myriad of blogs, forums and whatsnot that risk going poof. And even if the Internet Archive picks them up, it is anything but curated (unlike say wikipedia, even with all the warts).
The Internet Archive has both curated and non-curated collections. Right now the Wayback Machine doesn't have any curation, but that doesn't mean it's going to stay that way. However, in this situation, the collaboration between Wikipedia and the Wayback may be what you had in mind. We're working with Wikipedia to make sure all external links from Wikipedia articles are backed up in the Wayback Machine, and there's a…
How easily would it be to find the linked to stackoverflow answer on the archive if ever stackoverflow were to vanish from the net one day?
There was also a wikipedia article linked on HN recently about a certain mainframe terminal, and a spreadsheet program that make use of a special capability of that terminal. Said article was at risk of being deleted from wikipedia because they deemed it "original research".
Again, how easily could one find such an article within the archive?
Re: How are zlib, gzip and Zip related? (2013)
#129Earlier quoted context omitted.
Wikipedia mostly doesn't allow primary sources though. It needs to be corroborated by a reliable secondary source.
Which is why he actually said it could be cited: >I am the reference, having been part of all of that. This post could be cited in Wikipedia as an original source. His post on SO is the reliable secondary source.
Re: How are zlib, gzip and Zip related? (2013)
#130In other compression news, Apple open sourced their implementation of lzfse yesterday: https://github.com/lzfse/lzfse . It's based on a relatively new type of coding - asymmetric numeral systems. Huffman coding is only optimal if you consider one bit as the smallest unit of information. ANS (and more broadly, arithmetic coding) allows for fractional bits and gets closer to the Shannon limit. It's also simpler to impl…