by costco · 1mo ago · 0 comments
> In a class I taught at Berkeley, I did an experiment where I wrote a simple little program that would let people type either “f” or “d” and would predict which key they were going to push next. It’s actually very easy to write a program that will make the right prediction about 70% of the time. Most people don’t really know how to type randomly. They’ll have too many alternations and so on. There will be all sorts of patterns, so you just have to build some sort of probabilistic model. Even a very crude one will do well. I couldn’t even beat my own program, knowing exactly how it worked. I challenged people to try this and the program was getting between 70% and 80% prediction rates. Then, we found one student that the program predicted exactly 50% of the time. We asked him what his secret was and he responded that he “just used his free will.”
I actually built this on a whim after watching that episode of TNG where Data locks everyone out of the Enterprise.
And it inspired me to build a little game based on it. See if AI can read you mind: https://jeffyclassify.com/blog/mind-reader/
They leave the room and when they come back immediately know which is which. Specifically because of the over-alternation that yours mentioned. A string of HHHHHH is exactly as likely as HTHTHT, but people don't intuit that.
this contradicts the comment you're replying to. the premise they are having is that HTHTHT is "less random" than HHHHHH.
The secret? I distracted myself with the website text and kept pressing the buttons quickly without thinking about it.
- Scott Aaronson, Quantum Computing Since Democritus.
This is what I also use for rock, paper scissors (mod 3). You can also use second hand of a watch for random samples, e.g splitting 0-30 vs. 31-60.
My strategy for rock paper scissors is to always go rock, and tell everyone that's my strategy. It's more fun for me seeing how people deal with that information than the win would be. Not very random though
However, I think you're correct anyway. The right distribution to look at is something like the orange series in the bottom graph on [0]. Eyeballing it, it does look like 3/5/7/9/11-letter words appear more in aggregate than those of 2/4/6/8/10 (49% Vs 44.5%), and longer words are a rounding error.
[0] https://medium.com/@davidxu90/relative-frequencies-of-words-...
(archived now): https://web.archive.org/web/20260625105410/https://brainfrog...