lmi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lmi] [PATCH] fix InputSequenceEditor error messages


From: Greg Chicares
Subject: Re: [lmi] [PATCH] fix InputSequenceEditor error messages
Date: Sun, 07 Aug 2011 23:27:01 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10

On 2011-08-07 20:21Z, Vadim Zeitlin wrote:
> On Sun, 07 Aug 2011 17:09:05 +0000 Greg Chicares <address@hidden> wrote:
> 
> GC> On 2011-07-12 14:31Z, Vaclav Slavik wrote:
> GC> > 
> GC> > please apply this simple patch on top of the others.
> GC> > It fixes diagnostics messages to use human numbering instead
> GC> > of zero-based.
> GC> 
> GC> Actually, lmi uses zero-based ordinals elsewhere, eg, on the "Reports" 
> tab:
> GC>   Column 0
> GC>   Column 1
> GC>   ...
> GC> (and implicitly, I would say, within the input-sequence grammar), so my
> GC> preference would be to maintain consistent usage (and therefore not apply
> GC> this patch).
> 
>  Hello,
> 
>  I agree that consistency is good but I've never seen 0-based numbering in
> any grid-like control in the user interface (even programmer-oriented
> ones). Are you sure you don't want to change the column numbering to start
> from 1 as well?

Yes, because we use index origin zero more broadly than you might notice
at first--eg, in the half-hidden feature that creates a "monthly detail"
spreadsheet if you type 'idiosyncrasyZ' in "Comments" and then run an
illustration. That gives a spreadsheet (well, actually, a TSV) file with:
  Year  Month
     0      0
     0      1
   ...    ...
The "Solve" tab's spincontrols also use origin zero. People are used to
it by now, and I don't want to slouch into ambivalence. I've counted this
way since I was born, at which time I was zero years old. Clocks start the
day at 00:00. Floors of buildings in some countries that use the metric
system are numbered from zero as well. Also see Dijkstra:
  http://www.cs.utexas.edu/users/EWD/transcriptions/EWD08xx/EWD831.html



reply via email to

[Prev in Thread] Current Thread [Next in Thread]