Live data from Hacker News

Don't Use RAR

group.miletic.net

121–130 of 218 posts

Re: Don't Use RAR

#121
post #98

Earlier quoted context omitted.

7z does not offer archive recovery. This has saved my archived data couple of times, which would be gone, if I was using 7z.

I'm not familiar with compression very much, what's the difference between what 7z does versus "archive recovery"? Thanks

You'd need to use a tool like par2 (https://en.wikipedia.org/wiki/Parchive) on top of a 7z file to get a recovery record.

Re: Don't Use RAR

#122
post #98

Earlier quoted context omitted.

Most of these, if no all, is covered by 7-zip.

7z does not offer archive recovery. This has saved my archived data couple of times, which would be gone, if I was using 7z.

You can use an par2 file for that though. Yes, might be less convenient than having it built into the archive in some cases but on the other hand you can a) only download the .par2 file if you need it and b) use it to add error correction to files without putting them in an archive so you can access them directly and c) you can create the error correction information across multiple archives if you want.

Re: Don't Use RAR

#123

Earlier quoted context omitted.

Nah, it was all about .arj then.

Anyone remember .zoo? Those were the days...

I do now that you mentioned it. And there was an archive format starting with LZ* right? LZW? LZJ?

I mainly hit that one when downloading .MOD music.

(Edit, huh, .ZOO was based on LSW, so maybe I'm conflating the two)

Re: Don't Use RAR

#124
post #72

Earlier quoted context omitted.

Zstandard and Brotli are also not an archiving format, which the layperson normally expects to be a "compression" format, so the comparison is a bit off. But that doesn't really matter because there is 7-zip which is an archiving format AND compression format AND competitive to RAR AND open-source.

Yeah, you’d need to use something like *nix `tar` to do the archiving part. I think newer versions of tar already have support for Zstd.

> I think newer versions of tar already have support for Zstd.

You don't really need to have support for a particular compression fromat in the tar command since the tar format does not support compression at all and instead the output of tar is passed through a compressor such as gzip or xz that has its own encapsulation format. All the support in tar does is add switch to start that (de)compressor for you and, for GNU tar, to detect it based on the file extensions.

Re: Don't Use RAR

#125

The rar license prohibits writing a compatible compressor? What kind of nonsense is that? I clicked the license link and there is a scary looking anti-reverse-engineering clause, but 1) that sounds legally dubious given how the program is distributed; and 2) there is a FOSS decompressor, and studying that may be sufficient to write a compressor without examining the non-free official compressor. The article is right…

From the winrar download page you can download the binaries directly without agreeing to any license, which means its clauses wouldn't apply. It's already been established in the courts that merely using a piece of software does not imply acceptance of licensing terms; the parties must actively agree to it. That's why so many companies push in-your-face agreements that you must actively click "I agree" to.

Could I then download a zip of torvalds/linux from github and use it without abiding by the license as it’s never thrown in my face?

Re: Don't Use RAR

#126

Earlier quoted context omitted.

But slower.

It depends on which time you measure. 7zip's LZMA2 is, like most LZ algorithms, asymmetric that it is quite fast to decompress no matter how much you spend on the compression. By comparison RAR uses PPM in the highest setting, which is more or less symmetric so the compression and decompression takes about the same amount of time. When the target ratio is roughly same and high enough, LZMA2 is indeed slower than (RAR…

> It depends on which time you measure. 7zip's LZMA2 is, like most LZ algorithms, asymmetric that it is quite fast to decompress no matter how much you spend on the compression.

In fact, better compression with LZ formats often means faster decompression (at least compared to other settings of the same format) as there is less compressed data to pass through the expensive entropy coder (which itself has symmetric cost for encoding and decoding).

Re: Don't Use RAR

#127
post #125

Earlier quoted context omitted.

From the winrar download page you can download the binaries directly without agreeing to any license, which means its clauses wouldn't apply. It's already been established in the courts that merely using a piece of software does not imply acceptance of licensing terms; the parties must actively agree to it. That's why so many companies push in-your-face agreements that you must actively click "I agree" to.

Could I then download a zip of torvalds/linux from github and use it without abiding by the license as it’s never thrown in my face?

You can do that anyway, but if you wanted to break the license by distributing modified copies without providing sources, you would fall foul of copyright law.

Re: Don't Use RAR

#128

> There is an unofficial unrar that is free and open-source software, but there is no free and open-source rar as creating one is prohibited by the RAR license. From the license (EULA), I assume this is the relevant part: > You may not use, copy, emulate, clone, rent, lease, sell, modify, decompile, disassemble, otherwise reverse engineer, or transfer the licensed software, or any subset of the licensed software, exc…

Depends on where you live. It's not enforceable in my country according to a lawyer I consulted but it probably is enforceable in the USA. This "you agree not to exercise your rights" pattern is essentially standard legal boilerplate at this point and it boggles my mind that people can get away with it. It inevitably results in the corporation retaining all possible rights and privileges while the consumers own nothi…

What confuses me is how does WinRAR continue to exist as a profitable commercial entity? Are there actually enough companies out there paying licensing fees to them for using it? I can't imagine that being the case.

Re: Don't Use RAR

#129
post #125

Earlier quoted context omitted.

From the winrar download page you can download the binaries directly without agreeing to any license, which means its clauses wouldn't apply. It's already been established in the courts that merely using a piece of software does not imply acceptance of licensing terms; the parties must actively agree to it. That's why so many companies push in-your-face agreements that you must actively click "I agree" to.

Could I then download a zip of torvalds/linux from github and use it without abiding by the license as it’s never thrown in my face?

When you open the source the license is there.

Re: Don't Use RAR

#130
post #104

Earlier quoted context omitted.

I wouldn't send a RAR to my grandparents, but if I had to send pictures for a school reunion I would expect everyone to either know how to open a RAR or to be able to figure it out. Worst case they will google rar and will find WinRAR as the first result. For zstd or brotli I can't even name a GUI program able to open them outside a somewhat obscure 7zip fork.

Why would you try to compress pictures....in your case zip is as good as everything else (and less problematic to open)

Ok, bad example, imagine I would be sending you ... text files or something. The point I was trying to make was how viable it is, not how useful it is.
Post reply on HN