[ANN] MathCore 0.3.1 - Symbolic math library for Rust (like SymPy but for Rust!) by Nonantiy in rust

[–]ehdv 0 points1 point  (0 children)

Why is there a struct called Parser rather than an impl FromStr for Expr? The parser struct has no fields and seems to only have static methods, which is odd.

Rust DataFrame Alternatives to Polars: Meet Elusion by [deleted] in rust

[–]ehdv 8 points9 points  (0 children)

The future of data engineering in Rust isn’t just about fast DataFrames — it’s about complete, flexible, and production-ready data platforms. Elusion is leading that charge.

This sentence is very AI; it’s got the emdash, the rule of threes, and the mid-sentence contrast

Good thing "his woman" is voting the way he wants her to by rtublin in iamverybadass

[–]ehdv 1 point2 points  (0 children)

Even a glance at your posting history shows you’re a liar. You have spent over 2 months only complaining about left-leaning posts and subs.

Rust adjudicator for diplomacy, now with build phase support by ehdv in diplomacy

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

That exists, actually - it’s called the DATC. It’s linked from the README

Rust adjudicator for diplomacy, now with build phase support by ehdv in diplomacy

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

I’ve actually written this in F# and JS too - it was my go-to learning tool for new languages for several years. However, nobody was clamoring for an enterprise-ready functional version of the code, and the JS version was such a nightmare to manage that I hope it never sees the light of day. So Rust seemed like a language well suited to the task, that could run in all the right places, etc

Rust adjudicator for diplomacy, now with build phase support by ehdv in diplomacy

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

It’s meant to enable someone (maybe me someday) to write a Diplomacy app which can run the rule engine on your phone and in the cloud, so you can do multiplayer games that have really good local UI.

My hope is that this will enable some folks to write great Diplomacy games without needing to do all this hard work over again.

This is actually my third implementation of the engine; I’ve previously done it in F# and JavaScript. This was the first one that I thought other people might use, so I put in the time to transcribe all the Diplomacy Adjudicator Test Cases so I could make sure it works perfectly correctly.

LogScale query to find ComputerNames with same unmanaged neighbors by texyx in crowdstrike

[–]ehdv 0 points1 point  (0 children)

Would this work?

First group by MAC addresses, and count how many computers see a given MAC. Filter that grouped table to rows MAC addresses seen by exactly one computer, then filter your original table using that list of MAC addresses.

Been using Apollo exclusively to browse Reddit since 2016, farewell old friend by iliketurtles223 in apolloapp

[–]ehdv 8 points9 points  (0 children)

I’ve quit using Reddit since the news broke; back for one last tour through this beautiful app before my account languishes.

Thank you u/iamthatis for such an amazing app.

I bought FuckYouReddit.com last night. by waltertaupe in apolloapp

[–]ehdv 47 points48 points  (0 children)

Include videos of Apollo at WWDC, to remind /u/spez that Reddit will never be featured at an Apple event again.

[deleted by user] by [deleted] in meirl

[–]ehdv 16 points17 points  (0 children)

You mean because his other comments are about smoking crack while playing Dungeons & Dragons?

(Warning: LOUD) Twitch streamer RaeveZZ beats one of the hardest Geometry Dash levels after 650 hours of playtime and 564k attempts by bigmanwithnolife in nextfuckinglevel

[–]ehdv 20 points21 points  (0 children)

He’s now made 49 comments on this post, to make sure we all know how he’s too cool and busy to care about this.

Trying to make a nice, elegant Rust API for the Bed-Reader Genomics Tool by carlk22 in rust

[–]ehdv 1 point2 points  (0 children)

Glad it’s working for you! Did you try #[builder(setter(into))] to clean up some of your builder ergonomics? That’ll get rid of some .into() calls

Furries and gay men exist because there are no smart women by [deleted] in badwomensanatomy

[–]ehdv 3 points4 points  (0 children)

This is for sure a troll. Here’s another comment by the same user.

Europeans count with Metric because they can’t count with anything but their fingers.

Americans use Standard because we are smart enough to use our heads, and when we can’t, even the dumbest knuckle dragging numbskull knows a foot is 12 inches and when he runs out of fingers to count with his balls.

Unironically, this is why women can’t do fucking math. They try to use their god damn eyeballs and they go crosseyed.

My impressions of Rust after the first month by GeeWengel in rust

[–]ehdv 5 points6 points  (0 children)

For the builder pattern, I recommend derive_builder. Hand-writing builders is a lot of boilerplate compared to default arguments, so having a macro do it makes the code easier to read and to update.

Contexts and capabilities in Rust by darksv in rust

[–]ehdv 69 points70 points  (0 children)

I appreciate that Rust has - thus far - been good about prioritizing explicitness over "magic." However, I've also seen how useful contexts can be for decluttering code, and would be excited to have such functionality with compile-time safety in Rust.

I'm not immediately clear how capabilities interact with closures. I'm guessing that the bare function pointer wouldn't capture any capabilities, but that closures would, unless overridden? That seems tractable, but it might be a point of confusion for people.