News for hackers. Stuff that matters.
Re:LibGen's Bloat Problem by johndough on Sunday August 21, 2022 @09:25AM (#32539954)
That graph of file size vs. number of files would be much easier to read if it were logarithmic. I guess OP is using matplotlib. In this case, use plt.loglog instead of plt.plot. Also, consider plt.savefig("chart.svg") instead of png.
Re:LibGen's Bloat Problem by liberalgeneral on Sunday August 21, 2022 @09:30AM (#32539991)
Here is the raw data if you are interested: https://paste.debian.net/hidden/77876d00/
Re:LibGen's Bloat Problem by johndough on Sunday August 21, 2022 @09:53AM (#32540202)
Thanks. Here is a logarithmic plot as SVG: https://files.catbox.moe/zbf35r.svg

On a second thought, a logarithmic histogram might convey even more information, but that would require all file sizes to recompute the bin sizes.

Re:LibGen's Bloat Problem by kqr on Sunday August 21, 2022 @10:25AM (#32540510)
Huh, this distribution is not the power law I would have expected. Maybe because it's limited to one media type (books)?
Re:LibGen's Bloat Problem by M3L0NM4N on Monday August 22, 2022 @02:31AM (#32548046)
Well it's a log graph.
Re:LibGen's Bloat Problem by kqr on Monday August 22, 2022 @07:13AM (#32549856)
Yeah, and a power law type distribution would be a straight line on a log-log plot, which this is not.