News for hackers. Stuff that matters.
Re:A.I. can now write its own computer code – that’s good ne... by raxxorrax on Friday September 10, 2021 @09:23AM (#28481179)
It writes Javascript, that doesn't count.

I doubt it read any API specs and implemented the code for that matter.

The sentence he wrote in this case is probably a programming language that got transpiled to JS.

disclaimer: Only saw the picture because the article is behind a paywall.

Re:A.I. can now write its own computer code – that’s good ne... by Raro on Friday September 10, 2021 @11:06AM (#28482605)
Codex has the capacity to write decent Python code. A large part of getting great results from it is writing clear, well separated, prompts. Also taking it off streaming mode, to get best N results, and penalizing repetition, improves the output dramatically. Even better if you can give further hints (e.g. import pandas) before submitting.

Of course, it's merely trained on code it's seen on GitHub, so it certainly has a particular smell to it (disclaimer: I focus on Data Science related code, which is not always of the highest quality and has its share of cargo-culting).

Most of the demos you will likely have seen are in streaming mode, have vague prompts with a high temperature setting.

Re:A.I. can now write its own computer code – that’s good ne... by chinga1204 on Friday September 10, 2021 @10:04AM (#28481739)
> I doubt it read any API specs and implemented the code for that matter.

That should be easier than an unbounded philosophical discussion with an eight year old sensemaking vocabulary in-formation.