Wednesday, September 20, 2006

Computerizing Philippine Elections

A true computerization of Philippine elections will utilize computer and communications technology in all stages of the electoral process: during registration of voters, the actual casting of ballots, the subsequent canvassing of votes, and the final tabulation and reporting of election results. It can not be just the use of stand-alone automated counting machines, namely PCs with optical mark readers (OMRs) to count votes made on paper ballots, because then, the transmission of precinct results to municipal, provincial, and national tabulation centers becomes a major problem. Stand alone PCs is the technology of the 1980s, and would have been appropriate election technology at that time. Now, we live in the connected world of the twenty-first century, in which people make financial transactions over secure web connections. If secure web is good enough to be trusted for making financial transactions, then it is good enough to be trusted to properly count our votes during elections.

The Election Modernization Act (RA 8436) declares as policy of the State: "to ensure free, orderly, honest, peaceful and credible elections, and assure the secrecy and sanctity of the ballot in order that the results of elections, plebiscites, referenda, and other electoral exercises shall be fast, accurate and reflective of the genuine will of the people". To carry out this policy, "the Commission on Elections (Comelec) ... is authorized to use an automated election system ... for the process of voting, counting of votes and canvassing/consolidation of results of the national and local elections ...". RA 8436 goes further and commands Comelec to " ... acquire automated counting machines, computer equipment, devices and materials and adopt new forms and printing materials ...". I do not understand why a law with such noble purpose needs to specify the use of automated counting machines, an inappropriate technology in these Internet times. The Comelec should respect the policy, the spirit of the law, but implement a mechanism that is more appropriate today.

Internet Infrastructure: Election Hardware

All over the country, one finds computer rental shops that rent out computer time to walk-in customers for use in Internet access, gaming, chat, word processing, etc. Almost all of the better schools have Internet-connected computer laboratories. The ExpressNet and BancNet automatic teller machines are all over the country, and are all connected in a huge nationwide network. In the homes of many families, one finds computers that can connect to the Internet via dial-up telephone lines or via faster always-on DSL connections. Many coffee shops and similar establishments have wifi hotspots that provide Internet access to customers who bring laptops or wifi-enabled mobile phones and PDAs. Many of us carry in our persons mobile phones that can browse the Internet via GPRS or 3G. The connected infrastructure is already in place, except that ExpressNet and BancNet may have to install a temporary Internet gateway during election periods. So there exists locally an essentially connected network of PCs, laptops, PDAs, and mobile phones, that can be used during elections. All that is needed are Comelec server farms connected to the Internet, and software commissioned by Comelec to serve the secure registration web pages and the secure election web pages.

Comelec can rent computer time from all these computer rental shops, schools, banks, and wifi hotspots. It can pay at PHP25.00 per hour per PC, or at PHP2.00 per voter, or some other reasonable price.

The Comelec does not even have to buy the server farm that will be used only during elections, and will be unused for the three years between elections. Instead, the Presidential Commission on Information and Communications Technology (CICT) can acquire the server farm for the government to be used regularly by all government agencies, and during the election season to carry the additional load of registration and election.

Internet Infrastructure: Election Software

On the PCs, laptops, PDAs, and mobile phones, all we need is a web browser program, like Internet Explorer for WindowsOS, and Firefox for WindowsOS and LinuxOS. Internet-capable PDAs and mobile phones already have browser programs built into them. If the Comelec wants to standardize on the OS and browser program, for uniformity of user interface, it could adopt Knoppix or Ubuntu, which are both free boot-from-CD LinuxOS. Every school, computer rental shop, Internet cafe, etc can be given a few UbuntuCDs with which to boot all their PCs, already pre-configured for the special needs of Comelec registration/election.

On each Comelec server in the server farm, we need a database of registered voters, which can be implemented using PostgreSQL or MySQL, both of which have free versions. Also, the CICT or Comelec programmers must write the secure registration and election web pages. They can use PHP on Apache/SSL, both of which are free. If the CICT or Comelec can not afford the cost of programmers, then we can use student programmers from UP, Ateneo, DLSU, Mapua, UST, etc. The government can save a lot of money this way, and the students can submit their programs as their BS degree theses.

With this kind of infrastructure already in place, or easily made available, the government can affordably implement the mandate of RA8436.

Voter Registration over Secure Web

Comelec will designate which among the many computer rental shops, schools, Internet cafes, etc will be used as official registration and election centers. Comelec will determine which computers in these registration centers can be used for registration and election. Let us call these Comelec-approved PCs the ComelecPCs. Voters who will register or vote will not go to their original precincts in the public schools, but instead, go to these Comelec-designated registration and election centers.

The registration program will be running on the Comelec server farm, and will be accessed using the ComelecPCs, under the supervision of Comelec-designated registrars. In the first year of implementation, Comelec does not have to issue voters' IDs, since it does not seem to have the budget for it. Registration will therefore consist of entering the voter's data on the webform, assignment of a voter's ID number, and selection by the voter of his secret password, which only the voter knows. When registration is complete, the voter is given a slip of paper with his name and voter's ID number. The voter may choose to write his secret password on this slip, if he chooses, so that he does not forget his password. To vote, all that the voter needs is his ID number and his secret password.

At any time after registration, the voter may access the Comelec server farm, using the Comelec URL, to change his secret password.

After the first year of implementation, the Comelec may choose to issue SmartCard voters' IDs, which contain computer-readable data about the voter, such as voter's name, voter's ID number, and other useful data. Then the ComelecPCs need to be equipped with SmartCard readers, and that will mean additional expenses.

Voting over Secure Web

On election day, the Comelec server farm will accept votes during the usual voting hours, and stop accepting votes at the end of the voting period. A voter can go to his assigned ComelecPC, and vote using that computer, or he can stay at home and vote using his home PC, or vote using his wifi-enabled laptop at a wifi-hotspot Cafe, or vote anywhere using his mobile phone. This way, no goon can stop a voter from casting his vote. The government must ensure that the Comelec-designated election centers with the ComelecPCs is properly secured from goon-threat.

The official election centers will have Comelec-designated election staff, to help voters who may not be computer-literate.

To vote on election day, a voter must login to the Comelec election URL, by supplying his voter's ID number and his password. Further, he must authenticate himself as a human voter, and not a computer program casting a vote, by typing in text that he is asked to read from a graphic. If the voter forgets his voter's ID number, he can give his name and address, and the webpage will give him his voter's ID number. Then he can login with his voter's ID number and password. If he forgets his password, then the voter can not vote at home. He must then go to his designated election center, and show proof of his identity to the Comelec registrar in the center. The voter's ID number, and two picture IDs (any two of passport, driver's license, SSS ID, GSIS ID, BIR ID), should be sufficient proof of identity. These proofs of identity are scanned, and uploaded to the Comelec website, as part of the voter's login process.

On successful login, the webserver program determines the voter's town, district, and province, and gives him a webpage showing all candidates, their pictures, and a one-liner on their program of government. The voter just clicks his choices, and when he is satisfied he clicks on the SUBMIT button, and his vote is cast.

At the end of the voting period, the webserver program computes town, district, province, and national summaries, and displays the result in a webpage for the world to see.


With such an election system in place, election results are known immediately after the polls close.

There will be problems, like voter's selling the voter's ID numbers and passwords to the highest bidders, or goons controlling an election center, and forcibly extracting voters' ID numbers and passwords from everyone, and voting in their place. No election system will ever be perfect.

The method proposed here, though imperfect, is affordable and workable, and is much better than the current system of manual elections, where even ghosts can vote.

Saturday, September 16, 2006

Paul marries Mia

My son Paul married his girlfriend Mia on Saturday, September 9, 2006, at Christ the King Parish Church on Greenmeadows Avenue in Libis, Quezon City. It was a Catholic wedding. During the reception at the Greenmeadows Clubhouse -- one of the principal sponsors, Dr. Angel Chua, the bride's father, Mr Ed Madrid, and I -- we were asked to give advice, some words of wisdom to the newly wed couple.

I was told to keep my piece to two to three minutes only. So here are some "words of wisdom" to the newly wed.

Pareng Ed Madrid said that he didn't really lose a daughter, but instead gained a son, so now he has three sons. I didn't really lose a son, but gained a daughter, so now I have three daughters.

To Paul and Mia:

Call on God to give you the grace to live together as husband and wife, from today, for the rest of your lives. We heard Fr. Bob Pepito say, "That is why a man must leave his father and mother, and cling to his wife, and the two shall become as one". You are two distinct and unique people, and to be as one for the rest of your lives requires tremendous effort and miraculous intervention from God. Make prayer a daily family practice, to call on God to keep you one.

To Paul:

Paul, love Mia. She did not marry you for your money, because you have none. She did not marry you for your good looks, because you have barely half your father's good looks. She must have married you for love. So love her. Love her in your thoughts, words, actions, and omissions. In what you do or not do, in what you say or not say, in what you think, you must be guided by you love for her. Do not cheat, or take another woman or man to bed, but her.

A Father's Blessing:

A Jesuit priest once told me that a father's blessing, like that of Abraham to Isaac, is like God's blessing. So I now give you my blessing: May God bless you Paul and Mia, and may he give you happiness and peace, and if He wills, may he give you children and riches beyond count. And may God bless us all.

Friday, September 15, 2006

What "AmboSpeak" is about

AmboSpeak will be a commentary about the Filipino, as I see the Filipino from my narrow point of view. It will be a once-in-a-while commentary, since I am not too good at writing, but I will write whenever the Spirit moves me, and I have something really important to talk about, or whenever I have very strong opinions about an issue -- whether academic, religious, political, etc.

This is just an ice-breaker. You will hear more from me.