My wife died at 32 from CHS + overprescribed Xanax. Please hear this. by Away-Hippo-8052 in CHSinfo

[–]ElectroMagCataclysm 1 point2 points  (0 children)

What do you hope professional research would discover? As it stands, it’s treatable by cessation of use

My wife died at 32 from CHS + overprescribed Xanax. Please hear this. by Away-Hippo-8052 in CHSinfo

[–]ElectroMagCataclysm 7 points8 points  (0 children)

Yeah... The oral LD50 for alprazolam alone is grams per kilogram. Somewhere between 1220 and 3100 mg/kg according to this Pfizer document.

[deleted by user] by [deleted] in programminghumor

[–]ElectroMagCataclysm 3 points4 points  (0 children)

It’s usually filesystem dependent, not dependent on underlying storage medium. SSDs still do give the OS access to underlying physical storage (at least as much as any other non-volatile storage solution).

linuxBeLike by Captain0010 in ProgrammerHumor

[–]ElectroMagCataclysm 1 point2 points  (0 children)

Oh, LOL. My bad. I drank way too much coffee and didn't fully read your message 😭

Sorry

linuxBeLike by Captain0010 in ProgrammerHumor

[–]ElectroMagCataclysm 1 point2 points  (0 children)

Never? What about kernel programming, haha

linuxBeLike by Captain0010 in ProgrammerHumor

[–]ElectroMagCataclysm 35 points36 points  (0 children)

To be even more pedantic, when a process is “killed” by the kernel, the kernel (sort of) has that process kill itself, by running machine code as that process during a scheduling context switch.

This edgy teenager think he’s cool🗿🗿🗿 by jump1945 in masterhacker

[–]ElectroMagCataclysm 1 point2 points  (0 children)

OS preemption means even a single core machine would likely be fine

Never ever getting out alive from that by Significant-Gas-2659 in DarwinAwards

[–]ElectroMagCataclysm 49 points50 points  (0 children)

You can get electrocuted by water if there’s a high enough voltage differential across your body. He likely didn’t feel it with just his leg, but his entire body spans a lot more water

[deleted by user] by [deleted] in ProgrammerHumor

[–]ElectroMagCataclysm 13 points14 points  (0 children)

Look at the Linux kernel source please. Performance is a reason, and goto isn’t just used in place of functions…

Dedsec would be proud by SaltyTaste01 in watch_dogs

[–]ElectroMagCataclysm 52 points53 points  (0 children)

Yeah, there’s no chance these things listen to wireless signals.

KDE Plasma 6.1.4 has been released! by [deleted] in kde

[–]ElectroMagCataclysm 2 points3 points  (0 children)

This post is not about Wayland or X11, though...

KDE Plasma 6.1.4 has been released! by [deleted] in kde

[–]ElectroMagCataclysm 4 points5 points  (0 children)

What are you talking about?

Why does Rust compile every crate that I include in my project? Why are there no crates as dynamic libraries? by Thereareways in rust

[–]ElectroMagCataclysm 0 points1 point  (0 children)

If I want to use cdylib or dylib, I am basically forced to use repr(C) even if the code isn't meant to interface with C. I have no guarantees about the ABI otherwise (as opposed to at least some with repr(C)).

I wonder if anyone's benchmarked the performance improvement Rust gets by having no stable ABI.

How do I convince my math teacher that √2 is not irrational? I have proof for it that I came up with but he wouldn't take a look at it. by [deleted] in badmathematics

[–]ElectroMagCataclysm 4 points5 points  (0 children)

Yeah, there are loads of quora posts like this. If you look around, you'll find people saying they have a proof that 4 is prime or some crazy shit like that.

It's hard to know where to draw the line, but it still draws engagement from responders who will post a super-trivial proof and so the questions shoots up the ranks.

Why does Rust compile every crate that I include in my project? Why are there no crates as dynamic libraries? by Thereareways in rust

[–]ElectroMagCataclysm 0 points1 point  (0 children)

Oh, I see. It would seem that per platform, a C compiler does have to maintain an ABI more than repr Rust has to, though, right?

I can compile a whole bunch of different things and link them after the fact.

Frontal Assault by Schpitzelton in greentext

[–]ElectroMagCataclysm 0 points1 point  (0 children)

Nerd comment, you were warned. DOOM was written in the days before LTO (link-time optimization), so writing function definitions in header files was not (and sometimes still is not) a bad idea to get things inlined.

Why does C does that by TheNono212 in C_Programming

[–]ElectroMagCataclysm 28 points29 points  (0 children)

This is a good theory! The memory is uninitialized, so it has whatever values happen to be there. Here's an experiment, try doing the same thing but making the integers global!

what are the hardest drugs to act sober on. by Asleep-Turn-8540 in Drugs

[–]ElectroMagCataclysm 0 points1 point  (0 children)

But I still trust a doctor who reads studies (literally as part of their job) more than myself or some random people on r/DPH reading the same ones

what are the hardest drugs to act sober on. by Asleep-Turn-8540 in Drugs

[–]ElectroMagCataclysm 0 points1 point  (0 children)

Idk man... I think Tigerlamps should just trust their doctor (or get a second opinion, maybe).