Live data from Hacker News

How are zlib, gzip and zip related?

stackoverflow.com

21–30 of 81 posts

Re: How are zlib, gzip and zip related?

#21

Found this hilarious: > This post is packed with so much history and information that I feel like some citations need be added > I am the reference (extracted a part of the conversation)

That's disallowed on Wikipedia. There, you must reference some "source". That "source" doesn't need to be reliable or correct, it just needs to be some random website that's not the actual person. First sources are disallowed.

I learned this when I tried correcting the wikipedia page on Docker. I literally wrote the first prototype. But this wasn't enough source for wikipedia. And to this day the English page is still not truthfull (interestingly enough, the french version is closer to the truth).

Re: How are zlib, gzip and zip related?

#23
post #21

Earlier quoted context omitted.

That's disallowed on Wikipedia. There, you must reference some "source". That "source" doesn't need to be reliable or correct, it just needs to be some random website that's not the actual person. First sources are disallowed.

I learned this when I tried correcting the wikipedia page on Docker. I literally wrote the first prototype. But this wasn't enough source for wikipedia. And to this day the English page is still not truthfull (interestingly enough, the french version is closer to the truth).

You could publish a little webpage called "An historical note about the Docker prototype" under your own name, which you could then cite on Wikipedia.

I think it makes perfect sense as a general and strict policy for an encyclopedia. It would simply be too hard to audit every case to check if it's someone like you, or a crank.

Re: How are zlib, gzip and zip related?

#25
Interesting -- I did not realize that the zip format supports lzma, bzip2, and zstd. What software supports those compression methods? Can Windows Explorer read zip files produced with those compression methods?

(I have been using 7zip for about 15 years to produce archive files that have an index and can quickly extract a single file and can use multiple cores for compression, but I would love to have an alternative, if one exists).

Re: How are zlib, gzip and zip related?

#26
post #6

Found this hilarious: > This post is packed with so much history and information that I feel like some citations need be added > I am the reference (extracted a part of the conversation)

Maybe a spoiler, but the "I" in "I am the reference" is Mark Adler: https://en.wikipedia.org/wiki/Mark_Adler

It's awesome how he is active on stack overflow for almost anything DEFLATE related. I once tried stuffing deflate compressed vector graphics into PDFs. Among other things, it turns out an Adler-32 checksum is necessary for compliance (some newer PDF viewers will ignore its absence though).

Re: How are zlib, gzip and zip related?

#27
post #25

Interesting -- I did not realize that the zip format supports lzma, bzip2, and zstd. What software supports those compression methods? Can Windows Explorer read zip files produced with those compression methods? (I have been using 7zip for about 15 years to produce archive files that have an index and can quickly extract a single file and can use multiple cores for compression, but I would love to have an alternative…

7zip has a dropdown called "Compression method" in the "Add to Archive" dialog that lets you choose.

Re: How are zlib, gzip and zip related?

#30
post #7
post #4

Earlier quoted context omitted.

What’s even more sad is that the SO community has since consequently destroyed SO as the home for this type of info. This post would now be considered off topic as it’s “not a good format for a Q&A site”. You’d never see it happen today. Truly sad.

Thing is, it could only be that way in its early days, when the vanguard of users came to it from word of mouth, from following Joel Spolsky or Coding Horror or their joint podcast. The audience is much bigger now and with the long tail of people, the number willing to put effort into good questions is too low, and on-topicness is a simple quality bar which can improve the signal to noise ratio.

They had a voting system. By having mods decide what was and what wasn't a 'good' question undermined the whole point of the voting system. Mods should use their powers to filter out hate/spam/trolling/egregiously off topic issues not determine relevance/usefulness. As others have pointed out SO was a site with great answers but awful for asking questions. This is why ChatGPT is eating SO for breakfast.

Even if a question was super similar to one that was previously asked has value in exactly that it might be phrased slightly better and be a closer match to what people were Googling.

Post reply on HN