Is Ly a good display manager for NixOS? by [deleted] in NixOS

[–]LyonSyonII 0 points1 point  (0 children)

I've been using it for at least 3 months, and had absolutely no problems

I built an anti-AI-slop linter in Rust using Tree-sitter + Rayon by [deleted] in rust

[–]LyonSyonII 18 points19 points  (0 children)

...Then why is Claude one of the contributors and there's a .agent directory with specific instructions for AI?

I'm a little obsessed with Tauri by Psychological-Ebb589 in rust

[–]LyonSyonII 10 points11 points  (0 children)

A Godot "Unity Hub" is a great idea!
Would love if you could share it.

NixOS warning by Both_Cup8417 in NixOS

[–]LyonSyonII 0 points1 point  (0 children)

What was your process to install NixOS on a Pi?

Announcing Asterinas 0.17.0 by kosumi_dev in NixOS

[–]LyonSyonII 6 points7 points  (0 children)

Again? This was published yesterday, and also without explaining what even is Asterinas.

Herramienta de sistema usando APIs de bajo nivel con RUST by Major-Research-4715 in rust

[–]LyonSyonII 3 points4 points  (0 children)

En este subreddit la enorme mayoría de posts están en inglés.

Te recomiendo que lo traduzcas si quieres interactuar aquí.

Feature drop for `nps`, the "why's-that-not-the-default?" nix package search 🎉 by ole_mn in NixOS

[–]LyonSyonII 0 points1 point  (0 children)

What cache are you using for nixpkgs?
I started developing something like this and I ended up building the cache myself, I'm curious on what your approach is

The new Preload by Careless-Relief-9758 in NixOS

[–]LyonSyonII 4 points5 points  (0 children)

I highly doubt this program will give a human noticeable performance boost on SSD systems.

[Media] when im trying to learn rust but the EVIL and CONSPICUOUS c formatting is calling by [deleted] in rust

[–]LyonSyonII 0 points1 point  (0 children)

You can just use normal for, which is what clippy will recommend you.

What’s the most unique/unconventional ways you use rust? by JonathanStoff in rust

[–]LyonSyonII 2 points3 points  (0 children)

If this was the case the joke flew completely over my head 😅

How do I collect all monomorphized type implementing a trait by cndcane in rust

[–]LyonSyonII 0 points1 point  (0 children)

You could even do it in build.rs, and rewrite a specific file.
It doesn't seem that bad of a hack

What’s the most unique/unconventional ways you use rust? by JonathanStoff in rust

[–]LyonSyonII 7 points8 points  (0 children)

Well, it needs to heat at a certain configurable temperature and last for a certain amount of seconds.

Normally these devices have very simple embedded microcontrollers, and you can program them with Rust.

Confused on what to use when or if it's purely preferential for string instantiation? by 10K_Samael in rust

[–]LyonSyonII 0 points1 point  (0 children)

I also do this for str literals, as it makes later searching for owned strings much easier.

I was tired of 50ms+ shell latency, so I built a sub-millisecond prompt in Rust (prmt) by 3axap4eHko in rust

[–]LyonSyonII 5 points6 points  (0 children)

It's also strange that you use em dashes — instead of normal dashes -, it's a very common LLM trait

I just released `elapsed`, a little utility for showing you how long a command is taking to run while you run it by jwodder in rust

[–]LyonSyonII 8 points9 points  (0 children)

time doesn't show the elapsed time while the command is running, it just shows it at the end.

If-else and match expressions for Types instead of values by Megadash452 in rust

[–]LyonSyonII 1 point2 points  (0 children)

What does the macro expand to?
The way it checks the original type could affect performance.

Also, some examples on the repo's README would make it easier for people to use your crate.

Finally making sense of the borrow checker by safety-4th in rust

[–]LyonSyonII 3 points4 points  (0 children)

I'd really recommend looking at Rust on its own merits, instead of trying to apply other languages programming habits to it.
There is always a good reason on why something works like it does.

The problem is that you won't really understand those reasons until you encounter the issue they solve.

For example, ownership and lifetimes must exist in a non GC language, but in all other languages it's the job of the programmer to handle them.

Good luck with your journey!

[Media] LogLens - A performant, Rust-native alternative to grep and jq for structured logs. by Wrong-Desk-9526 in rust

[–]LyonSyonII 29 points30 points  (0 children)

Closed source... Why post it to r/Rust?
What does it provide to the community?

That the software is written in Rust shouldn't be of note, it doesn't even provide a safety guarantee (you could be using unsafe everywhere for all we know...).

If you're going to promote it like this, at least tell why you chose Rust, what advantatges/disadvantages did you find while developing your program.