General statistics
List of Youtube channels
Youtube commenter search
Distinguished comments
About
Lawrence D’Oliveiro
Fireship
comments
Comments by "Lawrence D’Oliveiro" (@lawrencedoliveiro9104) on "gzip file compression in 100 Seconds" video.
The key point not mentioned here is that information content is a statistical concept. The closer your data stream looks like to random noise, the less compressible it is. It is inherent in the design of compression algorithms that they produce a data stream that looks very much like random noise.
7
The main use for archives that I see is not for saving my own data, but for distributing collections of files. And normally when you get one of those you want to extract everything.
7
zstd is widespread enough that you can consider it portable nowadays. And tar supports it, too.
6
If your images use a compression like JPEG, then they already look very much like random noise. In which case further compression isn’t going to work very well.
4
So which “one thing” does tar do? It was originally about saving files to tape, but that function is essentially obsolescent now.
2
Yes, it is definitely becoming more popular. Blender has removed the option for gzip compression when saving its documents (though it can still read existing gzip-compressed ones) in favour of zstd.
2
That’s nothing ... try a “zip bomb”.
1
Actually tar will automatically recognize the compression format when extracting, so “xvf” should work on all compressed tar archives.
1
Most download tools and protocols very quickly acquired the ability to resume interrupted transfers, precisely to get around this problem.
1
@xrafter The OP did say “archiving a folder”, not “archiving a single file”.
1
tar supports a number of different compression methods these days, not just gzip. Which is the best? I was going to say bzip2, but I think zstd is taking over nowadays.
1
@astral6749 Does it? Ah, it’s the way you pronounce “z”.
1
“f” means create an output file, rather than writing to a tape drive.
1
Too bad.
1