Skip to content

Why abbreviation is not the default metric? #356

Closed

Description

@barseghyanartur

Stats of the six look weird (as if it shows number of Gigabytes downloaded, not the total number of downloads). Why is abbreviation not the default metric?

Activity

  1. psincraian commented on Aug 15, 2021

    @psincraian
    Owner

    Because abbreviation is not a standard metric prefix https://en.m.wikipedia.org/wiki/Metric_prefix

  2. hugovk commented on Aug 15, 2021

    @hugovk
    Contributor

    I'd argue that standard doesn't apply here and makes things more confusing (see #180, #192, #346).

    • We say a kilometre and gigabyte, but we don't say "a kilodownload" or "gigadownload".

    • We don't use prefixes for "number of downloads".

    • We say "a thousand downloads" or "a billion downloads".

    "Number of downloads" are not an SI unit: seconds, amperes, kelvin, etc nor used as a non-metric units.

  3. psincraian commented on Aug 15, 2021

    @psincraian
    Owner

    To understand, are you suggesting to remove the prefixes? 🤔

  4. hugovk commented on Aug 15, 2021

    @hugovk
    Contributor

    I'd suggest using B instead of G for billion, like in #180.

  5. psincraian commented on Aug 16, 2021

    @psincraian
    Owner

    I know that some people complained, but there are only 4 complaints in 3 years I don't see is that bad as there is no standard. Some reasons I think G is better than B:

    • People created ~10 times more personalized badges with SI units compared to abbreviation, so there is a clear preference.
    • I know downloads is not an SI unit but I still think metric units prefixes are almost universal and every software engineer and datascientist is familiar with the term.
    • Billion in some countries is 10E9 and in others is 10E12, so it can create confusion for other people.
    • NPM downloads badge uses G instead of B for billion downloads.
  6. barseghyanartur commented on Aug 16, 2021

    @barseghyanartur
    Author

    @psincraian:

    Honestly, I didn't know about the B vs G story until I recently bumped into the stats of the six package (one of the few that reached the billion score) which might be the answer to your remark about only 4 complaints in 3 years.

  7. hugovk commented on Aug 16, 2021

    @hugovk
    Contributor

    Hi!

    • People created ~10 times more personalized badges with SI units compared to abbreviation, so there is a clear preference.

    May be because so few are in the billionaire's club, that "System metric" is the default, and the badge creator doesn't explain the difference between "System metric" and "Abbreviation"

    image


    • I know downloads is not an SI unit but I still think metric units prefixes are almost universal and every software engineer and datascientist is familiar with the term.

    Sure, in the context of gigabytes, but not in the context of "number of things".


    • Billion in some countries is 10E9 and in others is 10E12, so it can create confusion for other people.

    From #180 (comment):

    The "million million" definition is historical, both American and British English now recognize 10^9 as a billion.


    • NPM downloads badge uses G instead of B for billion downloads.

    Please could you point to one?

    https://www.npmjs.com/package/lodash doesn't have a badge, but it does show:

    Weekly Downloads
    39,341,043

    image

    And doesn't have any prefix, SI or abbrev such as:

    Weekly Downloads
    39M

    Thanks!

  8. barseghyanartur commented on Aug 16, 2021

    @barseghyanartur
    Author

    @psincraian:

    Hey, sorry, now I see your point. It's indeed very confusing (that various countries have different definitions for billion and onwards). I'm totally fine to leave it as is then.

  9. psincraian commented on Aug 16, 2021

    @psincraian
    Owner

    Hey,

    May be because so few are in the billionaire's club, that "System metric" is the default, and the badge creator doesn't explain the difference between "System metric" and "Abbreviation"

    May be or may be not :-)

    Sure, in the context of gigabytes, but not in the context of "number of things".

    Well, in all the International System of Units it applies (watt, ampere, metre, kilogram, etc). Also, as you point it's used for non-SI metrics also like bytes, but also decibels, and dollars.

    From the definition from Wikipedia

    A unit prefix is a specifier or mnemonic that is prepended to units of measurement to indicate multiples or fractions of the units.

    I think we can consider a download as a unit of measurement.

    The "million million" definition is historical, both American and British English now recognize 10^9 as a billion.

    It's true for the USA and UK, but the other half of the world is using a billion as 10^9 https://en.wikipedia.org/wiki/Long_and_short_scale#Current_usage

    NPM downloads badge uses G instead of B for billion downloads.

    Check lodash on shields.io: npm and here you can see the default text formatter

  10. psincraian commented on Sep 2, 2022

    @psincraian
    Owner

    I will convert this to a discussion :)

  11. Repository owner locked and limited conversation to collaborators on Sep 2, 2022
  12. converted this issue into a discussion #459 on Sep 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions