[-] wulf@lemmy.world 4 points 2 months ago

Vast majority of sites work for me (librewolf), but for the few that don't I also have Vivaldi installed

[-] wulf@lemmy.world 6 points 2 months ago

Second impression of Garuda (Arch based). My first impression was the dragonized version, which is KDE with lots of mods to make it Mac like, but with extra window animations.

I like things simple, so when I tried Garuda again, I installed the Gnome version. Other than some weirdness getting my Nvidia card working with Wayland, it has run better than anything else on my laptop.

[-] wulf@lemmy.world 13 points 2 months ago

Fully agree with this. There will be a slight learning curve since it will be different from what your used to, but it's friendly enough to figure out.

If you know the windows program you want to use just search something like "Linux alternative for x" (sometimes there is specific KDE or Gnome progs)

[-] wulf@lemmy.world 6 points 2 months ago

Invidious is awesome, if possible, self hosting one in docker is great and keeps it up to date

[-] wulf@lemmy.world 14 points 10 months ago

Call me a socialist, but the moment the tech was proven either the US or some UN based org should have eminent domained and brought Starlink.

That way there wouldn't be multiple companies sending tens of thousands of satellites into space. And hypothetically there would be a greater expectation of equal access. Oh and access wouldn't be at the whim of a pretty billionaire.

[-] wulf@lemmy.world 5 points 1 year ago

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.

[-] wulf@lemmy.world 2 points 1 year ago

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();
}
16
submitted 1 year ago* (last edited 1 year ago) by wulf@lemmy.world to c/programming@programming.dev

Background: I have a large serde_json value that I want to be read-only (the authoritative source is an encrypted SQLite DB and should only be updated when that gets updated)

The issue, I would like a single get function that returns a generic type

use serde_json;

pub struct Configuration {
    config: serde_json::Value,
}

impl Configuration {
    async fn get(&self, key: &str) -> Result {
        let tmp_value: = &self.config["test"];

        // This would be repeated for String, bool, etc
        if tmp_value.is_i64() {
            match tmp_value.as_i64 {
                Some(x) => Ok(x),
                Err(e) => Err(()),
            }
        } else {
            Err(())
        }
    }
}

However I get: "mismatched types expected type parameter T found type i64"

Is it even possible to return multiple types from a single function?

EDIT: 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();
}
[-] wulf@lemmy.world 7 points 1 year ago

Yes! It shouldn't be difficult to purchase a house, but when we were looking, none of the seller agents would even talk to us until we had a buyers agent 🙄

[-] wulf@lemmy.world 16 points 1 year ago

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

[-] wulf@lemmy.world 8 points 1 year ago

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)

[-] wulf@lemmy.world 4 points 1 year ago

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.

6
Purchase Advice (lemmy.world)
submitted 1 year ago* (last edited 1 year ago) by wulf@lemmy.world to c/headphones@lemmy.film

Looking to get new headphones since the battery is now shot in my Corsair

I'm looking for:

  • Mostly listening to music, some online meetings, some single player games (I am not an audio file)
  • Bluetooth that can save multiple devices
  • Over ear
  • Noise cancelling (preferably adjustable, but not necessary)
  • Microphone (preferred but not necessary)
  • Under 300 (preferably under 200)

Whenever I search online the lists are always "here is the best for 500 - 1000, or really affordable, but with no features"

Thank you in advanced!

[-] wulf@lemmy.world 3 points 1 year ago* (last edited 1 year ago)

Yep, I'm 36, mid Atlantic US, started driving stick when I was 18. I inherited this little Geo Metro for college, so it was learn stick or no car. (I really liked that car dispite it not having air conditioning, no tachometer, and manual everything)

Next car I bought was a manual. Now since my spouse can't drive stick we only have automatics.

Whenever we need a new car it'll be electric, which unfortunately (by design) are not manuals. So no more stick for me.

view more: next ›

wulf

joined 1 year ago