Hacker News new | ask | show | jobs
by NZ_Matt 1209 days ago
I wouldn't say so. The 'Learning by mistakes' step in the demo shows that the AI can work through these issues, presumably this can be done more efficiently than a human.
2 comments

The learning from mistakes part of the example is – you tried /port_wines but the path is /wines/port instead.

But what about if the path is actually /beer and you have to pass a hidden undocumented query parameter called ?wine=1 for it to give you wines. But then the response is still of Beer objects (because that's the only thing the API validator would allow), so you have to map all the Beer fields to their equivalent Wine counterparts. But not all of them make sense, so you have to ignore them. Which ones? Ask the engineering team. Turns out the guy who wrote all this left years ago, and no one remember how it works. Someone digs up a link to a documentation page, but that internal wiki was taken down and so it returns a 404. You ping a sysadmin to see if they kept any backups. He points you to a few PBs worth of SQL dumps from an internal migration a few years ago and asks you to take a look in those. You simultaneously have to write up a status update for senior leadership which is due by end of day and give them a revised launch date for the project. They want to know why it can't be done in half the time.

The day an AI can figure all this out, I will be looking for another career. Until then I'm fine.

The problems you describe are working around problems that humans have created.

If you let the AI both create the API and use it, you can avoid the problems humans create.

not to give anyone any ideas, but you could just give it an owasp fuzzer...
As long as their reasoning capabilities for the general case (system 2 thinking) remains limited, trial and error will only get them so far.
unless the "try again stage" incorporates the results of a google search for the error message of the api
The Google search that would be returning results from human programmers…?

So given time the AI could no longer debug new software as there would be no programmers only assistants.