~/talk

Try A Little Randomness

Talkat PyCon Australia 2014 · 2014-08-01..08-05· [python]
links:none on file
slides:none on file

Explains what counts as real randomness versus deterministic pseudorandomness and shows concrete sources and failures: random.org uses atmospheric static and hotbits uses a cesium 137 Geiger counter, CPUs expose RD-RAND, Python’s default is the Mersenne Twister with period 2^19937−1 and 624-word state, which is fast but reversible if 624 outputs are seen so it fails CSPRNG tests; old LCGs like RANDU and Visual Studio rand (multiplier 214013) produce visible patterns and 15 hyperplanes or vertical streaks in visual tests.

AI-written summary · about

  1. 0:00Start
  2. 0:42what are random numbers ?
  3. 1:12what use are they?
  4. 2:20how do i get one?
  5. 2:45example sources of noise
  6. 3:46entropy pool
  7. 5:22what are pseudorandom numbers ?
  8. 5:41why use them?
  9. 7:43prng concepts
  10. 8:43generating a prng
  11. 9:28good prng
  12. 9:55merseinne twister
  13. 11:58cryptographically secure prng
  14. 14:14bad prng
  15. 14:54linear congruent generator
  16. 19:34randu in 3D
  17. 20:00summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.