![](/static/23fb711/assets/icons/icon-96x96.png)
![](https://lemmy.ml/pictrs/image/q98XK4sKtw.png)
This was my problem, it's enabled by default, so double check that
This was my problem, it's enabled by default, so double check that
SOLUTION:
Here is the solution I came up with:
pub struct Configuration {}
impl Configuration {
fn get std::str::FromStr>() -> Result {
Ok(T::from_str("1234");
}
}
fn main() {
let my_conf_val = Configuration::get();
}
Afraid this might have been the case, if Ogeon's suggestion doesn't work out, I'll probably end up with multiple getters, one per type. There aren't that many anyway
Thank you!
Correct, I would want the caller to know what they're getting, I'll see if this works, Thank you!
Any Ubuntu affiliated distro is required to use snaps, so Kubuntu will use them. Startup times are terrible, but running performance should be the same.
Another simple distro to try would be either Mint or Pop-OS. Both are still Ubuntu based, but without snaps
Mint's interface (Cinnamon) is similar to Windows, Pop-OS uses a modified GNome
I'm not sure of exactly how they manage everything, but my county library system uses Debian with an XFCE interface.
Not sure if it's because it's been this way long enough now, or it just looks close enough to Windows, but I haven't known anyone to complain (and my in-laws complain about everything else)
Self hoster of Invidious, I've just setup a docker instance with a Watchtower docker container running too for auto updates. No real maintenance needed.
NewPipe on Android
There are definitely times where things will stop working for a bit (due to Google shananagans) but the devs seem on top of it. So it doesn't take too long before it's working again.
Ha, I did the same thing. Was getting really tired of pip issues and attempting to use pyenv and messing up a lot. Figured I'd start clean.
Didn't realize so much depended on python and ended up needing to rebuild the whole thing.
Now I don't mess with python on my host and only use VMs for Dev or messing around.