From: jmfbahciv on
Brian M. Scott wrote:
> On Fri, 26 Feb 2010 20:47:16 +1300, PaulJK
> <paul.kriha(a)paradise.net.nz> wrote in
> <news:hm7u3v$etu$1(a)news.eternal-september.org> in
> sci.math,sci.physics,sci.astro,sci.lang,alt.usage.english:
>
>> jmfbahciv wrote:
>
>>> Bob Myers wrote:
>
>>>> Andrew Usher wrote:
>
>>>>> Well, I'm astounded. Indexing from 0 is so obviously the Right Way
>>>>> that I can't imagine why anyone would do it the other way.
>
>>>> Oh, absolutely. Why, I see people in the stores every day,
>>>> counting out their money or the number of items they're
>>>> going to purchase, and saying to themselves "Zero, one, two..."
>
>>>> ;-)
>
>>> Especially when the clerk counts change. I'm sure Usher wouldn't
>>> object when he gets a dollar short.
>
>> Would he perhaps see some value in minting zero cent coins?
>
> Probably: after all, its zero sense.
>
<GROAN> ;-).

/BAH
From: jmfbahciv on
James Silverton wrote:
> Brian wrote on Fri, 26 Feb 2010 10:25:03 -0500:
>
>>> jmfbahciv wrote:
>
>>>> Bob Myers wrote:
>
>>>>> Andrew Usher wrote:
>
>>>>>> Well, I'm astounded. Indexing from 0 is so obviously the
>>>>>> Right Way that I can't imagine why anyone would do it the
>>>>>> other way.
>
>>>>> Oh, absolutely. Why, I see people in the stores every day,
>>>>> counting out their money or the number of items they're
>>>>> going to purchase, and saying to themselves "Zero, one,
>>>>> two..."
>
>>>>> ;-)
>
>>>> Especially when the clerk counts change. I'm sure Usher
>>>> wouldn't object when he gets a dollar short.
>
>>> Would he perhaps see some value in minting zero cent coins?
>
>> Probably: after all, its zero sense.
>
> I am trying to remember when Fortran introduced arrays with arbitrary
> indexing, that is, starting at numbers other than 1. I have not
> programmed in Fortran in years and I do remember the change but not when
> it happened.
>

You always could "start" at numbers other than one. Or are you talking
about the actual memory assigned to the array?

/BAH
From: jmfbahciv on
Peter Moylan wrote:
> jmfbahciv wrote:
>
>> I used to solve my really pesky problems by dreaming the solution,
>> or workaround. Sleeping is useful.
>
> There once was a time when I was struggling with difficult theoretical
> problems, and I would wake up in the middle of the night with solutions,
> or at least with important insights. Once the morning arrived, I would
> recall getting the insights, but couldn't remember what they were.
>
> To fix the problem I put a notepad and pen beside my bed, and went to
> bed with the firm resolve to write down any ideas I got in the night. It
> worked: I woke up with yet another brilliant idea, and spent some time
> writing down all the details.
>
> In the morning, I found the sort of scrawl a two-year-old might have
> written.
>
I didn't do that. If I couldn't remember, I just figured it was a
dream (or nightmare). A lot of times, the dream would be figuring
out something I needed to check.

/BAH
From: James Silverton on
jmfbahciv wrote on Sat, 27 Feb 2010 08:40:48 -0500:

> James Silverton wrote:
>> Brian wrote on Fri, 26 Feb 2010 10:25:03 -0500:
>>
>>>> jmfbahciv wrote:
>>
>>>>> Bob Myers wrote:
>>
>>>>>> Andrew Usher wrote:
>>
>>>>>>> Well, I'm astounded. Indexing from 0 is so obviously the
>>>>>>> Right Way that I can't imagine why anyone would do it
>>>>>>> the other way.
>>
>>>>>> Oh, absolutely. Why, I see people in the stores every
>>>>>> day, counting out their money or the number of items
>>>>>> they're going to purchase, and saying to themselves
>>>>>> "Zero, one, two..."
>>
>>>>>> ;-)
>>
>>>>> Especially when the clerk counts change. I'm sure Usher
>>>>> wouldn't object when he gets a dollar short.
>>
>>>> Would he perhaps see some value in minting zero cent coins?
>>
>>> Probably: after all, its zero sense.
>>
>> I am trying to remember when Fortran introduced arrays with
>> arbitrary indexing, that is, starting at numbers other than
>> 1. I have not programmed in Fortran in years and I do
>> remember the change but not when it happened.
>>
> You always could "start" at numbers other than one. Or are
> you talking about the actual memory assigned to the array?

Yes, there were ways of doing that but when you defined an array with,
say,

DIMENSION A(100)

The array elements were A(1) to A(100).

I think it was Fortran77 where, say,

REAL (0:99) :: A

became a valid declaration.

--

James Silverton
Potomac, Maryland

Email, with obvious alterations: not.jim.silverton.at.verizon.not

From: Glenn Knickerbocker on
On Sat, 27 Feb 2010 00:40:58 -0700, Hatunen wrote:
>On Fri, 26 Feb 2010 22:04:18 -0800 (PST), Andrew Usher
><k_over_hbarc(a)yahoo.com> wrote:
>>Adam Funk wrote:
>>> The earth's rotation has been slowing down faster than we've been
>>> evolving.
>>Certainly not.
>That would kind of depend on how fast we've been evolving,

and on whether a positive speed is properly described as faster than a
negative one, which is presumably what the other sentence in Adam's post
was getting at.

�(Olympians'R'Us)R