Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Dominion Voting Systems

Dominion Voting Systems

Scheduled Pinned Locked Moved The Lounge
question
52 Posts 33 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • realJSOPR realJSOP

    How many of you - as developers - are taken aback by the revelations concerning the state of Dominion Voting Systems? Why would any self-respecting developer agree to write code in such a way as to allow subversion of its targeted purpose? What retard decided that storing vote counts as floating point numbers was a "good idea"? ANYBODY that's been a developer for any length of time knows damn well that when you do math with floating point numbers, the result is an *approximation*. and is therefore not accurate. Even more importantly, why would anyone use software that was demonstrably accuracy-challenged and so easily corrupted?

    ".45 ACP - because shooting twice is just silly" - JSOP, 2010
    -----
    You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
    -----
    When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

    5 Offline
    5 Offline
    5teveH
    wrote on last edited by
    #10

    Fake news?

    realJSOPR R 2 Replies Last reply
    0
    • M Marc Clifton

      #realJSOP wrote:

      What retard decided that storing vote counts as floating point numbers was a "good idea"?

      Well, everyone knows that an int can only go up to 32,767 so you have to use a float to count higher! ;P

      Latest Articles:
      Thread Safe Quantized Temporal Frame Ring Buffer

      M Offline
      M Offline
      musefan
      wrote on last edited by
      #11

      That's the short answer.

      1 Reply Last reply
      0
      • OriginalGriffO OriginalGriff

        I think the developers have entirely too many fingers ... ;)

        "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!

        Mike HankeyM Offline
        Mike HankeyM Offline
        Mike Hankey
        wrote on last edited by
        #12

        You're probably right

        I'm not sure how many cookies it makes to be happy, but so far it's not 27. JaxCoder.com

        1 Reply Last reply
        0
        • realJSOPR realJSOP

          How many of you - as developers - are taken aback by the revelations concerning the state of Dominion Voting Systems? Why would any self-respecting developer agree to write code in such a way as to allow subversion of its targeted purpose? What retard decided that storing vote counts as floating point numbers was a "good idea"? ANYBODY that's been a developer for any length of time knows damn well that when you do math with floating point numbers, the result is an *approximation*. and is therefore not accurate. Even more importantly, why would anyone use software that was demonstrably accuracy-challenged and so easily corrupted?

          ".45 ACP - because shooting twice is just silly" - JSOP, 2010
          -----
          You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
          -----
          When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #13

          Why would anyone release a contact tracing app that goes to sleep in the background? Only in Alberta, Canada you say? Pity.

          It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it. ― Confucian Analects: Rules of Confucius about his food

          OriginalGriffO 1 Reply Last reply
          0
          • realJSOPR realJSOP

            How many of you - as developers - are taken aback by the revelations concerning the state of Dominion Voting Systems? Why would any self-respecting developer agree to write code in such a way as to allow subversion of its targeted purpose? What retard decided that storing vote counts as floating point numbers was a "good idea"? ANYBODY that's been a developer for any length of time knows damn well that when you do math with floating point numbers, the result is an *approximation*. and is therefore not accurate. Even more importantly, why would anyone use software that was demonstrably accuracy-challenged and so easily corrupted?

            ".45 ACP - because shooting twice is just silly" - JSOP, 2010
            -----
            You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
            -----
            When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #14

            Just adding 1 to a float ... it doesn't take long before you get xx.00000000001

            It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it. ― Confucian Analects: Rules of Confucius about his food

            1 Reply Last reply
            0
            • M Marc Clifton

              #realJSOP wrote:

              What retard decided that storing vote counts as floating point numbers was a "good idea"?

              Well, everyone knows that an int can only go up to 32,767 so you have to use a float to count higher! ;P

              Latest Articles:
              Thread Safe Quantized Temporal Frame Ring Buffer

              realJSOPR Online
              realJSOPR Online
              realJSOP
              wrote on last edited by
              #15

              A max int has been 2,147,483,647 since BEFORE dominion wrote their software. There are significantly fewer than 2 billion voters in the entire U.S.. There is *no excuse* for using a floating point value.

              ".45 ACP - because shooting twice is just silly" - JSOP, 2010
              -----
              You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
              -----
              When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

              C M 2 Replies Last reply
              0
              • J Jorgen Andersson

                Hasn't this been a problem for quite a few years?

                Wrong is evil and must be defeated. - Jeff Ello Never stop dreaming - Freddie Kruger

                realJSOPR Online
                realJSOPR Online
                realJSOP
                wrote on last edited by
                #16

                Yes. Dominion's software has been a problem since before 2012.

                ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                -----
                You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                -----
                When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                1 Reply Last reply
                0
                • 5 5teveH

                  Fake news?

                  realJSOPR Online
                  realJSOPR Online
                  realJSOP
                  wrote on last edited by
                  #17

                  Not at all. All you have to do is a simple google search.

                  ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                  -----
                  You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                  -----
                  When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                  5 D 2 Replies Last reply
                  0
                  • L Lost User

                    Why would anyone release a contact tracing app that goes to sleep in the background? Only in Alberta, Canada you say? Pity.

                    It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it. ― Confucian Analects: Rules of Confucius about his food

                    OriginalGriffO Offline
                    OriginalGriffO Offline
                    OriginalGriff
                    wrote on last edited by
                    #18

                    That's OK. The UK one used an Excel spreadsheet to record positive test results ... an XLS file ... with a max of 64K rows ... :doh: £35M that cost, apparently.

                    "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!

                    "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                    "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                    C M 2 Replies Last reply
                    0
                    • realJSOPR realJSOP

                      How many of you - as developers - are taken aback by the revelations concerning the state of Dominion Voting Systems? Why would any self-respecting developer agree to write code in such a way as to allow subversion of its targeted purpose? What retard decided that storing vote counts as floating point numbers was a "good idea"? ANYBODY that's been a developer for any length of time knows damn well that when you do math with floating point numbers, the result is an *approximation*. and is therefore not accurate. Even more importantly, why would anyone use software that was demonstrably accuracy-challenged and so easily corrupted?

                      ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                      -----
                      You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                      -----
                      When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                      D Offline
                      D Offline
                      Daniel Pfeffer
                      wrote on last edited by
                      #19

                      #realJSOP wrote:

                      What retard decided that storing vote counts as floating point numbers was a "good idea"?

                      The programmers responsible should be hanged, drawn, and quartered for their efforts, and especially for their "design". However, the accuracy problems are mitigated by the following: 1. Assuming only one voting machine per precinct, the number of voters would have to pass 2^24 (16,777,216) before problems would start. Most (all?) precincts in the US aren't that large. 2. Given (1), When calculating the results of local elections, or elections to the House of Representatives, the results will be accurate. 3. The population of California, the largest State, may be represented using 26 bits, i.e. the result will be inaccurate in the last 2 bits. Given that there are ~50 counties, the chance that a vote will be lost at the county level is small (a candidate would have to get more than 2^24 votes, probably more than the total voter register of any single county). When summing the county totals for a State-wide vote (i.e. Gubernatorial, Federal Senate, or Presidential elections), it is possible that a candidate would lose (or gain) a few votes due to round-off. Assuming no State-wide election is decided by less than ~200 votes, any errors are immaterial.

                      #realJSOP wrote:

                      Even more importantly, why would anyone use software that was demonstrably accuracy-challenged and so easily corrupted?

                      Isn't what's good enough for [Tilt Cove, Newfoundland](https://en.wikipedia.org/wiki/Tilt\_Cove) good enough for the entire USA? :-\

                      Freedom is the freedom to say that two plus two make four. If that is granted, all else follows. -- 6079 Smith W.

                      F 1 Reply Last reply
                      0
                      • realJSOPR realJSOP

                        A max int has been 2,147,483,647 since BEFORE dominion wrote their software. There are significantly fewer than 2 billion voters in the entire U.S.. There is *no excuse* for using a floating point value.

                        ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                        -----
                        You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                        -----
                        When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                        C Offline
                        C Offline
                        Chris Maunder
                        wrote on last edited by
                        #20

                        Did Marc forget the joke icon?

                        cheers Chris Maunder

                        1 Reply Last reply
                        0
                        • OriginalGriffO OriginalGriff

                          That's OK. The UK one used an Excel spreadsheet to record positive test results ... an XLS file ... with a max of 64K rows ... :doh: £35M that cost, apparently.

                          "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!

                          C Offline
                          C Offline
                          Chris Maunder
                          wrote on last edited by
                          #21

                          The world runs on Excel spreadsheets. No matter how complicated, finely crafted, or expensive the system is that's put in place, someone, somewhere falls back to managing it all on a spreadsheet.

                          cheers Chris Maunder

                          OriginalGriffO S 2 Replies Last reply
                          0
                          • D Daniel Pfeffer

                            #realJSOP wrote:

                            What retard decided that storing vote counts as floating point numbers was a "good idea"?

                            The programmers responsible should be hanged, drawn, and quartered for their efforts, and especially for their "design". However, the accuracy problems are mitigated by the following: 1. Assuming only one voting machine per precinct, the number of voters would have to pass 2^24 (16,777,216) before problems would start. Most (all?) precincts in the US aren't that large. 2. Given (1), When calculating the results of local elections, or elections to the House of Representatives, the results will be accurate. 3. The population of California, the largest State, may be represented using 26 bits, i.e. the result will be inaccurate in the last 2 bits. Given that there are ~50 counties, the chance that a vote will be lost at the county level is small (a candidate would have to get more than 2^24 votes, probably more than the total voter register of any single county). When summing the county totals for a State-wide vote (i.e. Gubernatorial, Federal Senate, or Presidential elections), it is possible that a candidate would lose (or gain) a few votes due to round-off. Assuming no State-wide election is decided by less than ~200 votes, any errors are immaterial.

                            #realJSOP wrote:

                            Even more importantly, why would anyone use software that was demonstrably accuracy-challenged and so easily corrupted?

                            Isn't what's good enough for [Tilt Cove, Newfoundland](https://en.wikipedia.org/wiki/Tilt\_Cove) good enough for the entire USA? :-\

                            Freedom is the freedom to say that two plus two make four. If that is granted, all else follows. -- 6079 Smith W.

                            F Offline
                            F Offline
                            F ES Sitecore
                            wrote on last edited by
                            #22

                            BigInteger Struct (System.Numerics) | Microsoft Docs[^]

                            D 1 Reply Last reply
                            0
                            • C Chris Maunder

                              The world runs on Excel spreadsheets. No matter how complicated, finely crafted, or expensive the system is that's put in place, someone, somewhere falls back to managing it all on a spreadsheet.

                              cheers Chris Maunder

                              OriginalGriffO Offline
                              OriginalGriffO Offline
                              OriginalGriff
                              wrote on last edited by
                              #23

                              Guilty! :laugh:

                              "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!

                              "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                              "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                              1 Reply Last reply
                              0
                              • realJSOPR realJSOP

                                Not at all. All you have to do is a simple google search.

                                ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                                -----
                                You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                                -----
                                When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                                5 Offline
                                5 Offline
                                5teveH
                                wrote on last edited by
                                #24

                                #realJSOP wrote:

                                Not at all. All you have to do is a simple google search.

                                Yeh, I already did that and all I saw was reports that Trump was claiming this had cost him the election and whole bunch of news sites saying "No, not true". Which is why I posted "Fake news?" I'm guessing you got the information from somewhere. Why not let us have the link to that.

                                1 Reply Last reply
                                0
                                • realJSOPR realJSOP

                                  Not at all. All you have to do is a simple google search.

                                  ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                                  -----
                                  You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                                  -----
                                  When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                                  D Offline
                                  D Offline
                                  dhaxton
                                  wrote on last edited by
                                  #25

                                  I did a simple Google search - and the only place I can find this claim is at: MIT PhD Analysis of Michigan Vote Reveals Unfortunate Truth about U.S. Voting Systems - The Thinking Conservative[^] To discover it's credibility just Google it's owner: Shiva Ayyadurai So yes, I strongly suspect this is fake news. Give me a better link not run by a complete crank and I'll revise my opinion. Thanx, Dave H.

                                  1 Reply Last reply
                                  0
                                  • realJSOPR realJSOP

                                    How many of you - as developers - are taken aback by the revelations concerning the state of Dominion Voting Systems? Why would any self-respecting developer agree to write code in such a way as to allow subversion of its targeted purpose? What retard decided that storing vote counts as floating point numbers was a "good idea"? ANYBODY that's been a developer for any length of time knows damn well that when you do math with floating point numbers, the result is an *approximation*. and is therefore not accurate. Even more importantly, why would anyone use software that was demonstrably accuracy-challenged and so easily corrupted?

                                    ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                                    -----
                                    You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                                    -----
                                    When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                                    F Offline
                                    F Offline
                                    fd9750
                                    wrote on last edited by
                                    #26

                                    Knowing where the "revelations" come from: it is just another case of total b******t. Yes: floating point may cause a slight difference or rounding error here or there but they pale into insignificance. Only total ignorance and the wish to peddle that to those who don't have a clue either is the reason behind spreading this. Being a long time developer I know better, no way on earth do you lose "millions of votes" because of it, you only have yourself to thank for that.

                                    1 Reply Last reply
                                    0
                                    • realJSOPR realJSOP

                                      How many of you - as developers - are taken aback by the revelations concerning the state of Dominion Voting Systems? Why would any self-respecting developer agree to write code in such a way as to allow subversion of its targeted purpose? What retard decided that storing vote counts as floating point numbers was a "good idea"? ANYBODY that's been a developer for any length of time knows damn well that when you do math with floating point numbers, the result is an *approximation*. and is therefore not accurate. Even more importantly, why would anyone use software that was demonstrably accuracy-challenged and so easily corrupted?

                                      ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                                      -----
                                      You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                                      -----
                                      When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                                      D Offline
                                      D Offline
                                      David ONeil
                                      wrote on last edited by
                                      #27

                                      #realJSOP wrote:

                                      What retard decided that storing vote counts as floating point numbers was a "good idea"?

                                      It's not a good idea, but it doesn't seem to be as bad as you are implying. You would have to do far more testing than this simple program, and on the specific hardware of the machines, but on my machine it doesn't change the count by a single vote, even when using almost three times more people than there are in the US.

                                      #include <iostream>

                                      int main() {
                                      __int64 test = 0;
                                      double d = 0;
                                      for (int i=0; i<16777216; ++i) {
                                      d = d + 1;
                                      }
                                      std::cout << d << std::endl;

                                      d = 0;
                                      for (__int64 i=0; i<1000000000; ++i) {
                                      d = d+1;
                                      }
                                      std::cout << d;
                                      return 0;
                                      }

                                      The forgotten roots of science | C++ Programming | DWinLib

                                      P 1 Reply Last reply
                                      0
                                      • 5 5teveH

                                        Fake news?

                                        R Offline
                                        R Offline
                                        Rage
                                        wrote on last edited by
                                        #28

                                        Not sure how accurate a source the New York times is, but it looks like it is indeed a fake news[^].

                                        Do not escape reality : improve reality !

                                        1 Reply Last reply
                                        0
                                        • realJSOPR realJSOP

                                          How many of you - as developers - are taken aback by the revelations concerning the state of Dominion Voting Systems? Why would any self-respecting developer agree to write code in such a way as to allow subversion of its targeted purpose? What retard decided that storing vote counts as floating point numbers was a "good idea"? ANYBODY that's been a developer for any length of time knows damn well that when you do math with floating point numbers, the result is an *approximation*. and is therefore not accurate. Even more importantly, why would anyone use software that was demonstrably accuracy-challenged and so easily corrupted?

                                          ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                                          -----
                                          You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                                          -----
                                          When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                                          P Offline
                                          P Offline
                                          PIEBALDconsult
                                          wrote on last edited by
                                          #29

                                          Python developers maybe? :laugh: However, I am reminded of when I was first learning to write programs in BASIC-PLUS on a PDP-11 in 1983, the book clearly states: "floating point calculations are more accurate than integer calculations" and "integers have a range only from -32768% to +32767%" We did everything in floating point and had no idea why anyone would ever use integers. (OK, VAXBASIC uses 32-bit integers.)

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups