[New-bugs-announce] [issue41274] Better way to random.seed()?

Juan Jimenez report at bugs.python.org
Fri Jul 10 17:44:43 EDT 2020


New submission from Juan Jimenez <flybd5 at gmail.com>:

I have invented a new way to seed the random number generator with about as random a source of seeds as can be found: hashes generated from high cadence, high resolution images of the surface of the Sun. These are captured by the Solar Dynamics Observatory's (SDO) Atmospheric Imaging Assembly's (AIA) cameras at various frequencies. I wrote the POC code in Python and can be seen at https://github.com/flybd5/heliorandom. The HelioViewer project liked the idea and modified their API to do essentially what my POC code does at https://api.helioviewer.org/?action=getRandomSeed. Perhaps a solarseed() call could be created for the library to get seeds that way rather than from the system clock?

----------
components: Library (Lib)
messages: 373487
nosy: flybd5
priority: normal
severity: normal
status: open
title: Better way to random.seed()?
type: enhancement
versions: Python 3.10

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41274>
_______________________________________


More information about the New-bugs-announce mailing list