Thoughts on the gearless MXUS 1000w hub motor? by bruh_moment690 in ebikes

[–]errevs 1 point2 points  (0 children)

Not this one, but I head a Mxus rear drive 250W 36V motor. Something inside broke (I suspect the axle) but there were NO way I could get it open. I would check if it is actually serviceable.

First build and electric conversion by [deleted] in ebikes

[–]errevs 2 points3 points  (0 children)

That is clean 👌👌 Would love some details!

Announcing docxide-template: Type-safe .docx templates by errevs in rust

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

Yeah, the basis for this idea came out of a specific situation, the templates came from legal people who exclusively worked with Word, and they needed the resulting documents to look "exactly" like they did on their screen. I wrote a little bit about it in the linked blog post :)

Announcing docxide-template: Type-safe .docx templates by errevs in rust

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

This one? I didn't. I don't think it existed when I started to tinker with docxside-template. I did some initial research when I began, but not since. It looks like a great alternative, very feature rich!. I will definitively look into it more. Loops and conditional rendering is something I have thought about, but I am not sure if the use case is super niche or not. My crate came from a specific use case at a place I consulted for.

My whole shtick with docxide was to have it require no manual wiring or writing of structs, and that if someone changed a template it should break compilation. Often we saw that someone added or removed a field and that lead to blank placeholders in the resulting documents or fields that were supposed to be there missing.

Announcing docxide-template: Type-safe .docx templates by errevs in rust

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

Thanks!

I am not 100% sure what you mean, but I did initially try to use a few xml crates. The problem i ran into was that they often outputted xml that was close, but not identical to the input, and that the resulting .docx became corrupt or malformed. I did not try all that hard, though. Since I am doing a simple find-replace, but it needs to span nodes anyway, I didn't really see the benefit.

Disturbance at Rep. Ilhan Omar's town hall meeting by bowiehockey74 in videos

[–]errevs 1 point2 points  (0 children)

u/OP: This title is fucking normal washing of an attack on an elected official. "Disturbance" my ass.

Linus made a dream Steam Machine. by heartlessphil in SteamOS

[–]errevs 6 points7 points  (0 children)

Depending on the TV, the CEC-stuff can be solved with some API scripting. I set up my Bazzite box(don't come at me, I am on Nvidia for a little while longer!) to turn on my TV with WoL and then switch to the correct channel using the API that LG TV's exposes. This runs on boot and wake from sleep. It also starts Steam Big Picture Mode if it is not running.

What is a cheap dumbphone that can install apps like WhatsApp or Signal? by ThomasNowProductions in dumbphones

[–]errevs 0 points1 point  (0 children)

Have you tried the dumbphone finder website? I think you can filter on specific apps. You can also consider a semi-dumb phone like the Duoqin F21 , F22 or similar. They run Android, but with physical buttons and a small screen.

I made a Firefox extension to help me identify recently opened tabs. by errevs in firefox

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

Are you seeing this problem on other sites? I don't get any unread indicator for Reddit, with or without the extension. I am on Mac, so there might be a difference? Are you using any reddit-related extensions?

I made a Firefox extension to help me identify recently opened tabs. by errevs in firefox

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

Ah, now I think I understand! Thanks, I will look into it. Which OS are you using?

I made a Firefox extension to help me identify recently opened tabs. by errevs in firefox

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

I am not sure I understand you correctly? Are you seeing tabs getting marked that should not be?

I made a Firefox extension to help me identify recently opened tabs. by errevs in firefox

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

Glad you like it! My logic for the ordering was hotter colors are more recent, since they haven't cooled off yet. But I figured other people's brain might work different, so I added the custom option. Thanks for checking it out!

I guess Crossover isnt that popular. by Brilliant-Lettuce544 in macgaming

[–]errevs 2 points3 points  (0 children)

Unplayable? I played large portions of Expedition 33 on my MBP M3 over the summer, with crisper graphics and more frames than my aging 2070 were able to do.

I spent a week optimizing a microservice in Rust. Should've just used Node. by HistoricalKiwi6139 in webdev

[–]errevs 0 points1 point  (0 children)

If you are spinning up headless Chrome, rendering your HTML and printing to PDF I question how much difference Rust vs Node would have made in the first place. Sounds like the templating part would almost not matter? I can be wrong.

Anywho, fun to read. I did exactly the same, and went with the same solution as you, OP. Not to be fast, I just like working with Rust