• kibiz0r@midwest.social
    link
    fedilink
    English
    arrow-up
    16
    ·
    7 hours ago

    “Definitely not occult magick. Just gotta use cat to trace lines for my headless daemon and track down this zombie orphaned child. Maybe there’s something in the journal about what it bound to before the memory pool told it to sleep. … Why are you looking at me like that?”

    • lauha@lemmy.world
      link
      fedilink
      arrow-up
      8
      ·
      6 hours ago

      “it’s just math”

      Anyone who claims modern smart phone isn’t a cursed item is just kidding themselves.

    • mnemonicmonkeys@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      3
      ·
      7 hours ago

      Completely off topic tangent: the people that started the KKK also really wanted to play as wizards. If LARPing and/or D&D were a thing at the time they might not have become a thing

  • huquad@lemmy.ml
    link
    fedilink
    English
    arrow-up
    71
    ·
    10 hours ago

    I still remember the first time I had to sacrifice a child to get more memory

  • copacetic@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    37
    ·
    10 hours ago

    Programming is the closest thing to magic we have. Incant the right words and you can do nearly anything.

    It doesn’t stop being magic just because you know how it works. -Terry Pratchett

  • thesdev@feddit.org
    link
    fedilink
    arrow-up
    9
    arrow-down
    1
    ·
    10 hours ago

    Curses is a Python standard library module (for those who like me have never had anything to do with Python).

    • optional@sh.itjust.works
      link
      fedilink
      arrow-up
      21
      ·
      9 hours ago

      Actually, curses is much older than Python. It’s a generic library to allow standardized output on non-standardized text terminals. If you see text based user interfaces on Posix systems, you can be 99% sure that it’s based on curses (or its successor ncurses).

      Developed for C in the late 1970s, it now has bindings for dozens of languages from Ada to Zig

      • esc@piefed.social
        link
        fedilink
        English
        arrow-up
        4
        ·
        9 hours ago

        Do people still use original curses and not ncurses (which is a bit newer than python)?

        • optional@sh.itjust.works
          link
          fedilink
          arrow-up
          4
          ·
          edit-2
          4 hours ago

          I’m not too deep into the history of curses, but as far as I read, ncurses was just a rebranding of pcurses when a new maintainer took over. And pcurses is an open source clone of curses from 1983.

          So whether python or ncurses is newer depends on if you consider the renaming as the birth of ncurses, or the date when its first line of code was written.

    • Malgas@beehaw.org
      link
      fedilink
      English
      arrow-up
      4
      ·
      9 hours ago

      Not just Python. It’s a terminal control library for Unix-like systems (originally BSD, but widely ported).

      • optional@sh.itjust.works
        link
        fedilink
        arrow-up
        7
        ·
        8 hours ago

        It’s a console tool for image manipulation. Basically Photoshop with a command line interface. It’s working in the background of a lot of other software for image editing. Though it had problems with an unstable CLI interface in the past, so if you plan to use it in scripts, you might want to look at graphicsmagick which is a fork aiming for a more stable API.

  • saltesc@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    10 hours ago

    Don’t forget Suuuupeeer Intelligence by Vibe

    Mere mortals exceed these planes!

    Yes, exceed… Such is this magic.