The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
If you were to take the camera and take a picture of the aquarium, and then calculate a hash of the resulting image file...would it really be any less "random" than applying to it the subsequent algorithm you intend to create?
Honestly, I was more interested in the replies I would get.
I seem to have received both a quantity and breadth of replies way beyond what I expected.
They span from supportive, to critical, to informative, from serious to hilarious.
It seems there is a tremendous amount of interest on this topic in the community.
Also, I am at the point of planning what to do when I finally give it all up. (Retire, shudder!)
Also, I could use another reason to keep the Aquarium.
BTW: I expected someone to mention the bubbler as a source of random input. Someone mentioned the bubbler but not as a source, only that it caused the fish locations not to be random. (I disagree with that.)
BTW: I thought someone would come up with the fact that playing GILLbert & Sullivan tunes would be greatly appreciated by the fish, causing more or perhaps less random behavior. and more puns of that nature.
Finally, I thank you and everyone else that replied to this post.
Old men need something to do, besides think about young girls and glory days.
Whenever I see your name it feels like I'm talking to myself
Slow Eddie wrote:
BTW: I expected someone to mention the bubbler as a source of random input.
How "random" it needs to be often depends on the application that it would be used for. In the game "Oxygen not included", one can share an entire map by sharing a seed, which is then used to generate the map.
Lots of people here with a background in math and/or statistics - more answers may come tomorrow. Give it a bit time
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
A questioner complained that their SortCompare method in a DataGridView did not work. Looking at the code it was clear that they were sorting integer values as strings, which means alphabetic rather than numeric order. So, I went to MSDN to check the documentation, only to discover that OP had copied the code verbatim. And every sample pertaining to sorting in a DataGridView had exactly the same bad code: DataGridViewSortCompareEventArgs Class (System.Windows.Forms) | Microsoft Docs[^].
Yes, and you understand that. However, the main sample shows the first column labelled "ID" containing numbers (even though as string values). So a relatively inexperienced user would assume that sorting by ID would list numbers 4 and 5 before 11 and 12, rather than the other way round.
Any idea what you want to print? I have an ongoing battle between my 3D printed Marauder[^] and the cleaning lady. No doubt it will be in pieces again when I come to work on monday. Perhaps I should print it again, this time a little bigger and with some real robot servos and lasers. I just don't have any source for miniature particle cannons or autocannons yet.
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
As a starter........
Some cases for my various electronic boards. (Arduino, beagles, raspi, parallelas, beans, logis and god knows what else is in the drawer!)
Replacement arm for a cooling fan. (the arm that allows it to move left to right, sprog broke it, tried a repair once already, but where it broke it needs a new part.)
I don't know how those get, but be aware that PLA has a glass temperature[^] much lower than ABS: 60 ~ 65C compared with 105 ~ 110C. So if parts get hot (or are to go in the car) PLA is probably a bad idea.
And also that ABS gives off toxic fumes and needs to be used in a well ventilated area!
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
AntiTwitter: @DalekDave is now a follower!