this post was submitted on 27 Sep 2024
98 points (82.2% liked)

Showerthoughts

29677 readers
1289 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

  1. All posts must be showerthoughts
  2. The entire showerthought must be in the title
  3. Avoid politics (NEW RULE as of 5 Nov 2024, trying it out)
  4. Posts must be original/unique
  5. Adhere to Lemmy's Code of Conduct

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

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

[–] LostXOR@fedia.io 16 points 1 month 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@lemmy.world 21 points 1 month ago (3 children)
[–] pixeltree@lemmy.blahaj.zone 21 points 1 month ago

tar -xzvf filename

With a bad pretend accent:

Xtract

Zee

Vucking

File

[–] LostXOR@fedia.io 19 points 1 month ago

The cheeky option:

tar -h

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

[–] stoy@lemmy.zip 4 points 1 month ago

tar -cf stop-nuke.tar

[–] LodeMike@lemmy.today 2 points 1 month ago (2 children)
[–] AbouBenAdhem@lemmy.world 9 points 1 month ago (1 children)

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

[–] LodeMike@lemmy.today 2 points 1 month ago

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

[–] undefined@links.hackliberty.org 3 points 1 month 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.

[–] JasonDJ@lemmy.zip 0 points 1 month ago* (last edited 1 month ago)

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