31
submitted 2 weeks ago by kia@lemmy.ca to c/rust@programming.dev

In case you haven't seen it, here's a talk regarding Rust's integration into the Linux filesystem that gets completely derailed at The Linux Storage, Filesystem, Memory Management and BPF Summit.

[-] kia@lemmy.ca 73 points 3 weeks ago

When (not if) old.reddit.com is removed, there will be a huge exodus.

[-] kia@lemmy.ca 63 points 1 month ago

The LLM is just trying to produce output text that resembles the patterns it saw in the training set. There's no "reasoning" involved.

[-] kia@lemmy.ca 55 points 3 months ago

In this day and age it's more work to explicitly not support a browser than it is to support it...

14
rust-analyzer changelog #237 (rust-analyzer.github.io)
submitted 3 months ago by kia@lemmy.ca to c/rust@programming.dev
[-] kia@lemmy.ca 65 points 4 months ago

Apparently the whole ecosystem is down... DDG, Bing, etc.

[-] kia@lemmy.ca 54 points 4 months ago

Based on the job description, it sounds like every one of their tasks overlaps with paid employees...

[-] kia@lemmy.ca 123 points 4 months ago

Are you trying to suggest that the guy who thought driving Teslas in tunnels underground was the most efficient method of transportation shouldn't be trusted with inserting chips into people's brains?

[-] kia@lemmy.ca 68 points 5 months ago

The difficulty of any non-mainstream chat app is getting other people to use it. On that list, Signal is the most probable to be recognized by people who don't have a particular interest in privacy, so it's more likely to get more people to use it.

[-] kia@lemmy.ca 54 points 6 months ago

tl;dr: The owner is alt-right and drove away pretty much everyone from the site, which is now a ghost town.

It gained about 30k users relatively quickly. The owner then went full alt-right and declared it a "free speech platform" which caused it to lose about 99% of its users (most of which moved to Discuit). After that, it was basically just 10 or so users posting some pretty racist content.

Recently, the owner put the site behind a waitlist to hide the fact that it basically has no active users...

14
submitted 7 months ago* (last edited 7 months ago) by kia@lemmy.ca to c/rust@programming.dev

It seems like the key_value function has been removed from Cursor in 1.78.0-nightly. I've been using this to get the key/value pair from BTreeMap::upper_bound and BTreeMap::lower_bound.

Does anyone know why this was removed and what a good idiomatic alternative would be?

Edit: In case anyone encounters the same problem and is curious what's going on (the documentation hasn't been updated to reflect the change yet), it was referred to in this issue: 107540 changed in this commit: 8ee9693. Essentially, cursors in BTreeMaps previously pointed to specific nodes in the tree whereas now they point to gaps between the nodes. To get the node values, you need to use prev or next on the cursors returned by upper_bound or lower_bound.

1
submitted 7 months ago by kia@lemmy.ca to c/main@lemmy.ca

The new instance icon looks great!

[-] kia@lemmy.ca 46 points 9 months ago

Why does anyone care? The npm package has 3,712 weekly downloads. They're trying to act like it's some mainstream package that a lot of companies rely on, but nobody uses it...

1
submitted 10 months ago by kia@lemmy.ca to c/main@lemmy.ca

A while ago we had a post about a new instance icon. Just wondering if there's any news on that?

11
submitted 10 months ago* (last edited 10 months ago) by kia@lemmy.ca to c/boostforlemmy@lemmy.world

I'm getting errors such as "Socket: CLOSED" when I try to create comments, however the comment gets created. It then brings me back to the comment editing screen where if I click create again, it keeps duplicating the comment.

Wondering if anyone else is having this issue?

Edit: I get an error when creating posts as well: "stream was reset: CANCEL"

[-] kia@lemmy.ca 60 points 10 months ago

3000 is just counting the people they found.

42
submitted 10 months ago by kia@lemmy.ca to c/rust@programming.dev

This is a really simple silly thing I just realized, but I noticed I have a lot code that looks something like this:

fn foo() -> Result<(), Error> {
    // do something
}

fn bar() -> Option<()> {
    let Ok(f) = foo() else {
        return None;
    };
}

I hated that if-statement. I realized today that I could simplify to:

fn bar() -> Option<()> {
    let f = foo().ok()?;
}

And that cleaned up my code a lot. It's a tiny thing, but when it's okay to discard the error from the result, makes such a big difference when you have a lot of them!

[-] kia@lemmy.ca 40 points 10 months ago

They have a product competing with Firefox...

1
submitted 11 months ago by kia@lemmy.ca to c/main@lemmy.ca

As per this Github pull request which is removing it from the Lemmy sign up page, we should defederate from this instance as well.

23
submitted 1 year ago by kia@lemmy.ca to c/boostforlemmy@lemmy.world

It looks like if a community name is on the longer side, it pushes some of the UI elements to the edge of the screen and makes them look strange. You can see it at this community:

!mildlyinteresting@lemmit.online

17
submitted 1 year ago by kia@lemmy.ca to c/boostforlemmy@lemmy.world

Not sure if anyone else is having this problem, but whenever I'm reading a longer comment thread and I click "1 more reply" (or "N more replies"), the app crashes.

1
submitted 1 year ago by kia@lemmy.ca to c/boostforlemmy@lemmy.world

I'm curious when the next beta release will be, or how often there will be a release if there's a schedule?

[-] kia@lemmy.ca 50 points 1 year ago

If you link to Lemmy on Reddit, the admins sometimes delete the comment.

9
submitted 1 year ago by kia@lemmy.ca to c/privacy@lemmy.ca
view more: next ›

kia

joined 1 year ago