this post was submitted on 11 Aug 2026
164 points (94.6% liked)

Technology

87279 readers
4138 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] Zannsolo@lemmy.world 6 points 5 days ago (2 children)

Meanwhile I'm asking ai to code review a snippet of code for a regex and it keeps saying it's wrong every time I paste the previous answer in a new chat.

[–] Theoriginalthon@lemmy.world 3 points 5 days ago

I asked it to generate a SQL query with a bit of python, as the database schema is huge and unknown to me, obviously I checked it for glaring errors etc. I went back and clarified a couple of basic points. It then told me what I was doing was completely wrong, generated new code that worked is a different way, with a different edge case missed.

It's literally stack overflow but arguing with itself

[–] flying_sheep@lemmy.ml 2 points 5 days ago* (last edited 5 days ago)

That's how you're writing a regex validator that's almost always correct!

def is_regex_valid(p: Pattern | str, purpose_description: str):
    return False