logoalt Hacker News

herrkanintoday at 9:08 AM6 repliesview on HN

The thing that makes it work really well is to make sure it has all the tooling to verify its hypotheses. If you allow it to run the full lifecycle in loops you will be surprised how well it works.


Replies

jfrbfbreudhtoday at 10:17 AM

Built exactly this for work a few months ago. Claude has a read-only account to the dev DB and a bunch of python postgres tools, I point it at queries/views and ask it optimize, and it has to:

1) verify identical query results

2) run repeatedly to get average, worst, best, etc duration of runs

Sped up so many legacy things that none of us were ever going to bother with.

show 1 reply
KptMarchewatoday at 10:40 AM

Exactly. In the above case, AI should be able to verify it's own hypothesis by having access to the database's table statistics and planner.

spiderfarmertoday at 11:21 AM

That’s how I do it in my Laravel apps. I simply ask it to hypothesize, benchmark, apply and verify. Laravel has great tools for that.

cenamustoday at 10:58 AM

But them it's more like AI assisted performance fuzzing? Just throw stuff against some measuring harness and see what sticks?

show 1 reply
stogottoday at 9:38 AM

What tooling makes this go?

show 5 replies
moron4hiretoday at 12:17 PM

Do you people just not know about the massive, intractable security issues of doing this? Our do you just not care? Do you think it isn't going to hit you? Why do you continue to think this way in the face of the OpenAI/Hugging Face attack?

show 2 replies