Grex Coop10 Conference

Item 56: Vote Program - Web Interface and Other Stuff

Entered by remmers on Mon Dec 1 01:17:45 1997:

    I've been working on a complete re-write of the vote program
    that we use for board elections and proposals. A major part
    of it is a web interface that is now about 80% complete.
    You can't quite cast a vote via the web yet, but I'd like
    feedback and suggestions on what there is so far. You can
    view the "Grex Voting Booth" page at

        http://www.cyberspace.org/cgi-bin/pw/voting-booth

    Currently, it shows candidates' statements and a select-form
    for choosing the people you want to vote for. The "cast my
    ballot" button doesn't work yet, though -- if you click on
    it, you get an error message instead of having your vote
    recorded. I'll remedy this defect when I get a 4 or 5 hour
    chunk of time to write the software; I expect that will
    happen within a week, so that it will be possible to vote
    via the web in the current board election. In the meantime,
    you have to log into grex and run the "vote" command to vote.
    (If you do this, the web page will show you who you voted
    for the next time you access it, however.)

    If you have any suggestions regarding the form or content
    of the "voting booth" page, please feel free to make them
    here. Since I'm working on a complete re-write of the vote
    program, this is also a good item in which to suggest other
    changes and new features as well.

24 responses total.

#1 of 24 by arthurp on Tue Dec 2 06:34:50 1997:

Seems pretty easy to use.  I like it.


#2 of 24 by jep on Wed Dec 3 20:03:17 1997:

It looked easy to use to me, too.  One suggestion: I know people by 
their loginids.  Their names usually don't jump out at me.  Could you 
include their loginids both where you vote and where the position 
statements are located?


#3 of 24 by janc on Thu Dec 4 00:57:23 1997:

I like the fact that each time you load the page the order that the candidates
are listed in changes, and that the order on the ballet sheet matches the
order that the statements are listed in.  Very good design.


#4 of 24 by remmers on Thu Dec 4 14:08:28 1997:

Re #2: Yes, login id's could easily be included on both the
ballot and the statement headers.

Re #3: Thanks. The 'tty' version of the program has always
randomized the order in which candidates are listed, so it was
easy enough to import that feature to the web version.


#5 of 24 by suzie on Thu Dec 4 18:22:12 1997:

How do I make my 4 votes?  Only one name at a time lights up.


#6 of 24 by remmers on Fri Dec 5 11:19:31 1997:

Depending on what type of computer and browser you're using,
you might have to hold down the control key when you click
on names in order to make multiple selections. That does
seem to be the case with both MS Explorer and Netscape
running on Windows. I should probably have the web page
display a note about that.


#7 of 24 by remmers on Sun Dec 7 21:13:39 1997:

Voting via the web is now operational. You can point your
browser to

    http://cyberspace.org/cgi-bin/pw/voting-booth

and vote for the candidate(s) of your choice.

Also, the form now displays login id's as well as full names.


#8 of 24 by remmers on Sun Dec 7 21:15:27 1997:

Oh, I suppose that a link to the voting booth from somewhere
near the top of Grex's web page tree would be in order. I'll
mail the webmasters asking them to do that. Then you won't have
to type in that ugly URL.


#9 of 24 by srw on Mon Dec 8 02:40:14 1997:

It's there now. If you go to Grex's front page you will find a link to the
voting booth. Only people with Grex accounts can follow it. If you have been
using backtalk, it will not authenticate you again, otherwise, it will ask
for your grex account and pw. Only members' votes count, of course.


#10 of 24 by jep on Mon Dec 8 17:53:10 1997:

It did authenticate me again, even though I clicked on the URL entered 
by remmers and am currently using Backtalk.  I hadn't restarted Netscape 
since Friday, though, and didn't have to authenticate to get into Grex 
this morning, so maybe that's why.


#11 of 24 by remmers on Tue Dec 9 09:14:12 1997:

Although it's been up for less that 2 days, a fair number of
people are trying out the web interface. Of the 66 ballots cast
so far, 13 have been via the web.


#12 of 24 by aruba on Tue Dec 9 21:35:44 1997:

John, is there a way for normal people to know how many votes have been cast?
Not that there's any real need for it, I was just curious.  Didn't there
used to be a "turnout" command?


#13 of 24 by mary on Tue Dec 9 23:33:54 1997:

Hey there, just who are you callin' abnormal? ;-)


#14 of 24 by remmers on Wed Dec 10 00:39:31 1997:

Re #12: There used to be a turnout command that anybody could
run. Since we got rid of quotas, there seems to be less need for
it. If I can find the program (or find time to write it again)
I'll make it accessible.


#15 of 24 by aruba on Wed Dec 10 07:10:53 1997:

Re #13:  I'm callin' *you* abnormal.  Wanna make something of it?  ;)

Re #14:  I see what you mean about quotas.  But it would satisfy my curiosity
nonetheless.  Thanks.


#16 of 24 by valerie on Wed Dec 10 16:55:56 1997:

This response has been erased.



#17 of 24 by janc on Wed Dec 10 19:28:37 1997:

The "turnout" number would have to be kind of meaningless.  Presumably John's
count of 66 people includes non-members, whose votes don't count.  Since
someone could buy a membership today and have his non-counting vote suddenly
count, we can't even tell for sure how many of those votes really do count.
So, it'd be cute to have, but the numbers wouldn't tell anyone much of
anything.


#18 of 24 by aruba on Wed Dec 10 20:59:09 1997:

Sure.  It's just for fun.


#19 of 24 by remmers on Wed Dec 10 23:59:05 1997:

And what's Grex for, after all, if not fun?

It's certainly possible to write a "turnout" program that
differentiates between members and non-members and tells you how
many of each flavor have voted. This is a busy time of the year
for me, so I don't know if I'll get around to writing it before
the election is over, but if I find myself with a couple of
hours in which I want to avoid do the work I should be doing,
maybe I'll do it.

Actually, a big part would be to write a C function

                ingroup(char *LOGIN, char *GROUP)

which returns 1 if LOGIN is a member of GROUP and 0 otherwise.
If somebody else wants to write that, I could put the rest of
it together...


#20 of 24 by mdw on Fri Dec 12 01:29:58 1997:

I mailed some code to remmers that does this.


#21 of 24 by aruba on Fri Dec 12 01:39:04 1997:

Whoops, so did I.


#22 of 24 by nt on Fri Dec 12 03:58:09 1997:

How about this remmers?

int     ingroup(char *LOGIN,char *GROUP)
{
        if(!strcmp(GROUP,getgrgid(getpwnam(LOGIN)->pw_gid)->gr_name))
                return 1;
        else
                return 0;
}


#23 of 24 by valerie on Fri Dec 12 05:55:43 1997:

This response has been erased.



#24 of 24 by remmers on Fri Dec 12 09:06:18 1997:

That's correct. I'll look over aruba's & mdw's code when I get
a chance. Thanks for your efforts.


There are no more items selected.

You have several choices: