• frezik@midwest.social
    link
    fedilink
    arrow-up
    12
    ·
    19 hours ago

    Anybody who thinks running Windows is easier hasn’t tried to get Tensorflow working on Windows with GPU support.

    In theory, it could run on a straight Windows build of Python, but nobody seems to have given that serious consideration. It must go through WSL, but that means passing through the GPU to WSL. When you Google how to do it, you’ll find three different approaches that have been taken over the years, only one of which is valid on modern setups. If you take one of the old approaches, you will likely twist your system in knots and need a complete reinstall to fix.

    On Linux, you install the GPU drivers, compile Tensorflow with the GPU flags, and you’re done.

  • archonet@lemy.lol
    link
    fedilink
    English
    arrow-up
    52
    ·
    edit-2
    2 days ago

    the entire reason I switched to Linux – back in January I asked myself “if I have to fight my operating system to make it work right for me anyways, why pay for the privilege?”

    like sure updates break things on Linux too occasionally but at least they don’t reinstall spyware I had to spend a day ripping out after the last update.

    • SynopsisTantilize@lemm.ee
      link
      fedilink
      arrow-up
      7
      ·
      edit-2
      20 hours ago

      Every. Single. Time. That Linux has broken on me it’s been my fault. I’ve tried to go against an automated process to make what I wanted happen. Or I’ve removed an annoying apt update warning about some unused pub key. And I’ve totally shit bricked countless installs. Probably in the mid double digits.

      I’ve burnt through valuable pictures, documents and data. Wasted weekends reinstalling and reconfiguring Linux. BUT, I did that. Not Microsoft, no one held my hand and I certainly learned and never repeating most of those mistakes again.

      Most importantly, Linux let me do those things. Linux let me be a better end user and admin because I respected my environments more.

      If you switch to Linux you don’t have to be an admin or go nuts…but Linux isn’t going to stop you if you want to.

      • NeilBru@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        20 hours ago

        Once for 7 Pro. Still running the same license all these years later.

        Also, I use Kubuntu, but I go with minimal install to avoid snap fuckery, btw.

    • Randelung@lemmy.world
      link
      fedilink
      arrow-up
      15
      arrow-down
      1
      ·
      2 days ago

      Also, Windows is catching up on the breaking of things, while Linux has improved dramatically. At least some distros are incredibly stable.

      • HStone32@lemmy.world
        link
        fedilink
        arrow-up
        14
        arrow-down
        2
        ·
        1 day ago

        Has a Linux update ever broken something on my computer? Yes. Have I ever needed to revert versions? Yes.

        Has a Linux update ever broken my computer so badly, that a hardware component on the motherboard had permanently stopped working, even after reinstalling firmware? No, but a windows update did once. I had to dual-boot Mint just so I could use WiFi.

        • CheezyWeezle@lemmy.world
          link
          fedilink
          arrow-up
          6
          arrow-down
          2
          ·
          1 day ago

          So, wait, you are claiming that a Windows update broke your hardware so bad you had to reinstall the firmware, but it magically worked on a linux distro? First of all, that means it wasn’t “permanently stopped [from] working”. Second, I hate to break it to you, but it sounds like Windows might have fucked up a setting, and then you user-errored your way into breaking things. I’ve never had something break that can’t be fixed with a full system restore or reinstall, and it sounds like you had a problem just like that. If it worked on Linux, you could have gotten it working on Windows, too, because it’s clearly a software error at that point.

  • N3Cr0@lemmy.world
    link
    fedilink
    arrow-up
    41
    ·
    2 days ago

    This is so true. Most of the tools justifying the use of WSL aren’t even supported. Either because of technical limitations or because of security concerns.

    • HStone32@lemmy.world
      link
      fedilink
      arrow-up
      9
      ·
      1 day ago

      Why do people use wsl? The only reason I can think of is to take advantage of Bash and the shell environment. But if wsl runs in its own container separate from Windows, what’s the point?

      • smeg@feddit.uk
        link
        fedilink
        English
        arrow-up
        4
        ·
        22 hours ago

        Being a software developer but your work laptop is a Windows machine?

      • CheezyWeezle@lemmy.world
        link
        fedilink
        arrow-up
        13
        ·
        1 day ago

        When WSL first came out, all the documentation i read from Microsoft led me to believe it was intended to help developers who are cross-developing software for both Linux and Windows to more easily test features and compatibility and to ensure software behaves consistently. It never seemed like they intended it to be used to run Linux programs fully and integrate into the Windows environment. It always seemed like it was just there for convenience so a smaller budget developer could develop on one machine and not need to be constantly rebooting or running VMs.

      • jacksilver@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        1 day ago

        Maybe I’m not aware of similar configurations you can do, but it’s only sorta it’s own container. VSCode can actually directly connect to it automatically so you can develop in host os but run directly against the container. Additionally this means some visualization/gui interfaces can be visible on the host side (this is a gift and a curse).

        So you basically have system integrated containers/vms. It’s not perfect, but it is definitely leagues better than what windows development was prior and may have some advantages over Linux only deployments (not sure if the system integrations are feasible in Linux hosts).

  • Lucidlethargy@sh.itjust.works
    link
    fedilink
    arrow-up
    3
    arrow-down
    11
    ·
    1 day ago

    Why would anyone want this? I don’t get it. I haven’t needed Linux for anything in years. I actually run docker for Linux stuff (mostly for fun) and it works if you’re competent (same as anything Linux related, it requires work.)

    Oh sorry, I forgot where I am. Windows bad! BAD WINDOWS.

    • Jack Riddle@sh.itjust.works
      link
      fedilink
      arrow-up
      18
      ·
      1 day ago

      I could ask the same. Why would anyone want windows? I haven’t needed windows for anything in years. I run wine for windows stuff(mostly for fun) and it works if you’re competent.

      Seriously tho, I care about my privacy somewhat, and a lot of my hardware just doesn’t run windows because it’s too heavy. I also dislike the lack of control I have over windows and can’t work with the windows DE in general.