[tahoe-dev] [tahoe-lafs] #964: show sizes in unambiguous way that doesn't get mistaken for different units

tahoe-lafs trac at tahoe-lafs.org
Fri Dec 24 23:43:00 UTC 2010


#964: show sizes in unambiguous way that doesn't get mistaken for different units
------------------------------+---------------------------------------------
     Reporter:  USSJoin       |       Owner:  zooko    
         Type:  defect        |      Status:  assigned 
     Priority:  minor         |   Milestone:  undecided
    Component:  code-storage  |     Version:  1.6.0    
   Resolution:                |    Keywords:  usability
Launchpad Bug:                |  
------------------------------+---------------------------------------------

Comment (by warner):

 I like the commas idea: my eyeballs slide off long numbers too. My
 hesitation is that every once in a rare while, I cut-and-paste a number
 like that into a calculator or python repl, and the commas would mess that
 up. But I think readability trumps cut-and-pasteability. So +1 on the
 commas.

 You might also add units: {{{(319,728,959,488 bytes)}}}. But maybe not.

 Oh, you know, there might possibly be a CSS styling thing that lets you
 tell the system that this is a number, and that it ought to add comma-like
 things according to the current locale (since they'd be periods in
 europe). I have a hazy memory that suggests doing this would also retain
 cut-and-pasteability, because the commas/periods would be purely visual:
 cut/paste would still get the original non-comma-ified number. Does this
 ring any bells for anyone, or am I completely imagining it?

-- 
Ticket URL: <http://tahoe-lafs.org/trac/tahoe-lafs/ticket/964#comment:11>
tahoe-lafs <http://tahoe-lafs.org>
secure decentralized storage


More information about the tahoe-dev mailing list