sus

joined 2 years ago
[–] sus@programming.dev 2 points 6 months ago

You can still be snobby by instead insisting on "fold, scan, iterate"

[–] sus@programming.dev 1 points 6 months ago* (last edited 6 months ago)

the czech republic has over 40 thousand police officers and singapore routinely executes drug dealers
So while it may be technically true in that no actual violence was involved in the latest changes of government system, the threat of violence is always there

[–] sus@programming.dev 2 points 6 months ago (1 children)

Apparently it's specifically "Players can avoid sequences of precisely timed inputs ("quick time events") or button mashing"

[–] sus@programming.dev 9 points 7 months ago* (last edited 7 months ago) (1 children)

I love the implication that a "rational actor" would choose death over losing money

[–] sus@programming.dev 3 points 7 months ago* (last edited 7 months ago)

When you get to the informing policy stage, much "harder" sciences like pharmacology also get the same treatment of using completely disproven crap to inform drug policy. If you look hard enough, you can almost always find a study that agrees with your wildest biases and a PhD (often even in "good standing") who stands behind it and agrees with you.

That there are 500 papers that find the exact opposite of your conclusion is not much of an issue when you're acting in bad faith and have a friendly media outlet to voice your views

[–] sus@programming.dev 1 points 7 months ago* (last edited 7 months ago)

It's a technicality about the pointer type. You can cast the type away which typically doesn't change the actual value (but I'm pretty sure that causes undefined behavior)

For your example, int x = 0xDEADBEEF; signifies the integer -559038737 (at least on x86.)

char *p = (char*)0xDEADBEEF; on the other hand may or may not point to the real memory address 0xDEADBEEF, depending on factors like if the processor is using virtual or real addressing, etc

[–] sus@programming.dev 4 points 7 months ago* (last edited 7 months ago)

Lots of em-dash usage

Service goes down after emitting an event but before persisting internal state—causing partial failures that are hard to roll back.
Subscribe to an existing event and start processing—no changes to publishers.
Helps track a request across multiple services—even through async events.
We once had a refund service consume OrderCancelled events—but due to a config typo, it ignored 15% of messages.
Takeaway: fire-and-forget works—until someone forgets to monitor.
Use it when the domain fits—fan-out use cases, audit logs, or workflows where latency isn't critical.

combined with other chatgpt-isms like the heavy reliance on lists, yeah safe to say it's mostly AI generated

[–] sus@programming.dev 2 points 7 months ago* (last edited 7 months ago) (1 children)

what kind of psychopath even came up with int a[ROWS][COLS] = { 0, 1, 2, 3, 4, 5, 6, 7 };

it's even obviously caught by -Wall (-Wmissing-braces) for both clang and gcc

(oh, actually, g++ fails to recognize it even though gcc and clang do recognize it)

sometimes the latter part is also caught by -fsanitize=undefined, though that goes away if you wrap the array access like so:
printf("%d\n", ((int*)a[0])[i]); (which I'm unsure if that's still undefined behavior, not that it's any more sane even if it isn't)

[–] sus@programming.dev 13 points 7 months ago* (last edited 7 months ago) (1 children)

My major version updates on 2 computers with linux mint in the past few years have been just one click, wait, reboot when prompted, everything works and you barely even notice that anything changed. Though maybe I've just been lucky

though the rest of the video's takes on the linux experience for new users seems pretty accurate to me (lol downloading an application and using it requires at least a manual chmod +x and that's the best case scenario. Maybe there's a distro that has a solution but I have doubts (and "have everything you could possibly need in the package manager" is obviously a nonstarter))

But the community parts seem odd to me:

Is "just disable secure boot" a bad take? Has someone been holding everyone out on a better solution?

and

The only way linux is going to change is when money and development power is given to major dekstop Linux projects. It's time to stop wasting time on customization or packaging

is just.. sure, herd all the cats into one place, make them all work together in harmony, and summon 500 million dollars out of thin air to wrap it all together. Instead of writing bash scripts everyone should be praying to gabe newell to save us lol

[–] sus@programming.dev 1 points 7 months ago

I haven't heard of .500 blackout before, and google gives conflicting info on whether it's "necked down .338 lapua magnum" or "like .510 whisper"

polar bears have historically been felled with "panicked shooting with ar-15", and the "standard recommendation" seems to be "magnum rifle round"

[–] sus@programming.dev 2 points 7 months ago (3 children)

.44 magnum is barely on par with an intermediate rifle round like 5.56 against large game. And that's before considering the massively lower felt recoil or the fact that a rifle is much easier to aim

[–] sus@programming.dev 2 points 7 months ago (1 children)
view more: ‹ prev next ›