kia

joined 1 year ago
 

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 7 points 3 weeks ago

Oh there definitely is.

[–] kia@lemmy.ca 18 points 3 weeks ago (4 children)

Fair, but I'd be willing to bet that most of the content producing users use the old layout as they've likely been using the site for a while. These users leaving would be a big deal.

[–] kia@lemmy.ca 73 points 3 weeks ago (24 children)

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

[–] kia@lemmy.ca 10 points 3 weeks ago

It's another reddit alternative.

[–] kia@lemmy.ca 30 points 4 weeks ago

It's simply a warning to crocodiles that there's no lifeguard on duty.

[–] kia@lemmy.ca 10 points 1 month ago (3 children)

It is a thing on a lot of Lemmy communities, but most of the posts end up with no comments which makes them not that interesting. For certain niche communities, Lemmy just doesn't have the user base yet.

[–] kia@lemmy.ca 8 points 1 month ago
[–] kia@lemmy.ca 17 points 1 month ago (4 children)

Scaled sort usually gives good results.

[–] kia@lemmy.ca 7 points 1 month ago

Yup... IIRC they basically started a company with a similar name when they didn't really have any association with the project then slowly consumed it.

[–] kia@lemmy.ca 28 points 1 month ago (2 children)

Although it's now a larger organization, Redis was started and maintained by some guy that just wanted to make his website faster. It's very widely deployed.

[–] kia@lemmy.ca 63 points 1 month ago (58 children)

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 12 points 1 month ago (1 children)

It took me less than 30 minutes to transfer my LastPass vault to Proton Pass. The actual transfer took under a minute, then I just had to reorganize the folders. Definitely worth the switch.

14
rust-analyzer changelog #237 (rust-analyzer.github.io)
 

I'm running into an issue accessing the Jellyfin web UI from Firefox (Chrome works fine). I try to log into an account but the spinner runs for a few seconds then disappears without logging in. When I reload the page, it appears I'm logged in, though all I see is the header and the rest of the page is blank. I get the following errors in console:

Uncaught Error: Permission denied to access property "ownerDocument"
Uncaught Error: Permission denied to access property "localName"

Has anyone else run into this issue?

 

Does anyone have any experience running Jellyfin on a Synology NAS that does not have container support? The Jellyfin installation guide recommends a Docker install for Synology. I have a Synology DS418 which apparently doesn't support Docker.

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.

 

The new instance icon looks great!

 

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"

 

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!

 

It released almost a ton of CO~2~.

view more: next ›