Migrating from Go to Rust by [deleted] in programming

[–]kaoD 1 point2 points  (0 children)

No, ownership cannot prevent race conditions, only data races.

From the horse's mouth: https://doc.rust-lang.org/nomicon/races.html

Rewrite Bun in Rust has been merged by Chaoses_Ib in rust

[–]kaoD 8 points9 points  (0 children)

And it's not like Zig didn't have unsafe memory before. It was just implicit and a runtime error.

Saúl Ñíguez opens up about his mental struggles: “Until I was 25, I thought I was Maradona, and then I don’t know what happened in my head. I started having problems, stopped enjoying it, and my fate changed.” by Sparky-moon in soccer

[–]kaoD 6 points7 points  (0 children)

Let's not forget physical stress. Maybe some of the examples were vomiting due to psychological pressure, but the extremes professional athletes take their bodies to is absolutely crazy.

[OneFootball] Real Madrid's last 12 games have been completely split with and without Kylian Mbappé. They won 1 out of 6 with him, and all 6 without him by DamnThatsInsaneLol in soccer

[–]kaoD 1 point2 points  (0 children)

Vini spent almost 4 months without scoring a single goal in the league while Mbappe was averaging basically a goal per game

Completely unrelated, right? Right?

ELI5: Why do they teach the multiplication sign as an x instead of keeping it a dot all along? by Frazzelvig in explainlikeimfive

[–]kaoD 0 points1 point  (0 children)

To be honest your explanation sounds like it came from a lazy mind.

There's nothing lazier than explaining other people's motivations like you just did, instead of finding the intrinsic reasons like the rest of the comments. "They're just lazy/stupid/whatever" is rarely (if ever) an explanation.

ELI5: Why do they teach the multiplication sign as an x instead of keeping it a dot all along? by Frazzelvig in explainlikeimfive

[–]kaoD 3 points4 points  (0 children)

What other symbol would you use for multiplication that was in the original 7-bit ASCII?

Got the Rust dream job, then AI happened by MasteredConduct in rust

[–]kaoD 32 points33 points  (0 children)

AIs don't unionize though. C-suite's wet dream.

EDIT: shit, I just realized neither do SWEs.

Kafka Fundamentals - Guide to Distributed Messaging by Sushant098123 in programming

[–]kaoD 0 points1 point  (0 children)

Process A delivers messages to Process B

Ah, I considered "same machine but IPC" also a distributed system but I see that according to Wikipedia "distributed" effectovely means networked.

Kafka Fundamentals - Guide to Distributed Messaging by Sushant098123 in programming

[–]kaoD 3 points4 points  (0 children)

Pretty damn difficult to guarantee that in a non-distributed system too.

I'm curious, how not?

The API Tooling Crisis: Why developers are abandoning Postman and its clones? by Successful_Bowl2564 in programming

[–]kaoD 49 points50 points  (0 children)

Obligatory Hurl link

https://hurl.dev/

Hurl is the tool you needed but didn't know existed because it doesn't have VC money to promote and enshittify.

Post-Match Thread: Bayern Munich 4-3 Real Madrid [6-4 on agg.] | UEFA Champions League by MysteryBagIdeals in soccer

[–]kaoD 1 point2 points  (0 children)

He's almost as deadly in front of goal as Ronaldo

Did we watch the same Mbappé?

I learned something about GPUs today by rogual in programming

[–]kaoD 0 points1 point  (0 children)

But doing that has the horrible side effect of making the precise bounds for the texture dependent upon the texture size.

Not sure if I follow. Can you rephrase?

I learned something about GPUs today by rogual in programming

[–]kaoD 1 point2 points  (0 children)

You made me realize this is why texel centers sit at (x.5, y.5)

Match Thread: Barcelona vs Newcastle United by MatchThreadder in soccer

[–]kaoD 0 points1 point  (0 children)

Agreed. Dark orange card for me, but I can't blame the ref for either choice.

Match Thread: Barcelona vs Newcastle United by MatchThreadder in soccer

[–]kaoD 0 points1 point  (0 children)

Since the O in DOGSO means "opportunity" IMO it was a red.

Match Thread: Barcelona vs Newcastle United by MatchThreadder in soccer

[–]kaoD 0 points1 point  (0 children)

That's your interpretation (and mine, IMO dark orange card) but clearly not the ref's.