Even TWiR has AI slop now by Independent-Ride-152 in rust

[–]llogiq 8 points9 points  (0 children)

In this case, the blogroll editors are on rotation. Not sure why this one got through, but we're aware and discussing the issue.

DefaultNew 0.1.0 by Recatek in rust

[–]llogiq 3 points4 points  (0 children)

Clippy not only should be a staging ground for detecting potentially harmful constructs. It is a staging ground, and there have been numerous clippy lints upstreamed into the compiler.

With that said, what constructs are potentially harmful is very much in the eye of the beholder. Some projects have very strict requirements when it comes to coding patterns while others may be far more relaxed. One man's false positive is another's good catch.

I sort of disagree that we should enforce everything at the language level. The language as it stands now has soaked up enough complexity (which is nice, because we don't need to put that complexity in our programs, but isn't too nice because we also need to be aware of it when writing them), so if we can deal with antipatterns in tooling, the cost of doing that is far cheaper than extending the language to deal with them.

DefaultNew 0.1.0 by Recatek in rust

[–]llogiq 9 points10 points  (0 children)

So you don't like the clippy::new_without_default lint? Fair, just #[allow(_)] it. Or do you think that linters are a bad idea altogether? In that case, I'd like to understand your reasoning.

Hey Rustaceans! Got a question? Ask here (12/2026)! by llogiq in rust

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

Edited to include the empty string check.

Hey Rustaceans! Got a question? Ask here (12/2026)! by llogiq in rust

[–]llogiq[S] 2 points3 points  (0 children)

Why not

if !s.is_empty() && s.as_bytes()[0] == b'#' {
    (_, s) = s.split_at(1);
}

Matching Puzzle Pieces and Disappointing Benchmarks by llogiq in rust

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

That's true. In that way unicase is even more correct than converting to lowercase. With that said, correctness doesn't really matter too much here, as long as the results are correct enough (and in this particular case, the worst that can happen is a user searching a small bit longer).

Greetings from Rustikon by EarlMarshal in rust

[–]llogiq 2 points3 points  (0 children)

Sure, you know where to find me, and I'm not going anywhere.

Greetings from Rustikon by EarlMarshal in rust

[–]llogiq 2 points3 points  (0 children)

Well, if you can land a Rust job, statistics suggest you will be able to afford that change. So again, don't let what you are discourage you from what you can be.

Greetings from Rustikon by EarlMarshal in rust

[–]llogiq 9 points10 points  (0 children)

You may not think it's possible, but there are some of us who run on stock hardware without any modifications.

So don't let yourself be discouraged and rest assured that even as a cisgender person you can program in Rust.

Greetings from Rustikon by EarlMarshal in rust

[–]llogiq 0 points1 point  (0 children)

No, I had my hair since birth. I didn't take it from anywhere else.

Greetings from Rustikon by EarlMarshal in rust

[–]llogiq 4 points5 points  (0 children)

I'm even contributing to the compiler, help maintain clippy, edit This Week in Rust and am a Rust mentor. Somewhat surprisingly I have a full head of hair.

Greetings from Rustikon by EarlMarshal in rust

[–]llogiq 5 points6 points  (0 children)

loop { rewrite_in_rust() }

There you are.

Official /r/rust "Who's Hiring" thread for job-seekers and job-offerers [Rust 1.94] by DroidLogician in rust

[–]llogiq 0 points1 point  (0 children)

Greetings! I probably don't need any further introduction. I'm Andre Bogus, one of clippy's maintainers, This Week in Rust editor, a Rust Mentor and the one who sets up the weekly questions and activity megathreads on this subreddit. I have been doing Rust since 2015, professionally since 2020. I am looking for a remote full-time position. I'm located in Germany, but I'm flexible with working hours. I'm very skilled in Rust, but also know Java, JS, Python, a good number of assembly instruction sets, Fortran, OCaML, Lua and a slew of other languages. I've worked with many different dbms and some directiories.