news.daily: human-readable numbers

Jeffrey M. Vinocur jeff at litech.org
Tue Oct 21 21:25:52 UTC 2003


On Tue, 21 Oct 2003, Ben Rosengart wrote:

> Much nicer, isn't that?  (Though I sometimes find it hard to visually
> sort a column of numbers when some are in KB, some in MB and some in GB.)

Me too.  (I've started depending on the graphs generated in the html 
output of innreport because they're just so much easier to visualize.)


> The by-articles numbers are in units of articles, of course, so
> there's no convenient abbreviation.  However, writing 50978494 as
> 50,978,494 makes it clearer, to my eyes at least.  Europeans would
> presumably prefer 50.978.494.  I doubt news.daily is localized, sigh.

It's innreport you mean, rather than news.daily per se, by the way.


> Some people are undoubtedly processing these reports with scripts,

(Eek, I sort of hope not.)


> but perhaps an option could be introduced to add thousands-delimiters
> to numbers over (say) 5 digits long?  If people are receptive to
> this idea, I might be able to contribute the necessary code.

Heh, I don't think we've ever turned down a configuration option for 
anything.  (Well, as long as the code is clean and the documentation is 
updated appropriately.)


(Err, I don't think anyone's submitted a patch to innreport since I've 
been paying attention -- do we maintain the canonical copy, or is Fabien 
still maintaining it?)


-- 
Jeffrey M. Vinocur
jeff at litech.org



More information about the inn-workers mailing list