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: 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 Date: Sat, 1 Jun 2013 18:16:05 +0100 Subject: Re: Cutting a deck of cards To: Lee Crocker Content-Type: text/plain; charset=UTF-8 Cc: python-list X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 On 31 May 2013 12:56, Lee Crocker 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.