Lurker News

Comments (349) 72 threads

Show all comments

Showing thread 1 of 72

CydeWeys6 replies#
Small suggestion -- it seems like you're using the wrong units (or maybe abbreviations) for your displayed average page sizes. You're using lower-case b to indicate bits, but I suspect you mean upper-case B to indicate bytes? Also, the lower-case k is the correct prefix for 1,000, but lower case m is milli, or 1/000. You want M for mega, which is 1,000,000.

Also if you really want to be precise you should consider whether you're using binary prefixes vs SI prefixes, e.g. kB (10^3 bytes) vs kiB (2^10 bytes). That doesn't matter as much because the error is small for these lower values, but the casing errors definitely do matter. "mb" means millibars to me, not Megabytes!

diarrhea1 reply#
"mb" is not millibar; "mbar" is.
snazz2 replies#
Maybe not officially, but in practice that's how it's used:

The unit's official symbol is bar; the earlier symbol b is now deprecated and conflicts with the use of b denoting the unit barn, but it is still encountered, especially as mb (rather than the proper mbar) to denote the millibar.
https://en.wikipedia.org/wiki/Bar_(unit)

dktoao3 replies#
Yeah, in general, there are many, many "unit collisions" that can really only be exactly interpreted from context. I think it would be great if everyone started using bracket notation (or similar) for prefixes. E.g. [k]B [Mi]B This is the convention used in pqm.js and it works really well. this would go a long way toward units that can be accurately read by a computer.

Continue this thread — 3 replies

diarrhea#
Pressure measurements/specifications are part of my daily work. I have never seen "b" referring to bar, also not in any of the many American (imperial) papers I have come across. So this is either properly old usage indeed, or very specific to certain regions or industries (like usage of relative v absolute pressure). Or Wikipedia being properly pedantic.
CivBase2 replies#
Huh... I've always described 2^10 bytes as a "kilobyte" (kB) but I've always hated the ambiguity, even if the difference between 2^10 and 10^3 is usually not important. Thanks to this comment, I learned there is an formal set of units which are distinct from their SI counterparts[0].

  1000^1 kB, 1024^1 kibibyte (kiB)
  1000^2 MB, 1024^2 mebibyte (MiB)
  1000^3 GB, 1024^3 gibibyte (GiB)
  1000^4 TB, 1024^4 tebibyte (TiB)
  1000^5 PB, 1024^5 pebibyte (PiB)
  1000^6 EB, 1024^6 exbibyte (EiB)
  1000^7 ZB, 1024^7 zebibyte (ZiB)
  1000^8 YB, 1024^8 yobibyte (YiB)
It looks like those units have been around since 1995, but they haven't seen much mainstream adoption. Too bad.

[0] https://en.wikipedia.org/wiki/Kibibyte

snazz1 reply#
Notably, storage vendors and many operating system vendors use different units to describe capacity, so hard disks will always seem small as a result of this.

[edit: add qualifying "many"]

snazz#
Windows does. The df command does by default. Those are the two I use.
brnt#
I distinctly recall GNOME on Ubuntu using kibibytes. This may have been in the GNOME 2 era. Had thuis changed?
pseudalopex#
That explains why Windows doesn't use KiB to mean KiB. It doesn't explain why Windows doesn't use KB to mean KB.
CydeWeys1 reply#
Now that you're aware of them you're going to start seeing them everywhere. There's more adoption than you realize.
Nursie7 replies#
I've been aware of these for around 20 years, I've not seen that nomenclature growing in popularity.

It doesn't help that it just sounds silly to my ears.

Continue this thread — 7 replies

mbrameld1 reply#
mb means millibars to you in the context of file size? How does that make any sense?
petee#
Well of course when you have enough 'file' in one place it starts to exert outward pressure
gitgud1 reply#
This is a hilarious nit-pick. In the context of an internet blog describing average page-size, it's completely obvious that mb == MB ... not millibars...

There's an insane amount of abbreviations and acronyms that have multiple meanings in different contexts. How many Wikipedia pages have [disambiguation] here?...

Ma8ee1 reply#
It is not disambiguous, it is wrong. People will probably figure out what it is meant from the context, but it will slow them down. Are there really any reasons for using the wrong abbrevation other than lazyness or ignorance in this case?
cwhiz#
Yup. I definitely got caught doing double takes. Too distracted by millibars to even finish the article.
alphachloride#
"""context"""
okasaki1 reply#
You should learn to understand MB/mb/Mb/mB for megabyte and mbit for megabit. Anything else is inviting error and sorrow, because many people use it that way.
CydeWeys1 reply#
This is flat-out wrong. Most times when I see a lower-case b in software or documentation it really does mean bit, not byte. The standards exist for a reason and you should follow them. Anything else is inviting error and sorrow.

And no one says "mbit".

okasaki#
No, you're wrong.

My network card is 1gbit/s, my disk space is 4TB, my internet speed is 100mbitps and DVD capacity is 4gb.
This is how everyone uses it and it's much clearer and better than B/b.