[-] snaggen@programming.dev 23 points 1 month ago

https://doc.rust-lang.org/book/ this is a great starting point. Then when you got the basics, and fiddled around a bit, then you can start looking for more specialized books (like Rust Atomics and Locks https://marabos.nl/atomics/ )

12
18
38
25
11
Rust Analyzer Changelog #241 (rust-analyzer.github.io)
14
Rust Analyzer Changelog #240 (rust-analyzer.github.io)
29
[-] snaggen@programming.dev 30 points 3 months ago

No, it is not based on Gnome. It is a full DE environment written in rust.

96

Found this on Mastodon https://fosstodon.org/@dpom/112681955888465502 , and it is a very nice overview of the containers and their layout.

15
Rust Analyzer Changelog #239 (rust-analyzer.github.io)
23
18
Rust Analyzer Changelog #238 (rust-analyzer.github.io)
78
Announcing Rust 1.79.0 (blog.rust-lang.org)
[-] snaggen@programming.dev 26 points 6 months ago* (last edited 6 months ago)

So the story here is: A Russian asset tells a Russian narrative?

For reference: https://www.theguardian.com/us-news/2021/jan/29/trump-russia-asset-claims-former-kgb-spy-new-book

[-] snaggen@programming.dev 33 points 7 months ago* (last edited 7 months ago)

From their documentation

Unlike classic terminals, Warp requires you to sign up and log in to get started with the app.

So, yeah, it might be that people are not very impressed by a terminal that requires a cloud account.

But, if you don't type anything sensitive on to your terminal, like passwords and such, then you should be fine....

[-] snaggen@programming.dev 37 points 9 months ago

They explain a bit more about what that means here: https://kagifeedback.org/d/2808-reconsider-your-partnership-with-brave/75

TL;DR They use multiple sources for search results besides their own indexer, the most obvious one is Google. To lessen dependence on one single search provider they have been adding other sources, one of them is now Brave. That is the whole thing.

On Dec 26, Kagi started including search results from Brave search index, after we previously added Mojeek and Yandex earlier in the year. Brave has a public search api and we currently implemented it for about 10% of queries as a first test (same as any other API we use, there is no mutual development or anything of the sorts). This was announced in our Dec 28 public changelog. Approximately a week later on Jan 5 after several posts on social media about ‘Brave partnership’ the situation escalated.]

So, if you do not like to use Google in the first place, I don't really understand why lessening the dependence on google would be a bad thing?

[-] snaggen@programming.dev 26 points 10 months ago

No, what you describe is called "Rent" or "Lease". People who press a "Buy" button and buy something, expect to own it. Words have a meaning, and trying to wiggle around this with fine print should be considered fraudulent.

[-] snaggen@programming.dev 37 points 11 months ago

Saudi Arabia felt Twitter was a problem, so they paid Elon to take it down in a way it wouldn't come back.

[-] snaggen@programming.dev 23 points 1 year ago

I guess this answeres my previous question about the lack of updates to the Intellij Rust plugin.

[-] snaggen@programming.dev 31 points 1 year ago

I'm happy to see that the maintainer listened to the users, so we got the best possible outcome.

[-] snaggen@programming.dev 33 points 1 year ago* (last edited 1 year ago)

The pricing is a bit much, especially compared to other services like Tutanota that actually runs servers and provides a service in addition to developing the applications. $20-$30 for the onetime purchase option would be more sane.

I know I bought Sync Pro for Reddit, but I know that was nowhere close to these prices.

EDIT: Found the Remove Ads option, and that is more reasonable priced.

[-] snaggen@programming.dev 25 points 1 year ago

But the author doesn't mention the most common way to pass named argument, so I include a comment from mjec over at lobster.rs that covers that (since I'm to lazy to write my own):

It’s not obvious to me why the author didn’t include direct instantiation of the struct, rather than a builder:

#[derive(Default)]
struct SearchOptions {
   pub include_inactive: bool,
   pub age_within: Option<(u32, u32)>,
   // ...
}

let result = search_users(
 users,
 SearchOptions {
   include_inactive: true,
   age_within: Some((5, 29)),
   ..Default::default()
 }
);

This avoids the need for boilerplate enums, or to filter through a vec in order to find the value of an argument. Every caller has to specify ..Default::default() but I don’t mind that! I like the idea that you have to explicitly acknowledge that you want everything else to be default values (and it might be useful to omit it in some places, so you get a compile error if new options are introduced).

view more: ‹ prev next ›

snaggen

joined 1 year ago