[Python-ideas] Re: Nonuniform PRNG?

2022-12-07 Thread James Johnson
How do I join the “regular” Python list? I’m not academically qualified for python ideas On Wed, Dec 7, 2022 at 10:05 AM David Lowry-Duda wrote: > I'm very sorry, I didn't meant to post this to python-ideas. I didn't > pay enough attention. I'm sending the same thing to the regular python > list

[Python-ideas] Re: Better (?) PRNG

2022-12-06 Thread James Johnson
> - [ ] ENH: paranoid_crypto: add a __main__ so that python -m >> paranoid_crypto.randomness_tests calls eg: >> - [x] >> https://github.com/google/paranoid_crypto/blob/main/examples/randomness.py >> - [ ] REF: examples/randomness.py -> lib/randomness_tests/main.py

[Python-ideas] Re: Better (?) PRNG - follow up

2022-12-05 Thread James Johnson
d the number entered for every instance, before the report. This is why my magic eight ball program had problems, not the design of Mersenne Twister. It may be amatuer as h*ll, but doesn't it point something? James (I thank you for so articulately showing that my hash isn't a PRNG.) On Wed

[Python-ideas] Re: Moderator: does this code execute correctly?

2022-11-18 Thread James Johnson
I am a certified idiot. I will learn how to query python tutor. Apologies, James On Fri, Nov 18, 2022 at 1:07 AM Chris Angelico wrote: > On Fri, 18 Nov 2022 at 18:01, James Johnson wrote: > > > > Dear Sir: > > > > This script SHOULD build a grid with staggered co

[Python-ideas] Moderator: does this code execute correctly?

2022-11-17 Thread James Johnson
Dear Sir: This script SHOULD build a grid with staggered columns. I am not satisfied that it should stagger in the direction that I want it to, but standing alone, it should do SOMETHING. I keep getting a grid of identical rows. Is it my anaconda3; is it a code optimization? I know it sounds lik

[Python-ideas] Re: Better (?) PRNG

2022-11-16 Thread James Johnson
, Nov 16, 2022 at 9:36 AM Stephen J. Turnbull < stephenjturnb...@gmail.com> wrote: > James Johnson writes: > > > The scholars here are referencing white papers and using hardware and > > software interchangeably (?) I am not a randomization expert, and I do > not > >

[Python-ideas] Re: Better (?) PRNG

2022-11-15 Thread James Johnson
; ? > > Good luck! > > On Tue, Nov 15, 2022 at 10:25 AM James Johnson wrote: > >> That list teaches a vocabulary in which to speak about randomness. Since >> my attempt draws its inspiration from addition, I fear it may not pass >> other tests. >> >> Tha

[Python-ideas] Re: Better (?) PRNG

2022-11-15 Thread James Johnson
mples/randomness_tests/main.py > > - [ ] DOC: > https://en.wikipedia.org/wiki/Randomness_test#Notable_software_implementations: > link to google/paranoid_crypto > > > > On Tue, Nov 15, 2022 at 7:25 AM Chris Angelico wrote: > >> On Tue, 15 Nov 2022 at 22:41, Chris An

[Python-ideas] Re: Better (?) PRNG

2022-11-15 Thread James Johnson
) wrong. It runs as a program now. From quickly testing large ranges, it hovers near the mean, but on 10 and 60, it seemed to do ok. I am far less optimistic now. James On Tue, Nov 15, 2022 at 7:56 AM James Johnson wrote: > I am an amateur enthusiast. The random function I found in documentat

[Python-ideas] Re: Better (?) PRNG

2022-11-15 Thread James Johnson
that was not germane. I use my fast computer off-line, and connect to the web with a Chromebook, so online tools would mean changing my setup. I remain interested to help and learn. I hope this is not too bare-bones. On Tue, Nov 15, 2022 at 7:17 AM Stephen J. Turnbull < stephenjturnb...@gmail.com

[Python-ideas] Re: Better (?) PRNG

2022-11-15 Thread James Johnson
is > not configured to keep nondeterministically seeding with entropy that > should presumably be from a Uniform random entropic process > > There should be better software random in python. > > > On Tue, Nov 15, 2022, 1:19 AM James Johnson wrote: > >> Thank you

[Python-ideas] Re: Better (?) PRNG

2022-11-14 Thread James Johnson
commendation to `always use your operating system's >> provided random number generator`_, which is available as >> :func:`os.urandom`. >> For example, if you need 16 bytes of random data for an initialization >> vector, >> you can obtain them with: >> >>

[Python-ideas] Better (?) PRNG

2022-11-14 Thread James Johnson
better PRN generation. The "app" lends itself to checking, using statistical tools (see comments.) I remain a fan, James Johnson testrandom.py Description: Binary data ___ Python-ideas mailing list -- python-ideas@python.org To unsubscri

[Python-ideas] A “big picture” question.

2022-06-10 Thread James Johnson
impractical to disambiguate them all, after “killing yourselves,” making the language run like a bat out of hell already. Thanks for all you do, James Johnson ___ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to