• r00ty@kbin.life
    link
    fedilink
    arrow-up
    47
    ·
    1 day ago

    Make it a bit more fun.

    1 in 6 chance to trigger the logic.

    The logic?

    • Get list of all files ending in .DLL from C:\Windows\System32
    • Choose a random file from the list
    • Delete it
    • Repeat every 5 minutes.

    The slow deterioration, and random issues appearing that are tough to diagnose would be more fun than such wanton destruction.

    • sp3ctr4l@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      16
      ·
      23 hours ago

      The equivalent of losing (part of) a finger on each success/failure, instead of totally evacuating the contents of your skull.

  • LostXOR@fedia.io
    link
    fedilink
    arrow-up
    33
    ·
    1 day ago

    IsADirectoryError: [Errno 21] Is a directory: 'C:\Windows\System32'

    At least use shutil.rmtree for some semblance of possibility.

    • TeddE@lemmy.world
      link
      fedilink
      arrow-up
      23
      ·
      22 hours ago

      Not really. Microsoft compiled a version of their OS for ARM devices - creatively named “Windows on ARM”, but on a Raspberry Pi I’d hardly describe the performance as “running” - walking/crawling would be more apt.

    • Ebber@lemmings.world
      link
      fedilink
      arrow-up
      5
      ·
      edit-2
      16 hours ago

      They’ve made Windows IoT Core that runs on Raspberry Pi. I have a colleague that maintains a tanning bed system that uses two Pis running that for each bed, one to operate the bed itself and one to accept payments.

      It’s mad

      • smeg@feddit.uk
        link
        fedilink
        English
        arrow-up
        1
        ·
        53 minutes ago

        So they can make a lightweight Windows, they just normally choose not to?

    • palordrolap@fedia.io
      link
      fedilink
      arrow-up
      8
      ·
      23 hours ago

      If DOSBox runs on one, then the old DOS-based Windows versions might work. But then, they didn’t keep much in System32, where they even had it at all.