Git archive generation meets Hyrum's law
Git archive generation meets Hyrum's law
Posted Feb 2, 2023 17:16 UTC (Thu) by ballombe (subscriber, #9523)Parent article: Git archive generation meets Hyrum's law
Posted Feb 2, 2023 18:06 UTC (Thu)
by epa (subscriber, #39769)
[Link] (4 responses)
Posted Feb 2, 2023 19:31 UTC (Thu)
by kilobyte (subscriber, #108024)
[Link] (3 responses)
Posted Feb 6, 2023 7:54 UTC (Mon)
by epa (subscriber, #39769)
[Link] (2 responses)
Posted Feb 6, 2023 10:35 UTC (Mon)
by farnz (subscriber, #17727)
[Link] (1 responses)
Or we could go one better; while making the compressor deterministic is hard, making the uncompressed form deterministic is not (when uncompressed, it's "just" a case of ensuring that everything is done in deterministic order). We then checksum the uncompressed form, and ship a compressed artefact without checksums.
Note in this context that HTTP supports "Content-Transfer" encodings: so we can compress for transfer, while still transferring and checksumming uncompressed data. And you can save the compressed form, so that you don't waste disk space - or even recompress to a higher compression if suitable.
Posted Mar 25, 2023 12:47 UTC (Sat)
by sammythesnake (guest, #17693)
[Link]
Posted Feb 2, 2023 18:33 UTC (Thu)
by mathstuf (subscriber, #69389)
[Link] (3 responses)
Posted Feb 2, 2023 19:26 UTC (Thu)
by ballombe (subscriber, #9523)
[Link] (2 responses)
Posted Feb 3, 2023 1:31 UTC (Fri)
by WolfWings (subscriber, #56790)
[Link] (1 responses)
There's near-infinite compressed gzip/deflate/etc bitstreams that decode to the same output.
That's the very nature of compression. They only define how to decompress, and the compressor can use whatever techniques it wants to build a valid bitstream.
Defining compression based on the compressor is, frankly, lunacy.
Posted Feb 3, 2023 22:45 UTC (Fri)
by ballombe (subscriber, #9523)
[Link]
Posted Feb 7, 2023 9:39 UTC (Tue)
by JanC_ (guest, #34940)
[Link]
Git archive generation meets Hyrum's law
Git archive generation meets Hyrum's law
Git archive generation meets Hyrum's law
Git archive generation meets Hyrum's law
Git archive generation meets Hyrum's law
Git archive generation meets Hyrum's law
Git archive generation meets Hyrum's law
Git archive generation meets Hyrum's law
Git archive generation meets Hyrum's law
So what ? The gzip source code is readily available. This is not an obstacle.
Git archive generation meets Hyrum's law