• pivot_root@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      1 month ago

      Powershell does the opposite, having an alias from ls to whatever the powershell equivalent of dir is.

      • rtxn@lemmy.worldM
        link
        fedilink
        arrow-up
        0
        ·
        1 month ago

        It gets better. PowerShell 5, which is still the default installation on Windows 11, aliases curl and wget to Invoke-WebRequest. The fucked-up part is that Win11 includes the real curl too, but the alias shadows it, and you have to use curl.exe. The even more fucked-up part is that Invoke-WebRequest still uses Internet Explorer to parse the result, and will panic if -UseBasicParsing is not passed every time, or IE isn’t installed and initialized.

        I used to develop applications in PowerShell. I still wear the mental scars.

        • pivot_root@lemmy.world
          link
          fedilink
          arrow-up
          0
          ·
          30 days ago

          The even more fucked-up part is that Invoke-WebRequest still uses Internet Explorer to parse the result, and will panic if -UseBasicParsing is not passed every time, or IE isn’t installed and initialized.

          That is absolutely horrifying.

    • Finadil@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      1 month ago

      I got used to all the other Linux commands, but I had to make an alias for md=mkdir. Why that already isn’t a thing is beyond me.

  • Zink@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    29 days ago

    My preferred alias is

    alias l='ls -latrF'
    

    It’s the command line version of setting your file browser to list files with details instead of showing a grid of icons.

    Edit: I did install sl thanks to some of the other comments. Beautiful!

  • saltesc@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    1 month ago

    I’ve done similar before and was still blown away by the bad data.

    Somewhat unrelated, but still a hell of a story in the power of human input into data…

    Working in the healthcare industry during COVID, federal law had 18,000 of our employees required to submit proof of vaccination to continue working in our hospitals and clinics. All they had to do was get their vaccination certificate PDF off the government website, type in their staff number, and upload the form, we then submit this information as the employer to confirm that these people do indeed work for us and are safe to continue doing so.

    56% managed to do it. The rest were all sorts of shit. Most common were people that took photos of their computer screen, converted the photo to PDF, and uploaded that. Next most common was people print the PDF, scan it, then upload the scan PDF.

    We had thought of everything to make a simple download then upload as easy as possible, including a 3 step video, and yet they went above and beyond in unimaginable ways. The people that genuinely didn’t know what to do hit the support link so they could be guided through it and did things perfectly in a couple mins—the self-confessed computer illiterate people were not a problem at all.

    Thanks to training a form detection bot, I got it down to under 2000 remaining in a day, and the looming threat of “You have to do this or we can’t legally give you work and pay you until you do” quickly sorted out the rest.

    People will ALWAYS fuck things up in ways you’ve never thought of before. Reading the short, clear, and user friendly instructions for the simple job doesn’t work and they’ll get angry that something went wrong, every fucking time.

  • pixeltree@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 month ago

    What do you have against desktop calculator? I used to do some code golfing with it even

    Poor dc, no one ever uses it on purpose it seems D=

  • nickwitha_k (he/him)@lemmy.sdf.org
    link
    fedilink
    arrow-up
    0
    ·
    29 days ago

    I, for one, really love HTTP over

    apache2.conf
    conf-available/
    conf-enabled/
    mods-available/
    mods-enabled/
    sites-available/
    sites-enabled/
    envvars
    magic
    ports.conf
    sites-available/
    sites-enabled/