29
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 57 points 1 month ago

He definitely bought Twitter to "preserve free speech" and totally not to collect data and manipulate elections, right?

[-] kia@lemmy.ca 54 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...

15
rust-analyzer changelog #237 (rust-analyzer.github.io)
submitted 3 months ago by kia@lemmy.ca to c/rust@programming.dev
[-] kia@lemmy.ca 60 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 120 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 65 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.

9
submitted 6 months ago by kia@lemmy.ca to c/jellyfin@lemmy.ml

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?

[-] kia@lemmy.ca 53 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...

9
submitted 6 months ago by kia@lemmy.ca to c/jellyfin@lemmy.ml

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.

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

The new instance icon looks great!

53
submitted 8 months ago by kia@lemmy.ca to c/enoughmuskspam@lemmy.world
78
submitted 9 months ago by kia@lemmy.ca to c/enoughmuskspam@lemmy.world
[-] kia@lemmy.ca 49 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...

6
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?

13
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 58 points 10 months ago

3000 is just counting the people they found.

45
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!

209
submitted 10 months ago by kia@lemmy.ca to c/enoughmuskspam@lemmy.world

It released almost a ton of CO~2~.

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

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

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

I think we definitely should.

view more: next ›

kia

joined 1 year ago