• 0 Posts
  • 13 Comments
Joined 1 year ago
cake
Cake day: June 12th, 2023

help-circle

  • tool@lemmy.worldtoProgrammer Humor@lemmy.mlC++ Moment
    link
    fedilink
    English
    arrow-up
    8
    ·
    8 months ago

    On Error Resume Next never before have more terrible words been spoken.

    Every time I’m reading a PowerShell script at work and see -ErrorAction SilentlyContinue I want to scream into a pillow and forcefully revert their commit.

    I’ve actually done it a few times, but I want to do it every time.






  • BTW, any authenticator app works when it tells you to use one. They all use a standard, so it doesn’t matter which one you use.

    Eh, it’s a little more nuanced than that, there’re more standards for MFA code generation than just TOTP.

    And even within the TOTP standard, there are options to adjust the code generation (timing, hash algorithm, # of characters in the generated code, etc.) that not all clients are going to support or will be user-configureable. Blizzard’s Battle.net MFA is a good example of that.

    If the code is just your basic 6-digit HMAC/SHA1 30-second code, yeah, odds are almost 100% that your client of choice will support it, but anything other than that I wouldn’t automatically assume that it’s going to work.






  • This is the first lesson you have to learn as a Linux enthusiast, NEVER run commands you don’t know from the internet

    “Nah, just curl this random web address and pipe it over to a sudo bash shell, everything will be fine!”

    I hate how this is becoming the official install method for more and more shit. It’s like dude, really? You may as well stick your dick in a garbage disposal, both of those actions are equally safe.

    You’re dreaming if you think I’m not going to wget it and read it to see what it does first.


  • I’m forced to use either Chrome or Edge for my work computer and it drives me crazy.

    I’ve been a Sysadmin for a ~decade. I can state with 100% certainty that the reason behind that decision is that you can very easily configure Group Policy to control the behavior and visibility/availability of features in Chrome and Edge. Firefox didn’t have that until just a couple of years ago, and it wasn’t great when it first became available. And to be honest, it’s still not fully baked, but it’s at least usable now from an administrative perspective.

    Maybe bring it up to your IT department and include this link in the email/ticket.