• 35 Posts
  • 900 Comments
Joined 2 years ago
cake
Cake day: June 9th, 2023

help-circle
  • If you’re coding or whatever this is fine.

    I want coders to learn from trusted sources too. How do you authorize a user and store the password (plain text, hash, encrypt)? Do you use MD5 or SHA-256? (Always hash passwords, don’t use MD5)

    If you have to encrypt some information, do you use AES or Triple DES ? (never Triple DES)

    When authorizing with OAuth, should one send the auth url, client id, client secret, scopes, and redirect url to the client machine? (yes, yes, no, yes, yes)


    These are basic questions with answers that are easy to find…and many programmers get them very, very wrong. Mostly out of carelessness, often the question itself doesn’t even pop into their head.

    Relavent XKCD











    1. I personally recommend Mint as the out-of-the-box experience is very familiar to a Windows user and the OS comes with everything one would expect a desktop OS to have pre-installed. That said, don’t stress too hard over the distro. This isn’t like Windows vs MacOS where everything is completely different. No, basically all your knowledge of one distro is transferable to another distro if you decide to change it up in the future.

    2. At this point, I just assume a game works in Linux unless proven otherwise. Hit install in Steam and then hit play, no extra effort required. There are some that won’t, mostly games that use kernel-level anti-cheats and specifically disable the game if running in Linux. There are only a few dozen games total that fit this description. ProtonDb is a great resource for confirming if a game works or what tweaks might be desired. Anything rated Gold or higher you can assume will just work without you having to mess with it.

    3. Linux is less of a resource hog than Windows, so if your computer is strong enough for Windows, it will work great on Linux too.

    4. If you wish to dual boot, using two different drives is generally the way to go. Doing two different partitions works, but Windows really, really hates other OSes being installed along side it, even other Windows installs. Gaming is my primary pastime and I haven’t booted into my Windows drive in months. From my experience for the average person, a dual boot is only something you will want temporarily as you get used to the unfamiliar OS.

    5. Good luck on your swap. I’m damn happy I did it and hope you will be too!