delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2022/05/16/20:39:35

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20210112;
h=message-id:date:mime-version:user-agent:subject:content-language:to
:references:from:in-reply-to:content-transfer-encoding;
bh=PI5bSabWcTozSLdIvcEk/tivJeELA3/nuHgbWku1LnE=;
b=qm0ZVN9hKVrjaTe1OTCX3Sy4OFTKpw3Y7RkpDHjLLuckWipyclm1xJ1MQ3+4+n5LQA
bv+fOGPpBorLuCGNyBESsZ/I/HUVqUbZjwTNX/hLdKYNM8ZMv6mPTB74uOzXZvKpMUz/
6H6B0EN/FIaUvQxlIjLfMckUo2haKheSowvDZSMDAIqlyniWYhPO2lbrIClRSbhEput9
nS8NwWuOCKWtQ8SolGdh++rcnyv/5kGULeCudYqxx60SDmwjeiIe5LUpULhrDvODTDIt
6Mckaqrz6eCxcUvcRAsFpiAYoLL32yyykqapymBm5v59jL2AaLW68uefCYNR9ov2yJDo
1EaQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=x-gm-message-state:message-id:date:mime-version:user-agent:subject
:content-language:to:references:from:in-reply-to
:content-transfer-encoding;
bh=PI5bSabWcTozSLdIvcEk/tivJeELA3/nuHgbWku1LnE=;
b=ua+J98pOQca4IfPM7yq9EjRFOt5E9I86sQssMsGLDj+DaJs58t4YvFMnARLng3P5un
9VKQqW3OVLPVgYc0dHlv1FTCRo68vlP3Ix+UN4VKIMB+xh24/MoZ6CUQkCO13aYHjMjM
Cd333TtOheA4YAN4LGLMi95JMuH621muFqz+i9t7covTWS30Rn2pdpPrvhTCOjBvovVv
gX7k8K7HHoXI8CSybylRSnVf1Q0zG/TxPjVLSnBEXF5YtULcRX2Frjpo+ie7vSA/XN36
8w0EMo+wyfZWL0h3agBxb8pF0GKizRX6Akf+nbnj11oboS6hmGkSC3RnwUam2auKSlqo
HCJg==
X-Gm-Message-State: AOAM5305IJfBdxK2VoxqA2omR1YpYx9kpPLtZ46jI7j5JafzPLE2qujT
Ut+aTG1x41EqNqKyF5K0Okv+5TSKOTI=
X-Google-Smtp-Source: ABdhPJx8edUJVmZlycCUIjlA15mujH0uUaAQVo2TabU/WDYwtNZOS4hskSHKLlkaK+HEHRVTePif/A==
X-Received: by 2002:a05:6214:4104:b0:431:d89a:66bd with SMTP id kc4-20020a056214410400b00431d89a66bdmr18205801qvb.42.1652747964073;
Mon, 16 May 2022 17:39:24 -0700 (PDT)
Message-ID: <5e2c6b86-a347-17ca-fda8-2e7526330441@gmail.com>
Date: Mon, 16 May 2022 20:39:22 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.9.0
Subject: Re: ANNOUNCE: DJGPP port of Jansson 2.14 uploaded
To: djgpp AT delorie DOT com
References: <202205161829 DOT 24GITkIb001461 AT delorie DOT com>
<05d2bacd-34c9-619b-0774-ac29e9978755 AT gmail DOT com>
<20220516224047 DOT 3172c428 AT gmx DOT de>
From: "Frank Sapone (emoaddict15 AT gmail DOT com) [via djgpp AT delorie DOT com]" <djgpp AT delorie DOT com>
In-Reply-To: <20220516224047.3172c428@gmx.de>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On 5/16/2022 4:40 PM, Juan Manuel Guerrero (juan DOT guerrero AT gmx DOT de) [via 
djgpp AT delorie DOT com] wrote:
> Am Mon, 16 May 2022 14:53:43 -0400
> schrieb "Frank Sapone (emoaddict15 AT gmail DOT com) [via djgpp AT delorie DOT com]"
> <djgpp AT delorie DOT com>:
>
>> On 5/16/2022 2:18 PM, Juan Manuel Guerrero (juan DOT guerrero AT gmx DOT de)
>> [via djgpp-announce AT delorie DOT com] wrote:
>>>     DJGPP specific changes.
>>>     =======================
>>>
>>>     - The library requires an entropy source to seed the hash
>>> function. This can either be a driver or a random data file.  On
>>> plain DOS one such driver, NOISE.SYS, can be obtained from:
>>>         http://www.rahul.net/dkaufman/index.html
>>>       as:
>>>         http://www.rahul.net/dkaufman/noise063a2.zip
>>>       Please read the instructions carefully.  This driver works on
>>> DOS and may be on some versions of Windows but it does not work for
>>> all versions of Windows.  For XP it does not work and I have found
>>> no replacement.  Alternatively a random data file can be used.
>>>       It will be found by the library at run-time by evaluating the
>>>       RANDFILE environment variable.
>> Hi Juan,
>>
>> Thanks for the port.  I may have some use for this under DOS.
>> However, is the noise driver absolutely required to use this lib? Is
>> there some reason it can't just use the regular rand() functions?
>> The website shows "under construction" when the link is followed btw.
>>
>> Thanks,
>> Frank
>>
>
> Hello Frank,
>
> the only reason why I have done it this way, was because it was the
> easiest way to do it for me.  I need the noise source anyway for
> other ports like openSSL and lynx so I have opted to do it here the
> same way.  I have no objections in changing this the next time.  Of
> course, with the possibility to read "random" data from a file or even
> worse by using rand() it will no longer be really random at all but
> that is ok with me.
>
> Concerning the noise063a2.zip file, I fear that it has gone for ever.
> At least I have not found it any where.  May be some one will find it
> some where.  This was my fault, I have forgotten about this because I
> have installed it on my MSDOS box all the time.
> For people still interested in it, they can get it by downloading the
> binary archive of the latetest lynx port:
>      ftp://ftp.delorie.com/pub/djgpp/current/v2tk/l290d10b.zip
> In the djgpp directory is a noise063a2 directory containing the original
> zip file as retrived by me from the URL given together with a diffs file
> with small changes I have done to the original sources.
>
> Regards,
> Juan M. Guerrero

Hi Juan,

I'd be OK with it defaulting to rand() if noise or a file is not found.  
I think having users rely on either can be a bit cumbersome depending on 
the application.  I don't need true randomness (or much at all, to be 
honest) in my use case.

Understood on the noise.sys homepage.  If you'd like, I can mirror the 
site and/or files at my location as well.

Thanks for all your hard work,
Frank

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019