[-] sleep_deprived@lemmy.world 29 points 1 month ago

If we stop doing business with SpaceX, we immediately demolish most of our capability to reach space, including the ISS until Starliner quits failing. Perhaps instead of trying to treat this as a matter of the free market we should recognize it as what it is - a matter of supreme economic and military importance - and force the Nazi fucker out.

[-] sleep_deprived@lemmy.world 37 points 4 months ago

Honestly, after DOS2, I'd play a Larian game in any setting just based on them being the devs - and that goes double after BG3. Their handle on storytelling and environments is so good I'd trust it would be enjoyable even in a setting I'm not interested in.

[-] sleep_deprived@lemmy.world 32 points 5 months ago

This is a use-after-free, which should be impossible in safe Rust due to the borrow checker. The only way for this to happen would be incorrect unsafe code (still possible, but dramatically reduced code surface to worry about) or a compiler bug. To allocate heap space in safe Rust, you have to use types provided by the language like Box, Rc, Vec, etc. To free that space (in Rust terminology, dropping it by using drop() or letting it go out of scope) you must be the owner of it and there may be current borrows (i.e. no references may exist). Once the variable is droped, the variable is dead so accessing it is a compiler error, and the compiler/std handles freeing the memory.

There's some extra semantics to some of that but that's pretty much it. These kind of memory bugs are basically Rust's raison d'etre - it's been carefully designed to make most memory bugs impossible without using unsafe. If you'd like more information I'd be happy to provide!

[-] sleep_deprived@lemmy.world 37 points 7 months ago

I'm only an armchair physicist, but I believe this isn't possible due to relativity. I know that, at least, there are cases where two observers can disagree on whether an event occurred simultaneously. Besides all the other relativity weirdness, that alone seems to preclude a truly universal time standard. I would love for someone smarter than me to explain more and/or correct me though!

[-] sleep_deprived@lemmy.world 22 points 8 months ago

You're looking for Fred Rogers, more commonly Mr. Rogers. He was the host of the popular children's show Mister Rogers' Neighborhood, and is revered for having been incredibly compassionate both in public and private.

[-] sleep_deprived@lemmy.world 21 points 9 months ago

If anybody's curious, I tried it with GPT4 and it got it right.

[-] sleep_deprived@lemmy.world 29 points 11 months ago

Here's a field manual that details the rules and has some advice. There are a whole host of rules protecting civillians hospitals, but in the case where Hamas is using them as military bases, I'd say they can be considered primarily as human shields, though I'm no expert, and even if that's not the case they're still civillians and therefore protected. According to paragraph 2-20, "feasible precautions" must be taken to reduce civillian harm. This means bombing is pretty much out of the question, but there are still plenty of other ways to get at Hamas, such as SpecOps, sieges, and diplomacy. It's a difficult situation, but that doesn't mean you get to kill civillians with impunity.

[-] sleep_deprived@lemmy.world 20 points 11 months ago

Yeah personally I haven't needed jQuery in years.

[-] sleep_deprived@lemmy.world 19 points 11 months ago

Having made the choice to use GTK for a Rust project years ago - before a lot of the more Rust-friendly frameworks were around - this is exactly why I chose it. Nothing to do with DEs or any of that, just looking for a better coding experience. Now I'd probably choose one of the several Rust-focused solutions that have popped up though.

[-] sleep_deprived@lemmy.world 26 points 1 year ago

I mean yeah, we should absolutely be replacing as much fossil fuel use as we can with existing renewable energy tech. But there's no reason we shouldn't also be investing in fusion research, at least as far as I'm aware

[-] sleep_deprived@lemmy.world 64 points 1 year ago

Typically this thinking is mostly correct - e.g. Manifest v3 - but not in this case. If websites see enough users using chormium, via user agent or other fingerprinting, they'll be more willing to require WEI. And unlike Manifest v3 etc. this affects the whole web, not just users of one browser or the other.

In every case monopolies are bad. Including in tech.

view more: next ›

sleep_deprived

joined 1 year ago