~/talk

What is a random number and why should I care

Talkat Meeting C++ 2023 · 2023-11-12..11-14· [machine-learning]
slides:none on file

Claims that no such thing as a random number and that practical randomness comes from PRNGs are demonstrated with concrete tools: a linear congruential generator, seeding via random_device and uniform_int_distribution from the C++ <random> header. Pitfalls include biased modulus sampling, thread/seed issues and warmup/seed‑sequence subtleties. A visual demo races blobs out of a paper bag using different distributions to show behavior differences; the demo runs and makes the consequences tangible.

AI-written summary · about

  1. 0:00Random numbers
  2. 5:24Why random numbers matter
  3. 9:17Pseudo-random numbers
  4. 15:45Linear congruential generators
  5. 19:45Mersenne Twister
  6. 26:11Randomness vs chaos
  7. 32:11Dice rolls and distributions
  8. 37:17Seeding generators
  9. 43:21Shuffling and sampling
  10. 49:25Testing with random inputs
  11. 53:46Distributions and outcomes
  12. 58:08Defining randomness
  13. 1:00:57Q&A
~/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.