this post was submitted on 27 Sep 2024
97 points (81.7% liked)

Showerthoughts

29723 readers
2313 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. A showerthought should offer a unique perspective on an ordinary part of life.

Rules

  1. All posts must be showerthoughts
  2. The entire showerthought must be in the title
  3. Avoid politics
    1. NEW RULE as of 5 Nov 2024, trying it out
    2. Political posts often end up being circle jerks (not offering unique perspective) or enflaming (too much work for mods).
    3. Try c/politicaldiscussion, volunteer as a mod here, or start your own community.
  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 44 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.