I’m using sqlite this year. Hoping that there won’t be any computational geometry or trie problems. Kind of hoping for a graph problem solvable with recursive CTEs, that would be cool.
As every year, I try to solve it with 1 sql statement for every challenge, https://gitlab.com/feike/adventofcode/-/tree/master/2024 , likely going to get stuck again around day 12/13 or so!
Advent of Code 2024
571–580 of 580 posts
Re: Advent of Code 2024
#572Earlier quoted context omitted.
Here's your opportunity to learn something: Different people can get enjoyment from the same thing in different ways, and you can learn things about data structures and algorithms without learning the syntax of a particular language to implement them.
You don't need an ai to do any of that.
Re: Advent of Code 2024
#573Earlier quoted context omitted.
AI coding assistants ruined the global leaderboard experience. AoC might as well nerf it by discarding the quickest x percent of submissions, or something...
It's not that bad. I'm sure there are more LLM'ers in there than the one, but you can tell that the majority of the day 1 leaderboard is made up of people who have historically performed well, even before LLMs were a thing. Compare https://adventofcode.com/2024/leaderboard/day/1 to e.g. https://fuglede.github.io/aoc-full-leaderboard/ There was also at least one instance of people working together where you would have…
Re: Advent of Code 2024
#574Re: Advent of Code 2024
#575Re: Advent of Code 2024
#576I love AoC! Did it the last 2-3 years in Rust, hanging out in a discord where we all try to make the absolute fastest solutions. Learnt all kinds of crazy performance hacks and some advanced algorithms & SIMD that way. This time I'm trying to do them in Rust and Golang in an effort to either learn to like/tolerate Golang (because we use it at work) or prove my hypothesis that it sucks and never use it unless I have t…
Re: Advent of Code 2024
#577Earlier quoted context omitted.
Can't edit my comment, here's another claiming 12.7 μs and 7 μs: https://old.reddit.com/r/adventofcode/comments/1h3vp6n/2024_... Another claiming 30μs and 32μs: https://old.reddit.com/r/adventofcode/comments/1h3vp6n/2024_...
For an interesting comparison, here's BQN, an array language, at 25.5μs (on an i3-4160) for both parts, including input parsing: https://github.com/dzaima/aoc/blob/master/2024/BQN/1_fast.bq...
Re: Advent of Code 2024
#578Earlier quoted context omitted.
What if you don't get up?
If it's a work day and I don't wake up on time, I'll pick away at it over the course of the day - usually I'll get a chance to think about it on my tram ride to work and complete it at lunchtime If it's a weekend I'll just do it at my leisure at some point during the day when I have some time - maybe head to a nice cafe or something. I'm nowhere near the top 100 - closest has been iirc top 200 a few years back - so i…
Re: Advent of Code 2024
#579Earlier quoted context omitted.
While I personally wouldn't find it a ton of fun to solve the puzzles that way, that's pretty cool. Nice work. Is there a place where you're blogging this or at least aggregating the links so we can see how far you get with it as the puzzles get more challenging?
Fair enough! I'll document my progress at https://github.com/jmandel/advent-of-claude/tree/main , though I may not keep up.
Re: Advent of Code 2024
#580Earlier quoted context omitted.
This is how most of the top of leaderboard works.
Do you have any evidence to support that claim? Competitive programmers (especially those with their own libraries ready to go) can be incredibly fast at solving coding challenges.