lower case k where caps needed in synaptic download

Bug #16031 reported by Thrift
8
Affects Status Importance Assigned to Milestone
synaptic (Ubuntu)
Invalid
Low
Michael Vogt

Bug Description

I might be off on this, but shouldn't a download be in KB as opposed to kB.
This is the way Firefox handles downloads, but it seems synaptic on the other
hand uses kB for on reason or another.

Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your bugreport.

I don't think there is a standard that says if it must be written lowercase or
uppercase. Apt itself uses a lowercase "k" too. If there is a standard, could
you please point me to it?

Revision history for this message
Thrift (thrift24) wrote :

http://whatis.techtarget.com/definition/0,,sid9_gci499008,00.html

is something I found with 10 seconds in google. It appears as though k can be proper if you are
literally meaning 1,000 bytes, where as K is proper if you are trying to mean 1,024 bytes. So
really it depends on a lot of things. If though firefox does intend to mean 1,024 bytes and
synaptic does intend to mean 1,000 bytes then everything is fine. It seems likely to me however
that they are both using two seperate methods of displaying the same thing, even though one is
more accurate and if they do not mean to say what they do, creating inconsistencys. I really
don't know where to look to find out about such things.

Revision history for this message
Thrift (thrift24) wrote :

http://en.wikipedia.org/wiki/Kibibyte

I looked into this a little more, and I think that really you want to be using
KiB unless I don't understand at all what's going on here, but althought KiB
seems to be unambiguous, it's also common to use KB. You almost certainly don't
use kB, as that would infer truely 1000 bytes, but not really a Kilobyte as we
think of it(which i hope would be like a kibibyte). I think the idea is you
would only use kb when specifying 1000 bits, such as a modem running at 56kbps
or something to that extent. For downloading a file from the internet you would
use KB(the file is what infers the B and therefore the K).

Revision history for this message
Thrift (thrift24) wrote :

As a further note to this bug I was just burning a CD in the Gnome CD/DVD Creator..
when asked to put in a blank disk, it asks the user to insert a disk with at
least xxx MiB free.

There's a bit of inconsistency between Ubuntu's apps on this.
Firefox using KB. Synaptic using kB. and the CD/DVD Creator using KiB.

Michael Vogt (mvo)
Changed in synaptic:
status: Unconfirmed → Confirmed
Revision history for this message
Endolith (endolith) wrote :

apt and Synaptic report sizes in 1000s of bytes, not 1024s, so the lowercase k is correct. (k- = 1,000, M- = 1,000,000, ...)

(This is really the way *all* apps should report file sizes, since the 1024 convention is unfamiliar to end-users and serves no purpose.)

Changed in synaptic:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

Bug watches keep track of this bug in other bug trackers.