Re: Barcode Vocalization Application

From: Alan Dechert <adechert_at_earthlink_dot_net>
Date: Mon Oct 06 2003 - 13:30:29 CDT

Jan,
>
> Due to a rainy and gloomy weekend here in Sweden, I managed to do
> quite a bit of coding. ...
>
This is fantastic work, Jan. THANK YOU!!!!

If all it takes is a few gloomy stay-at-home days in Sweden to get the
project done, I think we're in luck. Should be quite a few of those coming
up, right?

> The paper ballot function is more or less
> finished, and I have also written a votes2digits() function. I will
> upload the files once I have polished them, and added some comments.
>
Absolutely fantastic!!

> But you can test them right now! I realized that I had to make some
> tool so I could easily test many cases. So I made this HTML form:
>
> http://user.it.uu.se/~jan/voting-project/ballot.html
>
Great!!!

> This is *not* an attempt to make the HTML version of the ballot for
> the demo - it is merely for test purposes. There are several ways
> to make invalid votes (for example more than three votes for Cat
> Catcher), and in some cases you may get an "Internal Server Error".
> I have not noticed any problems with valid votes, though; but as
> usual, bugs are often revealed when others start using a tool. So I
> would appreciate if you could make some tests, and see if it works.
>
Understood.

> At the bottom of the page you can select "Print ballot" and push
> "Submit". The (letter sized) paper ballot should then be returned
> as a PDF file. If you are equipped with a bar code scanner, you
> can print the ballot and scan the code. Otherwise, select "Get bar
> code number" on the form to get the code. You can then copy this
> into Alan's bva application. (If you happen to have ranked Steve
> Wozniak sixth in the County Commissioner race, you will hear "Steve
> Wozniak ranked seventh" - but that is probably just because Alan
> got bored and lost concentration while recording ;-)
>
Very intelligent design for testing purposes!

> Note that you can fill in the ballot number on the form. This is
> if one wants to compare how the bar code obfuscation works for
> identical or similar votes, with similar ballot numbers. If left
> out, a random four digit number will be generated.
>
Okay

Now for the BUGS!!

I am expecting a 39 digit number but I got a 40 digit number choosing the
"Get bar code number" option. Then I got a 44 digit number scanning the
barcode for the same ballot. Specifically, here's what I got for ballot
number 1234 and selection the first option in each race (first 3 in cat
catcher and ranking all the county commissions in order of listing, i.e.
Packard 1st, Hewlett 2nd, etc.... write-in 8th:

1234164113698038190059864668966218971635
12342468164113698038190059864668966218971635 <-- scanned w/CueCat

Unexpectedly, the first number gives the right answers fed into my bva app!
The scanned number obviously doesn't work We should be getting the same
number either way, no?

> I have a dual boot laptop at home with Linux (Redhat) and Win2000.
> Since I develop under Linux, it became messy to reboot each time I
> wanted to run my tests with Alan's application (I failed to compile
> it on Linux with the Harbour tool). So I wrote a playing script in
> Python, included below. It uses the "play" command, installed by
> default on Redhat 9. Of course, the script can easily be modified to
> call some other audio player. You need to edit the last line of the
> script to reflect the directory where you have unpacked Alan's audio
> files. There is no graphical interface, just call the script from the
> command line with the bar code number as parameter.
>
This is cool. Haven't tried it yet but I will. I want to get this
preliminary feedback to you first.

Thanks again.

Alan D.
==================================================================
= The content of this message, with the exception of any external
= quotations under fair use, are released to the Public Domain
==================================================================
Received on Fri Oct 31 23:17:01 2003

This archive was generated by hypermail 2.1.8 : Fri Oct 31 2003 - 23:17:06 CST