Prev: simple question power, resistance, current, etc
Next: OBSERVATIONS: Einstein's gravitational redshift measured with unprecedented precision
From: CDB on 25 Feb 2010 13:34 jmfbahciv wrote: > Peter T. Daniels wrote: > [industrial leave] > >> What's significant about Mr >> (formerly St) Valentine? > > Oh, are you ever in trouble ;-) > According to Google, his handle hasn't been attached to a posting since 2006; so maybe it's Saint Valentine again. Hope not. Would no more RJ mean no more RF, YJ, or CJ either?
From: R H Draney on 25 Feb 2010 13:36 Adam Funk filted: > >On 2010-02-24, 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..." > >The initialized state of my shopping basket contains 0 items. Each >item I put in increments it. If I initialized at 1, my shopping would >crash with a 1-off error on unpacking. And if you crash a shopping cart, the store will ban you from coming there again in the future....r -- "Oy! A cat made of lead cannot fly." - Mark Brader declaims a basic scientific principle
From: Peter Moylan on 25 Feb 2010 18:00 Adam Funk wrote: > On 2010-02-24, 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..." > > The initialized state of my shopping basket contains 0 items. Each > item I put in increments it. If I initialized at 1, my shopping would > crash with a 1-off error on unpacking. If your shopping basket had been designed by a C programmer, its initial state would be the state just before the zeroth item was inserted. That suggests that initially the basket contains -1 items. -- Peter Moylan, Newcastle, NSW, Australia. http://www.pmoylan.org For an e-mail address, see my web page.
From: Mensanator on 25 Feb 2010 18:25 On Feb 25, 5:00 pm, Peter Moylan <gro.nalyomp(a)retep> wrote: > Adam Funk wrote: > > On 2010-02-24, 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..." > > > The initialized state of my shopping basket contains 0 items. Each > > item I put in increments it. If I initialized at 1, my shopping would > > crash with a 1-off error on unpacking. > > If your shopping basket had been designed by a C programmer, its initial > state would be the state just before the zeroth item was inserted. That > suggests that initially the basket contains -1 items. This is still wrong. As a database programmer, the initial state of my shopping basket is Null. Only after I make a decision about whether to buy Mallomars does the state (with respect to Mallomars) change to 0 or 1. The initial state is never -1. Don't be confused by the practical consideration of not being able to distinguish between Null and 0. In databases, there is no ambiguity at all, since anything added to a Null results in Null, anything compared to a Null is false. The same does NOT hold for values of 0. 99 bottles of beer on the wall, 99 bottles of beer! If Null bottles should happen to fall, Null bottles of beer on the wall! > > -- > Peter Moylan, Newcastle, NSW, Australia. http://www.pmoylan.org > For an e-mail address, see my web page.
From: Robert Bannister on 25 Feb 2010 20:36
tony cooper wrote: > On Wed, 24 Feb 2010 09:14:04 +0800, Robert Bannister > <robban1(a)bigpond.com> wrote: > >> Ant�nio Marques wrote: >> >>> It's not what you think. Either the Church's message is universal and >>> Christ did found one Church, or it isn't. >> Now there's a new one: the first I've heard that Jesus founded or even >> wanted a church. > > I thought he delegated the job to Peter. > > I don't think so. I believe he did ask Peter and the others to keep on spreading the word, but I have seen no mention of churches, priests, buildings, vestments or choir boys in the New Testament. -- Rob Bannister |