lemmy.onlylans.io
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Deceptichum@quokk.au to Programmer Humor@programming.devEnglish · 14 hours ago

don't do ai and code kids

quokk.au

message-square
163
fedilink
870

don't do ai and code kids

quokk.au

Deceptichum@quokk.au to Programmer Humor@programming.devEnglish · 14 hours ago
message-square
163
fedilink
  • Damage@feddit.it
    link
    fedilink
    arrow-up
    6
    ·
    12 hours ago

    Windows has rmdir?

    • rtxn@lemmy.world
      link
      fedilink
      arrow-up
      12
      ·
      edit-2
      9 hours ago

      Uh… kinda? Powershell has many POSIX aliases to cmdlets (equivalent to shell built-ins) of allegedly the same functionality. rmdir and rm are both aliases of Remove-Item, ls is Get-ChildItem, cd is Set-Location, cat is Get-Content, and so on.

      Of particular note is curl. Windows supplies the real CURL executable (System32/curl.exe), but in a Powershell 5 session, which is still the default on Windows 11 25H2, the curl alias shadows it. curl is an alias of the Invoke-WebRequest cmdlet, which is functionally a headless front-end for Internet Explorer unless the -UseBasicParsing switch is specified. But since IE is dead, if -UseBasicParsing is not specified, the cmdlet will always throw an error. Fucking genius, Microsoft.

      • UnspecificGravity@infosec.pub
        link
        fedilink
        arrow-up
        4
        ·
        6 hours ago

        Jesus, They really just need to start over.

      • Damage@feddit.it
        link
        fedilink
        arrow-up
        4
        ·
        8 hours ago

        That’s hilarious

    • Deceptichum@quokk.auOP
      link
      fedilink
      English
      arrow-up
      9
      ·
      edit-2
      12 hours ago

      https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/rmdir

      Apparently.

    • Redkey@programming.dev
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      11 hours ago

      “rd” and “rmdir” only work on empty directories in MS-DOS (and I assume, by extension, in Windows shell). “deltree” is for nuking a complete tree including files, as the name suggests.

      • Cevilia (she/they/…)@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        16
        ·
        11 hours ago

        In the original Reddit post it’s mentioned that the agent ran “rmdir /s” which does in fact work on directories containing files and/or subdirectories.

        • FalschgeldFurkan@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          6 hours ago

          “rmdir /s” - /s for sarcasm

          “Where the fuck is all my data?”

    • qevlarr@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      12 hours ago

      Wait, what do people use other than rmdir?

      • underisk@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        4 hours ago

        Windows explorer

      • Damage@feddit.it
        link
        fedilink
        arrow-up
        1
        ·
        11 hours ago

        I don’t have a Windows computer on hand, but I think del works on directories? I’m going by very old memories here

Programmer Humor@programming.dev

programmer_humor@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1.4K users / day
  • 3.76K users / week
  • 8.65K users / month
  • 18.6K users / 6 months
  • 1 local subscriber
  • 27.6K subscribers
  • 1.96K Posts
  • 74.4K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.8
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org