| Deutsch English Français Italiano |
|
<87senjh1jr.fsf@bsb.me.uk> 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: Ben Bacarisse <ben@bsb.me.uk> Newsgroups: sci.crypt Subject: Re: lun - Lucky Number Date: Tue, 11 Mar 2025 18:20:24 +0000 Organization: A noiseless patient Spider Lines: 27 Message-ID: <87senjh1jr.fsf@bsb.me.uk> 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> MIME-Version: 1.0 Content-Type: text/plain Injection-Date: Tue, 11 Mar 2025 19:20:26 +0100 (CET) Injection-Info: dont-email.me; posting-host="209aad79c381cbbb26827f81ca22ef70"; logging-data="2204026"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/o8kvnaMmSEG6LvR600tAc5mO2P5DCF6A=" User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:sCZWueN1G7lMXBqTKOwZVmN/m6Q= sha1:FvVWgssHofH5GX7sWh3K0Hek8D8= X-BSB-Auth: 1.fbc2d4e5a41e298ed432.20250311182024GMT.87senjh1jr.fsf@bsb.me.uk Bytes: 1895 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? ;-) -- Ben.