Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #46625
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <modulok@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.131 |
| X-Spam-Level | * |
| X-Spam-Evidence | '*H*': 0.75; '*S*': 0.01; 'algorithm': 0.04; 'modify': 0.07; 'stack.': 0.09; 'worse': 0.09; 'cc:addr:python- list': 0.11; ':-p': 0.16; 'assignment.': 0.16; 'magic': 0.16; '(but': 0.19; 'properly': 0.19; 'stack': 0.19; 'cc:addr:python.org': 0.22; 'software.': 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'to?': 0.30; 'message-id:@mail.gmail.com': 0.30; 'though.': 0.31; 'probably': 0.32; 'sense': 0.34; 'maybe': 0.34; 'could': 0.34; 'received:google.com': 0.35; 'there': 0.35; 'earth': 0.36; 'skip:& 10': 0.38; 'needed': 0.38; 'fact': 0.38; 'skip:& 20': 0.39; 'legitimate': 0.39; 'how': 0.40; 'affect': 0.61; 'real': 0.63; 'choose': 0.64; 'more': 0.64; 'school': 0.64; 'cards': 0.65; 'to:addr:gmail.com': 0.65; 'real-world': 0.68; 'study': 0.69; 'evaluate': 0.72; 'cut': 0.74; 'random,': 0.84; 'subject:Cutting': 0.84; 'cutting': 0.91; 'smoke': 0.91; 'outcome': 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=h2Hm3l0Rptm2/4Vceh0Tj7DubvUdKYDbrAK0dDZzgzg=; b=yv1qCKn5G4QJNFW7gQHIN5iZ6DZVQo2adSUJKsSxJWChSjAwfKVpTWV63AhmJ7Cb+v 9qezs8lJaoEpEq7lcy2JjD5dea13Nqx4uwkNU8O48s8b2+6n5q3Iq2RgH5x9qLp4g61o xFuggA+rMFg7L7bveO8WdQ66/OWltCwbtCKBJioIxW1OQ29QS3uylqrgL37yXNFMbRM7 NgWlXv6dDj9BrwQ8srkqEBbAzZvXMEehgP2A4+DIlaD0d8DntAByPnrD2hchGtvUmK7l aFLUkwZFLyOCMUpg+gO1RuvQMpY4OqGVolC5FrIVKgFWcKn1Vc/l5JivrP4ESQaUyNSQ lt6w== |
| MIME-Version | 1.0 |
| X-Received | by 10.14.45.4 with SMTP id o4mr632051eeb.86.1370026462239; Fri, 31 May 2013 11:54:22 -0700 (PDT) |
| 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> |
| Date | Fri, 31 May 2013 12:54:22 -0600 |
| Subject | Re: Cutting a deck of cards |
| From | Modulok <modulok@gmail.com> |
| To | Lee Crocker <leedanielcrocker@gmail.com> |
| Content-Type | multipart/alternative; boundary=001a1132e9d89d887704de082451 |
| 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.2502.1370026469.3114.python-list@python.org> (permalink) |
| Lines | 55 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1370026469 news.xs4all.nl 15966 [2001:888:2000:d::a6]:43895 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:46625 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
> 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, and in fact > will probably make it worse depending on how you choose the cutpoint. > > The purpose of "cutting" cards is to make it more difficult for human > dealers to stack a deck. Simulating it in software makes no more sense than > simulating the cigars you smoke while playing. > > Perhaps the OP wanted to study the efficiency and affect of a real-world shuffling algorithm :-p Maybe he was designing a probabilistic magic trick and needed to evaluate how a cut would modify the outcome of a particular stack. Maybe it was a school assignment. Who knows? (But yeah if the purpose was for pure randomization then there's no real point.) There could be a lot of legitimate reasons though. -Modulok-
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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