I generate a random number and then use that number as a seed. I then generate a random number. Then I use that number as a seed. I then generate a random number. I divide that number by a random prime number picked in a similar fashion. I take the last n-digits of the remainder and that’s the random number I give to a user.
That’s already pretty cool! It surely does generate very random numbers. I still think you can take it a step – or a random number of steps, hah! – further by repeating the process a random number of times! Maybe this way we can reach maximum randomness. Probably need to reroll the number until it’s big enough for that.
I would also check if the result is 4. If it’s 4, it should be discarded. 4 is not an actual random number but a joke random number from a comic.
I think what they’re referring to is a company - I think it’s CloudFlare - who use a bunch of physical randomness generators to seed their commercial random number generator. One of those seeds is a webcam pointed at a load of lava lamps.
IME, to use git effectively, and make sense of the man-pages, you have to know a lot of the internals of how git works. I found it helpful to read “Git from the bottom up” when I had to start using it professionally: jwiegley.github.io/git-from-the-bottom-up/
My biggest pet peeve was working in a restaurant and trying to seat a large group. That hatred has been with me for decades, that I actively refuse to involve myself in dinners larger than 6 people. It’s noisy. It’s too much management. There’s multiple conversations. It’s awful.
Even during family outings in public areas, I assemble little groups and pretend like we don’t know each other.
And before anybody even asks, I absolutely segmented my wedding into different 6-person teams when we went out in public.
It is cringe because the XKCD guy does not know when to stop. The second part of the comic (the white on black part) makes it worse. The graph is the punchline. But then he keeps drawing, and ruins it.
What’s wrong about it? It makes it clearer why 1. The seating is ridiculous 2. Such frustration is ridiculous. How is the graph the punchline? The idea is the punchline.
the problem here is technically not you knowing people but that the people you know can also know people that you don’t know, expanding the graph beyond the first layer that you personally observe.
programming.dev
Active