22 votes

ZIP is Broken, Except it’s Not, Except it Is

4 comments

  1. [2]
    dblohm7
    Link
    Fun fact: in Firefox, we take some liberties with the ZIP format to give us a performance boost when loading our JAR files. But this broke the ability to open the JAR with some ZIP utilities, so...

    Fun fact: in Firefox, we take some liberties with the ZIP format to give us a performance boost when loading our JAR files. But this broke the ability to open the JAR with some ZIP utilities, so we renamed the extension of our jar files to ja so that people wouldn't file bugs about it anymore.

    9 votes
    1. meghan
      Link Parent
      the more you know 🤯

      the more you know 🤯

  2. Silbern
    Link
    Fascinating, I love content like this. I remember a couple years back, I had an old 32 bit Pentium D machine, and I was trying to unzip a compressed copy of my backup folder. Only problem is, the...

    Fascinating, I love content like this. I remember a couple years back, I had an old 32 bit Pentium D machine, and I was trying to unzip a compressed copy of my backup folder. Only problem is, the 32 bit version of FreeBSD's unzip utility couldn't handle the 8 or 9GB file because it was too large! In the end, I believe I actually had to use OpenJDK's native unzipping utilities to decompress my files, and that worked fine. That was a memory I'd almost forgotten about, I haven't run into that problem in years. Thanks for the post OP! :)

    6 votes
  3. cfabbro
    Link
    Offtopic but obligatory: https://archive.org/donate/ IMO Internet Archive is one of the most important resources on the web and something we really shouldn't take for granted, so need to...
    • Exemplary

    Offtopic but obligatory:
    https://archive.org/donate/

    IMO Internet Archive is one of the most important resources on the web and something we really shouldn't take for granted, so need to consistently make efforts to ensure stays well funded.

    14 votes