• 1 Post
  • 46 Comments
Joined 1 year ago
cake
Cake day: June 11th, 2023

help-circle
  • I think there is no obvious way of telling this, because it depends on how you if statement will be constructed and in the end what machine code will be generated from your code.

    So best thing would probably be implement both and measure the results. I would argue that’s how performance optimisations work. Don’t trust on what a forum post tells you.

    However chances are high that both will have similar performance in a range that doesn’t matter for your use case… Without knowing your use case :)








  • I think it’s much more impressive that stuff that was added in 2018 and 2019 has a much higher probability of being deleted today than if it was added 2017…

    Wonder if that has anything to do with covid and maybe new businesses models opened 2 years before failing and therefore websites of this companies disappeared.

    Also I think it would be nice to see a graph of new websites being opened other the same time span.


  • Feyter@programming.devtoLinux@lemmy.mlLinux Switch advice?
    link
    fedilink
    arrow-up
    18
    arrow-down
    1
    ·
    8 months ago

    My best advice is:

    Don’t listen too much about what strangers on the Internet say you should do or use.

    Non of us has statistics to pull from. Mostly it’s individual experience mixed with personal preferences. All that could be different for someone else. E.g. some people will have problems with Nvidia, other with AMD.

    Stick to the basic and add fancy stuff later on.

    Don’t pick a distribution because of the Desktop environment. Or because someone said it has a nifty feature. People create new distros all the time just for fun and not because there would be a real reason for it. Looking on the release cycle would probably be the most basic decision you should take. Read about the differences between “rolling release” and “long time support” and decide base on you personal use case.

    Have a backup strategy

    This is nothing limited to Linux but since you are planing to switch your habits, there is a high possibility you will mess up at some point. Best would be you try to stimulate the worst case and look if you would be able to setup your system in a VM or something.

    Don’t be afraid to try things out

    Especially when you know that your backup is working. There is not much you can lose. Don’t be afraid of using Arch Linux e.g. just because someone on the Internet said it’s just for pros or something.

    So this last one is maybe just the consequences of all the above. But yeah I guess that’s all I could say for now 😅


  • Maybe it depends on who you ask or where you are. Maybe a US vs EU thing? I never was a professional Musician, but when I started reading about creating/composing music for Video Games I learned that many professional Studios run on Windows because of proprietary standards and software. that is not available for Apple (and Linux)






  • Feyter@programming.devtoLinux@lemmy.mlFedora or Mint for noob?
    link
    fedilink
    arrow-up
    14
    arrow-down
    1
    ·
    1 year ago

    In general I would recommend any Debian derivate for beginners that just don’t care about how their computer is operating. So if this is really just a question regarding eight Fedora or Linux Mint then I would say Linux Mint because it’s a Debian derivative.

    That’s simply because chances are high stat you will at least find a Deb package for any proprietary software you might want to use. Making it “easier” for the user.

    If you install the system for your friend you’re free to change the Desctop environment to everything you want.






  • Because usability. If you have the files down down1 down2 downxyz and download and the user only knows that it was “something with down” it’s best to show the user everything matching “down*” and let the user decide what’s the correct one.

    Also I’m not sure but wouldn’t your expression show everything if only one character would be entered?

    And again I don’t see this solving anything if the entered string actually contains other characters then what’s in the file (D != d)

    Yes one could argue that some form of advanced algorithm or even AI could be used to identify such use case like download and Download but this is programming Humor, not linguisic Humor.