• 2 Posts
  • 705 Comments
Joined 3 years ago
cake
Cake day: August 19th, 2023

help-circle





  • At the start I just wanted a desktop machine that runs Steam through sunshine/moonlight so hardware support and gaming stuff such was very important.

    My homelab used to run on my laptop when it could all fit within a couple 100s of GB and I was the only user but moving it was tricky. Since I’m a programmer I’m not afraid of this stuff so I just spent the hours to figure out one problem at a time.

    I ended up figuring out adding HDD whitelist in SELinux, make it accessible in podman, manually edit fstab because tools didn’t work, systemd service for startup, logging in automatically where I already forgot everything and would have not had to do any of this on a bog standard Ubuntu server.





  • We’re using LLMs at the company I work at and it seems very useful in many cases but sometimes it still doesn’t work. I’m a bit worried about the aspect of the code rotting by LLMs generating stuff based on existing code.

    My mindset has shifted a bit, now I’m more focused on making stuff easy to find and easy to figure out patterns to use so that the codebase becomes easier to work with. There’s some horrible code in the project and the LLM absolutely sucks balls at it but if it’s a clean routine job such as making a table with update dialogs and actions to manipulate the data the success rate is >95%.

    So yeah, don’t trust it, treat it like a junior dev that got straight As in school and has never considered security. Code reviews are now where it’s at.



  • I like the one about eggs and milk.

    My wife says “Bring liters of milk, if they have eggs, bring 12” and gets upset when I bring her the 12 liters.

    I got another bad one I just made.

    A programmer of a fishing app had a rough break-up but all is well because there are plenty of fish in the C.

    Java is for kids and C# is for adults because you don’t want the kids to C# edges.

    print("I got a funny joke for you, just give me a couple of tries.") 
    chars = string.ascii_lowercase + " " 
    while true:
        l = random.randint(20, 50)
        print("".join(random.choice(chars) for _ in range(l)))
        print("Ok, the last one maybe wasn't funny but give me one more try")
    





  • First pick a desktop environment, currently KDE, Gnome and Cinnamon are the best.

    • Gnome: Opinionated design like apple
    • KDE: tons of options.
    • Cinnamon: A bit fewer options than KDE but still a lot.

    All of them are very robust and have a massive user base.

    Then pick a base to operate on. Fedora, Ubuntu and Mint are all good options.

    • Fedora and Ubuntu are good for newer hardware and 99% of the time just works.
    • Mint just works all the except for newer hardware.

    Nvidia GPUs are not a big issue but you have to install the proprietary driver yourself for best performance and fewest bugs.

    My pick for you is something your friend uses if you have a friend on Linux otherwise Fedora KDE or Kubuntu.