Live data from Hacker News

AI solves Advent of Code 2022

note89.github.io

1–10 of 82 posts

Re: AI solves Advent of Code 2022

#3

The linked solution is done by talking to the AI. Automated solutions exist too: * https://twitter.com/ostwilkens/status/1598458146187628544 * https://www.reddit.com/r/adventofcode/comments/zb8tdv/2022_d... * https://twitter.com/max_sixty/status/1598924237947154433

That's just unfair for the competition. Are we at a point in time when we need to treat competitive programming like chess?

Given how similar ChatGPT and siblings are to how chess bots work these days, I am somehow not surprised.

Re: AI solves Advent of Code 2022

#5
The reason the puzzles are fun is they are extreemly well explained and designed to be solved with popular algorithms. This does seem a good fit (especially as the training set must have hundreds of thousands previous years solutions)

Re: AI solves Advent of Code 2022

#6

The linked solution is done by talking to the AI. Automated solutions exist too: * https://twitter.com/ostwilkens/status/1598458146187628544 * https://www.reddit.com/r/adventofcode/comments/zb8tdv/2022_d... * https://twitter.com/max_sixty/status/1598924237947154433

That's just unfair for the competition. Are we at a point in time when we need to treat competitive programming like chess? Given how similar ChatGPT and siblings are to how chess bots work these days, I am somehow not surprised.

I think the only problem is that they're proprietary. If they were free software that everyone could use then we could compensate by making the problems harder.

It's not really any different to using high-level programming languages with extensive standard libraries versus doing everything in assembly language.

Re: AI solves Advent of Code 2022

#7
I think it must have seen the solution somewhere already on the web. I find it extremely hard to believe that such a general purpose chatbot would just be able to solve programming problems. Deepmind had a paper [1] on solving programming problems a couple of months ago and they had to apply quite specialized heuristics in order to solve these problems. Obviously ChatGPT does nothing of the sorts and it just seems extremely unrealistic that it would be capable of outperforming previous work like that.

[1] https://news.ycombinator.com/item?id=30179549

Re: AI solves Advent of Code 2022

#8
I think this is kinda neat (and scary!)

I'm doing AoC at the moment too and I'm using the chat GPT thing as a sort of assistant. I don't program in Rust much so sometimes it's difficult to remember certain things and functions. Expressing my intent to the tool seems to come up with decent answers

Some example questions I've asked the tool recently:

> I want to insert a char into a hash map if it does not exist, if it does increment a counter

> rust find common keys in two hashmaps keyed by char

Yes they can probably be found on stack overflow or whatever but it feels more natural this way.

...and yes I could just go down the route of getting the thing to solve the AoC challenge completely but that's no fun

Re: AI solves Advent of Code 2022

#9

I think it must have seen the solution somewhere already on the web. I find it extremely hard to believe that such a general purpose chatbot would just be able to solve programming problems. Deepmind had a paper [1] on solving programming problems a couple of months ago and they had to apply quite specialized heuristics in order to solve these problems. Obviously ChatGPT does nothing of the sorts and it just seems ex…

This was the first solution, submitted very quickly after the problem was published.
Post reply on HN