🌉 bridged from @yaroto98@lemmy.world by Tidepool
yaroto98
@yaroto98.lemmy.world.ap.tdpl.io
dull_mens_club I replaced the battery on my Dyson stick vacuum
30 1That's your new flex for your next icebreaker when someone asks you to say something interesting about yourself: "Moderate repairs are easy for me".
atheistmemes The most awkward misaimed fandom
13 2Something I find fascinating is how similar the stories are between the people who leave the hyper strict religions.
I'm an ex-mormon, and read a lot of ex-mo stories and sympathize with them. But then I stumble across an ex-jahovas witness, or an ex-islam or ex-orthadox jewish story and it's insane how similar the stories are. Sure the specifics are slightly different, but the guilt, hypocracy, shame and more all end up smelling the same. The sympathy I feel for them is the same and it's very easy to identify with where they're coming from even if I don't know their dogma.
mildlyinteresting Found this electrical work under my house...
17 0I see lots of ground here.
memes I know I'm not the only one who sees it
5 0% but backwards?
gaming GTA 6 is apparently now running glitchless on Linux
4 0PC release minus two weeks until they lay off 10k employees. None of those employees will get any bonuses despite making the game such a huge success.
gaming GTA 6 is apparently now running glitchless on Linux
2 1Fight fire with fire
gaming GTA 6 is apparently now running glitchless on Linux
231 7I'm generally against the use of AI in many instances. But I will admit I do get a little petty satisfaction of it being used against Big Tech after it's been shoved down our throats. Same with all the hacking.
selfhosted Domain Registrars & DNS Providers?
0 0Ahhhhhh good to know. I hadn't heard that.
selfhosted Domain Registrars & DNS Providers?
4 1Same, haven't hear anything evil from them other than them jacking up prices as they grew in size and popularity beyond the dirt cheap places.
asklemmy You are on death row: what's your last meal?
6 0Infinite last meals.
nostupidquestions Sodium in electrolytes help with hydration. Yet, drinking ocean water will dehydrate you. What is the threshold in sodium concentration where the effect flips?
40 2Osmosis. Your body needs sodium to function properly. Your blood is salty. They use saline as an analog all the time. Osmosis causes areas of high concentration to cross a barier to areas of low concentration. That barier being the cell wall membrane. Which means if you drink a bunch of salty water, when it's going through your blood stream, water will leave the inside of your cells (high concentration) and go to the blood(low concentration water because of all the extra salt) therefore water is leaving your cells actively causing you to dehydrate. later your kidneys will get a big workout removing all that salt from your blood.
programming anyone archiving web pages for compliance or legal reasons?
4 0There's archivebox. https://hub.docker.com/r/archivebox/archivebox
games Gamers rallied against $60 and $70 games, then voted in favour of a $100 game. What comes next?
0 0Huh, you're right. The deluxe edition is just the default on steam. Not to be confused with the super deluxe edition for $130 or the 15 DLCs.
games Gamers rallied against $60 and $70 games, then voted in favour of a $100 game. What comes next?
2 3Don't forget Boarderlands 4 is/was $100 and that doesn't even get you everything, that's just for the base game.
technology ChatGPT Helped “Sadistic” School Shooter Build 3D-Printed Weapons
0 0Tripple fuck you to MyQ.
programmer_humor What was the silliest issue you discovered during debugging?
19 0Was told to test a new database migration as they updated from mainframe to a current version of Oracle. First I was to test data integrity. Wrote a python script to pull from the old db and verify that record matched the new. Found sooooo many bugs, sent it to the dev. Half were real bugs, half were bugs with my script. Turns out they didn't actually want a 1:1 on the new db they were going to change things cuz they could. Lots of back and forth and by the end my python script essentially mirrored the production code.
Then they wanted me to load test the new system. I wrote a quick script to query N rows from the db with X threads and blast the new service. Didn't take long to write, presented my finished script and plan to pull in manual testers to also run my script as needed.
Dev was cocky because they'd setup auto scaling on AWS. Manager was concerned I'd taken time to write a script instead of just spamming the same message over and over with a tool like gatling.
First run I took down the system very quickly, like within a minute with just my laptop. Note, this was a system that was planned to handle 100s of millions of requests an hour. Dev was impressed, turned out to be a auto scaling misconfiguration. Second time it took a few mins but it died again. Config needed some more tweaks. Third time I took it down because of some queueing issue that raised it's ugly head. Fourth time I took it down they found a bug in the code. Fifth, Sixth, and Seventh time I needed the manual tester's help, but the devs were scratching their heads trying to figure out how I was taking them out in 5mins of sustained load. Took two teams of devs scratching their heads and several itterations through bringing the system down and even two separate devs walked through my code to see what on earth I was doing. To top it off it wouldn't just take down the microservice, it would crash our entire AWS infrastructure for the company. Not just our project but all our aws projects in the building went down.
They finally found the problem. The silly little problem. Remember that data I pulled from the db and blasted them with? Well, we hit a poision pill situation. One of the records turns out was a manual tester's favorite to use when running one of his tests. That one record had 30,000 attached sub-records. Everytime that tester ran that test case he just kept adding a sub-record to it. Dude didn't know he was slowly crafting such a massive data bomb all those years that would take down all our AWS servers.
They had also fixed the problem with one service crashing the others. And that my friends is why you never skimp on good automated testing. When it went live there was no major issues or outages, though we did let it soak in parallel with prod for weeks to make sure we trusted the results.
selfhosted CI/CD question: How do you actually deploy a self-hosted web app that runs in docker (preferably using Forgejo actions)?
2 0Creare a step before your 'docker compose up' that does a apt get update apt get upgrade and then installs docker and docker compose.
Every time the action runs you are going to get a brand new clean ephemeral environment. You can shortcut the install steps by pointing it to an existing container that has docker isntalled on it, or building one yourself. But the easiest way is to just add a step to install the things you want in the container during the run.
linux Since when did Linux held 8% of the global marketshare???
40 1Bad counting of bots as linux users. Fixed categoration, drops back down.
dull_mens_club Replaced a blown engine capacitor in a snowblower.
0 0Wow, you really blew it.
selfhosted Running OPNSense on existing Proxmox media server
3 0This is why I have two piholes. So if I'm updating and rebooting one, the network doesn't cut out. My router has both programmed in.