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

Showerthoughts

29429 readers
344 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
[–] fine_sandy_bottom@lemmy.federate.cc 16 points 2 weeks ago (4 children)

Not really. The "file types" you're talking about are expected to contain whatever things in a very specific format.

You're really just saying "many file types use an efficient and common compression algorithm". Which is correct, obvious, and to be expected.

[–] boletus@sh.itjust.works 2 points 2 weeks ago (1 children)

A .docx is just a zip file with xml documents in it.

[–] fine_sandy_bottom@lemmy.federate.cc 1 points 2 weeks ago (1 children)

What happens if I put an mp3 or an epub file in there with the xml? Is it still a word document?

[–] boletus@sh.itjust.works 1 points 2 weeks ago (1 children)

Maybe, I was just giving an example. Like Java jar files are just zip files with other jars in them.

My point is that the formats we're talking about define the content. Like it's not "just a zip file" merely because it's compressed. The format defines the data that may be included.

load more comments (2 replies)