News for hackers. Stuff that matters.
Re:Tar is an ill-specified format (2015) by yowlingcat on Monday March 29, 2021 @11:05PM (#26630899)
Really? And all this time, I was hoping that it wouldn't end up being a tarpit.
Re:Tar is an ill-specified format (2015) by ceratin6 on Monday March 29, 2021 @11:18PM (#26630956)
It’s all these modern smokers with their low-tar cigarettes.

Tar is tar. Let it be.

tar -czvf if you’re gzzy.

tar+gzip beats zip for most uses. I don’t know about whether 7z beats tar+gz, but I don’t think 7z is as ubiquitous, though that may not be true now.

Re:Tar is an ill-specified format (2015) by xt00 on Tuesday March 30, 2021 @01:12AM (#26631433)
And in case you didn't already know, there is a parallel implementation of gzip called "pigz" that functions just like gzip, but is super fast on a machine with lots of cores.. like many modern PC's! Say for example you have a 32 core amd machine, the speed up is awesome using pigz.
Re:Tar is an ill-specified format (2015) by yjftsjthsd-h on Tuesday March 30, 2021 @12:11AM (#26631196)
tar also wins by making it trivial to swap the compression; these days I personally favor .tar.xz or .tar.zstd over gzip.
Re:Tar is an ill-specified format (2015) by adgjlsfhk1 on Tuesday March 30, 2021 @12:23AM (#26631243)
It's a shame zstd is Facebook, because it's really awesome.
Re:Tar is an ill-specified format (2015) by Y_Y on Tuesday March 30, 2021 @03:03AM (#26631879)
Facebook produces tons of great FOSS, it's paid for with very dirty money, but I don't consider it tainted.
Re:Tar is an ill-specified format (2015) by rakoo on Tuesday March 30, 2021 @06:56PM (#26641551)
And Zstd was created before the creator joined Facebook
Re:Tar is an ill-specified format (2015) by adrianN on Tuesday March 30, 2021 @03:01AM (#26631869)
zstd is BSD 3-clause.
Re:Tar is an ill-specified format (2015) by QuercusMax on Monday March 29, 2021 @11:59PM (#26631144)
7zip always seemed really shady, almost intentionally so compared to zip and tar+gz. Always gave me the "leet haxor" vibe. 7zip makes me feel like I need to wash my hands.
Re:Tar is an ill-specified format (2015) by user-the-name on Tuesday March 30, 2021 @05:31AM (#26632644)
The 7z format is also a massive, MASSIVE over-engineered mess, that is basically impossible to actually implement full support for.
Re:Tar is an ill-specified format (2015) by GekkePrutser on Tuesday March 30, 2021 @01:16AM (#26631446)
7zip was a really old format for compatibility with 7-bit data streams. I used it all the time with packet radio in the early 90s. A bit like zipping and then base64 encoding does.

But I don't know how it got to the wares/hacker scene from there. I assume they will also have dropped the 7 bit thing as it would reduce efficiency by 1/8th on modern systems.

Re:Tar is an ill-specified format (2015) by lstamour on Tuesday March 30, 2021 @02:22AM (#26631690)
Edit: as another commenter rightly points out, it's likely unrelated. Here's the changelog: https://www.7-zip.org/history.txt That said the first entry at the bottom dates back to 2.00, so it's possible there was a 1.0 that predates this changelog:

2.00 Beta 1 1999-01-02 - Original beta version.

I'm pretty sure its popularity increased because it was one of the few options on Windows that was completely free to install with no nag screens, ever. It had a decent right-click menu; excellent usability for its time. And you wouldn't be tempted to use an older copy such as whatever shipped with Windows XP to extract archives. Plus it offered compatibility with all other formats including its own, and eventually apps like Firefox publicly shipped with 7zip Self-Extractors and such. And if you wanted to test whether 7zip really was more efficient, you could quickly try compressing files using different options - in my personal testing, 7zip often won back then. Not sure if results have changed recently given there are a few new compression techniques these days.

Re:Tar is an ill-specified format (2015) by Kwpolska on Tuesday March 30, 2021 @02:12AM (#26631650)
That's likely a different 7zip. The 7z format was invented in 1999, and the Wikipedia page [0] doesn't say anything about 7-bit compatibility. [0] https://en.wikipedia.org/wiki/7z
Re:Tar is an ill-specified format (2015) by totetsu on Tuesday March 30, 2021 @12:20AM (#26631231)
You don't even need the - tar is so tar