Slashdot Mirror


German Elections Go Open Source

Get Behind the Mule writes "The Heise news ticker is reporting that the software used by the German government to handle the results of the Bundestag election (that's the national parliament) on September 22nd will be based on open source platforms. The system will be written in Java and deploy Tomcat, JBoss and MySQL, and is being developed by the Berlin software firm IVU (here's their press release), working with the Statisches Bundesamt (the federal statistics office). It's not clear from the announcements whether the source code of the application itself, and not just the servers it runs on, will be publically available. Nevertheless, one is reminded of the argument of Peruvian congressman Dr. Edgar David Villanueva Nuñez (seen recently in Slashdot) that open source software enables citizens of a democracy to see for themselves whether the work of government, such as elections, is conducted as it should be. All of the announcements are in German, so go fish. The software, as described in the announcements, will compute preliminary results (which are announced as soon as possible after the polls close), run plausibility checks, and determine the Bundestag membership as well as distribution of seats to the political parties. It will use web clients for entry of voting data, data import, presentation of results, and preparation of printed results. It will be based on a three-level architecture (apparently standard J2EE) and deploy Enterprise Java Beans."

58 of 159 comments (clear)

  1. Electionware by adjensen · · Score: 2, Funny

    An interesting concept, to be sure. Were that all of the political process was "open source".

    And even though it is written in Java, they'll still likely have their election results sooner than we had ours in 2000 :-)

    1. Re:Electionware by danro · · Score: 2

      Yeah, if someone wants to file a federal lawsuit to stop the count (and it still baffles me that a candidate in a supposedly democratic election actually did this), they have to be really quick about it. ;-)
      They'll probably only have a window of a few seconds...

      --

      "First lesson," Jon said. "Stick them with the pointy end."
  2. Poetic by dreamchaser · · Score: 3, Interesting

    There is a certain sense of poetic justness about using OSS as the engine behind a democratic process.

    1. Re:Poetic by uebernewby · · Score: 2

      Dunno, it makes perfect sense to me. I'm no OSS zealot by a long shot (I personally have no need for software source as I can't make head nor tails of it anyways - usually), but I can't understand why governments aren't using OSS instead of handing over control of public documents/processes to a commercial entity. I'm really glad the Germans are starting to realize this and I hope the rest of the EU follows their example.

      --

      News and bla for computer musicians: http://lomechanik.net/
  3. Better than Babel? by clickety6 · · Score: 5, Informative

    Try the following translator instead of Babelfish.
    I think it gives a more readable result, especially as it keeps the paragraph formatting.

    http://translator.abacho.de/translate.phtml

    --
    ----------------------------------- My Other Sig Is Hilarious -----------------------------------
  4. Open? Accountability? by Afty0r · · Score: 3, Insightful

    It's not clear from the announcements whether the source code of the application itself, and not just the servers it runs on, will be publically available. Nevertheless, one is reminded of the argument of Peruvian congressman Dr. Edgar David Villanueva Nuñez (seen recently in Slashdot) that open source software enables citizens of a democracy to see for themselves whether the work of government, such as elections, is conducted as it should be.

    It's clear from common sense that if the code to the platform is open source, but not the system itself then there is no way the citizens can see for themselves how the work is being conducted.

    1. Re:Open? Accountability? by mpe · · Score: 3, Interesting

      The ballot counting in Germany is still done by hand (which is good, see US elections), so no software at all (opensource or whatever) is involved. You either trust the results, or you don't

      One thing parts of the US have not caught on to is the concept of one ballot paper per election. IIRC some of the voting in the US involves multiple elections on the same physical ballot paper. Which greatly complicates the issue of recounts, there was talk about needing software to work out which ballots were needed for a recount. As opposed to something like "sort out the blue ones".

      You need the raw data to verify the system, again regardless of the software used. Now IF you have the raw data, the you can verify the system, because the algorithem used is public domain. Regardless of open or closed source.

      But if you don't have the source you can't formally verify that it follows the algorithm. You could end up with something which will give the same results the vast majority of the time.

    2. Re:Open? Accountability? by mpe · · Score: 2

      I would argue quite the contary. If the software is open source, it is all the easier for the corrupt to modify the software in their favor, and never release the changes to the public.

      In which case it isn't really "open source" in the first place. Anyway elections, at least in democratic parts of the world, often go to great pains to minimise the number of people who have a direct interest in the results conducting the count and to ensure that the entire process is open to the scruitiny of any interested party.

      The rest of the world would be looking at the original source, while the corrupt code is running on the server.

      Any interested party can quite easily feed the data into their copy of the program. If you have a situation where every candidate and the press get result A and the "official" version comes up with result B then it will be rather obvious what is going on.

    3. Re:Open? Accountability? by 5KVGhost · · Score: 2
      1) The ballot counting in Germany is still done by hand (which is good, see US elections


      No, ballot counting by hand is Bad. See US elections.
  5. Distribution to other countries? by serps · · Score: 3, Insightful

    First off, congratulations to the German Government. It's good to see the German people upholding the values of democracy, in ironic counterpoint to the USA :P

    The obvious question is this: The German Government now has the software for handling elections; will they now offer that software to the governments of other countries for (free|low cost)?

    --
    "Einstein argued that [...] God is not capricious or arbitrary. No such faith comforts the software engineer." ~ Brooks
    1. Re:Distribution to other countries? by gerddie · · Score: 2

      the most standartised characteristic should be that the one who got the most votes wins

      Which is also not the case in Germany, due to an error in the election rules - see here (german)

  6. I predict: overload. by jukal · · Score: 2, Insightful

    I have seen way too many JBoss and Tomcat things jammed, that it makes me ill. Some people use EJBs just to print out "Hello World". Why don't they just use static HTML, and parse those 42 bytes using a custom apache module written in C, so things might keep trolling better. :)

    1. Re:I predict: overload. by Kerg · · Score: 2

      Perhaps because they want a reliable system. No need to reinvent the wheel here, the J2EE platform is available as Open Source.

    2. Re:I predict: overload. by Kerg · · Score: 2
      well you do have a point, I would have chosen Postgres for the database as well. But supposedly the latest mySQL also has those spanky transactions implemented.

      no clue about mySQL "compliance" wrt sql though

  7. Whereas... by Bennn · · Score: 3, Informative

    ...The UK government jump into bed with M$, having trialed electronic voting for the first time last week. Any bets on a landslide victory for Tony come the next general election? Irrespective of which button the pesky voters actually pushed...

    1. Re:Whereas... by Tom · · Score: 5, Interesting

      Actually, mostly Tony Blair himself. Ever noticed how much the guy loves to be in the company of Bill Gates?
      In contrast, the german government had a left-swing in the last general elections, and with the leftist green party came a bunch of people into the parliament that had actually heard of or even - gasp - used Linux. Microsoft only realized when the parliament was publicly discussing using Linux for all its computers, and retaliated with massive lobbying, winning at least a compromise.

      So this is only the latest event in a number of battles for the european governments.

      --
      Assorted stuff I do sometimes: Lemuria.org
  8. MySQL? by Anonymous Coward · · Score: 4, Insightful
    Why MySQL? Postgresql would be more reliable surely?

    Judging from the amount of posts that Slashdot drops anyway. You need to accurately record every vote, you can't drop 1 in 100,000 even.

    Maybe if they are using MySQL 4 with transactions and all the other stuff, then fine. But really, Postgresql is a better match. And preferable is a solution where you can sue someone if it all goes wrong...

    1. Re:MySQL? by karm13 · · Score: 2, Insightful

      as far as i am informed, the ballots will still be counted locally (by hand), and the outcome will be transmitted to a central server, which then calculates which party gets how many seats in the parlament, a complicated process compared to other countries.

      --

      --
      making up good sigs is a hard thing to do.
    2. Re:MySQL? by CynicTheHedgehog · · Score: 2

      MySQL is fairly reliable; the process on our mail server has been up for hundreds of days (and it is a 3.x beta version I believe). We have something like 50,000 E-mail users and it holds up pretty well.

      It does occansionally suffer some performance drawbacks due to lack of subselects and row-level locking (Some of which is addressed in the 4.x series, but we're too chicken to upgrade). In this respect, yes, Postgres would be much better. But I can't imagine any seriously complicated queries being used in a simple election process.

      Also, probably most importantly, MySQL has (IMO) a better security model than Postgres. That's not to say that MySQL's implementation is better than Postgres' (I doubt it is), but in theory it's great :)

      My big question is why use JBoss and Tomcat? Is the former dependent on the latter? What kind of benefit is there in running both?

    3. Re:MySQL? by awol · · Score: 2

      In truth election systems can be complex. The queries associated therewith extremely un-relational which makes an RDBMS a poor choice of implementation.

      In 1989, I taught myself C writing an election counting application for the particularly complex system used at my university student union. It was only an exercise and so the count was performed in the traditional fashion, with the continual distribution and redistribution of votes until sufficient candidates had been eliminated to determine the council.

      The computer made this process trivial and a count that took upwards of 12 hours by hand for a few thousand votes could be done in the application in seconds (no surprise there). But were I to have used an RDBMS then the number of updates would have been quite horrible and the indexing largely ineffective. Blecch.

      Having said that Germany's preferential voting system is pretty trivial so I don't imagine that performance will be any issue regardles of implementation.

      --
      "The first thing to do when you find yourself in a hole is stop digging."
    4. Re:MySQL? by Kerg · · Score: 3, Informative
      My big question is why use JBoss and Tomcat?

      JBoss implements the whole J2EE platform (including Enterprise JavaBeans, Messaging, Connector Architecture, Management Extensions, etc etc). Tomcat only implements the web layer (servlet & JSPs). JBoss can embed Tomcat as its web tier implementation, although I think using Jetty would have been more reliable and better performing choice as a servlet/JSP container.

    5. Re:MySQL? by Tet · · Score: 4, Insightful
      MySQL is fairly reliable; the process on our mail server has been up for hundreds of days

      This is exactly the sort of anecdotal evidence that open source advocates need to avoid. The fact that it's reliable to that extent is completely irrelevant. Businesses (and in this case, governments) don't care if it goes down occasionally. Sure, they'd rather it didn't. But what they do care about is that if it does go down, they don't lose data integrity. It's far less costly to have 2 hours downtime than it is to have garbage data in your database (potentially without you knowing about it). MySQL doesn't have the ACID properties, that provide this level of assurance, and until it does, it won't really be suitable for this sort of use.

      --
      "The invisible and the non-existent look very much alike." -- Delos B. McKown
    6. Re:MySQL? by CynicTheHedgehog · · Score: 2

      Oh it's come down a few times, but we've never lost any data. The tables have become corrupt too, but mysql bundles a fix utility that saved it. But you're right--user authentication data is pretty trivial in the grand scheme of things. If this was billing data I'd be worried...

      But then one has to wonder, how long to the germans plan to store the election data? Indefinitely? If so, wouldn't it be better to archive it?

      (And that opens up a whole new can of worms. Say 10 years later a bug surfaced and they re-ran the archived data, showing a different victor--would legislation passed in that time become invalid due to a flawed election?)

    7. Re:MySQL? by dhogaza · · Score: 2

      Actually the InnoBase back end does implement ACIDity. Given that I'm an outspoken pro-PostgreSQL bigot with no love of MySQL ... trust me on this!

    8. Re:MySQL? by gorilla · · Score: 2

      Sounds to me like you're saying that voting systems and counting the votes is comlicatated, not that automating them is. In that case, automating them is a good idea. A complicated system done manually is highly prone to making mistakes, which are hard to detect and correct. Each time you have an election, you are prone to making the same mistakes. An automated system can be verified to ensure that it does the correct thing, both by inspection of the source code, and by testing, and the complex & error prone process is done only once (per set of rules).

    9. Re: MySQL? by SteveX · · Score: 2

      Cool thing about people braggin about uptime is it tells you when they last patched their kernel... If someone says they have 100 days uptime then it means they're missing more than three months worth of of patches..

      - Steve

  9. Imagine a concept like this being used in the US by dmouritsendk · · Score: 4, Interesting

    The election results would be prosponed forever, because every single candidate that lost. Have hired a horde of computer scientists to find possible problems with the software being used, that could have effected the results ;)

  10. Are you sure? by Anonymous Coward · · Score: 3, Insightful

    that open source software enables citizens of a democracy to see for themselves whether the work of government, such as elections, is conducted as it should be.

    Nice troll.

    If you think about it, using OSS doesn't guarantee that nobody is cheating. Sure, you have the sources, but how do you know that the sources you have are the ones actually running on the machine? It's not like they're going to let anybody who wants to reinstall the whole thing.

    Yes, it does give you the posibility to check the code to make sure there are no bugs, but it also opens the posibility that anyone with physical access to the machine can install a version of the software which looks the same but has a back door. It used to be that only the original writers had that power, so now you have to trust a lot more people.

    So, no, open source software isn't a magic bullet either.

    1. Re:Are you sure? by mpe · · Score: 2

      If you think about it, using OSS doesn't guarantee that nobody is cheating. Sure, you have the sources, but how do you know that the sources you have are the ones actually running on the machine?

      Because "you" (being the candidate, the press or any other interested party) can feed the data into a copy of the program. This isn't a program to count ballots it's to assign seats using a proportional representation algorithm. In order to skew the actual count itself would need a massive conspiracy amongst the counters.

    2. Re:Are you sure? by Tom · · Score: 3, Interesting

      anyone with physical access to the machine can install a version of the software which looks the same but has a back door. It used to be that only the original writers had that power,

      Uh, not true. Tons of software have been backdoored without access to the source code. Just last year at Blackhat Europe, a very bright guy from Australia described in detail a method that could be used to backdoor a running process.

      --
      Assorted stuff I do sometimes: Lemuria.org
  11. May not release source by CDWert · · Score: 4, Insightful

    They may NOT release the source, and they dont need to.

    If they are using OpenSource components, such as the server enviroment application servers etc.
    They dont need release the source. People ranting that they MUST release the source, etiher are lost in a fantasy.

    If I write an application for counting chicken egg hatching probablity and It runs under Tomcat, JBoss and MySQL I needent release a single thing as long as I dont use any GPL suff in the code I am handling myself.

    That said it would be nice if they do, who cares if they dont. A private software company is doing the development, they may or may not have some kind of agreement or future plans for the software being written.

    I am getting pretty sick of all the OpenSource neophiles barking they must release the code blah blah blah. I think you are probably a large part of the reason MS calls the GPL viral, and people actually belive them. It isn friggin poison fruit. The other reason MS calls the GPL viral of course is projects like this get sold on building upon OpenSource applications, taking gold from a dragon has a tendency to piss it off a wee bit.

    --
    Sig went tro...aahemmm.....fishing........
    1. Re:May not release source by JanneM · · Score: 2

      If your egg-hatching probability application is going to be used only within your own organisation, you can include any GPL code you want and not show the source. Only if you distribute the application will you need to release the source.

      /Janne

      --
      Trust the Computer. The Computer is your friend.
    2. Re:May not release source by CDWert · · Score: 2

      Absolutley true.

      I am unsure, if in fact the Govt is considered and orginaization, or if by the act of voting the public is being exposed to its derivative works, a little cloudy this morning.

      Guess its all moot since it not like freshmeat exactly has 25 Govt election packages hangning around :)

      --
      Sig went tro...aahemmm.....fishing........
  12. Hmmm by NiftyNews · · Score: 4, Funny

    "The software will...run plausibility checks"

    Hopefully they mean on the votes. If you ran it on the candidate promises you'd have a 95% failure rate!

  13. "Statisches" Bundesamt? by mczak · · Score: 3, Funny

    I guess that should be "Statistisches" Bundesamt. Being a governmental organization, they might not be very dynamic, but to call them "static" is a bit unfair...

  14. MySQL by mixbsd · · Score: 3, Funny

    select * from politicians where clue > 0

  15. Fewer Lines! by White+Roses · · Score: 3, Funny
    Gee, if they had done it with .NET, they could have done it with fewer lines of code!

    And left open security holes, and been vulnerable to virii. But, but, fewer lines of code!

    --
    Do not touch -Willie
  16. And in other news... by Ethelred+Unraed · · Score: 4, Funny

    In a strange result of the September 2002 general election in Germany caused by an unknown quirk in the software, Linus Torvalds was elected Chancellor, with Richard M. Stallman foreign minister. Thanks to Stallman's diplomatic skills, 104 countries declared war on the recently-renamed GNU/Germany. Film at 11.

    --
    Everyone wants to be Ethelred. Even I want to be Ethelred.
  17. OpenSource for german schools by darkcookie · · Score: 2, Informative

    Hi,

    my wife is a teacher of a german primary school and there she is a representative for new technologies. So I get all the info-material the school gets from our government for consulting issues ;-)

    And, i'm impressed of the OpenSource-activities they do for german schools. For example they support the opensource school-server project of the (IMHO best) german computer magazine c't and have a detailed brochure about the use of open-source software.

    darkcookie

  18. Great except for one thing.... by MtViewGuy · · Score: 3, Interesting

    The press release forgot to mention what operating system the computers are using.

    People might think the German government is using a Linux variant, but given that all the tools mentioned in the release probably work under BSD variants I have a feeling that they're using a combination of OpenBSD/FreeBSD, an OS that is much-liked for its ability to handle large numbers of transactions and its very high level of security.

  19. Re:Are these guys crazy?! by 3247 · · Score: 2
    MySQL? Isn't the integrity and correctness of elections kind of important?
    Well, acording to the article, it will only be used for the preliminary results. If anything goes wrong here, we will still have the correct results a few day afterwards (which is still faster than the US ;-)).
    --
    Claus
  20. OSS in Germany by theolein · · Score: 3, Insightful

    OSS is actually very strong in Germany. If you take a look at the netcraft percentages, it's higher than in the US.

    The German government could do worse. A proprietry package would probably do the job as well, especially considering that the actual counting is done by hand (although this does eliminate the possibility of machine error in the actual voting process and of someone cracking a voting line). The reasons behind this are probably economic: MySQL, Tomcat, JBoss on Linux with a web client cost a lot less to implement for all the counting stations than a proprietry solution and Germany has the positive effect of supporting it's own software industry (SuSE) rather than someone else's.

  21. SuSE by theolein · · Score: 2

    Considering that SuSE is German (and extremely popular in Germany as well) I would think that it ould be them.

    1. Re:SuSE by MtViewGuy · · Score: 2

      The reason why I assum the use of OpenBSD/FreeBSD is the ability to handle big transaction loads (which is definitely needed for that German election computer system) and have high security on the initial install (which you definitely want with election computers).

      If they wanted to show Linux could handle such a load I'm sure SuSE Linux would have been prominently mentioned. That's why I was a bit puzzled by no mention of what Open Source OS was used.

  22. Before you start thinking the US should try this.. by Asprin · · Score: 4, Insightful
    There it a push in the US to standardize the election process to try to head off the kind of thing that happened in Florida in the US Presidential election of 2000. I don't know how long Germany has used a standard voting system or whether they've done it - to this point - US style, but I anticipate a lot of 1337 s1ah5d07 p0s73X0ring along the lines of 'we should do that too, 'cause Florida 2000 sucked!' I want to head off as much of that as possible.

    The US Forefathers were smart - they intentionally left the specific details of how to collect the vote and tally the results to the states, and ultimately, the local county districts. They weren't concerned as much about regional cultural and financial differences as much as they were concerned about the integrity of the election process.

    If I wanted to rig an election in the US, I would have to rig it ONE COUNTY AT A TIME, because each election office makes their own choice how to operate on the voting day in question.

    With a centralized, standard voting system like Germany's open source plan, I would just have to know how to rig one system.
    The Florida election worked exactly as it should have - the election was just really close. It sucks that we couldn't just call the election at 10PM and go to bed, but you know what? Your vote *does* matter.

    --
    "Lawyers are for sucks."
    - Doug McKenzie
  23. Re:And how, pray tell, would that happen? by theolein · · Score: 2

    No, of course I'm not, but if there are say rounding errors or floating point errors in the code (this happens to everyone) and there *are* irregularities that get noticed, an independant commision of inquiry will be able to find the error with the help of a lot of coders who have used these tools and worked on the implementation compared to say having to go through an international court in order to get MS, Sun, Oracle or IBM to release some code.

  24. Re:Are these guys crazy?! by r3v3ng · · Score: 2, Informative

    I have never has a problem with PostgreSQL, its usability and speed kick over MySQL,
    We have used out PostgreSQL server running millions of rows without a problem for a year or so now,
    under MySQL I have performance drop off with only about 5000 rows...

  25. Re:Before you start thinking the US should try thi by theolein · · Score: 2

    I'm not so sure. In the US you have an electoral college and in Germany you have direct voting. I'm not sure whether the electoral college system is open to abuse but I think, considering that Gore had more overall votes, that Gore would have won in Germany.

  26. Re:Imagine a concept like this being used in the U by theolein · · Score: 2

    If the US does move to a standardized electronic voting system proprietry or closed, considering that it is much easier to sue in the US than it is in Germany, I think you would be right in the effect but not in the system.

  27. Re:Before you start thinking the US should try thi by GMontag · · Score: 2, Offtopic

    2000 US presidential election Bob Beckel proposed to invistigate electors and blackmail them. Guess what? He ain't a Republican, he is a Democrat.

    In 1960 a worse problem than Florida in 2000 cropped up and it was left to the President of the Senate to choose which set of electors to use from Hawaii, a very close vote there. Richard Nixon chose the set that gave the election to John F. Kennedy, because it was the right thing to do.

    Don't believe me? Look it up yourself on Google, I will not give you links that only support my side of the arguement.

  28. GNU Free voting project by bckspc · · Score: 4, Informative
    If you're interested in this sort of thing, check out the GNU Free voting project at http://www.free-project.org/. From the site:

    We are a free software project creating Java electronic voting software released under the General Public License (GPL). With this software we aim to:-

    Provide a secure and private system

    Create scalable and reliable software

    Offer a non-commercial, non-partisan voting alternative

    Use the GPL to create an open system that Internet users will trust

    Release a system that can be used to support the growth of effective democracy anywhere in the world Additionally, in support of our wider development community, the project aims to:-

    • Advocate the free software paradigm
    • Evangelise the use of technology to strengthen democracy within a holistic understanding of the current malaise i.e. Internet voting alone isn't going to solve turnout problems
    As an official GNU package and one of two electronic voting projects of FreeDevelopers.net our Free Software evangalism aims our particularly important.
  29. Fewer Lines, but all in one place by melquiades · · Score: 2
    According to my (limited!) understanding of .NET, that article or more or less a complete hoax.

    See:

    O'Reilly article on the subject

    Oracle's benchmarks (PDF)

    In the second article, Oracle claims:
    Oracle ran a Java Pet Store benchmark to compare the performance of Oracle9iAS and the .NET Pet Shop. ... We found that without caching, Oracle9iAS was up to 18 times faster than Microsoft .NET, while using just half the resources. In addition, Oracle was able to scale to a much higher user load on the same hardware. If we compare the same application using Microsoft's output caching and Oracle's Web Cache, the results are even more dramatic. Using Web Cache, Oracle proved to be more than 22 times faster under load, while the middle tier resource utilization was only a small fraction of that consumed by .NET.

    In addition to disclosing the results of this benchmark effort in this paper, Oracle is also providing the source code, a description of the environment in which the tests were run, and the test scripts that were used to simulate this environment. The code and test scripts can be downloaded from the Oracle Technology Network.

    Gee, how could two identical benchmarks produce such different numbers? Sounds like a marketing war to me. I wouldn't take any of those numbers, Microsoft's or Oracles, without a grain -- or a pillar! -- of salt.
  30. ACID by daBass · · Score: 2, Interesting

    You don't need full ACID to be reliable, Just look at Sybase or MS SQL server, they both aren't truly due to the lack of multi-versioning that Oracle and Postgress have. That doesn't mean they are not reliable!

    That said: I wouldn't trust MySql for anything. What makes it's acceptance in the open source community even harder to understand for me is the lack of a true GPL. Postgress is very reliable and is GPL. I also wouldn't know how to survive without referential integrity constraints, outer joins, subselects and nested queries!

    But for a project like this, I would certainly go for Sybase or Oracle, I love free/OS software, which is often better than commercial products, but when it comes to database, I am not convinced yet!

  31. Translation by hether · · Score: 2

    Ummm... Had a bit of a problem with the fish's translation of their pages. For instance the jobs page says

    Therefore you are with us as more curiously, open and more competent Far philosopher exactly correctly.

    Wha???

    --

    Most people would die sooner than think; in fact, they do.
  32. Ummm... by ttfkam · · Score: 4, Informative

    PostgreSQL is also easy to install, setup, and use (admittedly without replication -- that's true). It is just installed with RPM and "createdb". No biggie.

    It's not ACID, but very reliable? That's a bit of an anachronism. ACID isn't a library or a protocol to which you must be compatible -- it's a minimum guideline for reliability. ACID is a contract that says that if you put it in, you will be able to get it out again, unharmed, unchanged, and every time.

    Atomicity: In a transaction involving two or more discrete pieces of information, either all of the pieces are committed or none are.

    Consistency: A transaction either creates a new and valid state of data, or, if any failure occurs, returns all data to its state before the transaction was started.

    Isolation: A transaction in process and not yet committed must remain isolated from any other transaction.

    Durability: Committed data is saved by the system such that, even in the event of a failure and system restart, the data is available in its correct state.

    ----------

    In short, by saying that "it's not ACID, yet it's VERY reliable" in reality means "it's not 100% percent reliable, but it's at least 85%."

    If I delete a record that is a foreign key reference for other records, will MySQL guarantee that the record cannot be deleted or that every record that points to it is also deleted dependant upon admin preferences? PostgreSQL does.

    MySQL has many more utilities to repair and maintain integrity of its databases than PostgreSQL. It's true. But then again, the authors of PostgreSQL have designed and engineered the datastore so that catastrophic data integrity failure cannot occur in the first place. Hardware failures (memory loses bits or hard drive fails to write correctly) can cause it, but even pulling the plug, while putting the most recent changes in jeopardy, will not destroy your committed data.

    And before anyone comes forward with tales of PostgreSQL data integrity issues, please check that you are talking about v7.1 or later (available for more than a year).

    Now then, on to issues of vacuum. I admit this can be a time sink. As you run updates and inserts on a PostgreSQL database, the indexes are not quite as efficient as they started (hence the need for vacuum) but it's not all bad as that. Most people would only have to run vacuum every night at 3am (or something like that) from a cron job. In short, PostgreSQL requires a minimum level of maintenance for optimum perfomance. Note that I did not say that it needs maintenance to keep your data safe -- only to maintain optimum performance. And nothing replaces good backups for any database.

    And before you say, "But PostgreSQL's vacuum locks the table so you can't get work done," please note that 7.2 removes this constraint.

    Will someone honestly try to say with a straight face that you would trust a MySQL database with gobs of data for an extended time without performing at least minor maintenance? If someone does, please tell me that they aren't running the German election database...

    --

    - I don't need to go outside, my CRT tan'll do me just fine.
  33. Re:Before you start thinking the US should try thi by greenrd · · Score: 2
    Damn, where are my mod points when I need them??

  34. worst case: preliminary results are off by tschild · · Score: 3, Informative
    With a centralized, standard voting system like Germany's open source plan, I would just have to know how to rig one system.

    You might succeed, if you managed to subvert the central system, to have an incorrect result announced to the media on election day.

    However this would soon be corrected, as the raw data for the permanent result will be published from the voting district level upwards.

    The staff in the voting districts (which usually cover about 100-1000 registered voters) is made up of volunteers, mostly of nonpolitical city employees but also of party activists who volunteer to keep an eye on things. Occasionally, when appointed staff members have fallen sick, an early voter might get drafted. We are usually 8-10 persons and very, very unlikely to find anything in common to conspire for.

    The counting of votes is open to the public (even if usually nobody, or the janitor of the school where the voting office is, looks in).

    When we have counted, held a vote on any unclear ballot papers and the sums add up, we phone the results in to the city level. These results are further aggregated to the electoral district level and then, presumably, transmitted to Berlin in order to be processed by the software in question. Then we write up the protocol, package and seal the ballot papers into the voting box, and go home.

    The local election commission (staffed by the town and by party representatives) later breaks the seal, reviews the unclear ballot papers (usually less then 1%), and perhaps also samples some votes for recounts. The result of the local election commission is the final one, and is aggregated into the federal final result. If I rightly recollect from the last federal elections, both the preliminary and the final results were published in our local paper on the voting district level. Of course we voting district volunteers would notice if results diverged from what we got on the evening of the election.

    From the published voting-district level all calculations can be done with pen and paper, and will be by hopeful candidates who just did not get in.

    The major safeguards of such a system are that the calculation of the final result can be checked by anyone on the outside. Of course, significantly, this only remains true if we stay with pen-and-paper ballots. The cost of that is that (at a rough guess) 1 % - 2 % of the voters have to serve in the voting offices

  35. Re:Before you start thinking the US should try thi by Asprin · · Score: 2

    You know, you shouldn't use the F-word so much -- your liberal/socialistic bent is showing. ;)

    About the 'illegal stripping of 100,000 voters of the rights...', the supreme court halted the vote because it did not recount the entire state and thus treated voters in different counties differently. Ironically, that's the one scenario where Gore might have won.

    So how come VoterMarch hasn't been updated in over a year? The site is owned by Maybe this is why.... (NOTE- it's from a different Posner than the one who runs VoterMarch.)

    Oh, yeah, and by the way, see what *this* Brit has to say about about Palast's book.

    Your sources are biased and have an adgenda. Nice try.

    --
    "Lawyers are for sucks."
    - Doug McKenzie