[-] expr@programming.dev 1 points 4 days ago

Umm, this is what source_env is for?

[-] expr@programming.dev 57 points 2 months ago* (last edited 2 months ago)

Didn't know much about hilariouschaos, but it's definitely an instance I will be blocking after reading this thread. Any instance willing to put up with nazis should be shunned and other instances should defederate from them.

Edit: Apparently I already blocked the instance when I joined lemmy. Go figure.

[-] expr@programming.dev 60 points 3 months ago

As a senior engineer writing Haskell professionally, this just isn't really true. We just push side effects to the boundaries of the system and do as much logic and computation in pure functions.

It's basically just about minimizing external touch points and making your code easier to test and reason about. Which, incidentally, is also good design in non-FP languages. FP programmers are just generally more principled about it.

[-] expr@programming.dev 58 points 6 months ago

100%. It is wrong to elevate roleplay (which, let's be clear, is exactly what this is) to the same level of importance as someone's actual gender identity.

It's a false equivalence and does a huge disservice to trans people who are fighting for their right to even exist.

[-] expr@programming.dev 58 points 10 months ago

At minimum you need to limit the request size to avoid DOS attacks and such. But obviously that would be a much larger limit than anyone would use for a password.

[-] expr@programming.dev 88 points 11 months ago

Wait so the couch fucking thing was bullshit? It's just so... specific. Talk about an impressive shitpost.

[-] expr@programming.dev 56 points 1 year ago* (last edited 1 year ago)

Glad you got fired. Vaccines should always be mandatory save for legitimate, doctor-validated medical exemptions.

Anti-vaxxers are fucking stupid and should either be educated properly or, if they still refuse to do their civic duty after being de-programmed of misinformation, punished. You are only allowed to participate in society if you take the necessary steps that you are morally and ethically obligated to do in order to protect it from preventable, transmissible disease. We had eradicated polio until stupid motherfuckers like yourself decided that it would be a good idea to forgo the standard polio vaccine schedule that we've had for decades. Now, we saw the first case in 30 years in 2022 because someone selfishly thought that their personal beliefs were more important than the health and livelihood of everyone else.

[-] expr@programming.dev 63 points 1 year ago

As someone that has recently taken an infant and and family CPR class for my son who started solid foods a few months ago, this is pretty similar to how they teach it today and I'm pretty sure it would have the same effect. You can't perform a heimlich on a baby or very small child for a variety of reasons. This method or something similar to it is both safer and more effective, since it lets gravity help dislodge the food.

[-] expr@programming.dev 79 points 1 year ago

From what I recall, particularly the younger generations that exclusively use mobile devices (though of course this is not limited to them) actually have terrible tech literacy across the board, primarily related to spending all of their time in apps that basically spoon-feed functionality in a closed ecosystem. In particular, these groups are particularly vulnerable to very basic scams and phishing attacks.

[-] expr@programming.dev 87 points 1 year ago

I just found out about this debate and it's patently absurd. The ISO 80000-2 standard defines ℕ as including 0 and it's foundational in basically all of mathematics and computer science. Excluding 0 is a fringe position and shouldn't be taken seriously.

[-] expr@programming.dev 55 points 1 year ago

In case you're not familiar, https://en.m.wikipedia.org/wiki/Grok.

It's somewhat common slang in hacker culture, which of course Elon is shitting all over as usual. It's especially ironic since the meaning of the word roughly means "deep or profound understanding", which their AI has anything but.

[-] expr@programming.dev 55 points 1 year ago

For an adult? Nah. You can certainly kindly let them know that this isn't really gonna work and explain why (and let them know you appreciate the effort), but the rest of it is way overkill and could easily be seen as patronizing, imo. They're an adult, not a 13 year old.

Also, I interpreted the OP as finding it humorously absurd (which it is) rather than being frustrated or anything.

view more: next ›

expr

joined 2 years ago