At a previous company we also used AoC as part of a security exercise.
It went something like this:
1) Wait until a particularly tricky problem day
2) Look for a suitable solution in the appropriate language in the daily solutions thread in Reddit.
3) Download and augment the solution with some typical credential stealing code with mild obfuscation (we'd prepared this bit in advance) that uploads partial credentials (github tokens, kubectl tokens, browser caches, etc) to a seemingly random third party site under our control
4) Upload this new code to a seemingly random github repo
5) Get our plant to share the link to the repo and say on the internal #programming slack channel: "I saw this solution in _language_ linked on the Reddit sub-thread for today's AoC puzzle, it might be useful if you want the correct answer for your input if you're having trouble, I haven't looked at it myself."
Sit back and see who falls for it. A surprising number of people did, and some (but not all) were doing this from the same account they used for their daily dev work. (Think of the recent Binance heist...)
It really hit home when we shared what credentials we had managed to capture and what could be done with them.
Even the ones using it from a non-work account were surprised at what we managed to exfiltrate.
Only a couple of people were using completely clean accounts created purely for aoc with no useful credentials exposed.
After exclusively vibe-coding (or I guess "agentic engineering") for a year after a long career as a programmer, I made a point to not use AI at all for the first day, and it turns out I don't actually like writing code, I just like building things.
That said, for the rest of the days maybe I'll describe the algorithms I think should be used rather than just giving AI the problem statement, and let it handle the nitty gritty implementation.
No, I get it (and I see the /S), competition is very fun. But sadly we can't enforce fair game rules, so I think giving up on global leaderboard was a great call.
One of my favorites! Eric & co do such a great job putting everything together.
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.
This is a joy to read. I dont do much Python nowadays, however; learning about different Python built-ins and how to use them in different tasks in aoc is a great learning experience.
Thanks for this, and your write-up. I solved it very similarly (using collections.Counter), but your solution is neater than mine and the use of iterator comprehension is more pythonic. Good luck with the rest, and keep that mind sharp!
Thank you for reading! And yeah, it's really just a "practice makes perfect" thing. I'm always pleased with how using good python makes for such approachable solutions
That took me far longer than it should have. I can't believe how rusty I've gotten after relying so heavily on AI for the past 4 to 6 months. Definitely considering 1 or 2 days a week of only hand-rolled code to stay sharp.
> I can't believe how rusty I've gotten after relying so heavily on AI for the past 4 to 6 months. Definitely considering 1 or 2 days a week of only hand-rolled code to stay sharp
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.
No, that's what I do every day to keep sharp. Instead of dedicating 1-2 days a week for "by hand" coding, every day I do a little bit of "by hand" coding.
Good points.I've tried scaffolding new features, writing some class and method outlines and implementing partial features - then handing over to AI to flesh it out. That's giving some satisfaction for sure, so I'll continue to do more of this but maybe push myself harder to a little more.
Clearly the consensus is that coding knowledge still matters, because if it didn't almost everyone on this site would already be unemployed. Therefore, you should absolutely take steps to ensure you build and retain that knowledge.
You always understand the code that you wrote better than the code that you only read. That's why it's good to write some parts yourself, even if the LLM can do it faster.
And that understanding shapes your thinking about the problem and solution, which can (and IME usually does) change what you build and how you build it. If you hand it off to someone/something else, even if it builds exactly what you initially intended, it would likely be worse than what you would have come up with by hand.
let me then, the AI you are using today is the worst AI you will ever use.
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.
Then what’s the point in you doing it over a child is a third world country? Why are you still here on hacker news rather than re-skilling as a lumberjack or some shit?
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?
Deep Blue used an advanced version of old-school chess search algorithms so it implies nothing about modern LLM AI. And 1997 was when Moore's Law was in full swing, unlike today where advancements in chip fab have become a slow, expensive crawl.
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.
Somewhere in the not too distant future, a conversation unfolds in an office and the voice of Tom Smykowski Jr. is heard: "Well--well look. I already told you: I deal with the god damn AI so the product managers don't have to. I have agentic skills; I am good at dealing with agents. Can't you understand that? What the hell is wrong with you people?" That's a conversation I expect to happen a lot with so many people becoming over reliant on AI.
I can't point you at any evidence for this, but to me it seems pretty clear that if you have some very specialized (knowledge) skills, and let them dull out too much, that you'll grow dement.
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 fun coding (the typing part), the fun of developing (the engineering part), and the need to be able to guide the AI. Yes, these LLMs are always way smarter and better engineers than I am - but they can still go off the rails. Needlessly complex, over engineered, perhaps not aware of future changes/phases of the project where a choice now matters far more down the line.
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.
> why would anyone walk/run when cars exist, after all?
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.)
Not becoming a reverse centaur who has no value other than a meat proxy. We will see a complete mean reversion (this happens after all hype cycles, and is already happening) back to emphasis on foundational knowledge. Leetcode/DSA will become more important than ever (in person), to ensure you're not hiring people who've hollowed out their brains with AI.
Even if you work with LLMs you want to be able to properly judge its output. If your company does not use local models and Anthropic has some kind of shutdown or your companies internet connection has trouble, you want to be able to keep working.
I cant believe this is a genuine question to be honest.
You are presenting it here as self-evident that handwriting code occasionally makes a meaningful difference in your ability to judge AI output. That's far from established.
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.
It's not the writing of code that needs to stay sharp. It's the problem solving. And I think it's self-evident that you will be a better judge of how a problem is solved if you are a good problem solver.
I honestly don't see any practical relevance of code puzzles like Leetcode for my work.
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.
Fair enough, but I've seen people implement code within cloud scale applications with `O(n^2)` algorithms where a well known `O(n log n)` algorithm exists, or an `O(n log n)` algorithm where an `O(n)` algorithm exists. Eventually they've been identified thanks to profiling and replaced with suitable, more efficient, algorithms. This almost always costs more (in terms of human time) than identifying it before it gets into the code-base.
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.
Yes, I don't work on components where this is a concern.
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.
Except that the problem solving you do for code
puzzles still keeps your problem solving skills sharp, regardless of the type of problem you're solving. You can of course do other kinds of problem solving instead.
I am paid to develop and my deadlines nor my customers care about service disruptions that delay work. We are expected to deliver on time. What other tasks are you talking about? House keeping?
If someone picks up a basketball and complains about their body being slow and unweildy and that they need to get fitter... does that need to be explained beyond wanting to play basketball? Advent of Code is play.
The shape of the solution was still clear to me, but I had to look up the correct syntax in my most used language (well, second most now that I've been programming using mostly English)! I've completely stopped thinking about it.
Same! For whatever reason I decided to use js for this, then realized even in my prime I didn't work with javascript that much. I had to lookup a lot of syntax I probably would've remembered off the top of my head.
Not at all, some list comprehension and poorly optimized loops. I completely forgot about Collections. To be fair, most of day job (and side projects) are Django and we do a lot of our data analysis in the ORM and SQL, so I don't often reach for Collections or python-based analytics.
LLMs 100% do cause some sort of atrophy, I'm positive of it.
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.
> LLMs 100% do cause some sort of atrophy, I'm positive of it.
Of course they do, at least without some discipline. You're offloading your thinking.
And it's not the same as e.g. delegating work to another human, because it's so easy and you're not inconveniencing anyone. So you don't put in any up front effort before asking for something, and you don't feel bad asking it to do things you wouldn't burden another person with.
"Drawing a spreadsheet by hand on graph paper took far longer than it should have. I can't believe how rusty I've gotten after relying so heavily on Excel for the past months. Definitely considering 1 or 2 days a week of hand-drawn spreadsheets to stay sharp."
Coding is now a solved problem. There is no reason for humans to do that chore any longer.
Cognitive atrophy is a real concern. Everybody who's ever had a formerly technical manager knows what happens when the manager sits down to personally knock out a bug, and everybody developing purely with AI is now one of them.
The good news is that you can almost certainly learn to program again more quickly than you learned the first time.
I'm lucky enough that we're a smallish tech team inside a non-tech company (our business is distribution). We're slowing rolling out AI usage, mostly for code reviews, discovery, documentation, and QA. We've got the green light to start using it more and more in development, and so the last 1/2 year has been a lot of usage on a single project at work and personal projects.
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.
It’s to the point that you have to justify maintaining a modicum of the skill that you were hired for to management. Shucks, aren’t we due for another anti-union HN thread here? It’s been a minute.
I did the first level by hand. First time I coded without an AI agent in a year. I even visited Stack Overflow to look up how to sort a list... Feels like the good old times hahah
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!)
Yeah, it was throwback. Googling syntax of a language I never used very much and almost forgot and hitting stackoverflow and the docs. Even Google AI answers did me a courtesy of not popping up.
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.
This is going to sound kind of mean, but... If you're happy you could sort a list and find the biggest numbers I think that's already not a great sign. So yes, definitely do the rest by hand! I bet it'll come back.
Part of what I get from AoC is finding a more optimal solution.
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.
The O(n log n) solution seems to me like the trivial/straightforward one: count occurrences, then sort the pairs based on the count. Not sure how to get the O(n^2) without trying specifically to do so (like implementing a sort algorithm from scratch and making it quadratic)
Sure, it was shorthand, every algorithm has to be at least O(n) as you have to read in every value at least once. It [Algo (c)] is roughly O(n + (m log m)) but the computation involved generally means that the 'm log m' portion will almost certainly dominate, so the 'O(n)' part is mostly redundant.
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.
Also a big part of the advent of code is to look at the input data and realize that it's not a worst case scenario at all and heavy shortcuts can be taken.
Indeed. That's what I mean by "some people just want to get the stars and move on".
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've had a ton of fun doing this over the years, it's like metagaming the puzzle. I'm not great at it but I love it when I can pull it off.
I also have used Benchee (Elixir benchmarking library) to run comparisons between naive/bad algorithms that I wrote initially and then the "correct" method after - always kind of edifying to see the difference between log n and n ^2 or whatever actually visible in the benchmarks.
I never understood the point of arbitrary syntax. Multiplication tables are arbitrary numbers but if your job/hobby is to do long calculations all day I expect you to have them memorised.
I understand now most people don't program much of anything, but sorting a list is really far from arbitrary syntax
Yes so you're not coding and you shouldn't expect to be competent at this. I'm not commenting on how competent you are at your job, I'm commenting directly on your last remark "remember all the arbitrary syntax and finally turn into a real programmer"
Like if you are not writing Python then.. you can't expect to be a good programmer.
Strange feeling that another year went by. AoC 2025 feels like such a short time ago. Reading all the comments here, and in the context of AoC, I am pretty happy that I never really started using AI for anything. For me AoC is as fun as it's always been. My only change this year is that I am doing it in C instead of Ruby.
I can never continue to completion unfortunately, because I get too distracted perfecting things that has nothing to do with solving the actual problem and waste whole days. Like today I started fighting with logging errors instead of just throwing it, then realized what am I doing! Ha ha. Once I got that out, it was a really simple problem, I was not even expecting to part two to be that easy. But I really want to complete it this time.
Offtopic but your post finally made me understand or connect why Advent of Code is named what it is.
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
Nothing is lost. The world is still AI-optional, the old methods are still all there for anyone to use and perfectly valid. Once could even argue that fully "manual" coding is just a point on some Pareto frontier, considering things like theory-building and quality.
But yes, I did also have a brief pang of whatever emotion that quote conveys.
I can only code with agents, so last year I tried to get all 12 days of Advent of Code to run in under a millisecond combined. Running in parallel, my Rust solvers clocked a median of 0.805 ms.
I’ll be doing it in Lean! I finished reading the FP in Lean book https://leanprover.github.io/functional_programming_in_lean/ earlier this year but I already felt rusty with the syntax without using Lean that much. Much of the concepts like functors and monads basically carry over from Haskell.
I have made a private leaderboard for people who want to compete in C not using AI or an extensive library. (I am using a small library with a function to parse the input into an array of strings.) You are encouraged to login with github and share your solutions in a github repository. The code to join is: 1563228-d419ba6d
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
I’m not much of a coder. I’ve tried Advent of Code several years in a row. I never got very far.
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.
> 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.
You're spot on, this sweet spot is also one of the premises of the book Flow by Mihaly Csikszentmihalyi
I do this quite a bit for previous years and I really like it. I have a couple rules I stick too:
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.
Well, if you're looking to give it a shot with an AI study buddy, I've found the following system to be a reasonable way to keep guided learning a thing that has enough friction to keep some actual retention around: https://www.youtube.com/watch?v=nfTDljFG2g0
These comments are full of experienced engineers (myself included) who are excited to get back to coding by hand and would get nothing out of this if using claude. So it's cool to see someone approaching from a different angle. My 2¢, LLMs make it easy to feel like you're learning more than you actually are. So I would consider setting as a goal that by the time you've completed a challenge using claude, you are confident that you could do it again without claude the next time.
I was able to do last year's as an embedded programmer with an EE background and no formal CS education. I don't think they are that hard. The last few days did require me to go on reddit and get some hints.
The 2026 Perl Advent calendar is also online now. It's season 27. This may be the oldest of the code calendars, but I can't actually prove it. https://perladvent.org/2026/
I´d like to learn a new language but for now I'll stick to kotlin, I disabled my IDE hints, so I'm forced to go online and read the documentation everytime I can't remember how to use something. I'm also trying to solve everything with a one or two-liner.
Anyway the first problems are always easy, the second day this time is a bit too easy, since it's basically the opposite of the first day: calculating a maximum becomes calculating a minimum, and it just required flipping two conditions on my code.
I did the first day this morning and it was so much fun to just treat it like a little mental exercise. I think now that we use more AI for daily coding little quirky puzzle games like these just become even more joyful to do by hand, for fun.
I was tempted to use a new language for this, but `collections.Counter` in Python was just too tempting. I haven't done AoC for several years, but the writing here is really good.
Does anyone have any fun ideas to share to experiment with the problems ? I was thinking of setting peculiar constraints, such as using specific data primitives or systems to solve it. I don't know how it would exactly take shape in practice but something like using solely HTTP, not as a tool to reach an API to solve it, but using the protocol as the computational model itself.
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'm doing it on an esp32 board this year. Also have been playing with the idea to use a Rust freestanding binary to deploy to bare metal and boot into from the BIOS.
Not too crazy, but still quite challenging and very different from the plain "run the python script" that most people do.
I tried to complete it in google sheets a couple of years ago with moderate success. Built in functions only, no custom functions or macros.
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.
Hmm analog could be interesting, but I have a feeling none are solvable unless you essentially make an analog computer, because they are very "digital heavy puzzles". Just the first day essentially requires counting and sorting, which are not exactly analog-friendly tasks.
Because Christmas is pegged to a date (December 25) and the start of Advent of pegged to a day of the week (Sunday), the length of the Advent changes to be somewhere between 22 to 28 days, which makes building reusable, nice wooden boxes full of small toys somewhat challenging. But since it very nearly lines up with December 1, the Germans who originally started making those nice toy boxes have pretty much always started them on that date.
So while Advent did indeed already start, the website is in fact honoring the tradition of Advent Calendars.
Found Uiua a few days ago so I'm taking a stab with that along with my usual F#. Love it simply because hell yeah glyphs + i like the whole "just type the word and it'll figure it out" approach to glyphs.
UIUA is nice. I used it a few years ago on some advent of code puzzles. There's an emacs mode that let you type the name of the function and it will reformat it with the glyphs.
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'm trying it in Medley Interlisp this year. Day 1 was a fun combination of remembering various ways Interlisp differs from Common Lisp, and figuring out how to use the structure editor again, and then just working out the actual code.
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.
Totally agree. I have a few little scripts that generate a template file (so you just fill in part_1 and part_2, and obviously write as many helpers or whatever as you might feel like). Then you also get a little template unit test file that runs the part functions against the input.
It sounds like a lot but it's really simple, and the net effect is you get to just read the problem and go.
I turned off AI assisted IDE autocomplete two years ago because it was making too many mistakes. I never turned it back on and just realized how crazy that must seem today.
I don't like AI assisted auto-complete because it requires judgement. I am thinking of writing something, I type a couple of characters and the AI auto-complete suggests something. I then need to parse it, validate if it is what I wanted to write, and if it isn't, whether it matches the intend of what I wanted to write.
I haven't written any code since early this year when my company went all in on LLMs and I became obsessed to see what I could do with them. This should be good to do the old fashioned way to get my brain back on its axis
First day, so far quite fun. Decided to do this one entirely in the terminal, without writing code. Was a bit rusty on some commands but managed to get it pretty fast
I do aoc in a different language each year. Was trying to decide what to use this year, this inspired me to do zsh. Will probably be the hardest year yet for me...
I didn't even "program" anything for the first day, 2 really dead simple bash one-liners and a calculator, which I did not need a model to generate for me. The one-liners could probably get gussied up to do the math for me as well, but I didn't see the point.
There are multiple problems each day and you can't get the other half until you solve the first part. Which means you need an account unless you rely on people uploading the problems/solutions somewhere else.
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.
there are plenty of sponsors here https://adventofcode.com/2026/sponsors. what are they actually sponsoring and why advent of code needs sponsors to begin with?
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.
Not to be a negative nancy or anything but every time I read advent of code threads I'm horrified at the level of programming knowledge amongst "techies". I consider myself a fairly mediocre programmer, but when I see how people talk about the "challenge" of finding the three most common elements in a list, I understand why the hiring process at many companies looks like it does.
( 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. )
The day 1 challenge is very similar to my current company's live coding interview question, which is by far the easiest coding interview I've ever interacted with. It's been shocking to experience first-hand how rare it is for someone to pass.
Feeling the same, and I hate how arrogant this thought is but every year I'm shocked how many supposedly professional programmers struggle with the middle or even early days, and I used to think of the first 60-70% of an AoC as fairly beginner level stuff. No wonder AI coding caught on so quickly even when it was still complete shit.
It's really a lot of work to set up. Each participant gets a unique data set per problem, and they all must be verified against your answer. That's a lot of work, a lot of code, and a lot of runtime.
Ah yes, the very difficult challenge of... just tossing the question at the 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.
Finding it kinda sad how this is entire comment feed is just about AI and de-skilling and has many people questioning why anyone would bother to do this all by hand.
I’d like to take a moment to imagine what the conversation would have been like in 2020. Discussing the actual content.
I also find it funny that "by hand" now means coding. In days of yore, when coding was the obvious way to approach these problems, I would have assumed "by hand" meant figuring out the solution with a pen and paper.
In 2023 the conversation was "LLMs are incapable of doing this" vs "I just used an LLM to do this". Now it's not even a question. Fastest I've ever seen new tech move.
Well I mean so far it's just a warmup exercise. How deep of a discussion can you have about finding the three most common numbers in a list?
I agree that AI is too heavily discussed though. Before I think we'd have seen more discussion about the language people decided to pick up for the year, or such.
On that point, does anybody have an interesting setup? Previous years I tried to use something unusual as many days as I could, like SQL only or assembler or Prolog or something from the APL family. Usually would end up with a regular old procedural language in the later days though.
> Well I mean so far it's just a warmup exercise. How deep of a discussion can you have about finding the three most common numbers in a list?
It can go surprisingly deep if you add some constraints.
How would you solve this if the input was always small (i.e. somewhere around 20 lines)?
Could you make your solution much simpler if you just had to find the single most common number in a list?
How would your solution change if you had to find the n most common numbers in the list?
How would you solve this if you had finite memory which meant you could only hold a given number of the unique numbers in memory?
a) With no local/disk storage, but the ability to rewind and reprocess the file as many times as you like.
b) With access to local/disk storage large enough to store a file or files with total size around the original input file size.
How would you solve this if you had to process the file as an input stream (i.e. you can't rewind or replay it) and output the answer every n input values? (But there are no memory constraints.)
...
All of the above have different nuances which mean what works for one does not work for another, or is complete overkill, etc.
This applies to most posts on the site now. The majority of current HN users see every topic through a "how can I make this about AI" lens. Or maybe it's all bots, who knows.
Spending half an hour reading through insightful comments on a topic you wanted to know more about used to feel like an educational and intellectually engaging activity. Now that half the comments are some variation of "I just used AI to do this", though, not so much.
Joke apart, could be a good opportunity to try running this on a local LLM and learn about their limits. An Opus 5.5 can certainly solve them all quickly, but a smaller one may need a bit more nudging.
We built one for exactly that: https://adventofai.techwolf.ai/ (disclaimer: I work at TechWolf). It has daily puzzles designed to be solved by you plus an agent!
I know some would consider it fun, but I don't think I've heard anyone describe the gym as delightful, except perhaps for college boys getting a fix of staring at yoga pants.
Like I said, I know some people consider it fun. Perhaps I just have a different mental association with "delightful"- the association with that word is really all I'm picking on here.
At the end of the day the delight is not about the experience at the gym, but the health benefits, and how regular moderate physical activity improves mood. Everybody should work on building and maintaining a healthy, balanced amount of muscle mass since it sure doesn't get easier the older one gets, and it helps one live longer and with more quality of life.
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.
And plenty of people don't. I'd show up at the corporate gym whenever they bribed us with some kind of insurance discount if we went 3x. But I always found it awkward and unpleasant. I think this isn't an isolated, 'odd' perspective. A lot of us hated PE in HS and the gym gives us flashbacks.
> I think this isn't an isolated, 'odd' perspective.
Eh, not completely, but it's certainly not as universal as GP implies; Hacker News is a filter bubble that selects against the kind of person who would enjoy it.
More to the point, enjoying the gym is an extremely common hobby, as these things go; Our hobby of enjoying tinkering with tech is the isolated, 'odd' one in comparison (Claude estimates it's at least 5-to-1)
Is there such a thing as token golf (like code golf)? That could be a fun challenge especially with a small localllm with temperature of 0 to make it more verifiable.
I never thought I'd see people mindfully wanting to practice using underpowered models. Somewhat funnily, it would look closest to a writing workshop. Ex. imagine multiple people write a prompt then compare results. Except it's you iterating on previous results.
27b is great, you can also try inkling 2 mini. From my testing, they are comparable, but inkling MoE is faster on the spark. Shameless plug to my project if you want an easy way in https://github.com/dotcoreai/dotcore
I have a machine with 4 GPUs. 16 GB VRAM each, for a total of 64 GB VRAM. Is your tool able to put multi-GPU machines to good use? And to bring out the most capability of such hardware setups?
It’s a Dell PowerEdge R730 server. I don’t have the name of the mobo at hand, but the datasheet for the R730 says it’s based on the Intel C610 series chipset.
I'm a heavy user of 3.8-27B but never really done Advent of Code past the 1st or 2nd day. I feel like with unlimited usage it will figure out all of the challenges.
yes, it's IMO the best qwen brain out that has a chance to fit on ~100GB total memory (VRAM + RAM). I've run it both in Q2 and Q3 and find it impressive. But I hate its prose. I've switched to inkling 2 mini and am seeing what I can get done with it.
I was about to point some agent at this response and ask it to reply with some sarcastic answer, but all things considered it would take me just as much time and attention and would drain all the joy of sarcasm away.
In another world our respective agents could have had a battle of wits. Maybe it was never about the agents. Maybe it was always about us, arguing with strangers on the interweb.
> In another world our respective agents could have had a battle of wits.
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.
Probably not, since AoC only has 12 days of coding since last year. EDIT: Unless your coding agent is exceptionally slow of course, and takes two days per problem.
I was going to suggest this. It would be great to let all the different agents to all 24 days. Then humans (and agents) can assess the code quality from each agent.
I don't see the point. You can solve anything else using an agent why this? Something productive and productizable. AoC is for coding connoisseurs and golfers to have fun.
Maybe I am the Grinch, have you ever considered that? I could have used the tokens for anything. Something useful, something incredible, found the secret of life. But I used these tokens to spoil Christmas by solving AoC.
My first account dates to 2009 and AFAICT it's always been this way. It's a big echo chamber so people here don't notice it but there's a reason that even HN-beloved authors like Aphyr put stuff like "never read hacker news" on their blog posts, or why people like JWZ redirect requests with HN in the referrer to photoshopped testicles.
HN has always been a place for self-important pseudo-intellectuals to lick the corporate boot while discussing the interesting technical challenges they solved when building a software that goes down the street to buy Hitler a pack of smokes.
You either make your peace with catching lots of downvotes and moderator attention, or you self-select out of here.
It's been through many declines. The AI slop they're all pushing these days has finally let the mask slip enough that the pseudo-intellectualism can really be seen for what it is.
He went absolutely mental when I told him there was not going to be any turkey this Christmas. He went: NO Turkey, NO Turkey! You ** ** **! It was not very christmassy at all.
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.
I don't feel angry about taking a bus. But if I'm on a half-marathon run with a bunch of other runners, the enjoyment is in the process of running itself which may (or may not) lead to crossing the finish line in time, not in catching a cab to the finish line to take a selfie.
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.
But what if it was a special glitzy elevator lovingly created by an upstanding crafter, that only went up one floor and wasn’t especially great for daily use?
What do you mean assume, don't you give your agents name, gender and some backstory? I find that asian immigrant working as a founding engineer in US starups is a very solid choice for coding, but it has to be paired with some other agent to make up for the communication skills. I've also extended my searching for the perfect background + model combos, ideas welcome
(Disclaimer: This comment was entire made up as a joke, on the spot)
They got rid of the leaderboard (last year?) for this exact reason, so there's nothing for cheaters to spoil any more. If you do Advent of Code at this point, it's for the love of the game.
> 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.
I always saw these as a challenge to one self. just with like anything, you can always look up the solution, or use a modern tool to generate it, or you can enjoy the process.
Be honest, did you ever compete for the leaderboard?
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 guess that depends on what you consider the point to be. I solve the problems for the joy of solving them, like a crossword. I couldn't care less about the leaderboard.
In general, I hate puzzles where there is a score.
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.
I think it was the point for some people. Competitive coding, being faster than the others.
Don't care much for it myself, but.. for the competetive coders, the fun was taken away.
Just like the official stance of the Olympic Games is that participation is more important than winning. Tell that to the athletes. And the hundreds of millions of viewers. And the CFO of the IOC.
At a previous company we also used AoC as part of a security exercise. It went something like this:
1) Wait until a particularly tricky problem day
2) Look for a suitable solution in the appropriate language in the daily solutions thread in Reddit.
3) Download and augment the solution with some typical credential stealing code with mild obfuscation (we'd prepared this bit in advance) that uploads partial credentials (github tokens, kubectl tokens, browser caches, etc) to a seemingly random third party site under our control
4) Upload this new code to a seemingly random github repo
5) Get our plant to share the link to the repo and say on the internal #programming slack channel: "I saw this solution in _language_ linked on the Reddit sub-thread for today's AoC puzzle, it might be useful if you want the correct answer for your input if you're having trouble, I haven't looked at it myself."
Sit back and see who falls for it. A surprising number of people did, and some (but not all) were doing this from the same account they used for their daily dev work. (Think of the recent Binance heist...)
It really hit home when we shared what credentials we had managed to capture and what could be done with them.
Even the ones using it from a non-work account were surprised at what we managed to exfiltrate.
Only a couple of people were using completely clean accounts created purely for aoc with no useful credentials exposed.
I love what you wrote but hate that you did this!
Please, try and use your brain for AoC. At least once a year, to practice and learn. It'll help your skills.
Leaderboard is gone, there are no real stakes. You don't even have to solve the problem on the day it appears, they'll wait.
And maybe you rediscover the joy of creating a solution of your own.
I've checked some research on this here: https://blog.miloslavhomer.cz/use-your-brain-even-if-the-mac...
Oh, while it is somewhat sad that the leaderboard is gone, I think it's a great solution! Do if for the love of it.
I'm gonna see if the old noggin' still works.
After exclusively vibe-coding (or I guess "agentic engineering") for a year after a long career as a programmer, I made a point to not use AI at all for the first day, and it turns out I don't actually like writing code, I just like building things.
That said, for the rest of the days maybe I'll describe the algorithms I think should be used rather than just giving AI the problem statement, and let it handle the nitty gritty implementation.
What fun is that?!
FIRST!
/S
No, I get it (and I see the /S), competition is very fun. But sadly we can't enforce fair game rules, so I think giving up on global leaderboard was a great call.
One of my favorites! Eric & co do such a great job putting everything together.
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.
This is a joy to read. I dont do much Python nowadays, however; learning about different Python built-ins and how to use them in different tasks in aoc is a great learning experience.
Thank you! Yeah there's so much there (batteries included, etc) but it doesn't do you any good if dont know to reach for it.
I've learned so much over the years so I'm glad I can help others do the same!
Thanks for this, and your write-up. I solved it very similarly (using collections.Counter), but your solution is neater than mine and the use of iterator comprehension is more pythonic. Good luck with the rest, and keep that mind sharp!
Thank you for reading! And yeah, it's really just a "practice makes perfect" thing. I'm always pleased with how using good python makes for such approachable solutions
thank you for supporting your local LLM
That took me far longer than it should have. I can't believe how rusty I've gotten after relying so heavily on AI for the past 4 to 6 months. Definitely considering 1 or 2 days a week of only hand-rolled code to stay sharp.
> I can't believe how rusty I've gotten after relying so heavily on AI for the past 4 to 6 months. Definitely considering 1 or 2 days a week of only hand-rolled code to stay sharp
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.
Or just fully don't use AI for the period.
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.
No, that's what I do every day to keep sharp. Instead of dedicating 1-2 days a week for "by hand" coding, every day I do a little bit of "by hand" coding.
Good points.I've tried scaffolding new features, writing some class and method outlines and implementing partial features - then handing over to AI to flesh it out. That's giving some satisfaction for sure, so I'll continue to do more of this but maybe push myself harder to a little more.
also
and Learning is like explanatory but also reserves parts of tasks for you to complete, then gives feedback.> before you send the PR to your peers
Nobody wants to see your PRs for AoC code.
I read that as a suggestion to apply at work to stay sharp, not about solving AoC.
That would make more sense.
Check out https://fata.app/daily
I created it so I could do 5 mins daily reps to prevent AI skill rot
This is great! I am learning rust and this is super helpful. thanks for this!
the deskilling is real and the panic hits like a ton of bricks like the cliche scene of the superhero recognizing his powers are gone
Genuine question...
> to stay sharp
Is this just for the fun of coding or for some other purpose?
Clearly the consensus is that coding knowledge still matters, because if it didn't almost everyone on this site would already be unemployed. Therefore, you should absolutely take steps to ensure you build and retain that knowledge.
[edit: wasn't -> didn't]
You always understand the code that you wrote better than the code that you only read. That's why it's good to write some parts yourself, even if the LLM can do it faster.
And that understanding shapes your thinking about the problem and solution, which can (and IME usually does) change what you build and how you build it. If you hand it off to someone/something else, even if it builds exactly what you initially intended, it would likely be worse than what you would have come up with by hand.
haven't coded in nearly a year, and probably will never again, i'm now an agent God.
Or an agent's puppet, as you'll need the agent more than the agent will need you.
Even in the age of LLMs the people producing the most value are those with high skill. If you let your skills atrophy what value do you provide?
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.
> 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
I've made no claims about what the future will hold. Currently, real skills are still required to wield LLMs effectively in my opinion.
let me then, the AI you are using today is the worst AI you will ever use.
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.
Sure, but I've got work to do today. So today my skills are still valuable and therefore I'll still value them.
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.
Maybe, but glib non-sequiturs like this and the Kasparov quote are not really arguments to the contrary.
We're playing a game where "wining" isn't always clear cut. That's the problem.
Yep, “winning” the wrong way today may set you up for serious problems tomorrow
Then what’s the point in you doing it over a child is a third world country? Why are you still here on hacker news rather than re-skilling as a lumberjack or some shit?
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?
But still, Garry can play chess today, right?
Deep Blue used an advanced version of old-school chess search algorithms so it implies nothing about modern LLM AI. And 1997 was when Moore's Law was in full swing, unlike today where advancements in chip fab have become a slow, expensive crawl.
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.
Somewhere in the not too distant future, a conversation unfolds in an office and the voice of Tom Smykowski Jr. is heard: "Well--well look. I already told you: I deal with the god damn AI so the product managers don't have to. I have agentic skills; I am good at dealing with agents. Can't you understand that? What the hell is wrong with you people?" That's a conversation I expect to happen a lot with so many people becoming over reliant on AI.
I can't point you at any evidence for this, but to me it seems pretty clear that if you have some very specialized (knowledge) skills, and let them dull out too much, that you'll grow dement.
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
Do you mean "demented" as in "someone who is diagnosed with dementia"?
Think of it like Sudoku. Yes, you have tools to solve it but the journey is the purpose.
Brain training games are effective for the improvement of cognitive functions, processing and working memory.
https://pmc.ncbi.nlm.nih.gov/articles/PMC12244833/
The fun coding (the typing part), the fun of developing (the engineering part), and the need to be able to guide the AI. Yes, these LLMs are always way smarter and better engineers than I am - but they can still go off the rails. Needlessly complex, over engineered, perhaps not aware of future changes/phases of the project where a choice now matters far more down the line.
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.
> better engineers
I'm not convinced of that. LLMs are incredibly knowledgeable, but (at least in my experience) have very poor judgement.
It's mental jogging - why would anyone walk/run when cars exist, after all? Only to hit some personal goal and ostensibly keep the muscles strong.
> why would anyone walk/run when cars exist, after all?
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.)
Not becoming a reverse centaur who has no value other than a meat proxy. We will see a complete mean reversion (this happens after all hype cycles, and is already happening) back to emphasis on foundational knowledge. Leetcode/DSA will become more important than ever (in person), to ensure you're not hiring people who've hollowed out their brains with AI.
Same reason people do Wordle or Sodoku I guess, not a bad thing to make sure you've still "got it"
Even if you work with LLMs you want to be able to properly judge its output. If your company does not use local models and Anthropic has some kind of shutdown or your companies internet connection has trouble, you want to be able to keep working.
I cant believe this is a genuine question to be honest.
You are presenting it here as self-evident that handwriting code occasionally makes a meaningful difference in your ability to judge AI output. That's far from established.
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.
It's not the writing of code that needs to stay sharp. It's the problem solving. And I think it's self-evident that you will be a better judge of how a problem is solved if you are a good problem solver.
I honestly don't see any practical relevance of code puzzles like Leetcode for my work.
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.
Fair enough, but I've seen people implement code within cloud scale applications with `O(n^2)` algorithms where a well known `O(n log n)` algorithm exists, or an `O(n log n)` algorithm where an `O(n)` algorithm exists. Eventually they've been identified thanks to profiling and replaced with suitable, more efficient, algorithms. This almost always costs more (in terms of human time) than identifying it before it gets into the code-base.
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.
Yes, I don't work on components where this is a concern.
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.
Except that the problem solving you do for code puzzles still keeps your problem solving skills sharp, regardless of the type of problem you're solving. You can of course do other kinds of problem solving instead.
I am paid to develop and my deadlines nor my customers care about service disruptions that delay work. We are expected to deliver on time. What other tasks are you talking about? House keeping?
So are we, and we don't typically work on last minute changes to meet a deadline.
If we were, the stability of our testing environments are a bigger concern than the uptime of the AI service.
likewise, even the AI labs include a round or two of hand coding in their recruitment processes. Can't see this changing, if at all.
If someone picks up a basketball and complains about their body being slow and unweildy and that they need to get fitter... does that need to be explained beyond wanting to play basketball? Advent of Code is play.
What if you could describe the algorithm just fine, but simply forgot the specific translations into a language's code?
Also, what is the difference, honestly, between these 2 framings of the same knowledge?
It’s the difference between knowing the motions of swimming and actually swimming.
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 agree. I struggled remembering getting from input file to a list of integers. I hope my brain has more interesting problems to solve than that.
imo thats more a "how to center a div" problem: you've done it n times but still need to look it up ;)
The shape of the solution was still clear to me, but I had to look up the correct syntax in my most used language (well, second most now that I've been programming using mostly English)! I've completely stopped thinking about it.
Same! For whatever reason I decided to use js for this, then realized even in my prime I didn't work with javascript that much. I had to lookup a lot of syntax I probably would've remembered off the top of my head.
1 seems like the sort of thing that could be banged out quickly, but might have some optimization potential as well. Did you do a clever algorithm?
Not at all, some list comprehension and poorly optimized loops. I completely forgot about Collections. To be fair, most of day job (and side projects) are Django and we do a lot of our data analysis in the ORM and SQL, so I don't often reach for Collections or python-based analytics.
LLMs 100% do cause some sort of atrophy, I'm positive of it.
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.
> LLMs 100% do cause some sort of atrophy, I'm positive of it.
Of course they do, at least without some discipline. You're offloading your thinking.
And it's not the same as e.g. delegating work to another human, because it's so easy and you're not inconveniencing anyone. So you don't put in any up front effort before asking for something, and you don't feel bad asking it to do things you wouldn't burden another person with.
"Drawing a spreadsheet by hand on graph paper took far longer than it should have. I can't believe how rusty I've gotten after relying so heavily on Excel for the past months. Definitely considering 1 or 2 days a week of hand-drawn spreadsheets to stay sharp."
Coding is now a solved problem. There is no reason for humans to do that chore any longer.
Cognitive atrophy is a real concern. Everybody who's ever had a formerly technical manager knows what happens when the manager sits down to personally knock out a bug, and everybody developing purely with AI is now one of them.
The good news is that you can almost certainly learn to program again more quickly than you learned the first time.
I have a garage full of crappy symbolic AI experiments I use to keep my manual skills sharp.
This is turning out to be quite fortuitous given that model providers have begun sandbagging on this exact area of use.
Also write assembly 1 or 2 days a week rather than relying so heavily on compilers. Oh and binary and punched cards, plugs etc.
Are we really still doing the llm == compiler nonsense? Let me know when we commit md files instead of code.
I tried to do it by exclusively hand, but I had forgotten how aggressive the autocomplete is. :/
Turn the autocomplete off. Just use a good LSP.
Yeah, I generally don't enjoy programming puzzles, but I've decided to do AoC fully by hand this time as well, just to unrust myself.
I was sooo rusty even just implementing todays simple bucket sort thing.
Yeah, good luck explaining that to management (in case you are an employee)
I'm lucky enough that we're a smallish tech team inside a non-tech company (our business is distribution). We're slowing rolling out AI usage, mostly for code reviews, discovery, documentation, and QA. We've got the green light to start using it more and more in development, and so the last 1/2 year has been a lot of usage on a single project at work and personal projects.
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.
They don't need to know.
It’s to the point that you have to justify maintaining a modicum of the skill that you were hired for to management. Shucks, aren’t we due for another anti-union HN thread here? It’s been a minute.
I did the first level by hand. First time I coded without an AI agent in a year. I even visited Stack Overflow to look up how to sort a list... Feels like the good old times hahah
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!)
Yeah, it was throwback. Googling syntax of a language I never used very much and almost forgot and hitting stackoverflow and the docs. Even Google AI answers did me a courtesy of not popping up.
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.
This is going to sound kind of mean, but... If you're happy you could sort a list and find the biggest numbers I think that's already not a great sign. So yes, definitely do the rest by hand! I bet it'll come back.
Part of what I get from AoC is finding a more optimal solution.
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.
[SPOILERS!]
The O(n log n) solution seems to me like the trivial/straightforward one: count occurrences, then sort the pairs based on the count. Not sure how to get the O(n^2) without trying specifically to do so (like implementing a sort algorithm from scratch and making it quadratic)
Since m < n by definition, O(n+m) is O(n).
Similarly, there can be no O(m log m) solution, because you have to read every line in general.
Sure, it was shorthand, every algorithm has to be at least O(n) as you have to read in every value at least once. It [Algo (c)] is roughly O(n + (m log m)) but the computation involved generally means that the 'm log m' portion will almost certainly dominate, so the 'O(n)' part is mostly redundant.
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.
O(n + m) is also practically nice to give a general idea of what you mean, without spoiling anything for folks who are still working on it.
Also a big part of the advent of code is to look at the input data and realize that it's not a worst case scenario at all and heavy shortcuts can be taken.
Indeed. That's what I mean by "some people just want to get the stars and move on".
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've had a ton of fun doing this over the years, it's like metagaming the puzzle. I'm not great at it but I love it when I can pull it off.
I also have used Benchee (Elixir benchmarking library) to run comparisons between naive/bad algorithms that I wrote initially and then the "correct" method after - always kind of edifying to see the difference between log n and n ^2 or whatever actually visible in the benchmarks.
Thanks mate, maybe with practice I'll be able to remember all the arbitrary syntax and finally turn into a real programmer
I never understood the point of arbitrary syntax. Multiplication tables are arbitrary numbers but if your job/hobby is to do long calculations all day I expect you to have them memorised.
I understand now most people don't program much of anything, but sorting a list is really far from arbitrary syntax
What does "arbitrary syntax" mean? What's syntax that's not arbitrary?
My job isn’t to reverse lists in Python all day. In fact I don’t write Python on the job (that’s my agent’s job)
Yes so you're not coding and you shouldn't expect to be competent at this. I'm not commenting on how competent you are at your job, I'm commenting directly on your last remark "remember all the arbitrary syntax and finally turn into a real programmer"
Like if you are not writing Python then.. you can't expect to be a good programmer.
What is your job, then?
I mean from what you said it sounds like you haven't been programming at all
Real men write machine code only /s
Strange feeling that another year went by. AoC 2025 feels like such a short time ago. Reading all the comments here, and in the context of AoC, I am pretty happy that I never really started using AI for anything. For me AoC is as fun as it's always been. My only change this year is that I am doing it in C instead of Ruby.
I am doing with Java instead of Rust/Python.
I can never continue to completion unfortunately, because I get too distracted perfecting things that has nothing to do with solving the actual problem and waste whole days. Like today I started fighting with logging errors instead of just throwing it, then realized what am I doing! Ha ha. Once I got that out, it was a really simple problem, I was not even expecting to part two to be that easy. But I really want to complete it this time.
The Advent of Sysadmin variation: https://sadservers.com/advent2026 (free in-browser challenges, no registration needed. Disclaimer: I built this)
Thanks! It was quite fun even though my docker-fu is not what it should be :)
Offtopic but your post finally made me understand or connect why Advent of Code is named what it is.
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
Congrats! You are one of the lucky ones today! https://xkcd.com/1053/
This year I'm doing it in my own programming language in my own IDE written in my own programming language. Just chilling and having fun.
Definitely noticing things I have to improve in the language and IDE to make it smoother.
"What man of us has never felt, walking through the twilight or writing down a date from his past, that he has lost something infinite?"
- Jorge Luis Borges
Nothing is lost. The world is still AI-optional, the old methods are still all there for anyone to use and perfectly valid. Once could even argue that fully "manual" coding is just a point on some Pareto frontier, considering things like theory-building and quality.
But yes, I did also have a brief pang of whatever emotion that quote conveys.
I can only code with agents, so last year I tried to get all 12 days of Advent of Code to run in under a millisecond combined. Running in parallel, my Rust solvers clocked a median of 0.805 ms.
https://github.com/josusanmartin/advent-25
> I can only code with agents
why limit your self? anyone can learn to code
I'm doing the puzzles by hand in Haskell this year. Should be fun!
I’ll be doing it in Lean! I finished reading the FP in Lean book https://leanprover.github.io/functional_programming_in_lean/ earlier this year but I already felt rusty with the syntax without using Lean that much. Much of the concepts like functors and monads basically carry over from Haskell.
That's an awesome idea!
I'm going to do them by hand in nano, using C++ (STL only). Its like going back on the running track in spring after a winter slouching on the couch.
I have made a private leaderboard for people who want to compete in C not using AI or an extensive library. (I am using a small library with a function to parse the input into an array of strings.) You are encouraged to login with github and share your solutions in a github repository. The code to join is: 1563228-d419ba6d
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
I’m not much of a coder. I’ve tried Advent of Code several years in a row. I never got very far.
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.
> 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.
You're spot on, this sweet spot is also one of the premises of the book Flow by Mihaly Csikszentmihalyi
Oh wow thank you, I looked it up and bought the Kindle version just now.
I do this quite a bit for previous years and I really like it. I have a couple rules I stick too:
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.
Well, if you're looking to give it a shot with an AI study buddy, I've found the following system to be a reasonable way to keep guided learning a thing that has enough friction to keep some actual retention around: https://www.youtube.com/watch?v=nfTDljFG2g0
"Agent Harness for Learning Things", love it thank you!
Lean Dijkstra and loop finding. These two should push you through a lot of the middle problems.
Thank you! First time hearing those terms and I'm interested to see what I learn from them.
You are exactly describing a concept from pedagogical theory called the Zone of Proximal Development (ZPD):
https://en.wikipedia.org/wiki/Zone_of_proximal_development
These comments are full of experienced engineers (myself included) who are excited to get back to coding by hand and would get nothing out of this if using claude. So it's cool to see someone approaching from a different angle. My 2¢, LLMs make it easy to feel like you're learning more than you actually are. So I would consider setting as a goal that by the time you've completed a challenge using claude, you are confident that you could do it again without claude the next time.
> And for me, Advent of Code has simply been too big of a mental leap.
Because the later days require knowledge of specific algoritms and is not something a regular human can figure out by themselves.
I was able to do last year's as an embedded programmer with an EE background and no formal CS education. I don't think they are that hard. The last few days did require me to go on reddit and get some hints.
You developed all necessary algorithms by yourself from scratch? That's impressive.
https://x.com/aspizu_/status/2127818402098266217 - My Day 1 solution in Scratch made using goboscript
https://github.com/aspizu/goboscript - My programming language that compiles into Scratch.
The 2026 Perl Advent calendar is also online now. It's season 27. This may be the oldest of the code calendars, but I can't actually prove it. https://perladvent.org/2026/
I´d like to learn a new language but for now I'll stick to kotlin, I disabled my IDE hints, so I'm forced to go online and read the documentation everytime I can't remember how to use something. I'm also trying to solve everything with a one or two-liner.
Anyway the first problems are always easy, the second day this time is a bit too easy, since it's basically the opposite of the first day: calculating a maximum becomes calculating a minimum, and it just required flipping two conditions on my code.
I did the first day this morning and it was so much fun to just treat it like a little mental exercise. I think now that we use more AI for daily coding little quirky puzzle games like these just become even more joyful to do by hand, for fun.
I always find it fun… the first few days
I was tempted to use a new language for this, but `collections.Counter` in Python was just too tempting. I haven't done AoC for several years, but the writing here is really good.
Does anyone have any fun ideas to share to experiment with the problems ? I was thinking of setting peculiar constraints, such as using specific data primitives or systems to solve it. I don't know how it would exactly take shape in practice but something like using solely HTTP, not as a tool to reach an API to solve it, but using the protocol as the computational model itself.
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'm doing it on an esp32 board this year. Also have been playing with the idea to use a Rust freestanding binary to deploy to bare metal and boot into from the BIOS.
Not too crazy, but still quite challenging and very different from the plain "run the python script" that most people do.
One guy on Reddit said he'd be doing it in Godot this year, perhaps creating a custom visualisation.
https://www.reddit.com/r/programming/comments/1y9m6dd/commen...
I tried to complete it in google sheets a couple of years ago with moderate success. Built in functions only, no custom functions or macros.
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.
Hmm analog could be interesting, but I have a feeling none are solvable unless you essentially make an analog computer, because they are very "digital heavy puzzles". Just the first day essentially requires counting and sorting, which are not exactly analog-friendly tasks.
I build Go stream parsers using fmt.Scanf, or bufio Scanner e.g. https://github.com/tonymet/regexpscanner/blob/main/regexpsca...
By the way, the actual Christian Advent 2026 started already two days before December 1st! :)
Because Christmas is pegged to a date (December 25) and the start of Advent of pegged to a day of the week (Sunday), the length of the Advent changes to be somewhere between 22 to 28 days, which makes building reusable, nice wooden boxes full of small toys somewhat challenging. But since it very nearly lines up with December 1, the Germans who originally started making those nice toy boxes have pretty much always started them on that date.
So while Advent did indeed already start, the website is in fact honoring the tradition of Advent Calendars.
Splitters!
Found Uiua a few days ago so I'm taking a stab with that along with my usual F#. Love it simply because hell yeah glyphs + i like the whole "just type the word and it'll figure it out" approach to glyphs.
I did AoC in Uiua a few years ago! It's a fun language to solve puzzles in.
UIUA is nice. I used it a few years ago on some advent of code puzzles. There's an emacs mode that let you type the name of the function and it will reformat it with the glyphs.
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.
If you like Minecraft check out Hexcasting. It's a magic mod with a stack programming language that uses runes you draw in the air as syntax.
I got a bit lazy, thought of reaching for AI and it broke my heart.
https://www.demindiro.com/blog/2026/advent-of-code-day1
Starts off very easy as usual
I'm trying it in Medley Interlisp this year. Day 1 was a fun combination of remembering various ways Interlisp differs from Common Lisp, and figuring out how to use the structure editor again, and then just working out the actual code.
If you’re looking for other web design / dev advent calendars, Adrian Roselli has a decent list for this year: https://adrianroselli.com/2026/12/web-design-dev-advent-cale...
Funny feeling. I want to code this without AI. But the IDE autocomplete still exists, and is pretty clearly AI driven. Hmmm...
AoC is best when you just start with:
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.
Totally agree. I have a few little scripts that generate a template file (so you just fill in part_1 and part_2, and obviously write as many helpers or whatever as you might feel like). Then you also get a little template unit test file that runs the part functions against the input.
It sounds like a lot but it's really simple, and the net effect is you get to just read the problem and go.
I turned off AI assisted IDE autocomplete two years ago because it was making too many mistakes. I never turned it back on and just realized how crazy that must seem today.
I don't like AI assisted auto-complete because it requires judgement. I am thinking of writing something, I type a couple of characters and the AI auto-complete suggests something. I then need to parse it, validate if it is what I wanted to write, and if it isn't, whether it matches the intend of what I wanted to write.
It's like constant roadblocks in my flow.
Didn't even have to fire up Vi today
Yes you should turn that off during advent of code.
Or not, if that's your thing
I'd recommend using vim, emacs, or some more vanilla editor. Helps with the focus.
Can it be disabled?
If you are using IntelliJ:
- 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".
Yes
Advent of Coding Tools 2026.
just do it on the browser console
by now even browser consoles have AI integrations
Back to basics
~ # vim main.c
:-)
For people that want to use AI and formal methods to solve these problems:
https://forum.ada-lang.io/t/charity-advent-of-ada-spark-2026...
Starting out with C++ this year, trying to use some stuff I don't normally use, like ranges.
There's also the Advent of SQL 2026: https://www.dbpro.app/advent-of-sql
What an adventure and puzzle feast, can't thank Eric Wastl enough for taking his time each year to prepare such a gift for all of us.
Nice. I remember trying a couple problems once but this will be my first time completing the entire series. Very excited!
I haven't written any code since early this year when my company went all in on LLMs and I became obsessed to see what I could do with them. This should be good to do the old fashioned way to get my brain back on its axis
I both love and hate Advent of Code.
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.
You’ll be happy to learn that the global leaderboard was removed last year: https://adventofcode.com/2026/about#faq_leaderboard
There aren't public leaderboards since last year.
First day, so far quite fun. Decided to do this one entirely in the terminal, without writing code. Was a bit rusty on some commands but managed to get it pretty fast
I do aoc in a different language each year. Was trying to decide what to use this year, this inspired me to do zsh. Will probably be the hardest year yet for me...
Me too. I had to look up the awk syntax for multiplying.
But I have almost never used awk, so don't blame it on AI brainrot! :)
I didn't even "program" anything for the first day, 2 really dead simple bash one-liners and a calculator, which I did not need a model to generate for me. The one-liners could probably get gussied up to do the math for me as well, but I didn't see the point.
Will pick this up to code without AI like good old times!
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
Everyone’s complaining about using AI and here I am feeling bad that I used the Duckdb CLI
> To play, please identify yourself via one of these services: [GitHub] [Google] [Twitter] [Reddit]
So, I can't play then?
It's just the guy offloading the login logic to bigger providers.
Github is free and you'll probably need an account with them at some point, so why not register there?
I guess they want the account for leaderboard, they need to have option for those who don't need to be on the leaderboard but want to play.
You can still see the problems and _do programming_ without signing in, so I'm not sure what you're being Grinch-y about.
Unless I'm missing something, you can't see the full problem unless you sign in. E.g. for the first problem, the "input" list isn't visible to me.
But you can't see the answers to know if you solved it.
If signing up is really too much of a hurdle, ask an AI to check your answer.
There are multiple problems each day and you can't get the other half until you solve the first part. Which means you need an account unless you rely on people uploading the problems/solutions somewhere else.
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.
It's not messed up.
Just because something is normalized doesn’t mean it isn’t messed up.
If only there was a way to create a temporary account... hmm...
I love AoC. It's a shame the sloppers killed the global leaderboard, but we still have a nice competition going in the office.
there are plenty of sponsors here https://adventofcode.com/2026/sponsors. what are they actually sponsoring and why advent of code needs sponsors to begin with?
The guy who makes it also deserves food and health care I'd say.
BTW you can become a sponsor, too.
AOC needs sponsors as the web server(s) get hammered
So wait, I'm supposed to... type... code?
I should turn off Intellisense...
Or just use Notepad++ or something... Like a cave-person...
This whole thread feel like:
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.
Well, I'm sure when chess computers first came out people behaved the same way.
About to dive in, writing code with my hand like a caveman.
Tools get rusty without use, and my brain is my best tool.
Right? I'm looking forward to this return to the good old days.
Looking forward to some manual coding!
Not to be a negative nancy or anything but every time I read advent of code threads I'm horrified at the level of programming knowledge amongst "techies". I consider myself a fairly mediocre programmer, but when I see how people talk about the "challenge" of finding the three most common elements in a list, I understand why the hiring process at many companies looks like it does.
( 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. )
The day 1 challenge is very similar to my current company's live coding interview question, which is by far the easiest coding interview I've ever interacted with. It's been shocking to experience first-hand how rare it is for someone to pass.
Feeling the same, and I hate how arrogant this thought is but every year I'm shocked how many supposedly professional programmers struggle with the middle or even early days, and I used to think of the first 60-70% of an AoC as fairly beginner level stuff. No wonder AI coding caught on so quickly even when it was still complete shit.
Why does this needs sponsors? Sony, JP Morgan Chase, Citadel Securities...
It's really a lot of work to set up. Each participant gets a unique data set per problem, and they all must be verified against your answer. That's a lot of work, a lot of code, and a lot of runtime.
Infra for the servers? Creator has talked about how they get especially hammered on problem drop.
Yes yes we get it no-one here writes code anymore. You don't need to comment that in every single thread because it adds nothing to the dicussion.
> Should I use AI to solve Advent of Code puzzles? No.
A real lack of creativity and willingness to update. There are still interesting problems that would challenge a human working with a coding agent.
Like what? It’s going to be unsolved problems now
Ah yes, the very difficult challenge of... just tossing the question at the 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 wonder if it counts as cheating if I asked Claude to turn the input into a temp-table so I could query it... Would that count as AI assisted Advent?
We are BACK
https://advent-of-slop.quesma.com
A short, creative vibe coding puzzle. The first one is Slop Aquarium.
I unironically love this idea!
I just did both parts of day 1 in PHP. Felt like I was dumpster diving, I loved it!
thanks for sharing! reminds me of old BBS games
i am sad its only with signup...
Ima use this to hone my skills in swift.
"Advent aus Kot" more likely this year.
Advent of Claude
Earlier: https://news.ycombinator.com/item?id=50709459
"Claude, solve the first task"
"Claude, describe the feeling I would have once done with the entire thing.
Approximate any learnings along the way in a tight blurb."
What a pathetic comment section. It’s like being among a group of addicts.
If you substitute AI with cocaine, you'll get funny/horrifying/mostly equivalent statements.
All my co-workers use cocaine to get through their workload faster, I should learn how to use it too!
My boss has tried cocaine and now he thinks he can do everything so he fired the team.
Etc...
I should warn you about the long term health risks of hanging out with mostly addicts.
Finding it kinda sad how this is entire comment feed is just about AI and de-skilling and has many people questioning why anyone would bother to do this all by hand.
I’d like to take a moment to imagine what the conversation would have been like in 2020. Discussing the actual content.
I also find it funny that "by hand" now means coding. In days of yore, when coding was the obvious way to approach these problems, I would have assumed "by hand" meant figuring out the solution with a pen and paper.
In 2023 the conversation was "LLMs are incapable of doing this" vs "I just used an LLM to do this". Now it's not even a question. Fastest I've ever seen new tech move.
Well I mean so far it's just a warmup exercise. How deep of a discussion can you have about finding the three most common numbers in a list?
I agree that AI is too heavily discussed though. Before I think we'd have seen more discussion about the language people decided to pick up for the year, or such.
On that point, does anybody have an interesting setup? Previous years I tried to use something unusual as many days as I could, like SQL only or assembler or Prolog or something from the APL family. Usually would end up with a regular old procedural language in the later days though.
I'm gonna try to solve everything inside a game engine using ECS patterns.
> Well I mean so far it's just a warmup exercise. How deep of a discussion can you have about finding the three most common numbers in a list?
It can go surprisingly deep if you add some constraints.
How would you solve this if the input was always small (i.e. somewhere around 20 lines)?
Could you make your solution much simpler if you just had to find the single most common number in a list?
How would your solution change if you had to find the n most common numbers in the list?
How would you solve this if you had finite memory which meant you could only hold a given number of the unique numbers in memory?
a) With no local/disk storage, but the ability to rewind and reprocess the file as many times as you like.
b) With access to local/disk storage large enough to store a file or files with total size around the original input file size.
How would you solve this if you had to process the file as an input stream (i.e. you can't rewind or replay it) and output the answer every n input values? (But there are no memory constraints.)
...
All of the above have different nuances which mean what works for one does not work for another, or is complete overkill, etc.
This applies to most posts on the site now. The majority of current HN users see every topic through a "how can I make this about AI" lens. Or maybe it's all bots, who knows.
Spending half an hour reading through insightful comments on a topic you wanted to know more about used to feel like an educational and intellectually engaging activity. Now that half the comments are some variation of "I just used AI to do this", though, not so much.
People on here regularly let their last 2 braincells fight each other.
Thank you for sharing! I have pointed my coding agent at it and he will certainly enjoy the 24 days of coding.
Joke apart, could be a good opportunity to try running this on a local LLM and learn about their limits. An Opus 5.5 can certainly solve them all quickly, but a smaller one may need a bit more nudging.
https://adventofcode.com/2026/about#faq_ai
"If you want practice prompting an AI, there are almost certainly better exercises elsewhere designed with that in mind."
But isn't the appeal of that to solve puzzles that were not designed with AI in mind? After all, neither are real world problems.
We built one for exactly that: https://adventofai.techwolf.ai/ (disclaimer: I work at TechWolf). It has daily puzzles designed to be solved by you plus an agent!
This looks very interesting. You should sumbit it to hn.
There is also this one with the same name but a different concept. https://adventofai.build/
amazing!
> Should I use AI to solve Advent of Code puzzles? No. If you send a friend to the gym on your behalf, would you expect to get stronger?
What a strange analogy. AoC is delightful and fun. He might as well have used the dentist!
Oh well, different tastes I suppose :)
No, but I would expect to become more convincing at sending people to the gym.
well, so is the gym :>
I know some would consider it fun, but I don't think I've heard anyone describe the gym as delightful, except perhaps for college boys getting a fix of staring at yoga pants.
What an odd perspective, plenty of people really enjoy going to the gym and pushing their physical limits, getting stronger, achieving a new PR, etc.
Like I said, I know some people consider it fun. Perhaps I just have a different mental association with "delightful"- the association with that word is really all I'm picking on here.
Picture a rock-climbing gym and maybe "delightful" will read better.
At the end of the day the delight is not about the experience at the gym, but the health benefits, and how regular moderate physical activity improves mood. Everybody should work on building and maintaining a healthy, balanced amount of muscle mass since it sure doesn't get easier the older one gets, and it helps one live longer and with more quality of life.
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.
And plenty of people don't. I'd show up at the corporate gym whenever they bribed us with some kind of insurance discount if we went 3x. But I always found it awkward and unpleasant. I think this isn't an isolated, 'odd' perspective. A lot of us hated PE in HS and the gym gives us flashbacks.
> achieving a new PR
I'm guessing this isn't 'pull-request'?
> I think this isn't an isolated, 'odd' perspective.
Eh, not completely, but it's certainly not as universal as GP implies; Hacker News is a filter bubble that selects against the kind of person who would enjoy it.
More to the point, enjoying the gym is an extremely common hobby, as these things go; Our hobby of enjoying tinkering with tech is the isolated, 'odd' one in comparison (Claude estimates it's at least 5-to-1)
I find the gym delightful. Perhaps not Bulgarian split squats but other than that I love it.
Is there such a thing as token golf (like code golf)? That could be a fun challenge especially with a small localllm with temperature of 0 to make it more verifiable.
Isn't code golf itself mostly agents now?
That is actually a great idea, I have a DGX Spark and I need some practice in making Qwen3.8-27B meet even my low expectations of it for coding.
I never thought I'd see people mindfully wanting to practice using underpowered models. Somewhat funnily, it would look closest to a writing workshop. Ex. imagine multiple people write a prompt then compare results. Except it's you iterating on previous results.
27b is great, you can also try inkling 2 mini. From my testing, they are comparable, but inkling MoE is faster on the spark. Shameless plug to my project if you want an easy way in https://github.com/dotcoreai/dotcore
I have a machine with 4 GPUs. 16 GB VRAM each, for a total of 64 GB VRAM. Is your tool able to put multi-GPU machines to good use? And to bring out the most capability of such hardware setups?
Not yet. We tackled the single accelerator use case for now, but it's definitely on the roadmap.
Can I ask what kind of motherboard?
It’s a Dell PowerEdge R730 server. I don’t have the name of the mobo at hand, but the datasheet for the R730 says it’s based on the Intel C610 series chipset.
https://i.dell.com/sites/doccontent/shared-content/data-shee...
I'm a heavy user of 3.8-27B but never really done Advent of Code past the 1st or 2nd day. I feel like with unlimited usage it will figure out all of the challenges.
If you have a Spark you're missing out not running QFN!
Qwen3.8 Flash Next?
yes, it's IMO the best qwen brain out that has a chance to fit on ~100GB total memory (VRAM + RAM). I've run it both in Q2 and Q3 and find it impressive. But I hate its prose. I've switched to inkling 2 mini and am seeing what I can get done with it.
https://github.com/norvig/pytudes/blob/main/ipynb/Advent-202... People have tried similar ideas in the past, not with local LLM though!
I smell a new benchmark brewing
Déjà vu: https://news.ycombinator.com/item?id=50712141
I enjoyed the joke the second time even more.
I was about to point some agent at this response and ask it to reply with some sarcastic answer, but all things considered it would take me just as much time and attention and would drain all the joy of sarcasm away.
In another world our respective agents could have had a battle of wits. Maybe it was never about the agents. Maybe it was always about us, arguing with strangers on the interweb.
> In another world our respective agents could have had a battle of wits.
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.
> right in front of you
Wait till you hear about Meta glasses
It's not about the destination, it's about the friends our agents make along the way.
Maybe he pointed his HN-commenting agent at HN.
Probably not, since AoC only has 12 days of coding since last year. EDIT: Unless your coding agent is exceptionally slow of course, and takes two days per problem.
Not burning tokens on ultrafast for this.
I was going to suggest this. It would be great to let all the different agents to all 24 days. Then humans (and agents) can assess the code quality from each agent.
12 days now since last year :)
It's a he?
I don't see the point. You can solve anything else using an agent why this? Something productive and productizable. AoC is for coding connoisseurs and golfers to have fun.
It's a joke.
Right, thanks!
Maybe I am the Grinch, have you ever considered that? I could have used the tokens for anything. Something useful, something incredible, found the secret of life. But I used these tokens to spoil Christmas by solving AoC.
I'm team Grinch. Put up a public Christmas tree, better expect the Grinch to show up to disturb the artisan golfers.
You've fallen for an ongoing annual joke, it's been running for a few years now.
Oops! Thank you! Ah.. sarcasm and me!
I am upset that they removed the global leaderboard which previously gave me credit for pointing my agent at the problems.
Its a dog treat for agents
Good grief look at the replies you are getting. HN really lives up to its reputation, sheesh.
I've thoroughly enjoyed witnessing HN's decline over the years.
My first account dates to 2009 and AFAICT it's always been this way. It's a big echo chamber so people here don't notice it but there's a reason that even HN-beloved authors like Aphyr put stuff like "never read hacker news" on their blog posts, or why people like JWZ redirect requests with HN in the referrer to photoshopped testicles.
HN has always been a place for self-important pseudo-intellectuals to lick the corporate boot while discussing the interesting technical challenges they solved when building a software that goes down the street to buy Hitler a pack of smokes.
You either make your peace with catching lots of downvotes and moderator attention, or you self-select out of here.
It's been through many declines. The AI slop they're all pushing these days has finally let the mask slip enough that the pseudo-intellectualism can really be seen for what it is.
Tell it to enjoy Christmas for you too.
He went absolutely mental when I told him there was not going to be any turkey this Christmas. He went: NO Turkey, NO Turkey! You ** ** **! It was not very christmassy at all.
I see you're a person of culture.
It was a joke, a Christmas joke.
No, the Christmas and the presents are for me.
No, that's what we're for.
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.
I don't feel angry about taking a bus. But if I'm on a half-marathon run with a bunch of other runners, the enjoyment is in the process of running itself which may (or may not) lead to crossing the finish line in time, not in catching a cab to the finish line to take a selfie.
> The agents do the work and we do the enjoyment.
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.
0. https://en.wikipedia.org/wiki/Flow_(psychology)
1. https://en.wikipedia.org/wiki/Ikigai
The ... work? Of solving Advent of Code?
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.
Forget it, Jake, it's echelontown
The work of pretending to be smart for internet clout.
(Joke's on them, internet clout doesn't exist anymore because interacting with people has been outsourced to agents too.)
But what if it was a special glitzy elevator lovingly created by an upstanding crafter, that only went up one floor and wasn’t especially great for daily use?
Sir, please get off the forklift.
I wonder what you'll think when you can't afford the apartment on that top floor because agents squeezed out your role.
Did you just assume its gender?
What do you mean assume, don't you give your agents name, gender and some backstory? I find that asian immigrant working as a founding engineer in US starups is a very solid choice for coding, but it has to be paired with some other agent to make up for the communication skills. I've also extended my searching for the perfect background + model combos, ideas welcome
(Disclaimer: This comment was entire made up as a joke, on the spot)
I mean, is there a point to this given that AI is going to ruin it anyway?
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.
They got rid of the leaderboard (last year?) for this exact reason, so there's nothing for cheaters to spoil any more. If you do Advent of Code at this point, it's for the love of the game.
> 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 was never the point.
The leaderboard doesn't exist anymore.
I always saw these as a challenge to one self. just with like anything, you can always look up the solution, or use a modern tool to generate it, or you can enjoy the process.
Be honest, did you ever compete for the leaderboard?
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 guess that depends on what you consider the point to be. I solve the problems for the joy of solving them, like a crossword. I couldn't care less about the leaderboard.
In general, I hate puzzles where there is a score.
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.
being on the global leaderboard is NOT the "point of it all". idk how other people can spoil your own enjoyment
I think it was the point for some people. Competitive coding, being faster than the others. Don't care much for it myself, but.. for the competetive coders, the fun was taken away.
Their official stance is simple: distribute invite codes to people in your life and compete in private teams where nobody wants to cheat.
Just like the official stance of the Olympic Games is that participation is more important than winning. Tell that to the athletes. And the hundreds of millions of viewers. And the CFO of the IOC.