652
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 01 Nov 2023
652 points (98.2% liked)
Technology
59583 readers
2575 users here now
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related content.
- Be excellent to each another!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, to ask if your bot can be added please contact us.
- Check for duplicates before posting, duplicates may be removed
Approved Bots
founded 1 year ago
MODERATORS
Tared files are cancer and should never be used for any reason.
Clearly you've never used Linux
Clearly you never needed that single file quickly from a 5gb and 12,000 files tgz archive.
Wtf are you on... It's literally just a way to turn a bunch of files into one. You can feed it into a makefile and make a single file installer like nothing. Apps are based on the concept. It's a key technology for all sorts of applications
It's so simple it works for anything, anywhere... It's like saying virtualization is cancer. It's often annoying when you have to interact with it directly, but everything we love is built on it
Tared compressed files are bad archives. You can't retrieve a single file without unpacking everything. You can't add new files or replace contents of existing files without unpacking and repacking everything. They are just very outdated and have poor design. There are no reasons to use them.
They're bad for storing files, but a great way to turn a folder into a file.
Installers don't need to be modified or used in part
Why do you continue talking about installers? That's not the reason people invented archives and compression.
Ok, you have this design, which every installer in the world uses. Some are more compressed, some are signed, some bootstrap a downloader - but at the end of the day, every downloadable installer uses the same basic concept. From Windows installers to dmg to flatpacks to app bundles - same basic idea.
A tarball is a bunch of files laid end to end, it's good for one thing and one thing only - treating a bunch of files as one. It's great at that... If you want to compress it, it's not context aware enough to let you decrepit them individually - they're encrypted as one file
It's a bad way to store compressed archived info, I'll grant you that, but it's a great way to share a program or library to reproduce a bunch of files that make no sense to handle individually.
For another example, what about the layers of a photo editing program? What about the individual tracks in a music editing program?
It's an incredibly useful pattern that is used in countless ways. It's simple, easy to implement, and used everywhere to great effect
Again, not the reason for archives.
... Do you think archives are just when you store old files on magnetic tape?
For fucks sake... That's what YOU think! And that's the problem! TAR is a shit archive format. Deal with it.
LMAO that makes so much sense. No wonder you got all weird when I brought up installers. You're picturing a file in a folder that contains something you want
There's a lot of kinds of archives.
Tarballs don't suck, they're just not for you. You can go back to your blissful ignorance of how often you've used a tarball seamlessly without realizing it happened, because someone else understood the upside of the tech