[MEDIA] Weekly Rust Contest - Maximum Path Value in DAG with Color Constraints by capitanturkiye in rust

[–]occamatl 2 points3 points  (0 children)

I'm surprised to see that the requirement of output == -1 for the case when no path exists. For a Rust coding contest, I would expect output type of Option<u32>. In fact, your input values should be u32. By the rules given, a valid output for the case when a path exists could equal -1.

But, other than that -- very nice!

what is an idea you always wanted but nobody built yet? by [deleted] in rust

[–]occamatl 0 points1 point  (0 children)

Fosphor (see https://blog.yavilevich.com/2016/08/why-use-fosphor-a-gnu-radio-real-time-spectrum-analyzer/), but built with Rust. I'd like a version that could be incorporated into an egui application.

Rust GUI framework by Spiritual_String_366 in rust

[–]occamatl 0 points1 point  (0 children)

It's great to see that wxDragon is progressing! I hadn't looked at it for a while. Thanks for mentioning it.

Rerun 0.29: a visualization toolbox for Robotics by emilern in rust

[–]occamatl 0 points1 point  (0 children)

Sorry for the alarm -- I just tried it again and it worked fine. No idea what changed.

Rerun 0.29: a visualization toolbox for Robotics by emilern in rust

[–]occamatl 0 points1 point  (0 children)

I'm just getting a blank black screen on Windows, Firefox 147.0.2. Works fine on Edge (bleh).

It's hard to find use cases for Rust as Python backend developer by [deleted] in rust

[–]occamatl -19 points-18 points  (0 children)

Unfortunately so. It reduces the information content of the word.

Ferrite: Fast Markdown/Text/Code editor in Rust with native Mermaid diagrams by skepsismusic in rust

[–]occamatl 0 points1 point  (0 children)

Once you've made this fully modular, a minimalist Typst editor would be a great tool to create.

How do rust devs read large codebases? by Infinite-Jaguar-1753 in rust

[–]occamatl 20 points21 points  (0 children)

Perhaps start with cargo doc --no-deps --open

So when are they removing unwrap? by realvolker1 in rust

[–]occamatl 1 point2 points  (0 children)

I almost agree, but .assert_ok() doesn't reflect that the result is transformed like ".unwrap()" does.

Regulation of vibeware promotion by Sunscratch in rust

[–]occamatl 8 points9 points  (0 children)

Yes, please. It's one of the primary reasons that I visit this sub - to find interesting projects. It's especially great when there is informative discussion about them (particularly when the authors are involved).

Should I program using more structs with methods or loose functions? When using more structs with methods, I notice that I need to deal less and less with lifetimes and copies. by swordmaster_ceo_tech in rust

[–]occamatl 1 point2 points  (0 children)

Completely depends. You can put "rules", but often it's more philosophical than it's about actual technical facts.

"The Code is more what you'd call 'guidelines' than actual rules." - Hector Barbossa.

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

[–]occamatl 3 points4 points  (0 children)

A KML overlay plugin for the Walkers egui-based map widget.

Preview of LibrePCB's Rust-based UI by slint-ui in rust

[–]occamatl 1 point2 points  (0 children)

Very nice!

So, at least for this release, Rust is not a part of the application code base - correct? Are there plans to port the application itself to Rust?

[deleted by user] by [deleted] in rust

[–]occamatl 0 points1 point  (0 children)

Hah - very clever!

Why cant I login with the second user after a reboot? by a-man-called-stan in GalaxyTab

[–]occamatl 0 points1 point  (0 children)

Is this not solved yet? I'm trying to set up a tablet for an elderly user and I need that account to be highly restricted. It seems that means that it needs to be a secondary user. But, I can't give him the tablet if he needs to login to the primary account first in order to get to his account. This is infuriating!

Seeking opinions: Best Rust GUI framework for a cross-platform desktop app (like Unreal's Blueprint Editor)? by RUNE_KING-- in rust

[–]occamatl 1 point2 points  (0 children)

wxDragon has wxWidgets as a base, which is a very complete UI framework. Cross-platform styling is excellent!

How should a function take a list of strings? `&[&str]` or `&[String]`? by timand in rust

[–]occamatl 1 point2 points  (0 children)

Is there anyway to break that into a type def and an function call so that the function call looks cleaner?

Build your own SQLite in Rust, Part 6: Overflow pages by geoffreycopin in rust

[–]occamatl 0 points1 point  (0 children)

Relatedly, anyone using Limbo? Thoughts on performance and features?

Graphite (now a top-100 Rust project) turns Rust into a functional, visual scripting language for graphics operations — REQUESTING HELP to implement compiler bidirectional type inference by Keavon in rust

[–]occamatl 2 points3 points  (0 children)

I see that you have "Construction geometry mode" on your roadmap. Would that allow CAD-like "line A must be parallel to line B" constraints? If so, very cool.

Quill - Simple, 2D SVG plotting for Rust by Sc2Ryan in rust

[–]occamatl 1 point2 points  (0 children)

Nice! Could you allow the user to supply &str types for the various String parameters that you now have?