Hello all! I'm Russ. I'm based in Western New York state. I like Linux, use Vim occasionally, and mostly program for the web at work. I recently lost 140 pounds and I try to hit the gym three times a week. I'm all about self improvement! Have a good day! #introductions
Our code, which is in git, hallowed be thy semicolons. Thy work be done, in prod as it is in local. Give us this day our daily error messages. And forgive us our commits, as we forgive those who ask us for more features. And lead us not into technical debt, but deliver us from evil. For thine is the DOM, and the power, and the glory, forever and ever. Stallman.
Name my next #Mastodon account. Go!
I learned a sweet trick last night.
Say that you have a parent element that's relatively positioned, and you want to absolutely position other elements inside of it, perhaps several images, with one serving as a background. Previously I would have set the height of the parent element with JS, but the trick I learned last night is so simple: Create a non-absolutely positioned copy inside the relative parent, and make it's visibility 0. This will force the parent's height to the background image's height.
So you don't want to spend more than a dollar per handle pull. Fair enough. You have 100 dollars to spend. You find a $.50 machine that has a 2 credit max bet. There's your dollar. Now you find the $.50 (or $.25 with 4 credits, etc.) machine that has the highest payout amount for the money spent. Then you sit your ass down, and find a server to get you a free drink.
Well, more to the point, slot machines AREN'T total black boxes. You put money into them, ALWAYS A MAX BET, and you get nothing/maybe something out of them. That's how it goes. You don't control the out part. You control the IN part. So the non-naive approach to slot machines is to find a max bet (which you should ALWAYS PLAY) that you are comfortable with spending on a regular basis, and THEN find the machine that has the highest PAYOUT AMOUNT for that max bet amount. That's it.
>You will most probably start by trying out some machines.
>Would you stick to a particular machine that has an okayish probability(exploitation) or would you keep searching for better machines(exploration)?
Okay, I used to work at a casino, as a Slot Technician, and I can tell you without a doubt that this is a naive way of playing a black box.
>Thought Experiment: Assume that we have infinite slot machines. Every slot machine has some win probability. But we don’t know these probability values.
>You have to operate these slot machines one by one. How do you come up with a strategy to maximize your outcome from these slot machines in minimum time.
Modern working life is basically learning how to tread water. I asked the junior dev how their Friday was going with the sprint empty and they said they were bettering themselves reading some defunct GitHub doc site. I told her "Right on! But you should really be reading MDN" and so she started reading that instead.
My lead just walked out of his office and I paused for a moment, realizing that I'm spending too much time on Mastodon.
However, that all said, I do think that if they can pull it off, that whole "greatest generation" tag will definitely be up grabs.
This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either! We adhere to an adapted version of the TootCat Code of Conduct and have documented a list of blocked instances. Ash is the admin and is supported by Fuzzface, Brian!, and Daniel Glus as moderators. Hosting costs are largely covered by our generous supporters on Patreon – thanks for all the help!