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 t

Re: how to calculate reputation

2013-07-03 Thread Chris Angelico
On Wed, Jul 3, 2013 at 10:18 AM, Steven D'Aprano 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 fact, mere upvotes and downvotes mig

Re: how to calculate reputation

2013-07-03 Thread Joshua Landau
On 2 July 2013 23:19, Surya Kasturi 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-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).. subm

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]

Re: how to calculate reputation

2013-07-02 Thread Ian Kelly
On Tue, Jul 2, 2013 at 4:19 PM, Surya Kasturi 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 but let m

Re: how to calculate reputation

2013-07-02 Thread Surya Kasturi
On Tue, Jul 2, 2013 at 11:59 PM, Tobiah 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 (True

Re: how to calculate reputation

2013-07-02 Thread Joshua Landau
On 2 July 2013 22:43, 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 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. [Tr

Re: how to calculate reputation

2013-07-02 Thread Ian Kelly
On Tue, Jul 2, 2013 at 3: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

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 th