• 0 Posts
  • 136 Comments
Joined 3 years ago
cake
Cake day: June 20th, 2023

help-circle
  • I installed CacyOS on my MSI laptop with Nvidia m2060 + igpu and Intel CPU a couple of months ago. I can play genres through Steam just fine. It performs better than it did on Windows 11.

    I’ll be honest, I was amazed I had no issues getting it running. CachyOS has sone great tools to set things up and their wiki is excellent. I just followed the steps in there to set up GPU switching. I disabled secure boot, since that can get in the way of drivers loading, but they have instructions for that as well.

    Wi-Fi worked out of the box. I even have a luks encrypted root.

    The main issue I had was MSI specific hardware, like battery charging control, normally managed by the Dragon Center. I found an open source replacement for that.

    I can’t speak to the battery performance since I always use it plugged in. It’s a few years old so it’s probably not great anyway.

    Your mileage may vary. It’s probably going to be more off a struggle with hardware specific to the model of laptop rather than Nvidia.




  • I once, many years ago, worked with a programmer who had a strict rule of not introducing any functions unless the block of code was used at least twice.

    Every code base they were the main developer on had source files thousands of lines long with if-statements nested to the 9 levels of hell.

    We worked mostly in Perl and Deplhi (Pascal). Reading old code was… interesting. It’s wild when your Perl code is more readable than your Pascal.

    I’m happy to say I don’t work with them anymore.

    So yeah, break things into functions and name your functions and variables sensibly. Your future self will thank you.



  • My guess is that it changed from open source to a proprietary license. From Wikipedia:

    Initially, Paint.NET was released under a modified version of the MIT License, with the exclusion of the installer, text, and graphics.[9] However, citing issues with the open source code being plagiarized by others that had rebranded the software as their own and bundled user content without their permission, the availability of the source code was restricted, in December 2007 Brewster announced his intent to restrict access to components of the program (including its installer, resources, and user interface).[10] In November 2009, the software was made proprietary, restricting the sale or creation of derivative works of the software.[10][11]







  • I think it’s fair to want a more helpful error message, but that’s not necessarily the purpose for path. There is a real cost to every entry in your $PATH. Not as much as in the world of spinning rust, but some.

    There are some completion modules for shells that will suggest misspelled or even installable packages if it can’t find the command. Those are arguably better options.

    As for traditional systems, I remember a time where running arbitrary commands, even with an --help argument could be dangerous and we had to set least try ‘man command’ first.



  • My guess is not just traditional developers, but anyone doing any amount of coding, like data scientists, business analysts, etc.

    Especially if they’re using AI, those tools work better on Linux, or as is the case most places, wsl2 inside Windows.

    I believe Windows is kept because of the Office tools. However, Windows needs 12 layers of security tools that constantly get in your way, so the path of least resistance is to just stay in your wsl2 sandbox.

    The knee jerk reaction to this from enterprise IT is often to restrict access to WSL. This solves the problem, but creates disgruntled users who will continue to try and work around it.

    What they should consider, in my opinion, is giving these people real Linux workstations that can be enrolled in group policies, SSO, and all that good stuff. Commercial vendors of Linux will support these use cases.

    Some places roll out Macs, which work almost as well, but the hardware is more expensive. Hardware and commercial software support may be better, though, I don’t know.

    I think either is a superior alternative to Windows.


  • You make some good points, but you’re making the same mistake you’re accusing your audience of making: you don’t understand why people are on the platform they are on.

    I can’t speak for everyone, so I’ll just speak for myself: I’m not on Lemmy and Mastodon because I want them to become the next Facebook–even if it were some kind of libre utopia free of commercial interests.

    I’m here because these weirdos are my weirdos and they like the same weird things I like. It’s a small enough sandbox that I can still recognize people here and there. These people have similar interests to me, and they post long, insightful rants about stuff that my family and other friends would not care about. The network effect is working in my favor.

    The fediverse community feels more like home to me than the big social platforms. This feels more like it’s my community. If Lemmy gets as big as Reddit, I’ll probably go somewhere else.

    I don’t use Linux because I want it to dominate the world. I don’t care if others use Linux or not. I use Linux because my computer finally feels like it’s mine again. I do what I want with it and I don’t have to worry about AI running or spying happening on it without my knowledge. As a bonus, it runs smoother.

    The tradeoff is there are a few rough edges, and I have to learn some new things. But I enjoy learning. Lots of people don’t enjoy having to learn new things to just veg out with IG or YouTube. I get that. So, then don’t. Veg out with Windows, if that’s your thing. We can all do our own thing at the same time.

    Choice is a good thing. Small communites are good. Decentralized is good because then big bullies can’t come in and take your community away. Small size and fragmentation are features, not bugs.

    If Taylor Swift wants to set up her own Mastodon instance, she can. If she wants to cross-post between that and X, she can. I won’t be seeking out her content and it will be trivial for me to stay in my bubble without Taylor algorithmically popping up inside of it like she is on IG, FB, and X.




  • Programming is mostly understanding something abstract in your mind not rote memorization.

    Even for a very simple program, focus on understanding what it does and how it does it, and why, step by step. Write things down when you learn something new.

    Reading and understanding code, especially good code, will make you a good programmer. Just writing a ton of shit code will not. Trust me, I’ve done this for 3 decades and learn something new almost every day from reading other people’s code.

    So, focus on understanding what it does, and you will be able to modify and build programs from scratch soon.