Show HN: How Random Are You?

(lab.specr.net)

43 points | by vunderba 3 hours ago ago

20 comments

  • Trusteando 3 minutes ago

    What about the following strategy? You try to select a random number between 0 and 1 in your head, then decide randomly to keep or change the number you selected. This strategy could make your selection more random if your decisions are independent of the numbers themselves. Perhaps someone could try and report results.

  • costco 2 hours ago

    This is a nice spin on the Aaronson oracle:

    > 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.”

    • tyre 31 minutes ago

      There's another version where a stats professor divides people into two groups. One group flips a coin 50 times and writes on a whiteboard the results. The other comes up with 50 results.

      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.

    • faeyanpiraat an hour ago

      Must have been looking at some external random source

  • steve_adams_86 40 minutes ago

    Rather than attempt to be random, knowing that I'm not, I wanted to see how well it can predict Math.random:

        setInterval(() => {
          const num = Math.round(Math.random() * 10);
          const ball = document.querySelector(`.typed-pad .ball-${num}`);
          if (ball) {
            ball.click();
          }
        }, 1000);
    
    This isn't very interesting, but it scratched an itch I had to see what would happen.

        The house's record
    
        The house called 18 of your 190 scored numbers: 9%.
    
        Blind guessing would average about 21.1 of them (11%).
    
        Only 1 of the 206 people in a psychology study was more random than you. The house found you extremely hard to read.
    
    I really want to know who was more random than a RNG
    • tyre 34 minutes ago

      It might not be that someone is more random than an RNG, but that the distribution of numbers in your 190 vs. theirs appears more "random". It's a limited sample size.

      If yours happened to contain consecutive digits or common ones (ending in zero, significant numbers like 911 or 42 or 69), that would imply less randomness even if it's actually the result of "real" RNG.

  • pavel_lishin 2 hours ago

    Is anyone sufficiently paranoid that their first thought was, "Are you going to train a model on my voice?"

    (Yes, I saw the "type the numbers" option.)

    • _diyar 2 hours ago

      Why would they when there are thousands of hours of radio and podcasts do train on?

    • AnthonBerg 2 hours ago

      Ah, you see they are doing something far more random…

    • panzagl an hour ago

      No, I thought of the penguin of doom...

    • progforlyfe 2 hours ago

      Yes, my mind went directly here

  • akshitgaur2005 an hour ago

    Alternating and advancing from both ends seems to work, it calls n-1, and n+1 correctly if the previous guess was n, but got no calls in a sequence like - 1, 8, 3, 7, 4, 7, 1, 7, 3, 8, etc

  • maidaman an hour ago

    The first time I did badly. But the second time I got really far by deciding on a number instinctively and then picking something next to it. Maybe we instinctively pick similar numbers, but if we fight our instincts we end up with something truly random.

  • alwa 2 hours ago

    I found it interesting when I felt my focus shift from the number-generating task to noticing (and responding to) the house’s guesses.

    As soon as I noticed it repeating its guess, I had a good long run of adversarially avoiding that number… it’s kind of fun being on the machine side of the slot-machine-type racket!

  • kps an hour ago

    I guess I've skewed the totals a little, but the site agrees that the digits of π are random.

  • vorticalbox 2 hours ago

    I got to 2/30 then it just guessed 7 from 30-50.

    Did I break it?

  • nightpool an hour ago

    "You spread your picks more evenly than a random draw would. Your most-used number made up 23% of your picks, where a random draw's busiest number gets about 23%."

    ??? huh?

  • foxhop 2 hours ago

    blobrand dot com

  • floorsthelimit an hour ago

    House called 0 of 50. Huh?