Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #46668

Re: Cutting a deck of cards

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <joshua.landau.ws@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.194
X-Spam-Level *
X-Spam-Evidence '*H*': 0.68; '*S*': 0.07; 'worse': 0.09; 'cc:addr :python-list': 0.11; 'random': 0.14; 'wrote:': 0.18; 'properly': 0.19; 'cc:addr:python.org': 0.22; 'software.': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'to?': 0.30; 'message- id:@mail.gmail.com': 0.30; "i'm": 0.30; 'probably': 0.32; 'sense': 0.34; 'received:google.com': 0.35; 'earth': 0.36; 'doing': 0.36; 'fact': 0.38; 'sure': 0.39; 'how': 0.40; 'choose': 0.64; 'more': 0.64; 'to:addr:gmail.com': 0.65; 'random,': 0.84; 'subject:Cutting': 0.84; 'cutting': 0.91; '2013': 0.98
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=k3mQ0Ru8yMXxA96158nrGztlcOA/8rCV9dCbUYfM1pM=; b=0ZATTotHGaeImavdfIIt/rAidJu4fFFtu2bDcIMkTcpP5Qg21pfIxmemiE0n7IKmJS y9bVhFm+INRMc2BFlWn/9G6PwtXRgpYuzAiUHeKkW4lek3zY8a+6LAcjSJwLFeefaldM 9ZTbJ4bCgL9y5yhwVLfp2M20YxGeVSvp3I3Bc0mRRTeExAu0Uawov6OjhaFxskvSj212 +2Vd0ZCU0IJ0Kv1ZN0IVJNISi5ItCmLl+I8kg79ju6GuDqdoaQscxGMJmNlZpjjn5UKT FJSP4SnrXvHnCxSDOTBHOflfMeUDHBZjqSapy0Zgkd7Zu8VqKxM9yiGV9Kq+e/grwLTP mHBQ==
X-Received by 10.112.89.104 with SMTP id bn8mr8076174lbb.92.1370107005233; Sat, 01 Jun 2013 10:16:45 -0700 (PDT)
MIME-Version 1.0
In-Reply-To <4286e1af-f97c-4111-ab3d-cdf2e2fa5fa8@googlegroups.com>
References <4d02f46f-8264-41bf-a254-d1c20469626e@googlegroups.com> <4286e1af-f97c-4111-ab3d-cdf2e2fa5fa8@googlegroups.com>
From Joshua Landau <joshua.landau.ws@gmail.com>
Date Sat, 1 Jun 2013 18:16:05 +0100
Subject Re: Cutting a deck of cards
To Lee Crocker <leedanielcrocker@gmail.com>
Content-Type text/plain; charset=UTF-8
Cc python-list <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.2526.1370107013.3114.python-list@python.org> (permalink)
Lines 9
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1370107013 news.xs4all.nl 15872 [2001:888:2000:d::a6]:55151
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:46668

Show key headers only | View raw


On 31 May 2013 12:56, Lee Crocker <leedanielcrocker@gmail.com> wrote:
> Why on Earth would you want to? "Cutting" a deck makes no sense in software. Randomize the deck properly (Google "Fisher-Yates") and start dealing. Cutting the deck will not make it any more random,

True

> and in fact will probably make it worse depending on how you choose the cutpoint.

I'm pretty sure it won't. Otherwise you'd be lowering entropy by doing
a random thing to a random thing.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Cutting a deck of cards RVic <rvince99@gmail.com> - 2013-05-26 10:52 -0700
  Re: Cutting a deck of cards MRAB <python@mrabarnett.plus.com> - 2013-05-26 19:04 +0100
  Re: Cutting a deck of cards Kamlesh Mutha <mkamlesh@gmail.com> - 2013-05-26 23:35 +0530
  RE: Cutting a deck of cards Carlos Nepomuceno <carlosnepomuceno@outlook.com> - 2013-05-26 21:16 +0300
    Re: Cutting a deck of cards Marc Christiansen <usenetmail@solar-empire.de> - 2013-05-26 21:36 +0200
      RE: Cutting a deck of cards Carlos Nepomuceno <carlosnepomuceno@outlook.com> - 2013-05-26 22:54 +0300
        Re: Cutting a deck of cards Marc Christiansen <usenetmail@solar-empire.de> - 2013-05-26 22:13 +0200
      Re: Cutting a deck of cards Terry Jan Reedy <tjreedy@udel.edu> - 2013-05-26 17:03 -0400
  Re: Cutting a deck of cards RVic <rvince99@gmail.com> - 2013-05-26 11:17 -0700
  Re: Cutting a deck of cards Roy Smith <roy@panix.com> - 2013-05-26 14:21 -0400
  Re: Cutting a deck of cards Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-05-26 23:17 +0100
  RE: Cutting a deck of cards Carlos Nepomuceno <carlosnepomuceno@outlook.com> - 2013-05-27 01:30 +0300
  Re: Cutting a deck of cards Chris Angelico <rosuav@gmail.com> - 2013-05-27 08:42 +1000
  RE: Cutting a deck of cards Carlos Nepomuceno <carlosnepomuceno@outlook.com> - 2013-05-27 01:51 +0300
  Re: Cutting a deck of cards Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-05-26 23:56 +0100
  Re: Cutting a deck of cards Lee Crocker <leedanielcrocker@gmail.com> - 2013-05-31 04:56 -0700
    Re: Cutting a deck of cards Modulok <modulok@gmail.com> - 2013-05-31 12:54 -0600
    Re: Cutting a deck of cards Joshua Landau <joshua.landau.ws@gmail.com> - 2013-06-01 18:16 +0100
      Re: Cutting a deck of cards Lee Crocker <leedanielcrocker@gmail.com> - 2013-06-01 22:57 -0700
  Re: Cutting a deck of cards Giorgos Tzampanakis <giorgos.tzampanakis@gmail.com> - 2013-06-01 14:58 +0000

csiph-web