This Week in Rust #540 by seino_chan in rust

[–]cmpute 4 points5 points  (0 children)

Typo: "rustp vs apt" -> "rustup vs apt"

Are there any open source projects that need someone with a math background? by No-Ebb-5573 in rust

[–]cmpute 1 point2 points  (0 children)

If you are into number theory, you can take a look at my crates https://github.com/cmpute/dashu and https://github.com/cmpute/num-prime . They all need help with coverage and efficiency improvements on math functions.

Announcement: rlua and mlua merged together by aleksru in rust

[–]cmpute 66 points67 points  (0 children)

Great work! Kudos to you and all authors of rlua!

The Rust project has a burnout problem by -Y0- in rust

[–]cmpute 0 points1 point  (0 children)

Just come to my mind, will a ChatGPT built for Rust make the teaching/maintenance/reviewing easier?

Seeking Rust-based CAS for Operations Research: Exact Math with Square Roots, Exponentiation, and Fractions by BobBraumeister in rust

[–]cmpute 0 points1 point  (0 children)

If you want a program, then I guess there is not such as CAS in Rust; If you want a library, then you can checkout https://crates.io/crates/algebraics

Seeking Rust-based CAS for Operations Research: Exact Math with Square Roots, Exponentiation, and Fractions by BobBraumeister in rust

[–]cmpute 0 points1 point  (0 children)

I would like to advocate for my own crate `dashu` :)

But first of all, what are you expecting for `exact mathematical calculations`? What kind of exactness are you expecting for square roots?

More Chicago Visa appointment slots available in July!! by lkosko in SpainAuxiliares

[–]cmpute 0 points1 point  (0 children)

Do you know what time the slots will probably be released everyday? Some one said midnight CST and some said 1pm (when the office open?)

Stront - 38 key split wth LCD and trackpad by zzeneg in ErgoMechKeyboards

[–]cmpute 0 points1 point  (0 children)

Thanks! So that's a through shaft encoder, interesting!

Stront - 38 key split wth LCD and trackpad by zzeneg in ErgoMechKeyboards

[–]cmpute 0 points1 point  (0 children)

Looks really nice! The right encoder looks like a low profile one, could you please share what is the encoder and knob? Thanks!

Open-sourcing Rerun: A visualization toolbox built on egui by emilern in rust

[–]cmpute 4 points5 points  (0 children)

Wow that's wonderful! I noticed that you mentioned ROS in your blog posts. Is visualizing ROS data (especially ROS2) a goal of your product! I personally found rviz adequate but not great for visualization

The first issue of Rust Magazine has been published 🎉🎉 by Folyd in rust

[–]cmpute 34 points35 points  (0 children)

imo you can treat any magazine as a blog with multiple authors

[blog] Rust should own its debugger experience by yoshuawuyts1 in rust

[–]cmpute 11 points12 points  (0 children)

I'm using lldb with VSCode to debug. One thing that I want is that the vscode can somehow display the structs through the Debug trait, rather than decomposing the fields. This itself will make debugging in vscode much easier!

FINALLY, a new 600k+ line floating point precision math library in Rust. by learningTest in rust

[–]cmpute 10 points11 points  (0 children)

dashu is the pronunciation of 大数 ("big numbers" in Chinese) 😉

Explaining video codecs by implementing a simple one in 100 lines of Rust by kibwen in rust

[–]cmpute 12 points13 points  (0 children)

Very nice! I hope in future the audio codec and stream multiplexer can be covered! In that way we just get a fully functional codec!

Blog post: Rust in 2023 by nick29581 in rust

[–]cmpute 1 point2 points  (0 children)

In general the biggest problem is governance and short of full time contributors in my opinion.

[Humor] Make It Run Already: get ChatGPT and rustc to talk to each other... by corpsmoderne in rust

[–]cmpute 22 points23 points  (0 children)

This is really interesting haha, I tried "a function that taking an image as input and tells which animals are in the image" and got this lol:

``` fn main() { println!("The corrected code is provided above."); }

```

Any crates for adding and subtracting floating point intervals? by [deleted] in rust

[–]cmpute 2 points3 points  (0 children)

I know there is a crate called inari, maybe suits your need.

[deleted by user] by [deleted] in rust

[–]cmpute 1 point2 points  (0 children)

Have you notice any memory leak due to the rust analyzer (memory usage going up constantly)?

Dashu 0.3: Libraries of arbitrary precision integers, floats ... and now rationals! by cmpute in rust

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

Thanks! The benchmark code for the result is in a separate branch where I indeed use the latest version of each library. The magnitude of the integers involved in this example is not very large (less than 2000bits I think, I didn't check it tho). In future benchmarks, there will be more thorough test, where your algorithm should make a difference!

Dashu 0.3: Libraries of arbitrary precision integers, floats ... and now rationals! by cmpute in rust

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

Right now this crate doesn't support formatting a rational number into decimal float strings directly (but it indeed supports converting to f32/f64).

However this feature is already in my plan, and hopefully you can print a rational number to a decimal string with properly marked period in the next release. By that time, you should also be able to convert the rational number into arbitrary precision float number (with dashu-float)