"If you want practice prompting an AI, there are almost certainly better exercises elsewhere designed with that in mind."
There is also this one with the same name but a different concept. https://adventofai.build/
What a strange analogy. AoC is delightful and fun. He might as well have used the dentist!
Oh well, different tastes I suppose :)
Granted, it's possible to do it at home, but for a lot of people the cost of a monthly subscription is a good motivator.
> achieving a new PR
I'm guessing this isn't 'pull-request'?
That world is now. Wits, a form of intelligence, is for machines.
> Maybe it was never about the agents. Maybe it was always about us, arguing with strangers on the interweb.
It won't always be about us. Why do anything that can be automated? Just have an agent do it so you can spend more time mindlessly watch TikTok, as you were always meant to do.
Anyway, it will soon be pointless. Even if you try you'll probably just be arguing with someone's agent.
In the future there will be two distances between people: right in front of you and infinitely far away.
Wait till you hear about Meta glasses
(Disclaimer: This comment was entire made up as a joke, on the spot)
The agents do the work and we do the enjoyment.
For example, I don't feel angry that the elevator taking my job of lifting myself and my heavy items to the top floor. I don't think about it at all, really. Only when it breaks down do I think about it.
People feel accomplishment and pride in lots of things they don't directly labor over. Index funds performing, home equity growing, their sports team doing well, playing a video game, fantasy football, aging wine, etc. etc.
To the degree that the advent of code challenge can bring about a flow state [0] in a person, "the work" is "the enjoyment." For many folks, flow states are not found in what they do to earn money and so they perform activities dubbed "recreational" like rock climbing, snow sking, video gaming, etc. For folks with a certain mind, until the near future they could get paid to do what they enjoy, a wonderful Ikigai [1] condition.
No, AoC is for enjoyment. Pointing your agent at AoC is asking your agent to have fun solving programming challenges while you go do something else.
(Joke's on them, internet clout doesn't exist anymore because interacting with people has been outsourced to agents too.)
I’d like to take a moment to imagine what the conversation would have been like in 2020. Discussing the actual content.
For years I've written up a step-by-step guide to how my code works and published to a little side-blog at https://advent-of-code.xavd.id. It dramatically increases the time it takes to complete each day (I spend much more time writing/explaining than programming) but I've found the practice really rewarding.
I started partly because I wanted to make sure I understand the problems and partly because every solution in the daily Reddit thread is reads like a code golf competition. I get it, people tend to prioritize speed and terseness when solving (leaderboards, etc). But a bunch of inline functions and single letter variables make it really hard to understand their solutions. So in an effort to make something legible to readers of all skill level, my solution looks just like something I'd write at work.
Consider:
1: Write "shorter" prompts that have AI do a smaller, "boring," part of the problem
2: Code by hand for 20-60 minutes on the fun part, then hand off to AI when you hit the boring part.
3: Have AI review your work before you send the PR to your peers.
It is basically as fast to type out a boring problem than it is to wait on an LLM to do it for you and review the output. Having a mix of "boring" and complex problems is good for pacing your energy during a workday.
(And any true boilerplate already has tools to generate it conventionally)
> Have AI review your work before you send the PR to your peers.
That's just the exact same problem happening to review skills.
/output-style explanatory
and /output-style learning
Learning is like explanatory but also reserves parts of tasks for you to complete, then gives feedback.Nobody wants to see your PRs for AoC code.
I created it so I could do 5 mins daily reps to prevent AI skill rot
> to stay sharp
Is this just for the fun of coding or for some other purpose?
[edit: wasn't -> didn't]
Using those skills is no guarantee for not becoming demented, but not using them seems like a pretty clear trajectory. Use it or lose it
The code is still important. Claude can't work it's way through the mess it generates so it's our job to keep it on the rails.
"The computer hasn't proved anything yet. If we were playing a real competitive match, I would tear down Deep Blue into pieces" -- Kasparov 1997
OP was discussing the value of programming skills, so I think it's a little short sighted to answer that question without looking forward just a little bit.
If you're willing to let your brain atrophy until AI takes over, by all means go ahead. I'll choose to keep working on myself.
If you think understanding the code is so useless you’re already done. Just leave people to enjoy things.
What’s the point in even contributing to discussion if you’re okay with your thinking becoming useless? Surely we should leave that kind of thinking to the LLM?
This is the sort of thing I mean about "AI bros not getting it"; they have no real understanding of what AI even is or the context surrounding it but they confidently spout balderdash to "prove" it's inevitability.
I'm basically trying to avoiding falling into what I see as the true definition of "vibe coding". Just asking the AI to build something, with only the outcome in mind and signing off based on vibes alone - "Yeah, that seems good". I still very much feel the need to read and understand what's being built, so I can continually steer the AI in the right direction and step in should I need to. But I do realize, more and more, the "need" to step in is giving way to the "want" to.
Physical and mental health.
Same with things like Sudoku, crosswords, and puzzles like this. There's growing evidence that things like this can help improve cognitive function and slow decline. (Not in everyone obviously.)
I cant believe this is a genuine question to be honest.
Arguing with an internet or AI service outage is hardly relevant to most people. If it doesn't work, you enjoy a slow afternoon and spend time on other tasks, like everyone else is doing.
None of it matters for the decisions and judgements I need to make - I am not thinking about algorithms at all. Actually, it wasn't even a common part of my work before AI either.
And these algorithms have definitely been covered by LeetCode problems, given the way LeetCode problems are engineered using the wrong class of algorithm complexity will result in a _Time Limit Exceeded_ (TLE) error. I'm no fan of LeetCode but I'm sure it's helped some people learn to think twice about their choice of algorithm.
Many inefficient algorithm choices are caught at code review time, by people who have more experience and/or a better understanding of algorithmic complexity, and so the original programmer is directed to learn why, and improve their knowledge so they are less likely to do the same in the future.
Similarly I'm sure there are hundreds of thousands of coding jobs where this kind of detail does not matter at all as the code involved simply never sees the scale where `O(n^2)` instead of `O(n log n)` becomes a noticeable problem.
If I would work on changes in such a load-bearing (pun intended) path, I would certainly attempt to have the AI analyze how scalable the solution is and profile it before submitting the merge request.
Also, what is the difference, honestly, between these 2 framings of the same knowledge?
Whether or not that’s valuable is a personal choice. But if someone says they know how to swim, I’d expect the latter.
I try to do an hour or so of leetcode or codewars a day, I've gone months without and really felt my competency decline. I'm not sure what the outcome of this think-for-me experiment is going to be, but I'm pretty sure its going to end badly for a lot of people. It will be similar to how obesity became endemic once we had machines capable of carrying us everywhere.
Coding is now a solved problem. There is no reason for humans to do that chore any longer.
This is turning out to be quite fortuitous given that model providers have begun sandbagging on this exact area of use.
I was sooo rusty even just implementing todays simple bucket sort thing.
We're certainly not forced to use it and management still expects us to retain the skills that got us hired and promoted in the first place.
On a serious note, somehow I am happy that I was still able to do it by hand. Brain is not rotten yet! I'm sure the latter puzzles will destroy me though (but that has always been the case anyways!)
Another cool idea how to have fun with it that came to my mind would be doing AoC in a language that AI builds for you as you go.
Some people stick to just getting the stars at whatever cost, others look at the challenge in a different way.
With this problem there's:
a) Plenty of solutions that are O(n^2) and worse
b) An O(n log n) solution where n is the number of lines of the input
c) An O(m log m) solution where m is the number of unique values in the input
d) An O(n+m) solution where n is the number of lines in the input and m is the number of unique values in the input
I could tell a lot about someone's real world programming ability if I brought this up in an interview, especially with follow-up questions such as:
1) What if the input was so large it could not be held in memory all at once?
2) What if the input was so large that even a list of unique values could not be held in memory?
etc...
[EDIT]
If you can just point an LLM at it and get the answer without providing anything useful yourself then you've got nothing to differentiate you from every other candidate that can do the same. I'm not looking for people with multiple PhD's but I look for people who know enough to know when the LLM is spouting nonsense or is suggesting something suboptimal that will fail when scaled up.
Interviewing has become more fun because of this. We tailor our interviews so the AI assisted portion gives the candidate enough rope for the AI to paint themselves into a corner if not careful, and then the non-AI portion weeds out the people who don't have (or have lost) the ability to think for themselves.
Similarly, there can be no O(m log m) solution, because you have to read every line in general.
A n = 2 billion line input with a valid deterministic solution could have m = 1 billion unique numbers (which means 'm log m' likely dominates), or it could have as few as m = 6 unique numbers in which case the O(n) part will likely dominate. Basic O() notation is too coarse a measure to capture this nuance.
Taking a deeper look can provide some very useful insights and a better understanding of the more general problem which often translates into real world scenarios in companies that operate at scale.
Optimising something that sorts 20 values is often pointless unless it really lies on a hot path and is called very frequently. It's more about when something that was written to sort ~100 values suddenly starts to become a bottleneck as the service grows and grows unexpectedly and is suddenly needing to sort 100k values, then 100M values, etc.
Taking this particular problem as an example, I've had candidates who run the complete spectrum from claiming it's impossible to find the top 3 and bottom 3 values without sorting the entire list of frequency counts (one even claimed we'd have to sort the raw input list for any chance of getting an answer), to the candidate that says "...once you have the frequency counts then finding the final answer is just a pair of max-heaps of size 3, but this depends on whether you can hold the set of frequency counts in memory or not, if not we'd have to take a different approach. Also, max-heap might seem overkill, if you wanted highest and lowest you wouldn't use a pair of max-heaps of size 1, but 3 is about the cutoff where manual tracking of the top/bottom values becomes tricky, and using a heap makes it trivial to move to 4, 5 or any other value if that becomes a need in the future".
(To be clear, I've never asked/discussed this specific question in an interview, I'm just translating responses for a similar problem.)
I understand now most people don't program much of anything, but sorting a list is really far from arbitrary syntax
I think that it is connected to Advent Calendar which is I think related to German traditions (I know this because of Netcup and berohost deals, btw Berohost currently has Advent Calendar which I just observed today)
Yet, I didn't connect it to Advent of Code but because the link that you shared says: " A 12-day Advent calendar of Linux and DevOps challenges of different difficulties"
it finally made me all click! and why Advent of code is named what it is and why its done in december
https://forum.ada-lang.io/t/charity-advent-of-ada-spark-2026...
I have this funny belief that sounds something like this: learning happens fastest when the next adjacent step is within a certain mental distance. Too far and you just get stuck. Too small and well you don’t learn something new.
And for me, Advent of Code has simply been too big of a mental leap.
This year I’m excited to try it with Claude! An attempt to shrink that mental distance. The risk is it becomes too small and I learn nothing.
If there’s others here who want to compare notes on their process or have suggestions I’m all ears.
1. If I'm stuck, take a break, go cook dinner or something else and mull over solutions in the back of my mind for at least an hour or 2 (better yet, sleep on it). If I'm still stuck after that, I'll ask AI for a hint.
2. I have in my prompt to not give away the answers, but try to give me little hints.
3. Always write the code by hand.
4. Once I've solved the puzzle, I have AI review the solution and suggestion improvements or other techniques I could have used.
You're spot on, this sweet spot is also one of the premises of the book Flow by Mihaly Csikszentmihalyi
I am using literary programming in MarkDown where I use an application to collect C code fragments in one or more MarkDown files and put them in the correct order to be compiled. See: https://github.com/FransFaase/AdventOfCode2026
Starts off very easy as usual
Or maybe using git primitives, fitting the computation using its data representations and functions. Or maybe bitcoin transactions (using a private simulated network obviously). How about going analog ? There must be something in my bookmarks about people using dominos or radio waves to do computation.
I don’t think google sheets itself was the limiting factor on solving more of the puzzles (but rather effort). There was something I found uniquely satisfying about working around a constraint like this to solve what probably would have been a single line of python.
https://www.reddit.com/r/programming/comments/1y9m6dd/commen...
[vi|emacs] day1.[py|c|sh|rb|pl...]
Don't use an IDE unless you want to use it to learn your IDE - just use a simple editor, none of the problems need advanced IDEs to solve. Use a language you like, or you want to learn. Don't use AI, unless you're trying to figure out how to build a spec-driven harness from weird and esoteric problem statements.The point of AoC for me has always been, and always will be (while it exists), to have fun coding. I don't want it to feel like work. I don't want help. I don't want to write a HLD doc, or a spec, or get around a whiteboard unless a bunch of us are going to have fun debating a solution.
It's just me and some code solving a fun little problem, and then another, every day a puzzle gets published.
It's joyous. IDEs rarely add to that.
sort |
uniq -c |
sort -nr |
{ head -3; tail -3;} |
sed 's/.* //' |
paste -sd'**\n' |
bcIt's like constant roadblocks in my flow.
Or not, if that's your thing
~ # vim main.c
:-)
- Settings > Tools > AI Assistant > Project Settings
Uncheck "Enable AI Assistant for this project"
- Settings > Editor > General > Code Completion > Inline
Uncheck the "Enable inline completion using language models"
Or set "Provider" to "None" and optionally uncheck "Use local model".
I played Opus Magnum a few weeks back and it was the same exact feeling. The glyphs make it seems like dealing with arcane knowledge instead of the calculus feeling of functional programming and the checklist feeling of imperative programming.
I just can't resist the leaderboards, which means pulling the problems as soon as they are available.
This leads me to trying to perform maximally at 11pm, which leads me to not being able to sleep until my mind is less active.
Now I just have to wait until the whole thing is over and do the month all at once, with no competition.
My personal relationship with it aside, I love that it exists.
But I have almost never used awk, so don't blame it on AI brainrot! :)
A short, creative vibe coding puzzle. The first one is Slop Aquarium.
On a satirical side note, someone should release an Advent of Vibe Code, featuring, but not limited to:
- one-shot a new operating system kernel
- rewrite a bank's system in Rust
- build a spreadsheet where every cell is an autonomous agent
So, I can't play then?
Github is free and you'll probably need an account with them at some point, so why not register there?
Signing up isn't hard-- it's forcing people to sign up to "big company X" that is messed up. If you want me to sign up, let me choose a username/password.
Heck-- if it's not a big deal, you could create a public account usable by anyone for simply submitting answers, etc.
A real lack of creativity and willingness to update. There are still interesting problems that would challenge a human working with a coding agent.
It's a dude making interesting problems for humans for free, if you don't like it, well then just don't do it. I'm sure someone else can make 12 days of vibecoding if they want.
I should turn off Intellisense...
Or just use Notepad++ or something... Like a cave-person...
Guy posts a bunch of interesting chess puzzles
Here: Let's see what Stockfish can do
Of course you can use AI to solve the Advent of Code, but what's the point? That's not even a clever hack, it is the obvious thing, and there is no global leaderboard anymore, so you won't gain anything by doing that.
Maybe if you are a complete noob in AI coding and want to try it out, or maybe you want to challenge yourself with tiny models, but otherwise, wasting Claude tokens on it seem a bit childish.
( I enjoy AoC a lot, but the first week is really just an exercise in typing speed. Or perhaps warm-up on the language if you're using one you haven't used before. )
Like, it's a challenge for _fun_ for humans.
What is the point of "auto solving" it by AI, I mean sure for work that makes sense, but for a hobby programming challenge????
If somebody mentioned AoC to me in an interview (and arguably leetcode actually), I'd start asking probing questions and I'd expect to hear answers about having fun solving tricky problems and to hear about appreciation of whimsy in coding. I want to hear about people doing this stuff for fun when they invoke fun things like this.
If they can't bring all that to my follow-ups, they're not going any further in the process.
(Like seriously if neither by statement _nor context_ you can differentiate a statement between sarcasm/human then it isn't really either of it but plain bad communication instead. Yes some people will sometimes miss clues, but here there is pretty much no clue, at best you can maybe barely argue the demanding tone instead of a question "if there is ..." could be barely seen as clue.)
Some guy was asking "Wait, what if I summon it, and then get on a train? What happens then?"
To which the only legitimate response is: why are you trolling your car?
It's fun sometimes to think about how to optimise or find an edge case, or do something others haven't.
But please, with AoC, let's leave all the AI at the door and just go and have fun for a couple of weeks.
There's probably more content about this on HN if you search for it
Approximate any learnings along the way in a tight blurb."
It makes no sense to continue this since the cheaters will just spoil the point of it all.
EDIT: There we have it. The truth is, at least one person is going to use AI and then will eventually ruin the answers for everyone.
Genuine question: How does one "ruin the answers?" You'd have to go out of your way to find solutions. If someone is doing that, they didn't to begin with. It's a fun puzzle, for fun, because I miss having fun writing code.
The leaderboard doesn't exist anymore.
99.99% of users did not. If you did, I am sincerely sorry for the loss of your hobby of speed-coding. It is gone. I am kind of nostalgic about the early mornings were I tried to go for the top spot of my private leaderboard. But oh well, nothing lasts forever.
I turn it off on the LinkedIn puzzles, as I just want the fun of doing the puzzles.
I'm on some AoC private leaderboards but I never looked at the global leaderboard, and I'm glad it's now gone.
I'll therefore continue to have fun, and not care about the people using AI to solve what are relatively straightforward coding puzzles.
If somebody boasted to me about using AI for AoC, I'd just make a note to never work with that person if I could possibly help it. I'm serious: you'd have to be a psychopath to do that.