• Mass storage sizes (was: /dev/serial/by-id)

    From Stefan Monnier@21:1/5 to All on Tue Jan 7 16:10:01 2025
    8 TB is not that big. I have a external 18 TB drive. It is 18 TB in name
    only though! After fromating it with ext4 it only had 15TB of usuable
    space.

    18TB "on paper" is usually 18 * 1000^4 bytes, so if you convert this
    into "computer units" is ~16.37 * 1024^4 bytes. If you then make an
    ext4 filesystem on it with the customary 5% reserved for root, that gets
    you down to 15.5TB, to which you also have to remove the space used by
    inodes, so yes, probably about 15TB and of course, once you start
    putting actual files ion the drive, additional space will be used by directories and metadata.


    Stefan

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dan Purgert@21:1/5 to Stefan Monnier on Tue Jan 7 16:50:01 2025
    On Jan 07, 2025, Stefan Monnier wrote:
    8 TB is not that big. I have a external 18 TB drive. It is 18 TB in name only though! After fromating it with ext4 it only had 15TB of usuable space.

    18TB "on paper" is usually 18 * 1000^4 bytes, so if you convert this
    into "computer units" is ~16.37 * 1024^4 bytes. If you then make an
    ext4 filesystem on it with the customary 5% reserved for root, that gets
    you down to 15.5TB, to which you also have to remove the space used by inodes, so yes, probably about 15TB and of course, once you start
    putting actual files ion the drive, additional space will be used by directories and metadata.

    Now now, let's not derail a rant with facts :)

    That being said, I thought the variance from TB -> TiB was 10%; or have
    I gotten it backwards?


    --
    |_|O|_|
    |_|_|O| Github: https://github.com/dpurgert
    |O|O|O| PGP: DDAB 23FB 19FA 7D85 1CC1 E067 6D65 70E5 4CE7 2860

    -----BEGIN PGP SIGNATURE-----

    iQIzBAEBCgAdFiEE3asj+xn6fYUcweBnbWVw5UznKGAFAmd9S74ACgkQbWVw5Uzn KGAE2w/8Dit5XVRd57dogsYIGcNqPx76m6oRb/8vKhVzNptu6tpr0oOFHcV8eNn2 OV8YI/Llb9bkZqebs7LoEeFf51hSJ4t1JhnM4YfYC2JtEDGaie17SN248djBC2Ar rqSo1pvP6FB8YoInb6VtNuddYSxqHWiAQJsxfxPjrzLP3kG/QMy/0ebmq6bG8Roz LEh3Gl8DtoriH2vkECL4cYLmLwOrgrhKuPJQxJsW7GsDgpSOwtfdGfexRvoJspc3 0PV+QlshVFkMss/WApKjYzFFCsPuepVp2Rwm9lUipvzIbGGPyopYR9wIXuFsnuST vuOkH7/3PMfcuQ4qd/IoQuAkJ7vOoZfOyJOM+aE6e9oa7xaJRl0O3DGGk3SuBd+j bFajES4tGCmT3SIC3KepLJu/bDn5fm6HBbxbbO5y2V+G0BrGm8apcbmmEdDtFQET 70VFmpEscgaP0CF+2yzwrjrmWjpEW1spDx1gf9mG5bOFMAF0PhNEdCyqmcsk0ldG 2j09FyxP57nlzgJ1XhqmHBhLLM9GKaHs/H0yMCyAKsVT6xUQ7zUv1DHrMYuY5Y/v wGAZC27z14qTh/qNJJtDFWIywflU43gcP/AyGiAFZ3hLwF3WknGc4pQ0ARGhJ5Oc lPUSnkKAb3QxmcrT5cd7yJm0rCl+AkCHZSmLwVlfSPeoKo8MepQ=
    =BzJL
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Us
  • From Michael Stone@21:1/5 to Dan Purgert on Tue Jan 7 17:10:01 2025
    On Tue, Jan 07, 2025 at 10:44:00AM -0500, Dan Purgert wrote:
    On Jan 07, 2025, Stefan Monnier wrote:
    8 TB is not that big. I have a external 18 TB drive. It is 18 TB in name >> > only though! After fromating it with ext4 it only had 15TB of usuable
    space.

    18TB "on paper" is usually 18 * 1000^4 bytes, so if you convert this
    into "computer units" is ~16.37 * 1024^4 bytes. If you then make an
    ext4 filesystem on it with the customary 5% reserved for root, that gets
    you down to 15.5TB, to which you also have to remove the space used by
    inodes, so yes, probably about 15TB and of course, once you start
    putting actual files ion the drive, additional space will be used by
    directories and metadata.

    Now now, let's not derail a rant with facts :)

    That being said, I thought the variance from TB -> TiB was 10%; or have
    I gotten it backwards?

    TB is about 10% larger. One of the worst crimes in computer history was
    ever talking about storage in powers of 2, I really wish it would just
    go away. It has properties that nobody wants and has been the source of
    endless confusion, for really no benefits whatsoever.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From eben@gmx.us@21:1/5 to Dan Purgert on Tue Jan 7 17:10:01 2025
    On 1/7/25 10:44, Dan Purgert wrote:
    On Jan 07, 2025, Stefan Monnier wrote:
    8 TB is not that big. I have a external 18 TB drive. It is 18 TB in name >>> only though! After fromating it with ext4 it only had 15TB of usuable
    space.

    18TB "on paper" is usually 18 * 1000^4 bytes, so if you convert this
    into "computer units" is ~16.37 * 1024^4 bytes. If you then make an
    ext4 filesystem on it with the customary 5% reserved for root, that gets
    you down to 15.5TB, to which you also have to remove the space used by
    inodes, so yes, probably about 15TB and of course, once you start
    putting actual files ion the drive, additional space will be used by
    directories and metadata.

    Now now, let's not derail a rant with facts :)

    That being said, I thought the variance from TB -> TiB was 10%; or have
    I gotten it backwards?

    My intuition votes for 1-1000/1024 = 1-125/128 which is approximately 2.35%
    but it's been wrong before.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael Stone@21:1/5 to Michael Stone on Tue Jan 7 17:30:01 2025
    On Tue, Jan 07, 2025 at 11:05:11AM -0500, Michael Stone wrote:
    TB is about 10% larger.

    Hmm. Even talking about this is hard. The unit TiB is 1099511627776
    bytes while the unit TB is 1000000000000 bytes. That is, when talking
    about a drive, expressing it in TB is about a 10% larger number because
    the TiB itself is larger. E.g., a drive that is 20000000000000 bytes
    would be 20TB or 18TiB.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Thomas Schmitt@21:1/5 to Stefan Monnier on Tue Jan 7 17:40:01 2025
    Hi,

    Stefan Monnier wrote:
    18TB "on paper" is usually 18 * 1000^4 bytes, so if you convert this
    into "computer units" is ~16.37 * 1024^4 bytes.

    Dan Purgert wrote:
    I thought the variance from TB -> TiB was 10%; or have
    I gotten it backwards?

    Merchants insist on decimal only because their cash registers have no
    buttons for hex digits.

    0xA exp 0xC is 0xE8d4A51000
    0x2 exp 0x28 is 0x10000000000
    0x10000000000 / 0xE8d4A51000 = ~ 0x1.197D938

    So it's 0x19.8 per 0x100 loss for us hard working programmers when the
    scrooges point to the International System of Units as justification for
    giving us only a single-digit power of 0xA rather than a double-digit
    power of 0x2.

    I hope to have made my case sufficiently enough to get programmer's Teras
    next time i buy a disk.


    Have a nice day :)

    Thomas

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From tomas@tuxteam.de@21:1/5 to eben@gmx.us on Tue Jan 7 17:40:02 2025
    On Tue, Jan 07, 2025 at 11:05:01AM -0500, eben@gmx.us wrote:
    On 1/7/25 10:44, Dan Purgert wrote:
    On Jan 07, 2025, Stefan Monnier wrote:
    8 TB is not that big. I have a external 18 TB drive. It is 18 TB in name >>> only though! After fromating it with ext4 it only had 15TB of usuable
    space.

    18TB "on paper" is usually 18 * 1000^4 bytes, so if you convert this
    into "computer units" is ~16.37 * 1024^4 bytes. If you then make an
    ext4 filesystem on it with the customary 5% reserved for root, that gets >> you down to 15.5TB, to which you also have to remove the space used by
    inodes, so yes, probably about 15TB and of course, once you start
    putting actual files ion the drive, additional space will be used by
    directories and metadata.

    Now now, let's not derail a rant with facts :)

    That being said, I thought the variance from TB -> TiB was 10%; or have
    I gotten it backwards?

    My intuition votes for 1-1000/1024 = 1-125/128 which is approximately 2.35% but it's been wrong before.

    That would be for KB, but Tera is the third power of that. So it's about
    three times 2.35%, if you throw away the higher order terms (we physicists
    are cheap, like that ;-)

    Cheers
    --
    t

    -----BEGIN PGP SIGNATURE-----

    iF0EABECAB0WIQRp53liolZD6iXhAoIFyCz1etHaRgUCZ31W6AAKCRAFyCz1etHa RhQcAJ9iewEX7+bRrRnM8nX/hU6bwcvXWACfazkb35v72a4Bgvwy0R4j4dqNy8c=
    =LbHv
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From eben@gmx.us@21:1/5 to tomas@tuxteam.de on Tue Jan 7 18:00:01 2025
    On 1/7/25 11:31, tomas@tuxteam.de wrote:
    On Tue, Jan 07, 2025 at 11:05:01AM -0500, eben@gmx.us wrote:
    On 1/7/25 10:44, Dan Purgert wrote:
    On Jan 07, 2025, Stefan Monnier wrote:
    8 TB is not that big. I have a external 18 TB drive. It is 18 TB in name >>>>> only though! After fromating it with ext4 it only had 15TB of usuable >>>>> space.

    18TB "on paper" is usually 18 * 1000^4 bytes, so if you convert this
    into "computer units" is ~16.37 * 1024^4 bytes. If you then make an
    ext4 filesystem on it with the customary 5% reserved for root, that gets >>>> you down to 15.5TB, to which you also have to remove the space used by >>>> inodes, so yes, probably about 15TB and of course, once you start
    putting actual files ion the drive, additional space will be used by
    directories and metadata.

    Now now, let's not derail a rant with facts :)

    That being said, I thought the variance from TB -> TiB was 10%; or have
    I gotten it backwards?

    My intuition votes for 1-1000/1024 = 1-125/128 which is approximately 2.35% >> but it's been wrong before.

    That would be for KB, but Tera is the third power of that. So it's about three times 2.35%, if you throw away the higher order terms (we physicists are cheap, like that ;-)

    Right you are. Apparently I suck at exponential math. I must have been
    asleep that week.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dan Purgert@21:1/5 to Michael Stone on Tue Jan 7 18:10:01 2025
    On Jan 07, 2025, Michael Stone wrote:
    On Tue, Jan 07, 2025 at 10:44:00AM -0500, Dan Purgert wrote:
    On Jan 07, 2025, Stefan Monnier wrote:
    8 TB is not that big. I have a external 18 TB drive. It is 18 TB in name
    only though! After fromating it with ext4 it only had 15TB of usuable space.

    18TB "on paper" is usually 18 * 1000^4 bytes, so if you convert this
    into "computer units" is ~16.37 * 1024^4 bytes. If you then make an
    ext4 filesystem on it with the customary 5% reserved for root, that gets you down to 15.5TB, to which you also have to remove the space used by inodes, so yes, probably about 15TB and of course, once you start
    putting actual files ion the drive, additional space will be used by directories and metadata.

    Now now, let's not derail a rant with facts :)

    That being said, I thought the variance from TB -> TiB was 10%; or have
    I gotten it backwards?

    TB is about 10% larger. One of the worst crimes in computer history
    was ever talking about storage in powers of 2, I really wish it would
    just go away. It has properties that nobody wants and has been the
    source of endless confusion, for really no benefits whatsoever.

    Ah, found the mistake I made before.

    1024^4 / 1000^4 (9.9% bigger) vs. 1000^4 / 1024^4 (9.09% smaller).

    --
    |_|O|_|
    |_|_|O| Github: https://github.com/dpurgert
    |O|O|O| PGP: DDAB 23FB 19FA 7D85 1CC1 E067 6D65 70E5 4CE7 2860

    -----BEGIN PGP SIGNATURE-----

    iQIzBAEBCgAdFiEE3asj+xn6fYUcweBnbWVw5UznKGAFAmd9XZ0ACgkQbWVw5Uzn KGAEmA//S+t7FsB7GUaDQY2cSQ5jdwCJkeTxBdLrSVQ5lZZiV62Td/bq8oOwNyod g1kSuDDWXkfjFiVzL4q3U0nFaCa5/Mzk2JdhSZWF9gWrPM8LYbXYwVbECAGx7CGK drswE8eIYNGoeRGNUntErEZznODvqZKV98rUcwuuWeAVO+/JqH7qCENaTsM/5kHu SoQReaMlaEjel5bOgtGVOyAXV2hcsLpnyxasOe33DKB76NcAkgsGiKIAcK5hwmV8 QbMuSncFp22XZb1Z5IYM3jUzL7zp9vJj6PT14BMowDLNxn0tMZvqWaMB9s9x5Ptm o8wuklig0Qu53Rz/7w5mBjrLVhVms7upQH+1qf91J+cosSOduczeIhUge3KfERQm tTtHkwNUB88zu1OYU4OC57bR+VgezZSBQymZFBbzyh5ygrgZR1J7K6D/Tp/ZLj6T p1EN9wUjRUax/ls976/7AlPT1IK1gbHuaWc1fW3OYeVr0cPgGJ34CYOAI3o76b7m 0Y1LnbNvMAXWeFO2wVsQ7bpLPo7RUgRe0mnuQ76vekl8+VeaASxPtUXrGQ+D2GLW EBOeeI1mfhVPbH39Nom9lr4NSeCjZ2b+Ch6L1dic9zzTdQRLauqND765waYbNGFo 8ak/b+tDmC5x5kyZXh9N55meOeM+99FXHGNwXJ0sQu18jRA5HEE=
    =d12n
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Us
  • From Stefan Monnier@21:1/5 to All on Tue Jan 7 20:30:02 2025
    Merchants insist on decimal only because their cash registers have no
    buttons for hex digits.

    0xA exp 0xC is 0xE8d4A51000
    0x2 exp 0x28 is 0x10000000000
    0x10000000000 / 0xE8d4A51000 = ~ 0x1.197D938

    So it's 0x19.8 per 0x100 loss for us hard working programmers when the scrooges point to the International System of Units as justification for giving us only a single-digit power of 0xA rather than a double-digit
    power of 0x2.

    I hope to have made my case sufficiently enough to get programmer's Teras next time i buy a disk.

    Thanks Thomas! 🙂


    Stefan

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Stefan Monnier@21:1/5 to All on Tue Jan 7 20:40:01 2025
    That would be for KB, but Tera is the third power of that. So it's about three times 2.35%, if you throw away the higher order terms (we physicists are cheap, like that ;-)

    I think you meant 4th power, but what's a factor 1024 between friends.


    Stefan

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Nicolas George@21:1/5 to All on Tue Jan 7 21:10:01 2025
    Kushal Kumaran (12025-01-07):
    I point people to http://www.tarsnap.com/GB-why.html which is where I
    was first enlightened.

    Mostly something anybody should learn in junior high school physics,
    freshman high-school at worst.

    Except for one point: “this is a special case”. Except they are wrong
    about where the special case: it would be absurd for the same unit to
    mean something different depending on what it measures, so if you accept
    that one giga-octet of RAM is 1024^3 octets, you have to accept it
    everywhere of be ridiculously inconsistent with bad practical
    consequences.

    --
    Nicolas George

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Kushal Kumaran@21:1/5 to Michael Stone on Tue Jan 7 20:20:01 2025
    On Tue, Jan 07 2025 at 11:05:11 AM, Michael Stone <mstone@debian.org> wrote:
    On Tue, Jan 07, 2025 at 10:44:00AM -0500, Dan Purgert wrote:
    On Jan 07, 2025, Stefan Monnier wrote:
    8 TB is not that big. I have a external 18 TB drive. It is 18 TB in name >>> > only though! After fromating it with ext4 it only had 15TB of usuable
    space.

    18TB "on paper" is usually 18 * 1000^4 bytes, so if you convert this
    into "computer units" is ~16.37 * 1024^4 bytes. If you then make an
    ext4 filesystem on it with the customary 5% reserved for root, that gets >>> you down to 15.5TB, to which you also have to remove the space used by
    inodes, so yes, probably about 15TB and of course, once you start
    putting actual files ion the drive, additional space will be used by
    directories and metadata.

    Now now, let's not derail a rant with facts :)

    That being said, I thought the variance from TB -> TiB was 10%; or have
    I gotten it backwards?

    TB is about 10% larger. One of the worst crimes in computer history
    was ever talking about storage in powers of 2, I really wish it would
    just go away. It has properties that nobody wants and has been the
    source of endless confusion, for really no benefits whatsoever.

    I point people to http://www.tarsnap.com/GB-why.html which is where I
    was first enlightened.

    --
    regards,
    kushal

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael Stone@21:1/5 to Charles Curley on Tue Jan 7 23:10:02 2025
    On Tue, Jan 07, 2025 at 02:59:47PM -0700, Charles Curley wrote:
    Mr. Tarsnap forgets something. The reason disks are addressed in powers
    of two has to do with mathematics. Every hard and floppy disk out there
    has flaws. To get around that, data is divided into sectors, and
    checksums calculated. Done right, this allows for error correction for
    small flaws. The math works out better if you do it in chunks that are >integer powers of two. So floppy disks have sectors of 256 octets, and
    their attendant checksums. Modern hard drives schlep data in chunks of
    4096 (2^12) octets. And bytes these days are eight bits.

    The thing is, nobody cares about all that. It's an implementation detail
    that matters not to any normal person. Normal people care about things
    like "when I just look at the first couple of numbers of the size in
    bytes, is it the same thing as the size in <insert large unit> or do I
    need to do a bunch of math to answer a simple question?"

    GB or GiB? I don't care, just be clear which one you are using.

    Which nobody is. The right answer is to stop using power of two units
    because they are pointless.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Charles Curley@21:1/5 to Kushal Kumaran on Tue Jan 7 23:10:02 2025
    On Tue, 07 Jan 2025 11:09:06 -0800
    Kushal Kumaran <kushal@locationd.net> wrote:

    I point people to http://www.tarsnap.com/GB-why.html which is where I
    was first enlightened.

    Mr. Tarsnap forgets something. The reason disks are addressed in powers
    of two has to do with mathematics. Every hard and floppy disk out there
    has flaws. To get around that, data is divided into sectors, and
    checksums calculated. Done right, this allows for error correction for
    small flaws. The math works out better if you do it in chunks that are
    integer powers of two. So floppy disks have sectors of 256 octets, and
    their attendant checksums. Modern hard drives schlep data in chunks of
    4096 (2^12) octets. And bytes these days are eight bits.

    This business of using powers of ten to describe hard drives came from
    hard drive marketing weanies. They realized that using powers of ten
    made their drives *look* larger to the uninitiated. I worked at Maxtor
    about the time this was happening, and that's what the marketing
    weanies told me.

    The marketing weanies used GB for the powers of two numbers and for the
    powers of ten numbers, which, it it wasn't fraud, skated damned close.
    Someone since then has come up with GiB, making it possible to
    distinguish between the two.

    I don't much care. Americans use both imperial measures (miles) and
    metric (35 mm film, liter bottles of pop). The agile ones can use both.
    Mass is mass, whether you measure it in grams or pounds, on the Earth
    or on Luna. My lathe (Hi, Gene) is calibrated in millimeters: one turn
    of the handle moves the table 1 mm, and it is graduated in increments
    of .05 mm. I have both inch and metric taps, dies and drill bits. And
    lettered drill bits. GB or GiB? I don't care, just be clear which one
    you are using.

    Thus ends the rant.

    --
    Does anybody read signatures any more?

    https://charlescurley.com
    https://charlescurley.com/blog/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From gene heskett@21:1/5 to Charles Curley on Wed Jan 8 00:30:01 2025
    On 1/7/25 17:00, Charles Curley wrote:
    On Tue, 07 Jan 2025 11:09:06 -0800
    Kushal Kumaran <kushal@locationd.net> wrote:

    I point people to http://www.tarsnap.com/GB-why.html which is where I
    was first enlightened.
    Mr. Tarsnap forgets something. The reason disks are addressed in powers
    of two has to do with mathematics. Every hard and floppy disk out there
    has flaws. To get around that, data is divided into sectors, and
    checksums calculated. Done right, this allows for error correction for
    small flaws. The math works out better if you do it in chunks that are integer powers of two. So floppy disks have sectors of 256 octets, and
    their attendant checksums. Modern hard drives schlep data in chunks of
    4096 (2^12) octets. And bytes these days are eight bits.

    This business of using powers of ten to describe hard drives came from
    hard drive marketing weanies. They realized that using powers of ten
    made their drives *look* larger to the uninitiated. I worked at Maxtor
    about the time this was happening, and that's what the marketing
    weanies told me.

    The marketing weanies used GB for the powers of two numbers and for the powers of ten numbers, which, it it wasn't fraud, skated damned close. Someone since then has come up with GiB, making it possible to
    distinguish between the two.

    I don't much care. Americans use both imperial measures (miles) and
    metric (35 mm film, liter bottles of pop). The agile ones can use both.
    Mass is mass, whether you measure it in grams or pounds, on the Earth
    or on Luna. My lathe (Hi, Gene) is calibrated in millimeters: one turn
    of the handle moves the table 1 mm, and it is graduated in increments
    of .05 mm. I have both inch and metric taps, dies and drill bits. And lettered drill bits. GB or GiB? I don't care, just be clear which one
    you are using.

    My basic unit on the lathe is .0002" for calibration purposes. Is the
    finest resolution for the encoder dials that serve as the xz cranks that
    is one click of a 100ppr encoder when g20 is in default mode. Entering
    g21 instantly converts everything to metric for display. But that would
    be quite slow in either mode, so those dials have pushbuttons that
    switches the span of a click on a 2,5,10,20,50 etc basis. Driven by
    holding the button down and turning the dial. I can jog it to a new
    position at speeds up to 260 ipm, then do a touch off at an .001mm or
    .0002" accuracy. That beats what you can do with the conventional
    mechanical cranks.  Not by much but it is important for shrink fitting
    stuff.

    FWIW, my 3d printer rebuilds are all metric screws, usually self tapping
    as I print 90% of the new parts.

    Thus ends the rant.

    Cheers, Gene Heskett, CET.
    --
    "There are four boxes to be used in defense of liberty:
    soap, ballot, jury, and ammo. Please use in that order."
    -Ed Howdershelt (Author, 1940)
    If we desire respect for the law, we must first make the law respectable.
    - Louis D. Brandeis

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From tomas@tuxteam.de@21:1/5 to Stefan Monnier on Wed Jan 8 06:30:01 2025
    On Tue, Jan 07, 2025 at 02:28:48PM -0500, Stefan Monnier wrote:
    That would be for KB, but Tera is the third power of that. So it's about three times 2.35%, if you throw away the higher order terms (we physicists are cheap, like that ;-)

    I think you meant 4th power, but what's a factor 1024 between friends.

    D'oh :)

    Cheers
    --
    t

    -----BEGIN PGP SIGNATURE-----

    iF0EABECAB0WIQRp53liolZD6iXhAoIFyCz1etHaRgUCZ34MkQAKCRAFyCz1etHa Ru8TAJ9Hq7IniC41wYVU8aNFfoul5jSsGgCfdBc7+n1SvhIJZNcrGW2x2v8y15g=
    =Wktd
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael Stone@21:1/5 to Nicholas Geovanis on Thu Jan 9 05:50:01 2025
    On Wed, Jan 08, 2025 at 09:04:09PM -0600, Nicholas Geovanis wrote:
    > TB is about 10% larger. One of the worst crimes in computer history
    > was ever talking about storage in powers of 2, I really wish it would
    > just go away. It has properties that nobody wants and has been the
    > source of endless confusion, for really no benefits whatsoever.

    This makes no sense. The number has the same value no matter which base is >chosen. These are integers, there is no fractional part, so there is no >"uncertainty" about its value. People who need to work with binary integers >usually choose to calculate with them in base 8 or base 16 then convert them >back to base 2. Which does not require calculation just copying.

    For example...let's take the 18000000000000B drive discussed earlier.
    That's 18TB or 16TiB. Annoying, but ok. Now that's also 18000MB but
    16763MiB. And it's 18000000MB or 17166137MiB. So if you have a display
    in MB and you want to know the value in TB you move the decimal 6
    places. But if you move the decimal 6 places to get from MiB to TiB you get...the wrong answer. Does this actually happen? Yes. All the freaking
    time. (A classic mashup is 1024k blocks expressed with power of 10 M and
    G.) Now this next part is important: no normal human working with
    files and disk space and trying to communicate with other normal humans calculates the values in base 8 or base 16. Communication of numbers
    between ordinary people generally happens in base 10. SI prefixes are
    base 10. And when you munge up some stupid base 2 units with what people
    want and expect to be base 10, mistakes and confusion happen. And the
    benefit of all that confusion and increased cognative load is:
    absolutely nothing.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Stefan Monnier@21:1/5 to All on Thu Jan 9 16:30:01 2025
    For example...let's take the 18000000000000B drive discussed earlier. That's 18TB or 16TiB. Annoying, but ok. Now that's also 18000MB but 16763MiB. And it's 18000000MB or 17166137MiB. So if you have a display in MB and you want to know the value in TB you move the decimal 6 places. But if you move the decimal 6 places to get from MiB to TiB you get...the wrong answer. Does
    this actually happen? Yes. All the freaking time. (A classic mashup is 1024k blocks expressed with power of 10 M and G.)

    🙂

    A related problem is when writing code which displays such sizes in
    a human readable way, for example a "speedometer" displaying the number
    of bytes per second with a limited amount of space. A common choice is
    to use 3 chars for the number plus a unit, i.e. things like "254 kB/s"
    or "1.5 MB/s". Now, if you use the "1024" multiplier, you get a funny
    quirk when the current speed is, say 1003 kB/s, because "1003 kB/s" uses
    one char too many, yet we haven't reached "1.0 MB/s" either.


    Stefan

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dan Purgert@21:1/5 to Stefan Monnier on Thu Jan 9 18:10:01 2025
    On Jan 09, 2025, Stefan Monnier wrote:
    For example...let's take the 18000000000000B drive discussed earlier. That's
    18TB or 16TiB. Annoying, but ok. Now that's also 18000MB but 16763MiB. And it's 18000000MB or 17166137MiB. So if you have a display in MB and you want to know the value in TB you move the decimal 6 places. But if you move the decimal 6 places to get from MiB to TiB you get...the wrong answer. Does this actually happen? Yes. All the freaking time. (A classic mashup is 1024k
    blocks expressed with power of 10 M and G.)

    🙂

    A related problem is when writing code which displays such sizes in
    a human readable way, for example a "speedometer" displaying the number
    of bytes per second with a limited amount of space. A common choice is
    to use 3 chars for the number plus a unit, i.e. things like "254 kB/s"
    or "1.5 MB/s". Now, if you use the "1024" multiplier, you get a funny
    quirk when the current speed is, say 1003 kB/s, because "1003 kB/s" uses
    one char too many, yet we haven't reached "1.0 MB/s" either.

    Thankfully, networking stuck with base-10 numbers for bitrates.


    --
    |_|O|_|
    |_|_|O| Github: https://github.com/dpurgert
    |O|O|O| PGP: DDAB 23FB 19FA 7D85 1CC1 E067 6D65 70E5 4CE7 2860

    -----BEGIN PGP SIGNATURE-----

    iQIzBAEBCgAdFiEE3asj+xn6fYUcweBnbWVw5UznKGAFAmeAAOUACgkQbWVw5Uzn KGBBuw/9HDLnG9Uy7UoAUlXjK+kQoDHsPs6mfjZrZg2MrSpQ9Y+KATQSAlP1tYx6 0iv0EXatZsOKnNRRYIVhOQ0hkVbVwUTMiuFdeBVIzZ3JZ+K8V75w6C/SPvY6K4RG RUjAD8dorW6r0da/laCRbRuZ15+Xh6A6AaBtNiFjcEc1Bkl8EDXE7z0GbcQ1se3K MZaNj7Nv+WxvRCUywaXeXfG28LtSZ4pSg1+oZezMHLeFBte9HQLvSIYqtxyIMFrH fFyh9T4ar2hzKMX0i/uq/dqvFroybgBA9G0RvLW4cubiUPqtRghgSOywbM8DiarK ltZaeepdP9w8XAmDn1XdGnH9Rd0LlA3M/+cM52iKNGOp4T6h1WSWmBJveTG3PIq2 bi2mTPHLw3ewae2KgEZwB5juhkUrR5ks7e522T8yoCDPjrIMeGj+cff/gj+avKzI 1vJ9eC+U6UQMNFvRQ7u6/9+Jla4Iq1256HzGB8IUbgVEpatjqmHM1mn5R+55TuUb VUOeNVm+149cGAfkGel9hFqVBQ2uCKUNAb2GLhe/z6MdVQcxF+iRLjGC2DEeXmHB gAz7xF7Tgfz5ekM8hn6hnJzMQCHF1mwu69r2B8dOMTrhKoOQIRahsPdJ65MaOXPl j77mpfTraQXfB7QnDGLYWOumTEGx1bop9QdJFd56CniTDLbSJAM=
    =ouJx
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Us
  • From Nicolas George@21:1/5 to All on Thu Jan 9 21:50:01 2025
    Michael Stone (12025-01-08):
    For example...let's take the 18000000000000B drive discussed earlier. That's 18TB or 16TiB. Annoying, but ok. Now that's also 18000MB but 16763MiB. And it's 18000000MB or 17166137MiB. So if you have a display in MB and you want to know the value in TB you move the decimal 6 places. But if you move the decimal 6 places to get from MiB to TiB you get...the wrong answer. Does
    this actually happen? Yes. All the freaking time. (A classic mashup is 1024k blocks expressed with power of 10 M and G.) Now this next part is important: no normal human working with files and disk space and trying to communicate with other normal humans calculates the values in base 8 or base 16. Communication of numbers between ordinary people generally happens in base 10. SI prefixes are base 10. And when you munge up some stupid base 2 units with what people want and expect to be base 10, mistakes and confusion happen. And the benefit of all that confusion and increased cognative load is: absolutely nothing.

    The thing is, for people who _expect_ rather than _know_ about this, 10% accuracy is plenty enough. Especially since, as has been pointed, a lot
    of factors will conspire to reduce the space available in practice.

    For the people who need exact figures, on the other hand, binary units
    are much more convenient, not just to measure the size of memory
    modules: alignment requirements, maximum sizes of files and devices,
    size of stripes, they are all based on powers of two.


    Stefan Monnier (12025-01-09):
    A related problem is when writing code which displays such sizes in
    a human readable way, for example a "speedometer" displaying the number
    of bytes per second with a limited amount of space. A common choice is
    to use 3 chars for the number plus a unit, i.e. things like "254 kB/s"
    or "1.5 MB/s". Now, if you use the "1024" multiplier, you get a funny
    quirk when the current speed is, say 1003 kB/s, because "1003 kB/s" uses
    one char too many, yet we haven't reached "1.0 MB/s" either.

    Well, “1.5” is too few significant digits in the first place.

    So, you start:

    100 M
    999 M
    1000 M
    1024 M
    1.59 G
    9.99 G
    10.0 G
    99.9 G
    100 G
    999 G
    1000 G

    The switch to the next prefix does not have to be as soon as the
    mantissa is greater than one. Notice that the heights of mountains are
    in meters, not in kilometers, even for the Himalaya. It is better to go
    to 9999 M and only then switch to 9.77 G: more significant digits, not
    less readable.

    (Also, the people who designed the symbols for the prefixes really
    dropped the ball with k instead of K, but that predates memory units by
    a long time.)

    --
    Nicolas George

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael Stone@21:1/5 to Nicolas George on Fri Jan 10 00:50:01 2025
    On Thu, Jan 09, 2025 at 09:47:11PM +0100, Nicolas George wrote:
    For the people who need exact figures, on the other hand, binary units
    are much more convenient, not just to measure the size of memory
    modules: alignment requirements, maximum sizes of files and devices,
    size of stripes, they are all based on powers of two.

    Baloney. People who need to worry about those things are/should be doing
    that programatically and absolutely do not "need" GiB for anything at
    all, certainly not for display. For everyone else, basically all the
    time and in every situation, power of ten units make more sense. The
    entire computing world has been saddled with this "but a computer
    kilobyte is really" nonsense far too long, and it actively hurts UX for everyone other than the vanishingly small set of people who won't shut
    up about how important it is to keep that anachronism.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Urs Thuermann@21:1/5 to Michael Stone on Fri Jan 10 03:00:01 2025
    Michael Stone <mstone@debian.org> writes:

    On Tue, Jan 07, 2025 at 02:59:47PM -0700, Charles Curley wrote:
    Mr. Tarsnap forgets something. The reason disks are addressed in powers
    of two has to do with mathematics. Every hard and floppy disk out there
    has flaws. To get around that, data is divided into sectors, and
    checksums calculated. Done right, this allows for error correction for >small flaws. The math works out better if you do it in chunks that are >integer powers of two. So floppy disks have sectors of 256 octets, and >their attendant checksums. Modern hard drives schlep data in chunks of
    4096 (2^12) octets. And bytes these days are eight bits.

    The thing is, nobody cares about all that. It's an implementation
    detail that matters not to any normal person. Normal people care about
    things like "when I just look at the first couple of numbers of the
    size in bytes, is it the same thing as the size in <insert large unit>
    or do I need to do a bunch of math to answer a simple question?"

    GB or GiB? I don't care, just be clear which one you are using.

    Which nobody is. The right answer is to stop using power of two units
    because they are pointless.

    No matter how often you repeat this, it's still wrong. Using power of
    two units is quite useful. For example, my computers had 5.12 kB,
    65.356 kB, 16.777216 MB, 67.108864 MB, 268.435456 MB, 1.073741824 GB,
    and 8.589934592 GB of RAM. Perfectly correct, but I prefer to say
    they had 5 kiB, 64 kiB, 16 MiB, 64 MiB, 256 MiB, 1 GiB, and 8 GiB of
    RAM. Because of technical reasons, rows and columns with m RAS and n
    CAS select lines, sizes of RAM chips are almost always 2**m * 2**n
    bytes, i.e. powers of 2. RAM modules for the RAM slots of your
    mainboard also are sized in powers of 2, because otherwise it would be extremely hard to decode a memory address from the CPU into module
    slot number and offset inside the module.

    Block devices like floppy disks, hard disks, SSDs, etc. also have
    block sizes which are powers of 2, like 256, 512, and 4096 bytes.
    This is not because of checksumming as was suggested in this thread,
    but because it makes it easier (e.g. for DMA controllers) to copy
    from/to pages of RAM.

    Therefore, my floppy disks had exacty 170.75 kiB, 720 kiB, and 1.44
    MiB --- or as you would like to put it --- 174.848 kB, 737.280 kB, and
    1.47456 MB. So again: Are kiB, MiB, GiB, and TiB really pointless?

    This is not really confusing, except for people who are too dumb to
    understand units and their conversions. Granted, some confusion came
    from using k, M, G for the power-of-2 based units. Back in the days
    when we had only kilobytes this didn't matter too much since 2**10 is
    so close to 1000 (only 2.4% more) that it was just practical to use
    uppercase K to mean "a little more than k", i.e. 2**10, but still
    speak of kilobytes. When we reached sizes of megabytes, we couldn't
    use a "larger than M letter", so M was simply used for both, 10**6 and
    2**20, but it was usually clear from the context, what was meant.
    Some confusion started, when some marketing people switched from using
    the then common binary units to using decimal units because it made
    their drives look larger than the competitor's drives.

    Only much much later someone invented the ki, Mi, Gi, ... prefixes
    to fix this and which I think helped a lot. Only, when talking I
    never hear anyone saying kibi, mebi, gibi, tebi. so you still need to
    take the context into account to understand.

    urs

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael Stone@21:1/5 to Urs Thuermann on Fri Jan 10 05:30:01 2025
    On Fri, Jan 10, 2025 at 02:46:13AM +0100, Urs Thuermann wrote:
    For example, my computers had 5.12 kB,
    65.356 kB, 16.777216 MB, 67.108864 MB, 268.435456 MB, 1.073741824 GB,
    and 8.589934592 GB of RAM. Perfectly correct, but I prefer to say
    they had 5 kiB, 64 kiB, 16 MiB, 64 MiB, 256 MiB, 1 GiB, and 8 GiB of
    RAM.

    I 100% guarantee that if we abandoned oddball power of 2 SI units that
    you'd still be able talk about an 8Gig RAM computer without any
    ambiguity when discussing mainstream devices. Just like you can buy a
    "23 inch class" monitor that isn't 23 inches. Fun fact: 4k monitors
    aren't actually 4k. There are technical reasons and history and on and
    on and it doesn't matter.

    Block devices like floppy disks, hard disks, SSDs, etc. also have
    block sizes which are powers of 2, like 256, 512, and 4096 bytes.
    This is not because of checksumming as was suggested in this thread,
    but because it makes it easier (e.g. for DMA controllers) to copy
    from/to pages of RAM.

    So what? Why should users care about such details? We already conceal
    most of them in the interest of a better UX. Disk space used to be
    reported in 512B blocks because that's the addressable unit of a block
    device, and people *hated it*. Files are byte-addressable, ls needs to
    output a size in bytes, and people simply weren't interested in doing
    the math to convert bytes to blocks depending on context. It doesn't
    matter how many arguments you make about the underlying physical
    limitations, it's something that users don't need to know and don't want
    to know.

    Therefore, my floppy disks had exacty 170.75 kiB, 720 kiB, and 1.44
    MiB --- or as you would like to put it --- 174.848 kB, 737.280 kB, and >1.47456 MB. So again: Are kiB, MiB, GiB, and TiB really pointless?

    Yes. Note that you're talking about really small and really old storage formats. "Anachronistic" is the word.

    And here's the really, really funny fact that undermines your entire
    argument: the 1.44M floppy *was not* 1.44MiB. It was 1440kiB, or 1.47MB or 1.41MiB. The cracks in the power of two system were showing all the way
    back then. Your argument largely boils down to "I like these numbers
    better than those numbers because I remember them fondly from my youth",
    and that's not a great basis for a system of measurement.

    This is not really confusing, except for people who are too dumb to >understand units and their conversions.

    The entire argument for power of two units has always had more than a
    hint of elitism behind it. If you know the secret handshake you can be
    in the club?

    Granted, some confusion came from using k, M, G for the power-of-2 based units.

    "Some" is doing a lot of work in that sentence. As you demonstrated just
    a bit earlier.

    Back in the days
    when we had only kilobytes this didn't matter too much since 2**10 is
    so close to 1000 (only 2.4% more) that it was just practical to use
    uppercase K to mean "a little more than k", i.e. 2**10, but still
    speak of kilobytes. When we reached sizes of megabytes, we couldn't
    use a "larger than M letter", so M was simply used for both, 10**6 and
    2**20, but it was usually clear from the context, what was meant.

    So...it became more of a problem the larger the sizes being discussed?
    Sounds like it was (arguably) appropriate for tiny devices 50 years ago,
    maybe not anymore?

    All of this goes back to RAM, which is becoming less and less of a
    factor. If the whole world revolved around memory sizes and things with
    address lines then maybe I'd accept that measuring everything in powers
    of two makes sense. But the world doesn't. And it very much doesn't make
    sense to use two different (but confusingly close) scales and switch (inconsistently) between them depending on context. Computing these days depends just as much on networking as RAM, and networking has always
    used power of 10 units. If I really wanted to fight the good fight I'd
    get rid of the byte also, but we're probably stuck with that also.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From tomas@tuxteam.de@21:1/5 to Michael Stone on Fri Jan 10 07:30:01 2025
    On Thu, Jan 09, 2025 at 06:44:30PM -0500, Michael Stone wrote:

    [...]

    Baloney [...]

    "Baloney" == "things I don't like"

    (FWIW I'd prefer binaries in the computer context, but hey).

    Human communication is messy. Both multipliers come from different
    sources which were well established at the moment they "clashed".

    Heck, the "disk people" themselves are schizophrenic, since they
    bunch their blocks in binary too (512, 4k -- uh 4kiB), rumours
    have it that SSD erase blocks are also powers-of-two sized. So...

    The best we can do at the moment is to use the iB suffix in cases
    where the context doesn't help enough (in most cases it does: human
    language is like that).

    Past experience shows that we'll live with this for a while (watch
    the US still on their Imperial measures, while the UK has, mostly,
    switched to metrics -- oh, the irony).

    One rant is OK, but repeatedly whining about it just will annoy
    people :)

    Cheers
    --
    t

    -----BEGIN PGP SIGNATURE-----

    iF0EABECAB0WIQRp53liolZD6iXhAoIFyCz1etHaRgUCZ4C9LwAKCRAFyCz1etHa RjihAJ9L/oPYLALHsXoM44ZBCvVp+pT1vQCfYqd7aTfH+6ot3yg75mEsXxnOsFo=
    =fS9C
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Thomas Schmitt@21:1/5 to Timothy M Butterworth on Fri Jan 10 11:10:03 2025
    Hi,

    Timothy M Butterworth wrote:
    It takes 8 bits to make one byte, should we change that to 10 too.... 

    We once had the other way round. Four bits making one decimal digit.
    https://en.wikipedia.org/wiki/Binary-coded_decimal
    The elders even had opinions whether Gray was to prefer over plain
    binary encoding.


    David Wright wrote:
    At least with CHS, you got some of the factorisation done for
    you, like 14655/64/32 and 9729/255/63, and you can see they're
    not based on binary powers.

    I understand that sectors-per-head = 255 and heads-per-cylinder = 63 was
    chosen to squeeze numbers as high as possible into the CHS fields of MBR partition tables which are 10, 8, and 6 bits wide.
    https://en.wikipedia.org/wiki/Master_boot_record
    Insofar 14655 and 9729 are not valid cylinder sizes.
    The numbers 255 and 63 are indeed based on powers of 2, because they are
    the highest ones which can be expressed unsigned by 8 and 6 bits.

    To our luck time has steamrolled CHS in favor of Logical Block Addresses.
    The software always had to ask the BIOS for the "geometry" parameters
    because those are not stored in the partition table.
    (We were all so young and infantile back then ...)


    Have a nice day :)

    Thomas

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dan Purgert@21:1/5 to Timothy M Butterworth on Fri Jan 10 11:00:01 2025
    On Jan 09, 2025, Timothy M Butterworth wrote:
    On Thu, Jan 9, 2025 at 6:45 PM Michael Stone <mstone@debian.org> wrote:

    On Thu, Jan 09, 2025 at 09:47:11PM +0100, Nicolas George wrote:
    For the people who need exact figures, on the other hand, binary units >are much more convenient, not just to measure the size of memory
    modules: alignment requirements, maximum sizes of files and devices,
    size of stripes, they are all based on powers of two.

    Baloney. People who need to worry about those things are/should be doing that programatically and absolutely do not "need" GiB for anything at
    all, certainly not for display. For everyone else, basically all the
    time and in every situation, power of ten units make more sense. The
    entire computing world has been saddled with this "but a computer
    kilobyte is really" nonsense far too long, and it actively hurts UX for everyone other than the vanishingly small set of people who won't shut
    up about how important it is to keep that anachronism.


    It takes 8 bits to make one byte, should we change that to 10 too....

    Please no, 8b10b encoding is hard enough. :)


    --
    |_|O|_|
    |_|_|O| Github: https://github.com/dpurgert
    |O|O|O| PGP: DDAB 23FB 19FA 7D85 1CC1 E067 6D65 70E5 4CE7 2860

    -----BEGIN PGP SIGNATURE-----

    iQIzBAEBCgAdFiEE3asj+xn6fYUcweBnbWVw5UznKGAFAmeA7TIACgkQbWVw5Uzn KGBiZxAAnODySTBKRlfPWTfD1VWPEKDcDHIPXmeb/KseuAWOKy7s2vW8KA7FnSID YOpK09Ysccxur7uQLYm0is6lSdNVBB7bPQMd2hvZM/htd96g5bx7gYLjzmzSbe56 TI7vETKuJUlwN0W6+dhzMHqBFA+698E2MZ6ghFPTB2RywGs0A47zcvRCOutioxrA fjy7xt6MI43LqT/9i1AN+hYC0jAZUB1a8ZzEmFuCZY+8fUYc5+OPot0bEncoGFEJ 2fYOJ1uQYzo3EqisekJIFxscfJEGc5XlUBrMPdIOOKiwxmf7SEp2g+6kjXcBxC52 VY5S0lcb9FlNA98NYTvYBZLs6kyeCs+ipDtW5ruw4UptqVqN6ZCmhGgx3SjjA63r Vqos5SQR38h+xOrLMIclwBb57YRTtbWs4LLZ456FibtMEKIjaU1tZSWtQCelyZoQ 3L90Hjc7VB8lNFQ0SA8CANYdywF/Eqxh/H5X/pZA43REQXsMt2CyHHba1Iid6Lna hohvHhuTcHCvqoxXIoEGrwIZtp7G8oAeVlsVZhchzD2npSERaF+Kfcaxkwl4D2qe wvaUW8is9uWy4clkhqqLMMnm0O0ivW8mKliUOul5/IoUJXR1fIo8yauAtLAB5sf8 9gXpow0TYTDfcsEeuM6f3GGK3HvpMaBPOVmhBPE/qxkc12feMr4=
    =b5RY
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Us
  • From gene heskett@21:1/5 to Dan Purgert on Fri Jan 10 15:10:02 2025
    On 1/10/25 04:50, Dan Purgert wrote:
    On Jan 09, 2025, Timothy M Butterworth wrote:
    On Thu, Jan 9, 2025 at 6:45 PM Michael Stone <mstone@debian.org> wrote:

    On Thu, Jan 09, 2025 at 09:47:11PM +0100, Nicolas George wrote:
    For the people who need exact figures, on the other hand, binary units >>>> are much more convenient, not just to measure the size of memory
    modules: alignment requirements, maximum sizes of files and devices,
    size of stripes, they are all based on powers of two.
    Baloney. People who need to worry about those things are/should be doing >>> that programatically and absolutely do not "need" GiB for anything at
    all, certainly not for display. For everyone else, basically all the
    time and in every situation, power of ten units make more sense. The
    entire computing world has been saddled with this "but a computer
    kilobyte is really" nonsense far too long, and it actively hurts UX for
    everyone other than the vanishingly small set of people who won't shut
    up about how important it is to keep that anachronism.

    It takes 8 bits to make one byte, should we change that to 10 too....
    Please no, 8b10b encoding is hard enough. :)
    Wider bytes were tried early on, flopped. I was once gifted a thing made
    by NCR in 1985 whose cpu , about 18" square was all TTL stuff. Stripped
    of memory, I recall its byte was 12 bits. Now of course memory bandwidth
    is obtained by 128 bit wide busses with 256 in the higher end servers.  Useless to me, I built a ups for my full house Amiga 2000 out of
    motorcycle batteries in its box. That, like the Amiga eventually was,
    was a failure. Another time and place.


    Cheers, Gene Heskett, CET.
    --
    "There are four boxes to be used in defense of liberty:
    soap, ballot, jury, and ammo. Please use in that order."
    -Ed Howdershelt (Author, 1940)
    If we desire respect for the law, we must first make the law respectable.
    - Louis D. Brandeis

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Stefan Monnier@21:1/5 to All on Fri Jan 10 15:40:01 2025
    I used to hold on dearly to the "1024-based" view, and it's only now
    that I realize that I don't actually care about it any more. I think
    what happened is that internally many things care about power-of-2 sizes
    for technical reasons (there are very good reason why mass storage block
    sizes are always powers of 2, for example), but that has no bearing on manipulating multiples of those things (e.g. most likely nobody/nothing
    will notice/care if your HDD has a number of blocks that's prime, not
    even the HDD's internal controller), and once you're far away from the low-level details and start interacting with a human, base 10 makes
    a lot more sense.

    When the humans looking at it were in majority tech-versed, using
    a 1024-based view to interact with humans made some sense (once you've integrated the technical advantages of using powers of 2 at the
    low-level, it feels natural to do so elsewhere as well), but it was not
    really necessary since in most cases the numbers become approximate
    anyway (as in the original HDD size that motivated this thread, where
    various elements are glossed over, like the size of metadata).

    Now, I feel compelled to go back to my code and find all those places
    where I displayed k/M/G units by dividing by 1024 and change it to 1000.

    Thank you, people, for this discussion.


    Stefan

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Hasler@21:1/5 to Tomas on Fri Jan 10 15:50:02 2025
    Tomas writes:
    Past experience shows that we'll live with this for a while (watch
    the US still on their Imperial measures,

    Pedanticism: The US is not and never has been on the Imperial system.
    We use both SI ("metric") and US Customary (the latter predates
    Imperial).
    --
    John Hasler
    john@sugarbit.com
    Elmwood, WI USA

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From eben@gmx.us@21:1/5 to mick.crane on Fri Jan 10 21:40:02 2025
    On 1/10/25 15:30, mick.crane wrote:
    On 2025-01-10 14:39, John Hasler wrote:
    Tomas writes:
    Past experience shows that we'll live with this for a while (watch
    the US still on their Imperial measures,

    Pedanticism: The US is not and never has been on the Imperial system.
    We use both SI ("metric") and US Customary (the latter predates
    Imperial).
    wasn't a defect in the Hubble telescope mirror caused by a misunderstanding between US/UK what units they were working in?

    I'd heard it was a failure to account for the effects of non-gravity on the main mirror. The Mars Climate Observer was doomed by one team using
    imperial instead of metric, and applying the wrong impulse because of it.


    --
    Friendship is born at that moment when one person says to another:
    "What! You too? I thought I was the only one."
    -- C. S. Lewis

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From gene heskett@21:1/5 to eben@gmx.us on Sat Jan 11 01:50:01 2025
    On 1/10/25 15:40, eben@gmx.us wrote:
    On 1/10/25 15:30, mick.crane wrote:
    On 2025-01-10 14:39, John Hasler wrote:
    Tomas writes:
    Past experience shows that we'll live with this for a while (watch
    the US still on their Imperial measures,
    Pedanticism: The US is not and never has been on the Imperial system.
    We use both SI ("metric") and US Customary (the latter predates
    Imperial).
    wasn't a defect in the Hubble telescope mirror caused by a misunderstanding >> between US/UK what units they were working in?
    I'd heard it was a failure to account for the effects of non-gravity on the main mirror. The Mars Climate Observer was doomed by one team using
    imperial instead of metric, and applying the wrong impulse because of it.
    That is not what they told us on this side of the pond, it was an error,
    less than a human hair in the parabola they polished it to. So they
    designed an eye piece of sorts to correct it. Likely at the expense of
    some wide field loss. But we've sure gotten our moneys worth since. That
    is the last thing this planet has put up that sees visible light. And
    now with the shuttle shut down, its low orbit will eventually bring it
    down. The shuttle has been used to give it an orbit raising gentle push
    at least once but now the giro's are wearing out. They aim it.
    --
    Friendship is born at that moment when one person says to another:
    "What! You too? I thought I was the only one."
    -- C. S. Lewis

    .

    Cheers, Gene Heskett, CET.
    --
    "There are four boxes to be used in defense of liberty:
    soap, ballot, jury, and ammo. Please use in that order."
    -Ed Howdershelt (Author, 1940)
    If we desire respect for the law, we must first make the law respectable.
    - Louis D. Brandeis

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)