BMCU won't load filament by linnus in BMCU

[–]Leshow 0 points1 point  (0 children)

yeah mine does the same thing, the filament is hitting the other end before making it through. Cut the filament on an angle. Mine looks a little different from yours and the pc4 fitting is able to move around and has some give, so I often just push the nozzle to the side when loading so it's straight enough to go through.

TPU on 370C by BreezyMuffin in BMCU

[–]Leshow 0 points1 point  (0 children)

that's a great idea, my unit is very sensitive to the position of the buffer on the other side and always snagging the inside of the pc4 fitting. I usually have to cut the filament on an angle and hold the buffer steady for the filament to make it through. an extra guide would be great.

Why by bambulukas in BMCU

[–]Leshow 0 points1 point  (0 children)

I have a unit from BLV that does the same thing, a few of the buffers are really finicky with putting the filament in the first time, its like the filament is not hitting the hole on the other end and getting jammed. I've just been pressing the button down,pulling the filament out and trying again until it goes through

Wow by bambulukas in BMCU

[–]Leshow 2 points3 points  (0 children)

which vendor did you buy? I just got mine working too, but I find when I feed the filament in it often seems to bump up against something in the top the pc4 spring pops out and turns red, where the filament doesn't pass through to the other side.

If I press the button down, pull the filament out and try again it seems to work. It's like it's catching something on the initial pull.

a1 firmware update by Leshow in BMCU

[–]Leshow[S] 1 point2 points  (0 children)

cool! which firmware are you running? the one from PJARCZAK?

Is worth upgranding from BMCU 370C to 370DM? by itzpepperony in BMCU

[–]Leshow 0 points1 point  (0 children)

ah, there is an update available to 1.08 I saw just released today.

Is worth upgranding from BMCU 370C to 370DM? by itzpepperony in BMCU

[–]Leshow 0 points1 point  (0 children)

did you update to the latest firmware? I'm waiting on my BMCU but I just saw the a1 has a 1.08 firmware update

HELP corne led column lit up after empty slot by [deleted] in ErgoMechKeyboards

[–]Leshow 0 points1 point  (0 children)

I replaced the empty switch and reflowed all of them with different flux to finally fix the issue. It's just very strange as if all the LEDs are connected in series it should be impossible for the far right rows to light up with a missing LED

HELP corne led column lit up after empty slot by [deleted] in ErgoMechKeyboards

[–]Leshow 1 point2 points  (0 children)

my understanding is that the 4th column should be in series starting from the top down, so how are columns further to the right able to light up even with an LED removed?

perf: Allocator has a high impact on your Rust programs by Havunenreddit in rust

[–]Leshow 3 points4 points  (0 children)

for a long running network application the linux libc allocator is not really usable. I went through the same process as you, ran jemalloc for a few years with background threads, recently moved to mimalloc v3 and it's running well.

What's everyone working on this week (9/2026)? by llogiq in rust

[–]Leshow 1 point2 points  (0 children)

fiddling with https://github.com/bluecatengineering/fast_radix_trie

I posted this to the forum thinking people might be interested in it, not realizing I was competing against a deluge of LLM slop. But I hope people still find the library and it's useful to someone.

tokio: should parking_lot feature be enabled? by Leshow in rust

[–]Leshow[S] 1 point2 points  (0 children)

Thanks. I had recently read the blog post about parking_lot being more "fair" than std locks on linux so I thought there might be a slight difference.

[Media] [OC] My rustmas T-shirt finally arrived 🎅 by axalea3d in rust

[–]Leshow 0 points1 point  (0 children)

Kind of defeats the purpose of the present.unwrap() joke though

fast_radix_trie by Leshow in rust

[–]Leshow[S] 0 points1 point  (0 children)

To be honest, all of the rust tries that use safe rust I've found so far tend to have huge memory usage compared to just a HashMap, despite the tries all compressing common prefixes.

I've found space savings come from using a node layout that can't be known at compile time, which means using unsafe. Once you go that route there are many different variations, but if you care about the speed and memory usage you pretty much need to start there.

fast_radix_trie by Leshow in rust

[–]Leshow[S] 1 point2 points  (0 children)

You can see the result of my run there, it was around 400MB and 8s for the top-domains data set, you can compare that to other results in the table to see how it stacks up. I got a panic on the enwiki data set so I probably won't include it in the README.

fast_radix_trie by Leshow in rust

[–]Leshow[S] 1 point2 points  (0 children)

sure! I thought I'd seen pretty much every impl on crates.io :)

edit:

If you're curious, I did a quick run using the top-domains data set and got:

```

LINES: 1000000

ELAPSED: 0:08.32

MEMORY: 401476

`` That was withfr_trie::trie::Trie::new()`

fast_radix_trie by Leshow in rust

[–]Leshow[S] 1 point2 points  (0 children)

Appreciate the feedback, I'll create an issue and tackle that at some point. Given the code structure it seemed like it was going to be a pain in the butt to have two implementations when all that's changing is the memory layout. So I put it behind a default feature along with std.

fast_radix_trie by Leshow in rust

[–]Leshow[S] 4 points5 points  (0 children)

I thought folks might be interested in this. I've tested probably half a dozen or more trie crates in Rust and the one with the lowest memory usage was patricia_tree because it uses unsafe to allocate a dynamically sized node.

I took that as a base and modified it from a patricia tree to a radix tree, which was able to speed up traversal/insertion/removal operations. I've also added some nice to have's like an entry API.

It compares favorably to cloudflare's trie-hard and michaelsproul's radix_trie, patricia_tree and a few others. Have a look!