this post was submitted on 27 Sep 2024
93 points (82.1% liked)

Showerthoughts

29294 readers
1634 users here now

A "Showerthought" is a simple term used to describe the thoughts that pop into your head while you're doing everyday things like taking a shower, driving, or just daydreaming. The best ones are thoughts that many people can relate to and they find something funny or interesting in regular stuff.

Rules

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] AbouBenAdhem 45 points 1 day ago* (last edited 1 day ago) (3 children)

AKA “Why zip doesn’t compress things much any more”.

[–] [email protected] 1 points 1 hour ago* (last edited 1 hour ago)

My 1.5gb log folders disagrees. But I never tried opening a .txt in 7-zip.

[–] [email protected] 14 points 23 hours ago (1 children)

I see images, audio, or video files distributed in zips far too often. You're getting maybe a percent of compression if you're lucky; just distribute the raw files or use a non-compressed bundle format like tar.

[–] Brickhead92 19 points 23 hours ago (3 children)
[–] [email protected] 18 points 20 hours ago

The cheeky option:

tar -h

Or is it tar --help? Oh no...

[–] [email protected] 19 points 21 hours ago

tar -xzvf filename

With a bad pretend accent:

Xtract

Zee

Vucking

File

[–] [email protected] 4 points 20 hours ago

tar -cf stop-nuke.tar

[–] [email protected] 2 points 1 day ago (2 children)
[–] [email protected] 3 points 19 hours ago

Not sure what the original point was but curiously I happened to use file on a an Apple .numbers file recently and found that it was a .zip file in disguise with zero compression.

So maybe the point was that it’s used often as a container format more often than it’s used for compression? Just my (unrelated) general computer work would also suggest this.

[–] AbouBenAdhem 9 points 1 day ago (1 children)

Zipping a file repeatedly typically doesn’t reduce the size further after the first time.

[–] [email protected] 2 points 1 day ago

Yeah duoy you [realistically] can't compress compressed data...