95
submitted 6 months ago by [email protected] to c/[email protected]
30
submitted 7 months ago by [email protected] to c/[email protected]

fjärrinlägg från: https://lemmy.world/post/22673996

This mod is written in an unconventional way: it is written in Rust. The Rust code is here. It uses JNI and JVMTI to interact with Java objects. The only Java code in this mod is for loading the compiled native binary into memory.

62
Announcing Rust 1.83.0 (blog.rust-lang.org)
submitted 7 months ago by [email protected] to c/[email protected]
49
submitted 7 months ago by [email protected] to c/[email protected]
45
submitted 7 months ago by [email protected] to c/[email protected]
20
submitted 7 months ago by [email protected] to c/[email protected]
50
submitted 7 months ago by [email protected] to c/[email protected]
70
submitted 7 months ago by [email protected] to c/[email protected]
21
submitted 7 months ago by [email protected] to c/[email protected]
68
submitted 8 months ago by [email protected] to c/[email protected]
35
submitted 8 months ago* (last edited 8 months ago) by [email protected] to c/[email protected]
60
submitted 9 months ago by [email protected] to c/[email protected]
[-] [email protected] 30 points 1 year ago

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

[-] [email protected] 26 points 1 year ago* (last edited 1 year 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

[-] [email protected] 33 points 1 year ago* (last edited 1 year 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....

[-] [email protected] 26 points 2 years 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.

[-] [email protected] 37 points 2 years ago

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

[-] [email protected] 24 points 2 years ago

Well, for eggs, that are carbon based, you will in fact have problems since carbon doesn't have a liquid state at regular atmospheric pressure. I guess you can add pressure, but is that really what we mean when asking a question if something melt?

[-] [email protected] 23 points 2 years ago

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

[-] [email protected] 31 points 2 years ago

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

[-] [email protected] 33 points 2 years ago* (last edited 2 years 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.

[-] [email protected] 25 points 2 years 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

0 post score
0 comment score
joined 2 years ago