Article View: ne.general
Article #1580Re: What are the algorithms compiled in the software used for tabulating elections ballots in Cambridge Massachusetts?...
From: Charles Demas
Date: Wed, 11 Aug 2004 00:14
Date: Wed, 11 Aug 2004 00:14
102 lines
3427 bytes
3427 bytes
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
>
>
>"LarryG" <no.return.addr@none.com> wrote in message
>news:opsch3jsriafs1jp@newshost.vvm.com...
>> On Mon, 09 Aug 2004 22:37:23 GMT, Alan R. Weiss <alan@ebenchmarks.com>
>> wrote:
>>
>> > "Don Saklad" <dsaklad@nestle.csail.mit.edu> wrote in message
>> > news:y44d62157dd.fsf@nestle.csail.mit.edu...
>> >> Thank you John !
>> >>
>> >>
>> >> a. Step by step what are the mathematical procedures for tabulating
>> > elections
>> >> ballots in Cambridge Massachusetts?...
>> >>
>> >>
>> >> b. What are the algorithms compiled in the software used for tabulating
>> >> elections ballots in Cambridge Massachusetts?...
>> >
>> > In Cambridge, Mass:
>> >
>> > if (!DEMOCRAT)
>> > {
>> > ++votecount;
>> > } else
>> >
>> > {
>> > ++trashcan;
>> > }
>> >
>> >
>> > But for the Presidential Debates:
>> >
>> > if (!DEMOCRAT) || (!REPUBLICAN)
>> > {
>> > ++ignore_Libertarians;
>> > *League_Of_Women_Voters_Bank_Account = dollars;
>> > }
>> >
>> >
>> > With apologies to K & R.
>> >
>> > Alan
>>
>>
>> Eh, . . . that last one should read:
>>
>> if (!DEMOCRAT) && (!REPUBLICAN)
>> ---------------^^
>>
>>
>> Been a while since you touched code?
>>
>> Cheers,
>> Larry G.
>>
>> --
>> Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
>
>
--
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:
<cfbocl$f4h$1@pcls3.std.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsswitch.lcs.mit.edu!nntp.TheWorld.com!demasReferences:
<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>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!news2.google.com!news.maxwell.syr.edu!newsswitch.lcs.mit.edu!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 00:14:13 +0000 (UTC) Organization: Pot Kettle Black Lines: 102 Sender: demas@TheWorld.com Message-ID: <cfbocl$f4h$1@pcls3.std.com> 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> NNTP-Posting-Host: shell01.theworld.com X-Trace: pcls3.std.com 1092183253 15505 192.74.137.71 (11 Aug 2004 00:14:13 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Wed, 11 Aug 2004 00:14:13 +0000 (UTC) Mail-Copies-To: poster X-Humanitas: Wilde Irishe Loone Originator: demas@TheWorld.com X-Newsreader: trn 4.0-test72 (19 April 1999)