Article View: ne.general
Article #1582Re: What are the algorithms compiled in the software used for tabulating elections ballots in Cambridge Massachusetts?...
From: LarryG
Date: Wed, 11 Aug 2004 03:50
Date: Wed, 11 Aug 2004 03:50
48 lines
2598 bytes
2598 bytes
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.
Technical Details
Message-ID:
<opscjualbeafs1jp@newshost.vvm.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local1.nntp.dca.giganews.com!nntp.vvm.com!news.vvm.com.POSTED!not-for-mailReferences:
<y44d62157dd.fsf@nestle.csail.mit.edu> <D0TRc.8932$va2.3913@fe1.texas.rr.com> <opsch3jsriafs1jp@newshost.vvm.com> <FscSc.10759$KZ2.6542@fe2.texas.rr.com> <cfbocl$f4h$1@pcls3.std.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!nntp.giganews.com!local1.nntp.dca.giganews.com!nntp.vvm.com!news.vvm.com.POSTED!not-for-mail NNTP-Posting-Date: Tue, 10 Aug 2004 22:47:35 -0500 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?... References: <y44d62157dd.fsf@nestle.csail.mit.edu> <D0TRc.8932$va2.3913@fe1.texas.rr.com> <opsch3jsriafs1jp@newshost.vvm.com> <FscSc.10759$KZ2.6542@fe2.texas.rr.com> <cfbocl$f4h$1@pcls3.std.com> Message-ID: <opscjualbeafs1jp@newshost.vvm.com> Content-Type: text/plain; charset=iso-8859-15; format=flowed From: LarryG <no.return.addr@none.com> MIME-Version: 1.0 Date: Tue, 10 Aug 2004 22:50:35 -0500 User-Agent: Opera7.11/Win32 M2 build 2887 Lines: 48 NNTP-Posting-Host: 66.196.0.129 X-Trace: sv3-ilG91FvUr/G9598kn9EbtJGkG/JZGscHWEloGAziN3BrupWsx18kmh6FeFetrOxmkS+/+coOJEY/MtF!T9318xZGocJf3qkuOghJ0N09Qkc4DaBAXiipAf8Lobxx0tKNcSlAPSE9BB3nDEnFKVw= X-Complaints-To: abuse@vvm.com X-DMCA-Complaints-To: abuse@vvm.com X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.13