~/talk

Using, Generating and Testing with Pseudo-Random Numbers

Talkat ACCU 2023 · 2023-04-19..04-22· [testing]
slides:none on file

Explains how deterministic engines like linear congruential generator (example multiplier 16807) and Mersenne Twister produce pseudo-random sequences, why modulus bias breaks a fair 1–6 dice, and how seed sources (random_device, time, seed sequences) change state and parallel behavior. Demonstrates Fisher‑Yates shuffle, C++ sample, and distributions: uniform, normal (mean 20, sd 10) and Poisson (rare jump ~1/32) by racing blobs; shows tests (fixed‑seed, mock zero) and points to DieHard batteries and crypto vs PRNG pitfalls.

AI-written summary · about

  1. 0:00The nature of randomness
  2. 2:00Applications and use cases
  3. 5:36How generators work
  4. 10:52Technical challenges
  5. 17:01Practical implementation
  6. 21:59Sampling and shuffling
  7. 32:41Testing random code
  8. 39:23Distributions in practice
  9. 44:09Entropy and conclusions
~/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.