> recently we had a particularly bad case: a customer sent us an approximately 1 GB project file which was corrupt, for a game already published to Steam, which they'd spent months working on. They told us all their backups were corrupt too... Predictably, WinRAR's repair tool produced a 1 GB ZIP file that contained nothing.
Thirty years of creating and storing zip files on every major and some minor OSes, filesystems, sketchy transfer protocols, and unreliable media make me think that the huge number of issues this company has with corrupted ZIP files has nothing to do with the format or with its customers' bad practices. I think their software might just produce bad zip files.Recovering Corrupt Zip Files (construct.net)
dotancohen 8 hours ago
BatFastard 7 hours ago
toast0 7 hours ago
matja 6 hours ago
E.g.: 10% of Firefox crashes are caused by bitflips : https://news.ycombinator.com/item?id=47252971
ranger_danger 4 hours ago
akoboldfrying 3 hours ago
CrendKing 7 hours ago
cmovq 5 hours ago
This is very common for archive files. It lets you easily append a file to the end of the archive (overwriting the directory) followed by the updated directory. If it were at the start, you’d have to rewrite the entire contents of the archive to grow the directory.
yjftsjthsd-h 4 hours ago
LoganDark 3 hours ago
akoboldfrying 2 hours ago
yjftsjthsd-h an hour ago
bell-cot 2 hours ago
Isn't the point of compression is to eliminate such wastes of space?
yjftsjthsd-h an hour ago
LoganDark 3 hours ago
bell-cot 2 hours ago
Vs. the folks creating and testing filesystems would have to do a whole lot of work to add that feature. Followed by the folks doing higher-level software, most of which which need to handle files being prepended to.
In short - interesting idea, not worth the effort.
ahefner an hour ago
toast0 32 minutes ago
andrewshadura 7 hours ago
tyingq 5 hours ago
-g
--grow
Grow (append to) the specified zip archive, instead of creating a new one. If this operation fails, zip attempts to restore the archive to its original state. If the restoration fails, the archive might become corrupted. This option is ignored when there's no existing archive or when at least one archive member must be updated or deleted.