Questions tagged [voting]
329 questions
64
votes
19 answers
Hunting cheaters in a voting competition
Currently we are running a competition which proceeds very well. Unfortunately we have all those cheaters back in business who are running scripts which automatically vote for their entries. We already saw some cheaters by looking at the database…

Bosh
- 1,237
- 1
- 16
- 23
32
votes
10 answers
Prompt user to rate an Android app inside the App
In my Android app, I want to prompt the user at some point of time to rate the app in Android market.
Having searched for an approach, I've found some code on this website. This code seems to work very well.
But unfortunately, this code seems to…

caw
- 30,999
- 61
- 181
- 291
32
votes
10 answers
Practical applications of homomorphic encryption algorithms?
It appears there there were interesting things going on in cryptography: the first homomorphic encryption scheme appeared recently (explanation, HT). Roughly speaking, it is a way of encoding x into f(x) such that you can compute f(x+y) easily…

ilya n.
- 18,398
- 15
- 71
- 89
29
votes
16 answers
Stopping users voting multiple times on a website
I'm planning to add some vote up/vote down buttons to a website I run. This seems easy enough but I want to stop people voting multiple times. One solution would be to make them register before allowing them to vote but I'd prefer not to have to…

Doogal
- 1,637
- 2
- 18
- 22
29
votes
4 answers
Django Vote Up/Down method
I am making a small app that lets users vote items either up or down. I'm using Django (and new to it!).
I am just wondering, what is the best way to present the upvote link to the user. As a link, button or something else?
I have already done…

irl_irl
- 3,785
- 9
- 49
- 60
26
votes
12 answers
Why aren't voting machines open source?
Sooo...it's only sort of programming related, but I figure it's election day, right? Is there a single good reason why they aren't, not necessarily open source in that anyone can contribute, but open source in that anyone could inspect the source?

shsteimer
- 28,436
- 30
- 79
- 95
21
votes
1 answer
How do I generate .BLT files for OpenSTV elections using C#?
I just downloaded OpenSTV after seeing the most recent SO blog post, regarding the results of the moderator election. Jeff wrote that he used OpenSTV to conduct the election, and supplied a ballot file (.blt) along with it that contains the voting…

Maxim Zaslavsky
- 17,787
- 30
- 107
- 173
16
votes
9 answers
1 vs 1 vote: calculate ratings (Flickchart.com)
Instead of rating items with grades from 1 to 10, I would like to have 1 vs 1 "fights". Two items are displayed beside each other and you pick the one which you like more. Based on these "fight" results, an algorithm should calculate ratings for…

caw
- 30,999
- 61
- 181
- 291
13
votes
4 answers
Is there an algorithm for anonymous, changeable, secure voting?
I'd like to implement a feedback mechanism in my application--basically, a score. The requirements are:
A total exists, and can be read
A user can add his score to the total
A user cannot add a second score, but could change his original score,…

cmreigrut
- 185
- 2
- 9
13
votes
7 answers
Best method to prevent gaming with anonymous voting
I am about to write a voting method for my site. I want a method to stop people voting for the same thing twice. So far my thoughts have been:
Drop a cookie once the vote is complete (susceptible to multi browser gaming)
Log IP address per vote…

Chris
- 26,744
- 48
- 193
- 345
13
votes
1 answer
Voting in MongoDB
An odd number set is recommended. My doubt is as one goes down from an odd set, we have an even number set. The number of members fluctuate between even and odd when they go down one by one. We always don’t have odd member scenario. Can some one…

Srik
- 155
- 1
- 1
- 6
12
votes
13 answers
Finding majority votes on -1s, 1s and 0s in list - python
How to find the majority votes for a list that can contain -1s, 1s and 0s?
For example, given a list of:
x = [-1, -1, -1, -1, 0]
The majority is -1 , so the output should return -1
Another example, given a list of:
x = [1, 1, 1, 0, 0, -1]
The…

alvas
- 115,346
- 109
- 446
- 738
11
votes
1 answer
Facebook poll based on images
I wish to submit couple of images to Facebook using my app and invite my friends to vote on it for a specific time interval. My question is -
Does graphAPI support this.
Can I integrate this with my backend system so that I can get the count of…

Jaykay
- 666
- 1
- 4
- 17
11
votes
4 answers
Opensource Voting System
I'm planning to build a community-driven website with voting functionality similar to StackOverflow (or Digg etc..). I really like SO's voting system where your points are deducted for voting down someone and so on.
Anyway, is there any open-source…

eozzy
- 66,048
- 104
- 272
- 428
9
votes
3 answers
Scoring algorithms: how to convert the number & % of "Likes" & "Dislikes" into a single score?
I have a website where users can "Like" and "Dislike" items.
So for each item, I have data such as the total number of "Likes" and the % of total votes that are "Likes".
I'd like to calculate just a single score to show to users. Using just %…

Continuation
- 12,722
- 20
- 82
- 106