@codewiz before Android Auto and Carplay came along, I always thought it'd be nice to just have a display your device could drive instead of the typically terrible infotainment system. Though this sounds like a pretty terrible implementation.
@codewiz maybe it's partially a genetic thing, I always thought it smelled a little bit like coffee or something, never unpleasant. Though when I try to make it at home, sometimes it doesn't turn out right and smells of ammonia.
@codewiz My goal is to be able to spin up a fresh dev VM easily from some config stored in a git repo instead of having to manually reinstall packages and stuff. Perhaps my Google-fu is too weak, but most of the info I'm finding basically boils down to "use Nix/Guix". How do people typically solve this with other distros?
@codewiz what are your thoughts on declarative package management? It seems like you should be able to layer a declarative interface on top of imperative package managers, but for some reason, it seems like not many people do that in practice.
Context: trying to decide which Linux distro to use for my main development VM. I like the idea of declarative package management, but not sure if it's worth it committing to Nix/Guix/Silverblue, with the smaller ecosystem/community right now.
@codewiz could you have the conversion function return the equivalent of Rust's Result type and create a STATIC_UNWRAP macro that hides the template grossness?
@codewiz My previous Toot was wrong so I deleted it; it turns out Rust is actually panicking at runtime, not compile time on integer overflow in a const fn: https://rust.godbolt.org/z/hvPY1YvGz
@codewiz What would Rust do? Not very familiar with Rust but it seems like it would give you a compile error if the function were a const fn , according to https://doc.rust-lang.org/reference/const_eval.html. If it weren't a const fn, you'd get a panic in debug mode and silent overflow in release? And if it were a const fn that returned Option/Error, then you'd be safe but have to unwrap at runtime I think. Would be nice if you could configure a const fn to cause a compile error when returning None/Error.
@codewiz@patrick@lubimaer@5tr34k_@ilwoody it'd be cool if you could switch instances without giving up your username. But that would require some sort of global naming system or piggyback off of DNS to map username to server address, but it's probably too much to ask new users to register a domain for themselves, whether it be DNS or some blockchain based name service. That might fix the pressure toward centralization Patrick describes though.