1 00:00:22,239 --> 00:00:25,519 Daina Bouquin: You are walking home without an umbrella. 2 00:00:25,519 --> 00:00:30,320 The forecast said 60%, and you did the math the way everybody 3 00:00:30,320 --> 00:00:31,359 does the math. 4 00:00:31,359 --> 00:00:33,840 Which is to say that you didn't. 5 00:00:33,840 --> 00:00:38,240 You looked at the sky and you decided that it would hold. 6 00:00:38,240 --> 00:00:41,280 So now you are hurrying. 7 00:00:41,280 --> 00:00:46,640 Shoulders up, and the rain is coming down in big, scattered 8 00:00:46,640 --> 00:00:47,600 droplets. 9 00:00:47,600 --> 00:00:50,960 You watch it land on the sidewalk. 10 00:00:50,960 --> 00:00:52,640 One drop. 11 00:00:52,640 --> 00:00:53,200 Then a dozen. 12 00:00:54,079 --> 00:00:58,320 Dark coins appearing on the pale concrete in no particular 13 00:00:58,320 --> 00:00:58,960 order. 14 00:00:58,960 --> 00:01:03,759 You could not say where the next one will fall. 15 00:01:03,759 --> 00:01:05,760 Nobody could. 16 00:01:05,760 --> 00:01:07,280 Not you. 17 00:01:07,280 --> 00:01:10,400 Not whoever wrote the forecast. 18 00:01:10,400 --> 00:01:13,280 Not anyone who has ever lived. 19 00:01:13,280 --> 00:01:16,079 And that, right there. 20 00:01:16,079 --> 00:01:18,480 The randomness. 21 00:01:18,480 --> 00:01:22,079 That is one of the last wild things. 22 00:01:22,079 --> 00:01:24,079 And it's everywhere. 23 00:01:24,079 --> 00:01:27,200 It is the exact fork of the lightning. 24 00:01:27,200 --> 00:01:30,719 Drawn once across the dark and never again. 25 00:01:30,719 --> 00:01:33,519 It is the freckles on your arm. 26 00:01:33,519 --> 00:01:37,439 It is the hiss between two radio stations. 27 00:01:37,439 --> 00:01:42,879 The world throws off randomness the way it throws off heat. 28 00:01:42,879 --> 00:01:44,719 Constantly. 29 00:01:44,719 --> 00:01:46,879 For free. 30 00:01:46,879 --> 00:01:49,280 You cannot bottle it. 31 00:01:49,280 --> 00:01:52,719 You cannot ask the storm to wait. 32 00:01:52,719 --> 00:01:56,319 It falls and the randomness is gone. 33 00:01:56,319 --> 00:02:00,719 Which would not matter at all if we didn't need it. 34 00:02:00,719 --> 00:02:04,000 But we do need it. 35 00:02:04,000 --> 00:02:08,159 We need it because it is how we try to see the future. 36 00:02:08,159 --> 00:02:13,360 To determine whether the river comes over its banks tonight 37 00:02:13,360 --> 00:02:14,639 while you sleep. 38 00:02:14,639 --> 00:02:19,360 Whether the funnel touches down on your street or one in the 39 00:02:19,360 --> 00:02:20,639 next town over. 40 00:02:20,639 --> 00:02:26,080 To see the future, we build a little sky inside a machine. 41 00:02:26,080 --> 00:02:31,039 We tell the sky everything we know about the air right now and 42 00:02:31,039 --> 00:02:32,639 about physics. 43 00:02:32,639 --> 00:02:36,639 And then we let it run the sky forward, out ahead of the real 44 00:02:36,639 --> 00:02:37,280 weather. 45 00:02:37,280 --> 00:02:40,639 But the air will not sit still to be copied. 46 00:02:40,639 --> 00:02:45,680 Miss one gust of wind, one pocket of warmth too faint to 47 00:02:45,680 --> 00:02:49,120 measure, and your little digital sky evolves in the completely 48 00:02:49,120 --> 00:02:50,319 wrong direction. 49 00:02:50,319 --> 00:02:54,159 So we do not run the simulation once. 50 00:02:54,159 --> 00:02:56,479 We run it 50 times. 51 00:02:56,479 --> 00:03:02,719 And each run starts with a tiny random nudge to stand in for 52 00:03:02,719 --> 00:03:04,240 everything we don't know. 53 00:03:04,240 --> 00:03:08,080 Each nudge creates a slightly different tomorrow. 54 00:03:08,080 --> 00:03:12,479 Then we count how many of those tomorrows end in rain. 55 00:03:12,479 --> 00:03:16,080 And here is the thing about the machine dreaming up those 56 00:03:16,080 --> 00:03:17,120 tomorrows. 57 00:03:17,120 --> 00:03:22,800 It cannot make a single one of those random nudges on its own. 58 00:03:22,800 --> 00:03:27,280 We had to find the randomness somewhere and pour it in. 59 00:03:27,280 --> 00:03:32,400 And the randomness we pour into nearly every forecast, every 60 00:03:32,400 --> 00:03:36,159 simulated flood, every imagined storm. 61 00:03:36,159 --> 00:03:38,960 It is not real. 62 00:03:38,960 --> 00:03:41,840 It's a counterfeit. 63 00:03:41,840 --> 00:03:44,000 We faked it. 64 00:03:44,000 --> 00:03:48,960 I'm Daina Bouquin, and this is Found in the M achine. 65 00:03:49,840 --> 00:03:59,439 To you understand why anyone would fake randomness you have 66 00:03:59,439 --> 00:04:02,240 to understand how hard the real thing is to catch. 67 00:04:02,240 --> 00:04:04,639 Go back to 1947. 68 00:04:04,639 --> 00:04:08,800 To a low building in Santa Monica, close enough to the 69 00:04:08,800 --> 00:04:11,680 ocean that you could smell it if you opened a window. 70 00:04:11,680 --> 00:04:16,160 Where a new outfit called RAND was doing mathematics for the 71 00:04:16,160 --> 00:04:17,199 Air Force. 72 00:04:17,199 --> 00:04:20,959 Someone there needed random numbers. 73 00:04:20,959 --> 00:04:23,199 Not a handful. 74 00:04:23,199 --> 00:04:25,040 A million. 75 00:04:25,040 --> 00:04:27,279 Clean ones. 76 00:04:27,279 --> 00:04:29,839 With no human thumb on the scale. 77 00:04:29,839 --> 00:04:34,000 Because you could never get a million random numbers out of a 78 00:04:34,000 --> 00:04:34,319 person. 79 00:04:34,319 --> 00:04:39,040 Ask anyone to rattle off random digits and they will lean on 80 00:04:39,040 --> 00:04:40,879 some without realizing it. 81 00:04:40,879 --> 00:04:44,160 They'll make little patterns without meaning to. 82 00:04:44,160 --> 00:04:46,800 They'll say seven too much. 83 00:04:46,800 --> 00:04:50,480 People are pattern machines. 84 00:04:50,480 --> 00:04:53,680 It is one of the things we cannot stop ourselves from 85 00:04:53,680 --> 00:04:54,160 being. 86 00:04:54,160 --> 00:04:56,879 And the people at RAND knew that. 87 00:04:56,879 --> 00:05:00,319 So they built a chaos engine instead. 88 00:05:00,319 --> 00:05:05,839 It was, more or less, an electronic roulette wheel. 89 00:05:05,839 --> 00:05:10,959 A wheel with 32 slots spun by raw electrical noise. 90 00:05:10,959 --> 00:05:15,680 The frantic static inside a gas tube, whipping through 91 00:05:15,680 --> 00:05:19,439 thousands of revolutions and landing on one number every 92 00:05:19,439 --> 00:05:20,079 second. 93 00:05:20,079 --> 00:05:22,240 It clattered. 94 00:05:22,240 --> 00:05:23,519 It clicked. 95 00:05:23,519 --> 00:05:28,480 It punched its chaos into stiff paper cards hour after hour, 96 00:05:28,480 --> 00:05:30,160 day after day. 97 00:05:30,160 --> 00:05:31,839 And it worked. 98 00:05:31,839 --> 00:05:33,439 Sort of. 99 00:05:33,439 --> 00:05:36,959 Because it turns out that building a thing with no habits 100 00:05:36,959 --> 00:05:38,720 at all is almost impossible. 101 00:05:38,720 --> 00:05:40,879 The tubes degraded. 102 00:05:40,879 --> 00:05:43,920 They were sensitive to the room's temperature. 103 00:05:43,920 --> 00:05:47,199 They felt the grid's voltage flutter when the building's 104 00:05:47,199 --> 00:05:48,480 power dipped. 105 00:05:48,480 --> 00:05:54,800 And slowly, quietly, a faint shadow of a pattern would creep 106 00:05:54,800 --> 00:05:55,439 back in. 107 00:05:55,439 --> 00:05:58,800 So you would have to shut the machine down and tune it, and 108 00:05:58,800 --> 00:06:00,879 then it would behave for a while. 109 00:06:00,879 --> 00:06:03,439 And then it would drift again. 110 00:06:03,439 --> 00:06:06,160 Which meant someone had to check. 111 00:06:06,160 --> 00:06:09,680 Someone had to take a million numbers and hunt through them 112 00:06:09,680 --> 00:06:11,439 for ghosts of a pattern. 113 00:06:11,439 --> 00:06:15,839 Her name was Bernice Brown. 114 00:06:15,839 --> 00:06:21,199 Before Rand, she had been in Ames, Iowa, at the statistics 115 00:06:21,199 --> 00:06:24,079 program that became the first statistical laboratory in the 116 00:06:24,079 --> 00:06:24,800 country. 117 00:06:24,800 --> 00:06:29,519 In 1932, she became the second person ever to earn a master's 118 00:06:29,519 --> 00:06:31,120 degree in statistics there. 119 00:06:31,120 --> 00:06:35,920 At RAND, once the machine had spat out its million digits. 120 00:06:35,920 --> 00:06:40,800 Her job was to make sure they were completely meaningless. 121 00:06:40,800 --> 00:06:45,360 So she counted how often each digit appeared. 122 00:06:45,360 --> 00:06:50,879 Whether pairs showed up too often, whether runs ran too 123 00:06:50,879 --> 00:06:57,040 long, test after test, by hand and on IBM tabulating machines, 124 00:06:57,040 --> 00:07:02,319 feeding in tray after heavy tray of punched cards, day after 125 00:07:02,319 --> 00:07:04,560 day, for years. 126 00:07:04,560 --> 00:07:09,279 Tedious, physical, invisible work. 127 00:07:09,279 --> 00:07:15,040 And at the end of it all, after tests and retests and one final 128 00:07:15,040 --> 00:07:18,480 mathematical shuffle to scrub out the machine's last stubborn 129 00:07:18,480 --> 00:07:22,160 leanings, Bernice Brown signed off. 130 00:07:22,160 --> 00:07:27,120 She wrote that nothing in her tests argued against calling 131 00:07:27,120 --> 00:07:28,879 these numbers random. 132 00:07:28,879 --> 00:07:32,079 Not these are random. 133 00:07:32,079 --> 00:07:34,560 No one can ever prove that. 134 00:07:34,560 --> 00:07:39,519 Only I looked as hard as I know how to look and I could not 135 00:07:39,519 --> 00:07:42,000 catch them being anything else. 136 00:07:42,000 --> 00:07:46,160 Her certified numbers were eventually printed and bound 137 00:07:46,160 --> 00:07:47,360 into a book. 138 00:07:47,360 --> 00:07:52,879 A real book published in 1955 that you could order in the 139 00:07:52,879 --> 00:07:53,360 mail. 140 00:07:53,360 --> 00:07:58,319 It is called A Million Random Digits with 100,000 Normal 141 00:07:58,319 --> 00:07:59,199 Deviates. 142 00:07:59,199 --> 00:08:02,560 You can still buy a copy today. 143 00:08:02,560 --> 00:08:04,800 And people did buy it. 144 00:08:04,800 --> 00:08:08,959 Scientists, pollsters, lottery designers. 145 00:08:08,959 --> 00:08:13,759 For years, if you needed real randomness, you did not make it. 146 00:08:13,759 --> 00:08:15,439 You looked it up. 147 00:08:15,439 --> 00:08:18,720 The book even came with instructions. 148 00:08:18,720 --> 00:08:21,600 You were not supposed to start on page one. 149 00:08:21,600 --> 00:08:25,759 You were told to open the book somewhere unpredictable and read 150 00:08:25,759 --> 00:08:28,079 off in an unpredictable direction. 151 00:08:28,079 --> 00:08:32,320 Even the Book of Chaos needed you to bring a little chaos of 152 00:08:32,320 --> 00:08:33,279 your own. 153 00:08:33,279 --> 00:08:37,919 So this is what randomness cost in 1955. 154 00:08:37,919 --> 00:08:40,480 A machine that fought you. 155 00:08:40,480 --> 00:08:43,759 A woman who spent years checking every digit. 156 00:08:43,759 --> 00:08:47,840 A book of certified nonsense that you kept on a shelf. 157 00:08:47,840 --> 00:08:52,879 Now, around that same time, a man was lying in a hospital bed 158 00:08:52,879 --> 00:08:53,919 playing cards. 159 00:08:53,919 --> 00:08:59,440 His name was Stanisław Ulam, and he was a Polish-American 160 00:08:59,440 --> 00:09:00,559 mathematician. 161 00:09:00,559 --> 00:09:04,240 In 1946, he had nearly died. 162 00:09:04,240 --> 00:09:08,480 A sudden encephalitis, an emergency brain surgery. 163 00:09:08,480 --> 00:09:12,799 And as he recovered, he played solitaire. 164 00:09:12,799 --> 00:09:16,480 And somewhere in there he got curious. 165 00:09:16,480 --> 00:09:20,399 What are the odds that a given hand of solitaire can be won at 166 00:09:20,399 --> 00:09:20,639 all? 167 00:09:20,639 --> 00:09:25,200 He tried to work it out properly with pure mathematics. 168 00:09:25,200 --> 00:09:28,879 And the calculations just ballooned beyond reach. 169 00:09:28,879 --> 00:09:32,399 So he gave up on elegance and just played. 170 00:09:32,399 --> 00:09:34,320 Lots of hands. 171 00:09:34,320 --> 00:09:37,200 And he counted how often he won. 172 00:09:37,200 --> 00:09:40,080 He figured, don't solve the problem. 173 00:09:40,080 --> 00:09:42,240 Simulate it. 174 00:09:42,240 --> 00:09:45,840 Run it over and over with the deck shuffled differently each 175 00:09:45,840 --> 00:09:48,480 time, and let the count become your answer. 176 00:09:56,240 --> 00:09:59,360 Ulam brought that idea back to his colleagues and one of them saw immediately what it could do. His name was John von Neumann, a 177 00:09:59,360 --> 00:10:03,039 mathematician of terrifying range who played German marching 178 00:10:03,039 --> 00:10:07,279 music too loud in his office, and who was, at that moment, 179 00:10:07,279 --> 00:10:10,799 trying to understand what happens inside an exploding 180 00:10:10,799 --> 00:10:11,360 bomb. 181 00:10:11,360 --> 00:10:14,480 You could write that problem down in theory. 182 00:10:14,480 --> 00:10:19,039 Every neutron, every trajectory through a chunk of metal the 183 00:10:19,039 --> 00:10:20,799 size of a grapefruit. 184 00:10:20,799 --> 00:10:24,559 But solving it would take longer than the universe has 185 00:10:24,559 --> 00:10:25,360 been alive. 186 00:10:25,360 --> 00:10:28,879 Or you could do what Ulam had done with the cards. 187 00:10:28,879 --> 00:10:31,759 Follow one imaginary neutron. 188 00:10:31,759 --> 00:10:34,799 When it strikes a nucleus, roll the dice. 189 00:10:34,799 --> 00:10:36,720 Does it bounce? 190 00:10:36,720 --> 00:10:38,480 Is it absorbed? 191 00:10:38,480 --> 00:10:40,559 Does it split the atom? 192 00:10:40,559 --> 00:10:44,720 That random roll of the dice would determine the outcome. 193 00:10:44,720 --> 00:10:48,720 And von Neumann needed millions of rolls. 194 00:10:48,720 --> 00:10:51,120 More than any book could hold. 195 00:10:51,120 --> 00:10:53,279 He came up with a trick. 196 00:10:53,279 --> 00:10:58,159 Take a number, square it, then reach into the middle of the 197 00:10:58,159 --> 00:11:00,080 answer and pull out a few digits. 198 00:11:00,080 --> 00:11:02,399 That's your next number. 199 00:11:02,399 --> 00:11:05,440 Now do it again and again. 200 00:11:05,440 --> 00:11:09,200 Plain, fast, repeatable arithmetic. 201 00:11:09,200 --> 00:11:13,279 And if you squint, the numbers it throws off look random. 202 00:11:13,279 --> 00:11:16,320 They jump around and feel unpredictable. 203 00:11:16,320 --> 00:11:18,399 They are not. 204 00:11:18,399 --> 00:11:20,639 Of course they are not. 205 00:11:20,639 --> 00:11:24,960 Feed the trick the same starting number, the same seed. 206 00:11:24,960 --> 00:11:27,919 And it hands you the exact same sequence. 207 00:11:27,919 --> 00:11:31,360 There is no more chance in it than in a times table. 208 00:11:31,360 --> 00:11:35,200 And nobody knew that better than von Neumann. 209 00:11:35,200 --> 00:11:37,360 He said it himself. 210 00:11:37,360 --> 00:11:42,320 Anyone who uses arithmetic to produce random digits is, of 211 00:11:42,320 --> 00:11:45,279 course, in a state of sin. 212 00:11:45,279 --> 00:11:49,919 For decades, the fakes were good enough. 213 00:11:49,919 --> 00:11:53,919 Because for most of what we ask randomness to do, a good fake 214 00:11:53,919 --> 00:11:54,879 is fine. 215 00:11:54,879 --> 00:12:00,320 For weather, for bombs, for the slow patient work of science, 216 00:12:00,320 --> 00:12:04,080 von Neumann's sin was pretty much good enough. 217 00:12:04,080 --> 00:12:08,320 But then we started asking randomness to do something new. 218 00:12:08,320 --> 00:12:14,080 Not to imagine the future, but to keep our secrets. 219 00:12:14,080 --> 00:12:18,639 You see, when you send a message you do not want read, or 220 00:12:18,639 --> 00:12:23,600 when money moves, the locks that protect all of it are built 221 00:12:23,600 --> 00:12:25,279 from random numbers. 222 00:12:25,279 --> 00:12:29,039 And a secret built on a fake is just a secret waiting for the 223 00:12:29,039 --> 00:12:30,480 right person to notice. 224 00:12:30,480 --> 00:12:36,480 Like in 1995, two graduate students at Berkeley noticed. 225 00:12:36,480 --> 00:12:40,559 They pulled apart the web browser Netscape, which was at 226 00:12:40,559 --> 00:12:44,080 the time the front door to the internet, and found that the 227 00:12:44,080 --> 00:12:47,840 quote, random numbers securing its traffic, were seeded with 228 00:12:47,840 --> 00:12:49,919 things like the time of day. 229 00:12:49,919 --> 00:12:53,120 Not chaos, just a clock. 230 00:12:53,120 --> 00:12:56,240 And so in minutes the locks came open. 231 00:12:56,240 --> 00:13:01,120 And so, after half a century of getting away with it, we 232 00:13:01,120 --> 00:13:04,399 discovered that we still needed the real thing. 233 00:13:04,399 --> 00:13:09,360 Genuine unpredictability, caught from the physical world. 234 00:13:09,360 --> 00:13:11,519 Bernice Brown's kind. 235 00:13:11,519 --> 00:13:15,360 Computer science has a word for it. 236 00:13:15,360 --> 00:13:18,159 They call it entropy. 237 00:13:18,159 --> 00:13:21,840 And we were sent back out to hunt for it. 238 00:13:21,840 --> 00:13:25,360 Here is what we worked out. 239 00:13:25,360 --> 00:13:29,919 To keep our secrets, we do not need a million real random 240 00:13:29,919 --> 00:13:30,639 numbers. 241 00:13:30,639 --> 00:13:34,960 We only need the starting points, the seeds. 242 00:13:34,960 --> 00:13:39,360 Once you have a truly unpredictable seed, the fast, 243 00:13:39,360 --> 00:13:41,840 cheap arithmetic can take it from there. 244 00:13:41,840 --> 00:13:44,879 So the hunt became a hunt for seeds. 245 00:13:44,879 --> 00:13:51,200 And once you go looking the mess is everywhere, the thermal 246 00:13:51,200 --> 00:13:57,440 noise inside a resistor, the decay of a radioactive atom, the 247 00:13:57,440 --> 00:14:01,600 jitter of the exact microsecond you happen to move your mouse. 248 00:14:01,600 --> 00:14:06,480 Your computer is scavenging entropy off of you right now, 249 00:14:06,480 --> 00:14:09,919 gathering up your tiny accidents and pooling them like 250 00:14:09,919 --> 00:14:10,960 rainwater. 251 00:14:10,960 --> 00:14:16,240 And in one building in San Francisco, a company called 252 00:14:16,240 --> 00:14:20,559 Cloudflare keeps a whole wall of lava lamps. 253 00:14:20,559 --> 00:14:24,960 Blobs rising and folding and splitting and never taking the 254 00:14:24,960 --> 00:14:26,799 exact same shape twice. 255 00:14:26,799 --> 00:14:34,000 A camera watches the wall, and a computer turns every pixel, 256 00:14:34,000 --> 00:14:39,200 its position, brightness, and color, into numbers. 257 00:14:39,200 --> 00:14:44,639 The exact posture of every slow molten blob becomes a seed, 258 00:14:44,639 --> 00:14:47,919 feeding the cryptographic keys that secure web traffic for 259 00:14:47,919 --> 00:14:49,279 millions of sites. 260 00:14:49,279 --> 00:14:54,000 If you walked in front of that wall, your shadow would shape 261 00:14:54,000 --> 00:14:55,679 the randomness too. 262 00:14:55,679 --> 00:15:00,799 Some tiny fraction of the internet's locks would be forged 263 00:15:00,799 --> 00:15:04,240 in part from the outline of you. 264 00:15:04,240 --> 00:15:12,879 We built machines that can do almost anything. 265 00:15:12,879 --> 00:15:17,200 They can play out fifty tomorrows no problem. 266 00:15:17,200 --> 00:15:21,279 They can follow a neutron through a bomb. 267 00:15:21,279 --> 00:15:24,399 And lately they can talk. 268 00:15:24,399 --> 00:15:27,840 You may have had a conversation with one recently. 269 00:15:27,840 --> 00:15:32,799 Every time one of those machines chooses its next word, 270 00:15:32,799 --> 00:15:34,240 it rolls dice. 271 00:15:34,240 --> 00:15:37,440 And they are von Neumann's dice. 272 00:15:37,440 --> 00:15:43,600 Fed at the very start by a seed of real entropy scavenged from 273 00:15:43,600 --> 00:15:44,639 the physical world. 274 00:15:44,639 --> 00:15:48,399 Because that is the one thing no machine can do. 275 00:15:48,399 --> 00:15:51,919 The most powerful things we have ever built come to the 276 00:15:51,919 --> 00:15:53,840 physical world like beggars. 277 00:15:53,840 --> 00:15:55,759 To the static. 278 00:15:55,759 --> 00:15:57,840 To the lava. 279 00:15:57,840 --> 00:16:02,240 The machines cannot make it. 280 00:16:02,240 --> 00:16:06,799 Bernice Brown could spend years checking and never prove it. 281 00:16:06,799 --> 00:16:12,080 Von Neumann could only fake it, and the sky is giving it away 282 00:16:12,080 --> 00:16:12,799 for free. 283 00:16:12,799 --> 00:16:18,000 You feel it on the back of your neck as you hurry home. 284 00:16:18,000 --> 00:16:25,440 I'm Daina Bouquin, and this is Found in the Machine. 285 00:16:25,440 --> 00:16:31,360 If you enjoy these stories, please rate and review this 286 00:16:31,360 --> 00:16:33,440 podcast wherever you listen.