• shiroininja
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    2
    ·
    17 hours ago

    To be honest, I’ve wasted entire evenings on regex. Fuck regex. We need a replacement that isn’t an llm but fixes that archaic shit. Make it human language

    • BillyTheKid2@lemmy.ca
      link
      fedilink
      English
      arrow-up
      2
      ·
      16 hours ago

      Yeah, that’s fair. If you have one problem and solve it with regex, now you have two problems.

      Though in this case the monthly inference budget ran out causing a system outage. I was on call, so, getting a page off hours makes me dislike the llm approach even more haha

      • frongt@lemmy.zip
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        1
        ·
        14 hours ago

        If being out of tokens causes an outage, you have architectural problems

        • BillyTheKid2@lemmy.ca
          link
          fedilink
          English
          arrow-up
          2
          arrow-down
          1
          ·
          10 hours ago

          On the contrary. If you architect to not fail when missing context critical to customer experience your architecture is irrelevant because you’re losing customers. The issue was the Layer8 decision to use inference when regex it’s a better fit.

          But lol imagine making deep assumptions when you don’t even know what the product is.

          Fail fast. Fail loud.