Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #49671
| Path | csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <dreamingforward@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.012 |
| X-Spam-Evidence | '*H*': 0.98; '*S*': 0.00; 'say,': 0.05; 'true,': 0.05; 'ignored': 0.07; 'cc:addr:python-list': 0.11; 'bool': 0.16; 'here..': 0.16; 'merely': 0.16; 'all.': 0.16; 'users.': 0.18; 'all,': 0.19; 'seems': 0.21; 'cc:addr:python.org': 0.22; 'initial': 0.24; 'question': 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'values': 0.27; 'header:In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'anyone': 0.31; 'another': 0.32; 'quite': 0.32; 'something': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'false': 0.36; 'representing': 0.36; 'should': 0.36; 'list': 0.37; 'information,': 0.61; 'incorporate': 0.68; 'user,': 0.69; 'to:addr:ieee.org': 0.84; 'washington': 0.93 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=bJBv24PPo63CuXOjHr3okP0LMB5xaN9rRam6Ls0KML4=; b=gR/4Z1gxNwxyK0pOmD2wcOSaSdjgJohOd930rXJUHa9Ia8JH2aSb23sUmn4LZtM3M6 yPbhfSfrbv27aUfaX2b/1VzAkCaYQrxkOMd05bwaiehHayC5OLnC5h60T5/yZOX51o4p lQ/r9v0btHNP9oiZbfIb77RzmvAd6Gxkze6dLqtAzCZHEv79T0eO3OvYUiBPA2dZ1Qa8 rVnPYeVVLw+05uL4TSPa+WzRlWaiQQd3hy2yeQtXUW190UnnmP8jiUK8iQdfg6aKteU9 n7vAwrxfuOI3zGT2wKIcGMMTQw7laC1gvRHrrFCxYJrMZifCQBHmND8Uxp7jNhqf/IHG LOlA== |
| MIME-Version | 1.0 |
| X-Received | by 10.194.133.106 with SMTP id pb10mr13582371wjb.62.1372809935799; Tue, 02 Jul 2013 17:05:35 -0700 (PDT) |
| In-Reply-To | <CAArdDCogGhTFQi41uAFdd0qYePChsxwzV2uGgxGHVhZe+dbMsQ@mail.gmail.com> |
| References | <CAArdDCogGhTFQi41uAFdd0qYePChsxwzV2uGgxGHVhZe+dbMsQ@mail.gmail.com> |
| Date | Tue, 2 Jul 2013 17:05:35 -0700 |
| Subject | Re: how to calculate reputation |
| From | Mark Janssen <dreamingforward@gmail.com> |
| To | Surya Kasturi <suryak@ieee.org> |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Cc | python-list@python.org |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.4137.1372809942.3114.python-list@python.org> (permalink) |
| Lines | 18 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1372809942 news.xs4all.nl 15888 [2001:888:2000:d::a6]:41513 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:49671 |
Show key headers only | View raw
> 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 = +1, False=-1 ?? for adding > all. > > I am missing something here.. and that's clear.. anyone please help me on > it? If False is representing a down-vote, like you say, then you have to incorporate that information, in which case False=-1 ==> a user not merely ignored another user, but marked him/her down. MarkJ Tacoma, Washington
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
Re: how to calculate reputation Mark Janssen <dreamingforward@gmail.com> - 2013-07-02 17:05 -0700 Re: how to calculate reputation DJC <djc@news.invalid> - 2013-07-06 15:23 +0200
csiph-web