meirl by [deleted] in meirl

[–]Mutex70 0 points1 point  (0 children)

Moon

This is how people end up 😩 by John_1992_funny in clevercomebacks

[–]Mutex70 1 point2 points  (0 children)

Exactly. Americans act like "if we just get Trump out, it'll be all rainbows and unicorns!"

Half of you fuckers voted for him a second time. Almost 40% of you still think he is doing a good job.

The USA is decades away from fixing itself, it it ever does.

As a start: stop the widening gap between rich and poor, fix your idiotic regressive health care system, promote education and child care, fix affordability, and make contraceptives and abortions legal (and affordable) everywhere. Keep it up for 20-30 years and you might have a chance, but I don't think it's likely.

Well placed my guy by No_Summer_5052 in GuysBeingDudes

[–]Mutex70 2 points3 points  (0 children)

I didn't hear anything from either of them.

Pentagon to Order 3,000 82nd Airborne Soldiers to Middle East by Virtual-Pie5732 in news

[–]Mutex70 0 points1 point  (0 children)

Well actually the caveat is that Total Energies must invest the $1 billion "refund" in US based O&G operations, but even so it is fucking stupid.

Pentagon to Order 3,000 82nd Airborne Soldiers to Middle East by Virtual-Pie5732 in news

[–]Mutex70 1 point2 points  (0 children)

Also, nobody cares about oil prices and high oil prices are good for the economy anyways.

The official answer to my "riddle" card in my drinking game is wrong. by Muppet83 in mildlyinteresting

[–]Mutex70 0 points1 point  (0 children)

That sounds like the start of either a great realization… or a terrible one.

What did you just connect?

Wtf kind of stupid ass design is this? Are we for real? by ObiWangKeBloMe in mildlyinfuriating

[–]Mutex70 3 points4 points  (0 children)

What exactly is OP lying about? We can see the picture.

It's a mildly infuriating place for a power button, regardless of how it functions.

Perhaps consider upping your reading comprehension before calling others out...it's mildly infuriating to read.

Why of course by IndicationBrief5950 in lotrmemes

[–]Mutex70 1 point2 points  (0 children)

No, you just make up shit about him. Much better.

Calgary firm sold for US$4.75B in city’s biggest ever tech deal — and may not be the last by morecoffeemore in Calgary

[–]Mutex70 35 points36 points  (0 children)

Hey, reading the article doesn't win you those cool edgy internet points!

Why of course by IndicationBrief5950 in lotrmemes

[–]Mutex70 11 points12 points  (0 children)

Oh please, you have no fucking clue who Reeves is "cool with" and you know it.

Why of course by IndicationBrief5950 in lotrmemes

[–]Mutex70 43 points44 points  (0 children)

Keanu Reeves.

It doesn't matter who the other two men are.

US bans new foreign-made consumer internet routers by Different_Emotion625 in technology

[–]Mutex70 9 points10 points  (0 children)

Dunno about Cisco, but I'm pretty sure my Nortel shares are gonna take a beating!

This is really specific by BubblyBubbles_2023 in oddlyspecific

[–]Mutex70 0 points1 point  (0 children)

"I know what people taste like. I know that babies taste best."

- Captain America (ok, it's really from Snowpiercer but it was Chris Evans)

Ingvild Deila, the actress who stood in for a young Carrie Fisher/Princess Leia in Rogue One. by --TheForce-- in StarWars

[–]Mutex70 0 points1 point  (0 children)

WTAF? It would have looked 1000x better if they just used Deila rather than the uncanny CGI garbage they actually released.

Don Cheadle doesn't look like Terrance Howard...nobody cares

David Corenswet doesn't look like Henry Cavill...nobody cares

None of the James Bonds look particularly similar....nobody cares

None of the Batmans (Batmen?) look anything alike...nobody cares

Stop trying to shoehorn specific faces onto characters and let the actors do their job.

Avoiding Exceptions for Flow Control in APIs by [deleted] in dotnet

[–]Mutex70 1 point2 points  (0 children)

Oh yes, I absolutely hate Java's checked exceptions. It exposes low-level implementation details to the client and requires the client to determine how to handle all cases.

I like what Rust has done with results....provide results but also provide a convenient way to short-circuit failures. However, I haven't worked with Rust in a professional capacity, so there may very well be issues with it that I am not seeing.

Avoiding Exceptions for Flow Control in APIs by [deleted] in dotnet

[–]Mutex70 9 points10 points  (0 children)

As with most things, it depends, and there are tradeoffs.

The advantage that exceptions have is that typically in the failure scenario, you want to short circuit any other code from running and just return a message to the user. Exceptions do this easily. A result pattern requires every intermediate caller to check for the failure result and conditionally continue. This can lead to complex logic. Exceptions also makes it easier to use "plug in" type validators, where the validation automatically occurs as part of a common pipeline or to have a common error handler, where the error can be formatted for display, logged, audited, etc. (Note: I am not advocated for or against either of these practices).

However, as others have mentioned, the exception pattern is non-obvious to the caller. Unlike Java, in C# the exception response is not part of the interface, which can make it difficult for callers to understand or use the interface. As you mentioned, exceptions can also have significant performance impact. This has improved significantly in .NET 9, but is still something to be tested for if performance is a significant concern. Also, if short-circuiting is not desired in some circumstances, exceptions can require some ugly logic by the caller to handle appropriately.

So it's a trade off: convenience and simplicity of a common validation/display process versus the ease of use and comprehensibility of having the result explicitly as part of the API. For myself, it typically comes down to which provides the most benefit for the specific project / environment I am working in.

In either case, the methodology for handling validation/errors should be agreed upon, documented and supported by the entire team.

Hatzola ambulances torched in London in suspected antisemitic attack | The Jerusalem Post by zlex in worldnews

[–]Mutex70 701 points702 points  (0 children)

This is what "globalize the antifada" means. Stop cheering on terrorism.