News for hackers. Stuff that matters.
Re:Z-Lib Visualizer by chmod775 on Monday September 29, 2025 @07:15AM (#45412352)
The byte counter seems broken somehow. "Compressing" a single character with a compression level of 0 says "12 bytes", yet in the visualization there's less than 8 bytes (~7.5).

When compressing with a level higher than 0, the bits also don't appear to add up to a natural number of bytes, so I'm thinking the visualization is missing some padding?

Re:Z-Lib Visualizer by duskwuff on Monday September 29, 2025 @02:51PM (#45417354)
At least for me, compressing a single "a" at compression level 0 gives me an output of 91 bits, which rounds up to 12 bytes.
Re:Z-Lib Visualizer by chordbug on Monday September 29, 2025 @06:25PM (#45419586)
I fixed the bug after reading the comment you replied to :) (I'm @lynn)

The LEN and NLEN items were not getting visualized.