Slashdot Mirror


Software Bug Adds 5K Votes To Election

eldavojohn writes "You may be able to argue that a five-thousand-vote error is a small price to pay for a national election, but these errors are certainly inadmissible on a much smaller scale. According to the Rapid City Journal, a software glitch added 4,875 phantom ballots in a South Dakota election for a seat on the city council. It's not a hardware security problem this time; it's a software glitch. Although not unheard of in electronic voting, this bug was about to cause a runoff vote since the incumbent did not hold a high enough percentage of the vote. That is no longer the case after the numbers were corrected. Wired notes it's probably a complex bug as it is not just multiplying the vote count by two. Here's to hoping that AutoMark follows suit and releases the source code for others to scrutinize."

22 of 239 comments (clear)

  1. Uh oh... by Anonymous Coward · · Score: 3, Funny

    The software has achieved sentience and is trying to elect its robot overlords! Before anyone else... I for one welcome our democratically elected robot overlords.

    1. Re:Uh oh... by Jonas+Buyl · · Score: 2, Funny

      What? I thought Hillary didn't make it to president after all?

    2. Re:Uh oh... by neoform · · Score: 3, Funny

      No no no, it's clearly a glitch. Counting numbers (e.g. 1+1) really isn't a computer's strong suit, so it's understandable that it would sometimes do this, 1+ 1 + 1 + 1 + 5000 + 1 + 1.

      --
      MABASPLOOM!
    3. Re:Uh oh... by NotBorg · · Score: 3, Funny

      I'd mod you funny but I've completely lost faith in electronic voting.

      --
      I want this account deleted.
  2. Bug? by david@ecsd.com · · Score: 2, Funny

    It's not a bug, it's a feature.

  3. Probably counting screen touches outside buttons by h4x354x0r · · Score: 2, Funny

    Wired thinks it's "probably a complex bug"? I think probably not, it's probably something blindingly simple, and stupid.

    --
    They were right - the revolution did not get televised. It was posted on YouTube instead. All in 120 characters. SLOOSH!
  4. Re:How hard can it be? by Nursie · · Score: 4, Funny

    Ah, "Shaky" Jim was off his meds again.

  5. Re:How hard is it for a computer to do addition? by tangent3 · · Score: 4, Funny

    Additions just aren't so simple anymore in concurrent computing. The obvious way to do addition in gcc c would be:

    totalVotes[candidate]++;

    but this will totally screw up the vote count, whereas

    __sync_add_and_fetch(&totalVotes[candidate], 1);

    gets it right.

  6. looking at the source code by moon3 · · Score: 2, Funny

    vote = GetVote( );


    if( vote = my_candidate )
    {
    my_candidate_votes = my_candidate_votes + 2;
    } else {
    other_candidate_votes = other_candidate_votes + 1;
    }


    In the source code as complex as this, you will probably need a PhD in computer science...

    /s

  7. Re:How hard is it for a computer to do addition? by tangent3 · · Score: 5, Funny



    void vote(int candidate)
    {
       switch (candidate)
       {
          case GEORGE_BUSH:
             totalVotes[GEORGE_BUSH] ++;

          case AL_GORE:
             totalVotes[AL_GORE] ++;
             break;
       }
    }

  8. It's simple by Mad-Bassist · · Score: 5, Funny

    Someone forgot to clear the chad bit!

    --
    "The only legitimate use of a computer is to play games." - Eugene Jarvis
    1. Re:It's simple by Anonymous Coward · · Score: 1, Funny

      It's worse than that. Some of the bits were in an indeterminate "hanging bit" state which take much longer to process. Combine that with the fact that the bits were not actually located in their associated bytes, but were rather distributed in a "butterfly-byte" configuration and you see how difficult it is to arrive at an accurate total.

  9. Doubles by Paddo_Aus · · Score: 2, Funny

    Was there a double B, double G, double L?

  10. Re:Blckboxvoting.org by nedlohs · · Score: 4, Funny

    Yes, but it's hilarious when there were only 5600 actual votes cast. +/-100% error bars, is good enough for government work apparently.

  11. Re:How hard is it for a computer to do addition? by C_Kode · · Score: 2, Funny

    Real life appears to disagree with you! :D

  12. Re:How hard is it for a computer to do addition? by Cixelsiduous · · Score: 5, Funny

    eh...your first case statement is missing a break. As it currently stands, a vote for GEORGE_BUSH also adds a vote for AL_GORE. I dunno maybe you left it out on purpose to make a point? I guess the bigger question is: why do I care? The answer of course is because I have no friends.

  13. PuhLease by wtbname · · Score: 3, Funny

    Can't these idiots get anything right? This is so freaking easy to fix it boggles the mind.... votes = votes - 5000 ; There. Done.

  14. whiners by commodoresloat · · Score: 2, Funny

    A software error resulting in +/- 5000 votes cast is unacceptable on any level, even if it gets drowned out on the national level in the US.

    You know, some people are always complaining. First you complain that there's not enough people turning out to vote each election, that people are apathetic, etc. Finally someone develops some software that fixes that problem and now everyone complains about that!!

  15. The real issue by Subm · · Score: 3, Funny

    The real issue isn't that the votes were miscounted in South Dakota.

    It's that I bought them for South Carolina!

  16. Re:How hard is it for a computer to do addition? by EkriirkE · · Score: 2, Funny

    I think you meant to have Gore first, then Bush...

    --
    from 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
    to 45 2F 6E 40 3C DF 10 71 4E 41 DF AA 25 7D 31 3F
  17. Re:How hard is it for a computer to do addition? by TurboNed · · Score: 2, Funny

    The only issue with HDDVD encryption was keeping 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 secret. Oh, crap. There it is.

  18. Re:How hard is it for a computer to do addition? by Quantumstate · · Score: 2, Funny

    Because when a computer has to count 10000 votes (assuming each machine counts and then sends the total) it would just put too much pressure on a single thread. Isn't it obvious?