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

Showerthoughts

30042 readers
959 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
    • 3.1) NEW RULE as of 5 Nov 2024, trying it out
    • 3.2) Political posts often end up being circle jerks (not offering unique perspective) or enflaming (too much work for mods).
    • 3.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 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] AbouBenAdhem 45 points 2 months ago* (last edited 2 months ago) (3 children)

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

[–] [email protected] 16 points 2 months 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 21 points 2 months ago (3 children)
[–] [email protected] 21 points 2 months ago

tar -xzvf filename

With a bad pretend accent:

Xtract

Zee

Vucking

File

[–] [email protected] 19 points 2 months ago

The cheeky option:

tar -h

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

[–] [email protected] 4 points 2 months ago

tar -cf stop-nuke.tar

[–] [email protected] 2 points 2 months ago (2 children)
[–] AbouBenAdhem 9 points 2 months ago (1 children)

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

[–] [email protected] 2 points 2 months ago

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

[–] [email protected] 3 points 2 months 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.

[–] [email protected] 0 points 2 months ago* (last edited 2 months ago)

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