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.
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!
Here's a tip for all those who need to determine to whom the REPLY of an OP's thread has been made, in order to bolster the coherence of the conversation by making sure they are timely and ultimately targeting the correct sub-text:
Fire up any expensive (+$5000.00 standalone) application which is no longer supported by the manufacturer because they've opted to move forward using the subscription model of licensing ... and you have it's shortcut persisting on your desktop because you're still contemplating psychotherapy ... move the frame of the app to the margin where the CP thread dog-ear icon under question appears ... now, using this expensive app frame as a vertical ruler, scroll (on the CP Lounge page under scrutiny) using the mouse and the scroll-bar margin right ... and the determination will become unremarkably irredeemable.
I know, it's probably a TIP and not a Lounge post. But it looks like most of you have posted Monday's posts on Thursday; today.