[PATCH] setup: add "Size" column to chooser (take 2)
Igor Pechtchanski
pechtcha@cs.nyu.edu
Mon Jun 20 04:07:00 GMT 2005
On Mon, 20 Jun 2005, Max Bowsher wrote:
> Igor Pechtchanski wrote:
> > Here's a new iteration of this patch. It incorporates Max's review and
> > adds comments in the size computation logic.
> >
> > The size is now computed as follows: if the binary or the source package
> > is selected, the total size of the selected packages is used. Otherwise,
> > the size of the binary package is shown (if one exists), else the size of
> > the source (if one exists), else "?". As Max, I'm not sure this is the
> > right solution -- comments welcome.
>
> I've had a chance to build and play with it now - and overall, I think it's
> rather nice! :-)
Thanks.
> One last thing, though:
> Should we keep the sizes in bytes, so that the length of the number is an
> immediate visual indication of package size, or would use of kilo/mega
> suffices be better, combined with rounding to 3 significant digits, to
> minimize the horizontal space used?
Good point. Even if we don't go with the k/M prefixes, simply rounding
off to the nearest kilobyte should save some space. I'll try to come up
with a patch later in the week...
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT
More information about the Cygwin-apps
mailing list