Skip Navigation

Posts
14
Comments
538
Joined
3 yr. ago

Professional software engineer, musician, gamer, stoic, democratic socialist

  • I guess I see what you mean if we want to get very technical about what a syntax extension is. But I think for the purpose of this discussion, it's reasonable to think of macro_rules! as a part of the Rust language. Practically speaking, it is syntax provided by the language team, not just users of the language who are free to extend the syntax by using macro_rules! to do so.

  • Enums are the best part of the Rust language IMO, so I'm not sure how you can view them as ugly. Having the choice to destructure something is fantastic. You generally aren't required to destructure every return value. Make sure you're using the ? operator as much as possible. If destructuring is getting in your way, it sounds like the code is not very idiomatic.

    I can't really comment on your issue with nested if and match. Too much nesting is bad in any language; try extracting more functions and let bindings to make it more readable.

    You can enable a clippy lint to deny .unwrap() if you're worried about it.

  • Sorry, I love Rust but I can't really agree with you here. They only showed a macro_rules! definition, which is definitely rust syntax. Lifetime annotations are relatively common.

    I will concede that loop labels are incredibly rare though.

  • PIA does

  • FWIW I tried the Helix mode in Zed, and it was missing lots of Helix bindings that I rely on.

  • NixOS, fish, tmux, Helix, jj

  • Nothing specific, but I was very pleased with how easily I could download some movies from jellyfin to my laptop before my flight home.

  • It's sad that self-hosting is apparently the path to having a solution that "just works". You'd think that paying for a product would be more effective, but alas...

  • I found a show called "A discovery of witches" which seems worth trying.

  • Can anyone recommend a good story about witch vs vampire conflict?

  • The new DK looked really fun to me, is it not?

  • Depends on if I had sex or not. I'm not putting them back on after, but I also don't really see the need to take them off just to go to sleep.

  • Maybe a dumb question: What exactly could go wrong? Has the MPAA done anything to stifle Kodi?

  • Care to suggest a model? I haven't seen anything that cheap.

  • I was going to try ripping a Blu-ray that I bought recently, since I couldn’t find a quality rip anywhere

  • I don't have first-hand experience, but I've heard that the linux version of MakeMKV does work; though I've seen some issues reported in the forum. MakeMKV is even available on nixpkgs.

  • I don't know about MicroSD longevity, but I've heard BluRay and in particular M-Disc can last 100-1000 years of something crazy. So for archive, it might still be a good option.

  • I really hope streaming doesn't become the only option, because even with >1Gbps internet, streaming services generally do not deliver as good of quality as I can get from something like a bluray. Even HBO and Netflix have very noticeable lossy compression.

  • I'll give it a read! I wouldn't have expected much relevant info on the Arch Wiki.