Article View: ne.general
Article #1583Re: What are the algorithms compiled in the software used for tabulating elections ballots in Cambridge Massachusetts?...
From: Charles Demas
Date: Wed, 11 Aug 2004 06:04
Date: Wed, 11 Aug 2004 06:04
64 lines
2987 bytes
2987 bytes
In article <opscjualbeafs1jp@newshost.vvm.com>, LarryG <no.return.addr@none.com> wrote: >On Wed, 11 Aug 2004 00:14:13 +0000 (UTC), Charles Demas ><demas@TheWorld.com> wrote: > >> In article <FscSc.10759$KZ2.6542@fe2.texas.rr.com>, >> Alan R. Weiss <alan@ebenchmarks.com> wrote: >>> No, I meant OR, not AND. >>> >>> Been awhile since you touched code, Larry? >> >> From below: >> >>>> if (!DEMOCRAT) && (!REPUBLICAN) >> >> if the voter is a republican then the if is >> >> if (1) && (0) >> >> and if the voter is a democrat then the if is >> >> if (0) && (1) >> >> and if the voter is a something else then the if is >> >> if (1) && (1) >> >> so regardless of what the voter is, the if evaluates as true, >> so the if serves no purpose. >> >> Been a while since you used logic??? >> >> >> Chuck Demas >> > >I'm not sure who's side you're on, or what you are trying to say, >but the last time I used C / C++ / Java / Javascript / Perl / etc.: > > >&& == LOGICAL 'AND' >|| == LOGICAL 'OR' > > if (!DEMOCRAT) && (!REPUBLICAN) > >evaluates to true only when: >the voter is not a Democrat AND the voter is not a Republican. > >cheers, >Larry G. I got confused, and my post is all screwed up. That's easier than trying to explain. FWIW, I was trying to correct Alan. As I said, all screwed up. :-) Chuck Demas -- Eat Healthy | _ _ | Nothing would be done at all, Stay Fit | @ @ | If a man waited to do it so well, Die Anyway | v | That no one could find fault with it. demas@theworld.com | \___/ | http://world.std.com/~cpd
Technical Details
Message-ID:
<cfcctl$r1o$1@pcls3.std.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newspeer.monmouth.com!newsfeed.mathworks.com!nntp.TheWorld.com!demasReferences:
<y44d62157dd.fsf@nestle.csail.mit.edu> <FscSc.10759$KZ2.6542@fe2.texas.rr.com> <cfbocl$f4h$1@pcls3.std.com> <opscjualbeafs1jp@newshost.vvm.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 1130cb,ba8c601fff0b23a7 X-Google-Thread: 10b82c,3b2fd53f4771c75f X-Google-Thread: f8b06,3b2fd53f4771c75f X-Google-Attributes: gid1130cb,gid10b82c,gidf8b06,public X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newspeer.monmouth.com!newsfeed.mathworks.com!nntp.TheWorld.com!demas From: demas@TheWorld.com (Charles Demas) Newsgroups: ne.general,austin.general,nh.general Subject: Re: What are the algorithms compiled in the software used for tabulating elections ballots in Cambridge Massachusetts?... Date: Wed, 11 Aug 2004 06:04:37 +0000 (UTC) Organization: Pot Kettle Black Lines: 64 Sender: demas@TheWorld.com Message-ID: <cfcctl$r1o$1@pcls3.std.com> References: <y44d62157dd.fsf@nestle.csail.mit.edu> <FscSc.10759$KZ2.6542@fe2.texas.rr.com> <cfbocl$f4h$1@pcls3.std.com> <opscjualbeafs1jp@newshost.vvm.com> NNTP-Posting-Host: shell01.theworld.com X-Trace: pcls3.std.com 1092204277 27704 192.74.137.71 (11 Aug 2004 06:04:37 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Wed, 11 Aug 2004 06:04:37 +0000 (UTC) Mail-Copies-To: poster X-Humanitas: Wilde Irishe Loone Originator: demas@TheWorld.com X-Newsreader: trn 4.0-test72 (19 April 1999)