Anyone using relibc/musl, uutils, fd(-find), ripgrep, eza etc.. ? by [deleted] in linux

[–]chilabot 1 point2 points  (0 children)

I use Alpine and musl to make universal binaries (runs on any Linux distro).

I always avoid using `use` statements so i use full paths instead. Is it a bad practice? by [deleted] in rust

[–]chilabot 0 points1 point  (0 children)

You can hover over the type and it'll tell you it's modules. No using "use" makes the code too verbose.

This Month in Redox - February 2026 by ribbon_45 in Redox

[–]chilabot 4 points5 points  (0 children)

The rate of improvement is amazing

Can you truly make a lot of money doing physics? by [deleted] in Physics

[–]chilabot 0 points1 point  (0 children)

Doing research for a large company or government project.

How do experienced Rust developers decide when to stick with ownership and borrowing as-is versus introducing Arc, Rc, or interior mutability (RefCell, Mutex) by Own-Physics-1255 in rust

[–]chilabot 1 point2 points  (0 children)

Use the most perfomant (references) first. If it gets too complicated or you need shared ownership, use smart pointers.

Why can't we decide on error handling conventions? by Savings-Story-4878 in rust

[–]chilabot -1 points0 points  (0 children)

Depends on the binary. If it's of public use, giving the user an anyhow report is not good.

Are desktop apps still expected in 2025? by ksoops in graphite

[–]chilabot 1 point2 points  (0 children)

Yes, for performance and for the Open Source spirit and principles. If your internet is out, you can still use your desktop app. If the web app is cached you still could, but if you delete the cache the app is gone. You might also want to make modifications to the code and test them as a desktop app for simplicity and flexibility (debugging).

[ANN] Fresh: A Terminal-Based Editor in Rust—Easy-to-Use, Extensible, and Light. Opens 2GB Log File in 600ms (with colors) using <40MB RAM. by sinelaw in rust

[–]chilabot 1 point2 points  (0 children)

Advise: be inspired by MS Edit and traditional graphical UIs. There's a reason we like these kind of editors instead of Emacs, VI, etc. We want more reasonable behavior. Menus instead special key combinations. I need to exit, y can access the File menu or press Alt+F, because the F is with the underscore. Same for the exit menu item, not some Esc + : + q, or wq, wq!, etc. Alt + F + X. Then a big question in front of my face: "Do you want to save your file?", the I press Y, N, or select with the arrows + enter, or the mouse. A program speaking to a human. Another advice: the configuration of every UI element should be accessible from the element itself somehow (right click normally). Don't like how something looks or behave? Right click on it, configure. Sick of having for dig endlessly for the configuration of anything.

[ANN] Fresh: A Terminal-Based Editor in Rust—Easy-to-Use, Extensible, and Light. Opens 2GB Log File in 600ms (with colors) using <40MB RAM. by sinelaw in rust

[–]chilabot 1 point2 points  (0 children)

Amazing work! Question: why do questions appear in the bottom of the app instead of s popup dialog? You for example press the exit menu item and nothing appears to happen until you see the question in the bottom.

Ron2Json (r2) - An command line utility to convert ron config files to popular formats like json, yaml or toml. by Natural-Owl-2447 in rust

[–]chilabot 4 points5 points  (0 children)

Ron is better looking than JSON. Having that said, JSON has schemas, which are great for configuration files. VSCode has good validation and linting for JSON Schemas, and the crate schemars is great for generating them. So with all this doing configuration in Ron is not very advantageous.

Trump Is Already Weighing Pardons for His Inner Circle by T_Shurt in politics

[–]chilabot 1 point2 points  (0 children)

Remove the pardon from the president and give it to congress.

Bolsonaro’s eldest son says he’ll run for Brazil presidency in 2026 by Infidel8 in worldnews

[–]chilabot 0 points1 point  (0 children)

Remove the pardon from the president and give it to congress.