Pinned toot

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!

Pinned toot

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.

I just coughed into my Google assistant and I'm worried that I'll see ads for cold medicine and hernia repair surgery everywhere now.

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.

I apply the boost button like a rich and creamy sauce

This is probably my last on this instance until we get new accounts turned back on. Take care, all.

@zachflower @IzzyOnDroid @ruivieira @ericadams

unpopular opinion 

There's nothing quite as sweet as salted hash.


You put all of the money you want to spend in your right pocket. You leave your wallet in the safe in your room. You then win money occasionally. This you put into your left pocket. When the money is gone in your right pocket GET THE FUCK OUT OF THE CASINO.

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.

if i were me i would simply take care of my responsibilities so i dont have to worry about them

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.


I really hate to ask this... because I hate that I've done it, but I need some mainstream Social media presence for BlackFire...

If anyone wouldn't mind following @blackfiresec on twitter, I'd be very grateful.

Please boost. I could use the help.

I'm really not worried about what JavaScript is coming next. The fucking planet is dying. Like maybe not tomorrow, maybe not next year. But if Millenials as a generation don't step up and right this ship, it's going to go mast down on the next big wave.

However, that all said, I do think that if they can pull it off, that whole "greatest generation" tag will definitely be up grabs.

Lunch beers can be dangerous.


Show more
Mastodon for Tech Folks

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!