snaggen

joined 2 years ago
1
submitted 2 years ago* (last edited 2 years ago) by [email protected] to c/[email protected]
1
This Week in Rust 516 (this-week-in-rust.org)
[–] [email protected] 3 points 2 years ago (2 children)

I have never used sea-orm, but I wonder if .on_conflict could be used to simplify the code above?

[–] [email protected] 14 points 2 years ago* (last edited 2 years ago) (3 children)

No ads disguised as search results. Actually, no ads at all. Great search results. Lenses.

Also, there is a solution for incognito mode. And ad supported, in practice means tracked by advertisers, and hence you are the product.

[–] [email protected] 8 points 2 years ago

All these services turning into shit, are the services without a viable business model to begin with. What I find interesting is that it is obviously possible to become leading in a field, just by burning investors money.

[–] [email protected] 9 points 2 years ago

The reason might be, that you must think a bit different from C++ so it might be a little bit tricky to do the switch. Thouigh, if you know C++ the ownership and stuff should be a bit easier to understand since you probably can figure out what is going on. The reason I learned Rust in the first place was because I had to use C libraries, and I knew rust had good support for that. But, unfortunately I cannot assist you with alternatives to rust, since I stopped looking after I learned rust. 😄

[–] [email protected] 6 points 2 years ago

This looks really interesting, and I love the easy to use docker images! So, now I guess I know what I will fiddle with this weekend....

[–] [email protected] 4 points 2 years ago

This sounds really great and will probably have quite an impact on a lot of users. So, nice work!

[–] [email protected] 4 points 2 years ago (4 children)

Even if it might be fun to see Elon lose money, remember that Starlink is very important to Ukraine to defend themselves against Russia.

[–] [email protected] 7 points 2 years ago* (last edited 2 years ago) (2 children)

And don't get me wrong, I think Go is ok and I use it from time to time. When Go and Rust started to get traction, I actually laughed at Rust thinking it was a stupid language. Why would anyone use Rust when you had Go, it sounded so great with its go routines and all. I then started to use it, and it wasn't bad, but it wasn't something that got me all excited either. And it was the horrible error handling and all these simplifications that sacrifices correctness that made me feel it was only an ok language. It is the correctness of Rust and that you have to handle all errors aso, that makes it a bit annoying, but it is also these things that makes it great.

[–] [email protected] 14 points 2 years ago (3 children)

I think this old article exemplify the bad design of Go, and why I think Rust is very well designed.

TL;DR Go takes many shortcuts, in the name of simplicity, that ends up with pure lies. Like providing Unix like permissions for Windows and silently ignore it.

https://fasterthanli.me/articles/i-want-off-mr-golangs-wild-ride

[–] [email protected] 5 points 2 years ago

They don't require CLA, since it's MIT license. So what they showcase is the benefit of copyleft.

[–] [email protected] 1 points 2 years ago

Oh, hadn't seen the "Time travel debugging Rust in NeoVim" before, and I'm bad at using the debugger in vim so this is definitely something I must try out.

[–] [email protected] 8 points 2 years ago

Well, that is why some prefer a copyleft license, like the MPL.

view more: ‹ prev next ›