qbittorrent / qBittorrent

qBittorrent BitTorrent client
https://www.qbittorrent.org
Other
27.01k stars 3.89k forks source link

Decimal Prefixes #21110

Open aidan-gibson opened 1 month ago

aidan-gibson commented 1 month ago

Suggestion

It should be an option to use decimal prefixes instead of binary prefixes for Size. This is related to Issue #12971, but that is asking for decimal prefixes for speed.

Use case

I can only see torrent sizes in "GiB". I would like them to be in GB. image

Extra info/examples/attachments

No response

thalieht commented 1 month ago

I can only see torrent sizes in "GiB". I would like them to be in GB.

Why? You don't think that "GB" actually means "GB" anywhere else right? It's actually "GiB" despite what it says.

And fix the title to describe what you want. "Decimal Prefixes" means nothing.

p.s. you may want to look up the meaning of "decimal" and "prefix".

aidan-gibson commented 1 month ago

Literally google "decimal prefix," dipshit. Every single hit I see on the first page is exactly what I mean.

You're extremely ill-informed. I set all my programs to GB over GiB, and they are actually GB, not GiB. Ultimately I don't have a preference of one over the other, I just want consistency, and GB is used more often than GiB. I'm a pragmatist, I'm not all "boo hoo, bu-bu-but the compooter uses bits, it-it has to be a power of 2, puh-pwease" shut the fuck up.

You're a pedantic fucking moron.

thalieht commented 1 month ago

Literally google "decimal prefix,"

Ok i stand corrected.

I set all my programs to GB over GiB

Just curious, what other programs let you do that?

ArcticGems commented 1 month ago

I get it if you want speed to be shown in bps (but you know your max in binary prefix, so it shouldn't matter), but why torrent size?? The disk space it takes on the hard drive doesn't change.

Some programs let you toggle how speed is shown, but I have never heard about a program that that allows you to toggle how file size and disk space is shown.

aidan-gibson commented 1 month ago

That's because every program is already in GB, not GiB (I could make a list if you'd really like); the ones I manually configure not to be are usually cli tools like https://github.com/bootandy/dust. Another example I use heavily is https://github.com/eza-community/eza which defaults to decimal prefixes, but has a flag for binary prefixes for users who prefer it.

But this is silly to belabour. It would be trivial to add the option, and qbit already has dozens of preferences in settings. The devs are taking a philosophical stance that usage of decimal prefixes is silly, which is an opinion they're definitely entitled to, but blocking usage of it as a non-default setting is a bit frustrating. Having tried all the alternatives to qbit, I very much love the software and appreciate what the devs have done, and I'd be happy to submit a PR myself, but after seeing #12971 stagnant for half a decade I sincerely doubt that PR would be merged.

tl;dr we can argue the merits (or lack thereof) of binary vs decimal prefixes all day, but it's irrelevant--we should have the freedom of choice. @thalieht I apologize for my harsh comment earlier.

glassez commented 1 month ago

That's because every program is already in GB, not GiB

Note that GB (etc.) often actually mean GiB.

I'd be happy to submit a PR myself, but after seeing #12971 stagnant for half a decade I sincerely doubt that PR would be merged.

We can discuss Issues like #12971 as much as we want, but it won't get off the ground until someone suggests a PR. Do not hope that this will be done by someone who does not like this feature.