Re: how to calculate reputation

2013-07-06 Thread DJC
On 03/07/13 02:05, Mark Janssen wrote: Hi all, this seems to be quite stupid question but I am confused.. We set the initial value to 0, +1 for up-vote and -1 for down-vote! nice. I have a list of bool values True, False (True for up vote, False for down-vote).. submitted by users. should I

Re: how to calculate reputation

2013-07-03 Thread Joshua Landau
On 2 July 2013 23:19, Surya Kasturi sur...@ieee.org wrote: I think I didnt explain it clearly.. let me make it clear.. Yeah... I don't get it. -- http://mail.python.org/mailman/listinfo/python-list

Re: how to calculate reputation

2013-07-03 Thread Chris Angelico
On Wed, Jul 3, 2013 at 10:18 AM, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote: It's very easy to come up with lousy algorithms for calculating reputation, much harder to come up with good algorithms. Yes. Reminder: Don't just average your users' ratings. http://xkcd.com/937/ In

how to calculate reputation

2013-07-02 Thread Surya Kasturi
Hi all, this seems to be quite stupid question but I am confused.. We set the initial value to 0, +1 for up-vote and -1 for down-vote! nice. I have a list of bool values True, False (True for up vote, False for down-vote).. submitted by users. [True, False, False, True] Now to calculate the

Re: how to calculate reputation

2013-07-02 Thread Ian Kelly
On Tue, Jul 2, 2013 at 3:43 PM, Surya Kasturi sur...@ieee.org wrote: Hi all, this seems to be quite stupid question but I am confused.. We set the initial value to 0, +1 for up-vote and -1 for down-vote! nice. I have a list of bool values True, False (True for up vote, False for down-vote)..

Re: how to calculate reputation

2013-07-02 Thread Tobiah
On 07/02/2013 02:43 PM, Surya Kasturi wrote: Hi all, this seems to be quite stupid question but I am confused.. We set the initial value to 0, +1 for up-vote and -1 for down-vote! nice. I have a list of bool values True, False (True for up vote, False for down-vote).. submitted by users.

Re: how to calculate reputation

2013-07-02 Thread Joshua Landau
On 2 July 2013 22:43, Surya Kasturi sur...@ieee.org wrote: Hi all, this seems to be quite stupid question but I am confused.. We set the initial value to 0, +1 for up-vote and -1 for down-vote! nice. I have a list of bool values True, False (True for up vote, False for down-vote).. submitted

Re: how to calculate reputation

2013-07-02 Thread Surya Kasturi
On Tue, Jul 2, 2013 at 11:59 PM, Tobiah t...@tobiah.org wrote: On 07/02/2013 02:43 PM, Surya Kasturi wrote: Hi all, this seems to be quite stupid question but I am confused.. We set the initial value to 0, +1 for up-vote and -1 for down-vote! nice. I have a list of bool values True, False

Re: how to calculate reputation

2013-07-02 Thread Ian Kelly
On Tue, Jul 2, 2013 at 4:19 PM, Surya Kasturi sur...@ieee.org wrote: I think I didnt explain it clearly.. let me make it clear.. 1. The database we are using is having BooleanField for it!! so, cant do anything 2. I am not looking for sorting algorithms .. just simple math :) It sounds crazy

Re: how to calculate reputation

2013-07-02 Thread Mark Janssen
Hi all, this seems to be quite stupid question but I am confused.. We set the initial value to 0, +1 for up-vote and -1 for down-vote! nice. I have a list of bool values True, False (True for up vote, False for down-vote).. submitted by users. should I take True = +1, False=0 [or] True =

Re: how to calculate reputation

2013-07-02 Thread Steven D'Aprano
On Tue, 02 Jul 2013 23:43:51 +0200, Surya Kasturi wrote: Hi all, this seems to be quite stupid question but I am confused.. We set the initial value to 0, +1 for up-vote and -1 for down-vote! nice. I have a list of bool values True, False (True for up vote, False for down-vote).. submitted