This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
Re: [PATCH] setup: add "Size" column to chooser (take 2)
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: Max Bowsher <maxb at ukf dot net>
- Cc: cygwin-apps at cygwin dot com
- Date: Mon, 20 Jun 2005 00:07:35 -0400 (EDT)
- Subject: Re: [PATCH] setup: add "Size" column to chooser (take 2)
- References: <Pine.GSO.4.61.0505240153010.302@slinky.cs.nyu.edu><01d101c56051$7bed1680$e6ec6f83@chimaera> <Pine.GSO.4.61.0505240902250.302@slinky.cs.nyu.edu><Pine.GSO.4.61.0505241008290.302@slinky.cs.nyu.edu> <045a01c57537$b4b85ec0$e6ec6f83@chimaera>
- Reply-to: cygwin-apps at cygwin dot com
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