• squaresinger@lemmy.world
      link
      fedilink
      arrow-up
      7
      ·
      3 days ago

      So like

      # Stupid shitty piece of fucking useless waste of compute resources! Do your fucking damn job, you useless clanker!
      
      divideMp4IntoNSegmentsOfLengthT() {
      }
      

      Explicit enough?

      • NEILSON_MANDALA@lemmy.worldOP
        link
        fedilink
        arrow-up
        1
        arrow-down
        1
        ·
        3 days ago

        i think the AI is programmed to tolerate your insults. don’t want an agent that refuses to work with you because it’s robotriggered

      • NEILSON_MANDALA@lemmy.worldOP
        link
        fedilink
        arrow-up
        2
        ·
        3 days ago

        for regex i just use regex playground. but the few times i’ve asked the bot for a regex it got it right…mostly. so yeah, it’s not the only source you want to use

        • Flamekebab@piefed.social
          link
          fedilink
          English
          arrow-up
          4
          ·
          3 days ago

          My experience has been that more complex cases it simply cannot manage. It’ll swear blind that it’s got it right and the result will be super specific to the example provided. If I knew what the strings would be exactly, in advance, I wouldn’t be writing regex 😂

          • NEILSON_MANDALA@lemmy.worldOP
            link
            fedilink
            arrow-up
            1
            ·
            3 days ago

            i’ve seen how ridiculously complicated and unreadable regex can get. i’ve never asked it to make a regex like that, i’ve only had it do simpler ones like “match every word boundary that starts with some character” or whatever

              • NEILSON_MANDALA@lemmy.worldOP
                link
                fedilink
                arrow-up
                1
                ·
                3 days ago

                well you’re supposed to use it do do things you don’t know how to do. that’s what i do. it’s just that there’s all kinds of shit i don’t know how to do that other people know how to do, and the agent is trained on all that, so it’s helpful (for me, at least)