Earlier quoted context omitted.
there are A LOT of zip files using lzma in the wild. also, how about people learn to use updated software? should newer video compression technologies not be allowed in mkv/mp4. if you cant open it, well.. then stop using 90ies winzip
mkv or mp4 with h264 and aac is good enough. mp3 is good enough. jpeg is good enough. zip with deflate is also good enough.
7-Zip for Windows can now use more than 64 CPU threads for compression
161–170 of 220 posts
Re: 7-Zip for Windows can now use more than 64 CPU threads for compression
#162How does that work? You cannot write to disk before you know the compressed size. Or if you do you can use a data descriptor but you cannot write concurrently. I guess they buffer the compressed stream to RAM before writing to zip. If they want to keep their zip stable (always the same output given the same input), they also need to keep it a bit longer than necessary in RAM.
Re: 7-Zip for Windows can now use more than 64 CPU threads for compression
#163Earlier quoted context omitted.
> You can use ZSTD with ZIP files too! Support for which was added in 2020: > On 15 June 2020, Zstandard was implemented in version 6.3.8 of the zip file format with codec number 93, deprecating the previous codec number of 20 as it was implemented in version 6.3.7, released on 1 June.[36][37] * https://en.wikipedia.org/wiki/Zstd#Usage So I'm not sure how widely deployed it would be.
Most linux distributions have zip support with zstd.
Re: 7-Zip for Windows can now use more than 64 CPU threads for compression
#164Earlier quoted context omitted.
> Computers didn’t exceed 64 logical processors per system until around 2014. Server systems were available with that since at least the late 90s. Server systems with >10 CPUs were already available in the mid-90s. By the early-to-mid 90s it was pretty obvious that was only going to increase and that the 64-CPU limit was going to be a problem down the line. That said, development of NT started in 1988, and it may hav…
"Server systems" but not server systems that Microsoft targeted. NT4 Enterprise Server (1996) only supported up to 8 sockets (some companies wrote their own HAL to exceed that limit). And 8 sockets was 8 threads with no NUMA back then, not something that would have been an issue for the purposes of this discussion.
Re: 7-Zip for Windows can now use more than 64 CPU threads for compression
#1657-zip is one of the software that I miss since I’ve moved to macOS
Re: 7-Zip for Windows can now use more than 64 CPU threads for compression
#166Earlier quoted context omitted.
More 'useful' one is webp. It has both a lossy and lossless compression algorithm, which have very different strengths and weaknesses. I think nearly every device supports reading both, but so many 'image optimization' libraries and packages don't - often just doing everything as lossy when it could be lossless (icons and what not).
It's similarly annoying how many websites take the existence of the lossy format as a license to recompress all WebP uploads, or sometimes other filetypes converted to WebP, even when it causes the filesize to increase. It's like we're returning to ye olden days of JPEG artifacts on every screenshot.
In many (most?) cases, it's possible to get better compression and higher quality if you're willing to spend the CPU cycles on it, meaning that YouTube could both reduce their encoding load and increase quality at the same time, and content creators could put out better quality videos that maintain better detail.
It would certainly take longer to upload the multiple multiple versions of everything, and definitely it would take longer to encode, but it would also ease YouTube's burden and produce a better result.
Ah well, a guy can dream.
Re: 7-Zip for Windows can now use more than 64 CPU threads for compression
#167Earlier quoted context omitted.
> I wonder when we’ll start calling them “Office files”. Probably around the same time the save icon becomes something other than a 3 1/2" floppy disk.
Nowadays I’ve noticed fewer applications have a save icon at all, relying instead on auto-save.
Re: 7-Zip for Windows can now use more than 64 CPU threads for compression
#168Earlier quoted context omitted.
> Copyright (c) 1989 - 2014, 2018, 2019, 2020, 2022 Mostly it seems nutty that, after all these years, they’re still updating the zip spec instead of moving on to a newer format.
.7z and .tar.* have existed for at least 20 years now, but you are unlikely to see a wild 7z file and .tar.* is isolated to the UNIX space
That makes them useful for transferring an entire set of files that someone will want all or none of, e.g. source code, but terrible for a set of files that someone might want to access arbitrary files from.
Re: 7-Zip for Windows can now use more than 64 CPU threads for compression
#169Re: 7-Zip for Windows can now use more than 64 CPU threads for compression
#170Earlier quoted context omitted.
>how about people learn to use updated software? How about software developers learn to keep software working on old OSes and old hardware?
what software doesnt support OSs that are in active SECURITY support?