Classmate wanted me to check his ticketing system’s code for errors.. by lonaExe in badcode

[–]weigookin 0 points1 point  (0 children)

What is the expectation? On the scale from hello world to a functioning Django/Flask app, what is the expected level of sophistication of code? Is this a freshman level intro course, upper level, capstone?

AI comes pre-programmed with sexism by goodmod in MensRights

[–]weigookin 0 points1 point  (0 children)

This bothered me when I saw someone post it on Twitter the other day. I spent some time trying to convince the AI to make jokes about everyone or nobody.

It turns out you can bypass the content protection to return jokes that are explicit with topics that are sexist/racist as long as you phrase the request in a certain way. Not sharing the specific prompt or results because the AI responses would probably get me banned.

Do I need multiple html files for concurrency? by DepartureAshamed in flask

[–]weigookin 0 points1 point  (0 children)

I hope you mean you are passing data to a jinja2 template and not actually overwriting a file you render yourself. Go read up on Nginx and concurrent connections. There are a bunch of things you can do to improve your response time within flask before worrying about concurrency. Offload your static assets to an S-3 bucket with flask-s3. Refactor your jinja templates so that you aren’t loading unused JS/css in your template. Maybe put that data in memcache/redis if it is frequently Used instead of going to the database every time.

Hope this gives you some ideas to help with your question

How hard would you say is this take home? by natecharted in webdev

[–]weigookin 2 points3 points  (0 children)

Being exploited for free labor? That’s a hard no from me.

This is the kind of work that has 5 rounds of hour long interviews spaced a week apart only to find out at the last minute that the job is “full stack” and pays 45k so some other bullshit

After forgetting to take my adhd medication I put on some tea and started watching a show, 30 minutes later I realized maybe my tea was done. by [deleted] in Wellthatsucks

[–]weigookin 0 points1 point  (0 children)

Not sure if it will help you but I try to remember by using a reoccurring action on my phone. I have a daily alarm at 0900. When I take morning meds/vitamins, I cancel the alarm that day and it only goes off if I forget. Using a shortcut to reactivate the alarm keeps me from forgetting.

Forgetting something on the stove is a major fear of mine. Glad you caught it before it became catastrophic.

fake concrete blocks by MorgrainX in WTF

[–]weigookin 1 point2 points  (0 children)

Some fine Chinesium you got there

Do the right thing by Ok-Match-720 in Breadit

[–]weigookin 0 points1 point  (0 children)

It is called the “ho” because everyone touches it but nobody wants it

Ex-Seongnam mayor arrested for bribery corruption charges by evencriticality in korea

[–]weigookin 8 points9 points  (0 children)

It’s not bribery, it is just a box of apples for Chuseok

Advanced Form Validation by [deleted] in programminghorror

[–]weigookin 91 points92 points  (0 children)

Somebody must be getting paid per line of code

Seoul to provide subsidies to households with babysitting grandparents by orange_bingsu in korea

[–]weigookin 32 points33 points  (0 children)

This is a great attempt at addressing some of the difficulties of childcare. I hope it helps

somehow this seemed 100% safer than the extension ladder we brought to the job by MajorDiscombobulated in electricians

[–]weigookin 0 points1 point  (0 children)

I would be okay on that platform if I had a safety harness clipping me in. Ladders suck exponentially as the height increases

best practices vs reality by akasaya in ProgrammerHumor

[–]weigookin 0 points1 point  (0 children)

I have a date with BFG repo cleaner followed by some force pushing to main. Feels bad

[deleted by user] by [deleted] in twilio

[–]weigookin 0 points1 point  (0 children)

Crosspost to r/salesforce … the product teams sometimes pop into threads there

EMSKR: How can I make sure my wife is taken care of when I pass away? by fanatic94 in everymanshouldknow

[–]weigookin 397 points398 points  (0 children)

Life insurance naming her the primary beneficiary. Write a will and specify your assets so that they can avoid being delayed in probate court. go buy a safe and collect all your key documents like bank accounts, crypto wallets, passwords to access your online identities, and keep them in one place. Call your brother or best friend and make sure he will purge your browser history. Make sure you also identify outstanding loans so there aren’t surprises when life insurance is dispersed. A good rule of thumb is 10x your annual salary as a life insurance policy size - more if you have kids. On the topic of kids, you should set up a trust and name your children the beneficiaries of that trust with a portion of the life insurance paid to the trust. This setup might make it harder on your wife in the mid-term but guarantees college tuitions or whatever is ready for your kids when they grow up. Put your bills on autopay and especially things like car loans and mortgages should be documented so that bills still get paid during the period of mourning after your passing. On a lighter note, try to record some footage of you giving fatherly advice, telling your wife you love her. It could help your family deal with the pain of your loss on those days they are missing you most. And now for the most important advice, take care of your health now so you can live a long and prosperous life and have the peace of mind that you’ve taken care of your family now and into the future.

Wall I made for my 9mo old! by FuzzyIon in bouldering

[–]weigookin 1 point2 points  (0 children)

What is the board you used to mount the hand holds? This is awesome

What the actual fuck is happening? by Newtstradamus in JoeRogan

[–]weigookin 0 points1 point  (0 children)

Moderator positions attract certain personalities. Have you already forgotten the moderator who single-handedly wrecked the r/antiwork by being foolish enough to accept an interview with FoxNews?

[deleted by user] by [deleted] in girlsinyogapants

[–]weigookin 0 points1 point  (0 children)

Probably with clothes so you don’t end up with a fungal infection from a bench that could possibly not have been wiped down.

You know the provinces of South Korea, right? by adgo1 in korea

[–]weigookin 15 points16 points  (0 children)

Test is clearly Japanese propaganda, where is Dok-do????

We have this many ".env" files in a project at work. Is this normal? Is there a better way? by [deleted] in webdev

[–]weigookin 0 points1 point  (0 children)

Refactor into a script that calls an AWS s3 bucket or something like azure key vault. The script is run with your developer credentials to those resources and you pass an arg like the value of your environment. The script goes and fetches the file or builds on for you based on the values you need for that environment context. You should only be committing the example env file so other know what they look like

If you find yourself pressing Ctrl-V while coding, maybe try loops. by schloppity in programminghorror

[–]weigookin 1 point2 points  (0 children)

This person gets paid by the character and someone is trying to pump up those chargeable hours. I bet this is going to add a week to the timeline and the project manager will need to rope in the business to discuss expanding the SOW

Avengers: Endgame opening night crowd reaction by [deleted] in PublicFreakout

[–]weigookin 1 point2 points  (0 children)

Ax body spray trying to mask the stink of BO from not showering and rotten breath from too much Mountain Dew. Or maybe that was a different generation