Deutsch   English   Français   Italiano  
<vqj9j6$jfoc$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 Heathfield <rjh@cpax.org.uk>
Newsgroups: sci.crypt
Subject: Re: lun - Lucky Number
Date: Sun, 9 Mar 2025 05:39:50 +0000
Organization: Fix this later
Lines: 30
Message-ID: <vqj9j6$jfoc$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>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 09 Mar 2025 06:39:57 +0100 (CET)
Injection-Info: dont-email.me; posting-host="66293360dcff8ed84aa89f1d5417d935";
	logging-data="638732"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19dJKloxpqmSG7xGL0izDW2Oajz+MdLh7mWqs88E/82cA=="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:ujjtUfoBBclR453rP/7bYrQjwNU=
In-Reply-To: <vqj3si$ei2k$1@dont-email.me>
Content-Language: en-GB
Bytes: 2029

On 09/03/2025 04:02, Rich wrote:
> 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?

4's always good. Very random, 4.

-- 
Richard Heathfield
Email: rjh at cpax dot org dot uk
"Usenet is a strange place" - dmr 29 July 1999
Sig line 4 vacant - apply within