| Deutsch English Français Italiano |
|
<vqq7bc$25k7o$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Richard Harnden <richard.nospam@gmail.invalid> Newsgroups: sci.crypt Subject: Re: lun - Lucky Number Date: Tue, 11 Mar 2025 20:44:28 +0000 Organization: A noiseless patient Spider Lines: 49 Message-ID: <vqq7bc$25k7o$1@dont-email.me> References: <vqg3sj$3q7rg$1@stefan.eternal-september.org> <vqi2io$8r9n$1@dont-email.me> <vqi2qe$90e8$1@stefan.eternal-september.org> <vqi3i4$95dd$1@stefan.eternal-september.org> <vqid0s$arf3$1@dont-email.me> <vqidkl$aqnb$1@dont-email.me> <vqj3si$ei2k$1@dont-email.me> <87senjh1jr.fsf@bsb.me.uk> <vqq1tg$24ili$1@dont-email.me> <vqq49m$23vhr$4@dont-email.me> <vqq4nr$255p0$1@dont-email.me> Reply-To: nospam.harnden@invalid.com MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Tue, 11 Mar 2025 21:44:29 +0100 (CET) Injection-Info: dont-email.me; posting-host="c88aea5ca10a0c5c2fe550c3844b4cea"; logging-data="2281720"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+iMZ/UHta9NqJ4Gnq8wp18EVYxV+rYoz8=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:Yr/ffTwO87YEnPS+vzjj9NlR0bI= In-Reply-To: <vqq4nr$255p0$1@dont-email.me> Content-Language: en-GB Bytes: 2906 On 11/03/2025 19:59, Rich wrote: > Richard Heathfield <rjh@cpax.org.uk> wrote: >> On 11/03/2025 19:11, Rich wrote: >>> Ben Bacarisse <ben@bsb.me.uk> wrote: >>>> Rich <rich@example.invalid> writes: >>>> >>>>> Richard Heathfield <rjh@cpax.org.uk> wrote: >>>>>> On 08/03/2025 21:32, Rich wrote: >>>>>> >>>>>> <snip> >>>>>> >>>>>>> Looking at the source, how does someone with pencil and paper perform >>>>>>> this magic?: >>>>>>> >>>>>>> n, _ := rand.Int(rand.Reader, max) >>>>>> >>>>>> Roll some dice. >>>>>> >>>>>> d4 give you two bits at a time, d8 give you three, or d16 give >>>>>> you four. Quick and easy. Or if you prefer decimal, d10s are also >>>>>> readily available. >>>>> >>>>> True, that will work. Die for generating, pencil and paper for >>>>> 'recording' the result. >>>>> >>>>> However, if one had pencil, paper, and no die anywhere? >>>> >>>> How may sides does the pencil have? ;-) >>> >>> A round pencil, with no sides. :) >> >> You've got paper, though. >> >> https://www.professororigami.com/how-to-make-an-origami-cube/ >> >> :-) > > I admit defeat. :) With this one can create a 'die' from paper. It > may be biased (in that one side may very well weigh slightly more than > another) but barring massive bias it should be random enough. Way too complicated: Chew the paper until its one homongonised mess, spilt it out, mould into a cube. Extra credit if you can manage a d20. I wonder why nobody wants /my/ random numbers!