One of my favorite cyber security things I watched a video on ages ago had a camera pointed at a wall of lava lamps. Convert the pixels of the current image to a string of numbers and bam- non deterministic random numbers :D
I feel like now a days with physics ai someone could actually figure it out, definitely would need the lamp tho cuz they vary slightly and that ends up in in big changes
@@alexanderrosulek159 you cannot predict perfect frames, simply because of the amount of factors that go into a single picture made by a camera. you could maybe estimate the flow of the lava lamps, but the individual pixels could never be the same.
@@redo1122 ahh your right I see but if it was a true real lava physics simulator surely they could just use that pixeled data with an offet in a function till it finds one which flows the same as well, all hypothetical of course it would be very very hard and computational intensive running a real true physics for each instance in the offset data to find the true flow from the initial state
Ok, usually the videos here do not deserve the channel name, with being actually pretty useful in understanding how things work and all. But this one perfectly fits the channel name :) Do not get me wrong, it is super fun, just different from what I expected.
Reserve a bit in memory. Set it to zero. Continuously read from this bit, counting clock cycles. Wait until a gamma ray flips the bit. Use the parity of the recorded wait time to generate a random 1 or a 0. Repeat until your have enough random bits to create the int or float you need.
There’s a video by sucker pinch that explains how to make utterly terrible, amazing storage drives lol ruclips.net/video/JcJSW7Rprio/видео.htmlsi=zGMoCvzZhwNWKtC0
I think that both the die bot and twitter bot can be improved by performing their action before the game asks for the state. Of course, that would make the result visible before it is used, but the strangers on the internet will definitely help you hide it when you need it most.
You can make these practical by having the "impractical" number generators maintain a queue of, say, 6 random numbers. Then you don't have to wait for them! That was the only impractical feature of these generators, right?
@@uselessgamedev> But on a serious note, it's not stupid. True randomness doesn't feel random to people. Look at the number of people who get infuriated when their XCom soldier misses three times in a row, while the enemy gets three critical hits. So, a way to alleviate that is to use a bag. Put all your numbers in it, and pull one at a time, don't put them back in the bag. When it's empty, refill it. You end up with a much more homogeneous distribution with fewer clusters. If you pull a lot of bad numbers, the bag will have only good numbers in it so you are guaranteed to draw good numbers now. It's not true randomness, but it feels more random/fair to silly humans who don't understand stats. Or you can go the Final Fantasy way, and just lie. People think 80% chance of hitting means "pretty much always", so the game writes 80% on the UI, but internally it's like 95%. But because some games use the bag method, or just lie, when players encounter an honest game, they complain about the RNG. Anyway, look at that old Tom Scott video entitled "The Lava Lamps That Help Keep The Internet Secure". It's a very cute implementation and quite similar to your tamagochis.
@@uselessgamedev I believe as a rough gauge you can use the numbers generated to create an image, and you can visually see the "quality" in the patterns that appear (when there shouldn't be any)
A simple but important test is to check whether the results mod N are evenly distributed for various N (ie, there are about as many evens as odd, about as many numbers that are 1 mod 3 as 2 or 0 mod 3, etc.) This isnt an exhaustive test by any means, but it's a good starting point as the bare minimum. A lot of applications depend on having numbers evenly distributed mod some other number. For further tests, there's the Diehard and BigCrush suites. These are preimplemented suites of tests to evaluate PRNGs based on the statistical processes of random sequences. You could just run those suites, or pick out some of the easier tests to run yourself.
The dice'o'matic used by gamesbyemail might interest you: ruclips.net/video/7n8LNxGbZbs/видео.html Huge machine rolling loads of dice, in order to have real dice-results for use in online boardgames!
Well, someone has to drop the Von Neumann quote... 🙃"Anyone who attempts to generate random numbers by deterministic means is, of course, living in a state of sin."
Hey, you just started showing up in my feed and I've found your videos very interesting and useful. It's good stuff! 👍Which, is why your name rubs me the wrong way... Useless game dev? 🤔 I don't think what we're doing here is useless, why do you?
Yes that was one of the "easy" methods (could also have mounted the whole box on a motor and rotated that) but I tried to go for "spectacle". Should probably have stuck with something that was guaranteed to work
Tamagotchi: "What's my purpose?"
UGD: "You generate pseudo-random numbers"
Tamagotchi: "Oh my god"
One of my favorite cyber security things I watched a video on ages ago had a camera pointed at a wall of lava lamps. Convert the pixels of the current image to a string of numbers and bam- non deterministic random numbers :D
I belive cloudflare does that
yep, they use that for certificates
I feel like now a days with physics ai someone could actually figure it out, definitely would need the lamp tho cuz they vary slightly and that ends up in in big changes
@@alexanderrosulek159 you cannot predict perfect frames, simply because of the amount of factors that go into a single picture made by a camera. you could maybe estimate the flow of the lava lamps, but the individual pixels could never be the same.
@@redo1122 ahh your right I see but if it was a true real lava physics simulator surely they could just use that pixeled data with an offet in a function till it finds one which flows the same as well, all hypothetical of course it would be very very hard and computational intensive running a real true physics for each instance in the offset data to find the true flow from the initial state
Ok, usually the videos here do not deserve the channel name, with being actually pretty useful in understanding how things work and all. But this one perfectly fits the channel name :)
Do not get me wrong, it is super fun, just different from what I expected.
it’s ingenious how you used Cute Cat Creature Pals to generate a Useless Source of Statistical Randomness
Nice
No antenna to catch cosmic background radiation?
Brownian noise detector would have been pretty sick
An analog radio/tv antenna getting static and a dac would ve an interesting one indeed
My favourite way of getting random number in C is accesing memory that I didn't allocate, casting that to int value and useing modulo range+1
Thanks, I hate it.
Random number generator with a chance of segfault
This is the first _actually_ useless game dev video I've seen on this channel.
I still learned plenty tho
5:20 If the video gets removed for some reason, we'll know that's actually what they do to generate random numbers.
That's a nice idea for a project, coming with the most impractical random number generator.
Reserve a bit in memory. Set it to zero. Continuously read from this bit, counting clock cycles. Wait until a gamma ray flips the bit. Use the parity of the recorded wait time to generate a random 1 or a 0. Repeat until your have enough random bits to create the int or float you need.
There’s a video by sucker pinch that explains how to make utterly terrible, amazing storage drives lol
ruclips.net/video/JcJSW7Rprio/видео.htmlsi=zGMoCvzZhwNWKtC0
Build a neutrino detector and use the time and coordinates of each detection.
Did we just get a 3d printing and engineering content on this channel?
Anything can happen as long as it's unexpected. I'm the Cerveza Cristal of game dev
I think that both the die bot and twitter bot can be improved by performing their action before the game asks for the state. Of course, that would make the result visible before it is used, but the strangers on the internet will definitely help you hide it when you need it most.
This is too good. The enslavement was my favourite part, closely followed by unexpectedly becoming an engineering video
You can make these practical by having the "impractical" number generators maintain a queue of, say, 6 random numbers. Then you don't have to wait for them! That was the only impractical feature of these generators, right?
Who here remembers Trouble? It’s a board game similar to Sorry with a popping dice contraption in the middle
Immediately one of my favorite videos on this channel
I love this video, i have watched it like 3 times
This was a lot of fun to watch. Good stuff!
"Cute Cat Creature Pals, or CCCP for short", I see what you did there...
When working on microcontroller arduino projects, generally a pin that isn’t grounded can give good random number entropy,
Wow. The Doom RNG is pretty much XKCD 221.
Also, a few years ago, my gf and I cooked a bunch of dishes from Skyrim for a week. That was fun.
Yeah, guaranteed random
@@uselessgamedev> But on a serious note, it's not stupid. True randomness doesn't feel random to people. Look at the number of people who get infuriated when their XCom soldier misses three times in a row, while the enemy gets three critical hits.
So, a way to alleviate that is to use a bag. Put all your numbers in it, and pull one at a time, don't put them back in the bag. When it's empty, refill it. You end up with a much more homogeneous distribution with fewer clusters. If you pull a lot of bad numbers, the bag will have only good numbers in it so you are guaranteed to draw good numbers now. It's not true randomness, but it feels more random/fair to silly humans who don't understand stats.
Or you can go the Final Fantasy way, and just lie. People think 80% chance of hitting means "pretty much always", so the game writes 80% on the UI, but internally it's like 95%.
But because some games use the bag method, or just lie, when players encounter an honest game, they complain about the RNG.
Anyway, look at that old Tom Scott video entitled "The Lava Lamps That Help Keep The Internet Secure". It's a very cute implementation and quite similar to your tamagochis.
Can you do a video on the quality of the random numbers generated by the tamagochis?
Someone suggested this in the discord but tbh I wouldn't know how to evaluate that (and I'm not too keen on spending time learning this haha)
@@uselessgamedev I believe as a rough gauge you can use the numbers generated to create an image, and you can visually see the "quality" in the patterns that appear (when there shouldn't be any)
A simple but important test is to check whether the results mod N are evenly distributed for various N (ie, there are about as many evens as odd, about as many numbers that are 1 mod 3 as 2 or 0 mod 3, etc.)
This isnt an exhaustive test by any means, but it's a good starting point as the bare minimum. A lot of applications depend on having numbers evenly distributed mod some other number.
For further tests, there's the Diehard and BigCrush suites. These are preimplemented suites of tests to evaluate PRNGs based on the statistical processes of random sequences. You could just run those suites, or pick out some of the easier tests to run yourself.
The dice'o'matic used by gamesbyemail might interest you: ruclips.net/video/7n8LNxGbZbs/видео.html
Huge machine rolling loads of dice, in order to have real dice-results for use in online boardgames!
Love the video, I do recommend increasing the output volume. difficult to hear the audio.
Thanks I'll keep that in mind!
- Show me your idea
- Well look, you move on arrows and jump on...
- Sorry I meant Id
Sorry I'm high so no judgment
Well, someone has to drop the Von Neumann quote... 🙃"Anyone who attempts to generate random numbers by deterministic means is, of course, living in a state of sin."
Hehehe I recognize that music. I wonder if you played Akaburs work. heheheh ^^
Hey, you just started showing up in my feed and I've found your videos very interesting and useful. It's good stuff! 👍Which, is why your name rubs me the wrong way... Useless game dev? 🤔 I don't think what we're doing here is useless, why do you?
Do more videos of more random number ideas!!
Feels like when you type a random Minecraft seed
I appreciate you blurring out your username in the terminal but leaving it visible in the window title
Ah rookie mistake
I think we've all been there!@@uselessgamedev
@@TankorSmash I for one have not had any reason to have that issue 😅
Screencasting is a risky sport!@@ScriptCoded
Lets use lava lamps
Imagine being so impatient you post your April's fools video 10 days in before April 1st....
nice
Idk why you didn’t just use a funnel and escalator like system
Yes that was one of the "easy" methods (could also have mounted the whole box on a motor and rotated that) but I tried to go for "spectacle". Should probably have stuck with something that was guaranteed to work
@@uselessgamedev a very entertaining “spectacle”, I love your videos and hope you keep doing interesting things like this
your video is kinda similar to a video called harder drives. At least the idea is
Definitely! As stated in the description
Volume is very low :(
algorithm
it's X now :)
1:26 OUR virtual pet