Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
There is a block device that gives you random bytes. Real random (at least it's thought to be by the os) not just pseudo random bytes. And since they need + it's from user interaction and stuff like that the kernel doesn't sample much by default so it might not have enough bytes in the pool of randomness to give back and such you have to wait.
Jacobgc10191yIn laymen’s terms, the computer uses stuff you do to generate real random data, so move some files, open this, close that etc to generate some random data
In a computer there are two types of Random. There is pseudo random and there is cryptographic random. Pseudo-random is algorithmically generated but can be predicted. Cryptographically random is generated based on real life events such as you moving your mouse, CPU Cycles, or background radiation. Because cryptographic random needs real life data it doesn't have an unlimited supply of random numbers.
Truth is that I was too lazy to learn probability in math class, so I just wrote down
"If you roll two six-sided dice, there is a 100% chance to get a specific combination of 2 numbers, and a 0% chance it is anything else. What the numbers are depends on the state of the universe, which was not provided in the question"
"That's not how probability works"
"Probability theory is used to guess shit when you have a severe lack of knowledge about the state and behavior of a system. Probability theory is a tool for the ignorant"
Of course it got marked as "inadequate".
Your Job Suck?
Take a quick quiz from Triplebyte to skip the job search hassles and jump to final interviews at hot tech firms
Get a Better Job