News for hackers. Stuff that matters.
Re:An Elixir/LiveView game written entirely by ChatGPT by blacksmithgu on Saturday December 03, 2022 @12:38PM (#33845318)
ChatGPT could probably pass most FAANG programming interviews - it's successfully done linked list inversion, binary tree searches, dynamic programming like knapsack, and will even do program design if you ask it how to design a data structure or class.
Re:An Elixir/LiveView game written entirely by ChatGPT by bugfix-66 on Saturday December 03, 2022 @12:53PM (#33845520)
The training set is full of code for these problems.

Put your query into Google and see how many thousands of answers appear.

Your tests are in the training set.

Re:An Elixir/LiveView game written entirely by ChatGPT by avip on Saturday December 03, 2022 @01:23PM (#33845880)
True but the horrifying truth is 95% of our actual problems at work are also in the training set...
Re:An Elixir/LiveView game written entirely by ChatGPT by imtringued on Sunday December 04, 2022 @05:38AM (#33852389)
My biggest problems are obscure bugs that I would hardly understand even if the AI would just give me the workaround.
Re:An Elixir/LiveView game written entirely by ChatGPT by dpflan on Saturday December 03, 2022 @01:05PM (#33845672)
This idea is why I wanted to see the code created by GPT at each step during this conversation for this post...
Re:An Elixir/LiveView game written entirely by ChatGPT by teaearlgraycold on Saturday December 03, 2022 @01:08PM (#33845714)
Oh wow. I'd love to see someone set up an environment where GPT solves a programming interview incrementally as a human would - with a teleprompter of describe-as-you-go text for the interviewee to read out. Couple it with speech-to-text for follow up questions and you can conman your way through any coding focused interview.

Not that I want or need this to pass interviews. But it would finally force the industry to find a better way to evaluate candidates.

Re:An Elixir/LiveView game written entirely by ChatGPT by aloner on Saturday December 03, 2022 @01:25PM (#33845899)
Cheat on your Technical Interview as a Service™
Re:An Elixir/LiveView game written entirely by ChatGPT by ninkendo on Saturday December 03, 2022 @01:12PM (#33845758)
I pasted in the question I typically ask candidates at $dayjob. It did better than the vast majority of candidates. (It’s a very open ended architectural question that’s specific to the industry I’m in.)

At the end I said “write it in Rust” and it wrote a plausibly good implementation.

I’m not sure I can trust remote interviews any more…

Re:An Elixir/LiveView game written entirely by ChatGPT by qzw on Saturday December 03, 2022 @02:37PM (#33846538)
Actually it sounds like recruiting just got a lot easier for you!
Re:An Elixir/LiveView game written entirely by ChatGPT by abecedarius on Saturday December 03, 2022 @03:01PM (#33846735)
That's close to answering a question from a bit over a year ago: "in 5 years will there be an AI that's better than 90% of unassisted working programmers at solving new leetcode-type coding interview questions posed in natural language?" https://news.ycombinator.com/item?id=29020401

It didn't get a very welcoming reception -- "highly unlikely", and the tenor of other opinions in those comments then tended the same way. But I was being too conservative. (I thought so at the time but it felt sort of outside an Overton window of reasonable technology opinions.)

Re:An Elixir/LiveView game written entirely by ChatGPT by imtringued on Sunday December 04, 2022 @05:35AM (#33852367)
What? Leetcode is purely about memorization. Of course a model trained on those solutions will regurgitate them. That how humans do it!
Re:An Elixir/LiveView game written entirely by ChatGPT by abecedarius on Sunday December 04, 2022 @11:36AM (#33855134)
you missed the word 'new'
Re:An Elixir/LiveView game written entirely by ChatGPT by naiv on Saturday December 03, 2022 @03:51PM (#33847212)
Same here. It passed the tests for backend / frontend and created perfect unit tests as well.
Re:An Elixir/LiveView game written entirely by ChatGPT by xrd on Saturday December 03, 2022 @04:36PM (#33847631)
But if it's a remote job, won't that same developer do great by just delegating all their tasks to the AI, just like they did in the interview? Crazy stuff.
Re:An Elixir/LiveView game written entirely by ChatGPT by astrange on Saturday December 03, 2022 @11:31PM (#33850630)
I asked my usual question and it got the answer wrong, but in a believable way that it could’ve learned on stackoverflow.

(Basically it tried to parse HTML with regexes.)

Re:An Elixir/LiveView game written entirely by ChatGPT by Der_Einzige on Saturday December 03, 2022 @04:00PM (#33847304)
It's been an open secret on blind that cheating on remote interviews is highly, highly common, and has been with language models since late 2019. Best part is that these same folks end up getting promoted because as it turns out once you have passed the stupid coding hazing ritual, most jobs at the FAANG will NOT need you to solve leetcode style problems.

I'm honestly excited as heck that something will finally kill off this practice. Don't let the door hit you on the ass on the way out, leetcode.