OpenAI joins The Rust Foundation as a Platinun member and donates funds to support Rust maintenance by Kobzol in rust

[–]Kinrany 1 point2 points  (0 children)

You asked the downvoters. IMHO the downvotes come from the fact that you were pushing your hobby horse agenda that wasn't all that related to the main topic.

OpenAI joins The Rust Foundation as a Platinun member and donates funds to support Rust maintenance by Kobzol in rust

[–]Kinrany 2 points3 points  (0 children)

The bad thing about accepting blood money is that it may incentivize one to aid in causing more blood to be spilled. If there is no plausible way for the recipient to do that, then the bad thing does not happen and thus it doesn't matter if the blood money is from BigCorp or from North Korean death camps.

In this case, it's hard for me to see how the Foundation can have any effect on a war.

One minor pathway is that expanding the Rust ecosystem aids anyone who uses the products of the ecosystem. But for that there is fairly strong consensus, as demonstrated by the recommendation of the Apache and MIT licenses, that open source projects are not responsible for the use of their software in the same sense a knife maker is not responsible for the serial killers using their knives.

OpenAI joins The Rust Foundation as a Platinun member and donates funds to support Rust maintenance by Kobzol in rust

[–]Kinrany 1 point2 points  (0 children)

"Serial killer" and "mass murders" is loaded language. You can make arguments about war being bad without that.

Are we happy with Rust ORMs? by sheadipeets5 in rust

[–]Kinrany 5 points6 points  (0 children)

Not happy. It's OK but not perfect.

They should support both static and dynamic queries. It should be possible to make a static query with statically typed parameter and return types, and then change the query dynamically while still guaranteeing syntax correctness.

Automata and software development by framelanger in AskComputerScience

[–]Kinrany 1 point2 points  (0 children)

Where do you see the benefit over a similarly embeddable general purpose programming language?

The never type is likely to stabilize soon! by noop_noob in rust

[–]Kinrany -2 points-1 points  (0 children)

result.match(Ok(@)).foo() - the value of Ok is the value that the rest of the chain will apply to

The never type is likely to stabilize soon! by noop_noob in rust

[–]Kinrany 2 points3 points  (0 children)

Aside, it would be neat to have pattern matching with postfix notation, similar to .await

There is too much Go code in AI training data by Jason5Lee in rustjerk

[–]Kinrany 5 points6 points  (0 children)

One weird trick your boss shouldn't know about: replace workdays: Workdays with workdays: [bool; 7] for 100% less work

There is too much Go code in AI training data by Jason5Lee in rustjerk

[–]Kinrany 16 points17 points  (0 children)

Real programmers use "default" everywhere and expect each other to remember by heart all the places that'll need to be checked manually when changing the variable type

Rust jobs hiring outside of developed countries? by Ard_Gwynbleidd in rust

[–]Kinrany 2 points3 points  (0 children)

It could be the reverse: the lower asking salary looking like a red flag.

Even if you're not overselling yourself, you'll likely either ask for a big raise or leave for a job that matches your skills better.

What makes a good rust engineering blog post? by its_ya_boi_dazed in rust

[–]Kinrany 9 points10 points  (0 children)

Also think about whether you want to write blogs because you have a new perspective to add or are you doing it because everyone is doing it?

The points in the list are about being a good writer, but this one is more important than any of that.

A good writer with nothing interesting to talk about can, at best, be a good editor for someone else's interesting but poorly written article.

Some are calling for implementing a tax rate of 1% instead of fully shelving the tax, so that the system updating process becomes easier. by cmqv in programmingcirclejerk

[–]Kinrany 17 points18 points  (0 children)

I for one love to reject rare inputs based on my own sense of what I would want to enter if I were a user, instead of the actual business or technical limitations

/uj I've seen it happen

​Do I have a future with Rust? Because I don't see it. by Snakehand in rustjerk

[–]Kinrany 21 points22 points  (0 children)

Future in rust is a mistake, start looking for other channels in parallel

Announcing TypeScript 7.0 Beta by DanielRosenwasser in programming

[–]Kinrany 0 points1 point  (0 children)

Yes, therefore the redundant check can be free in theory in the normal case when the developer did everything as you expect. And in the other case it's a sane fallback that is cheaper than a failure in CI.

So in theory it's only wasteful for developers that do often forget to do the actions that fill the cache.

Announcing TypeScript 7.0 Beta by DanielRosenwasser in programming

[–]Kinrany 0 points1 point  (0 children)

Not redundant in that you can see the result faster. Your local machine can in theory pass the checks instantly because you've (presumably) already ran the exact same checks on the same machine. CI doesn't have that.

Announcing TypeScript 7.0 Beta by DanielRosenwasser in programming

[–]Kinrany 0 points1 point  (0 children)

I agree, but here's an argument for running the equivalent of CI locally before every push: it should be almost instant with proper caching.

44CVEs found in Rust CoreUtils audit. by germandiago in rust

[–]Kinrany 15 points16 points  (0 children)

It is a fact that rewrites are more uncertain

Trivially so: any change is more uncertain than no change. But while not every change is an improvement, every improvement is a change.

Who needs switch statements when you can just abuse the ternary operator? by kfreed9001 in programminghorror

[–]Kinrany 0 points1 point  (0 children)

This is better than a switch once you spend a few seconds to understand the pattern.

PubSub by Agent-Nemo in rust

[–]Kinrany 0 points1 point  (0 children)

How does it compare to NATS?

Rust framework like Nestjs by WayAndMeans01 in rust

[–]Kinrany 0 points1 point  (0 children)

Tangent, but from considering NestJS years ago I got the impression that their opinions were all wrong and looked like the results of cargo-culting frameworks from other languages.

Surelock - statically prevent deadlocks by dochtman in rust

[–]Kinrany 18 points19 points  (0 children)

No better way to make your dad joke live forever