Hacker News new | past | comments | ask | show | jobs | submit

Advent of Code 2026

https://adventofcode.com/
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.

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...

loading story #50720242
loading story #50719882
loading story #50720002
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.

loading story #50719192
loading story #50719072
loading story #50719565
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.
loading story #50715994
loading story #50717940
loading story #50715501
loading story #50715461
loading story #50716013
loading story #50717282
loading story #50716649
loading story #50716286
loading story #50715992
loading story #50716372
loading story #50718584
loading story #50716707
loading story #50717303
loading story #50717105
loading story #50717604
loading story #50715389
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!)

loading story #50716438
loading story #50715974
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.
loading story #50719618
The Advent of Sysadmin variation: https://sadservers.com/advent2026 (free in-browser challenges, no registration needed. Disclaimer: I built this)
loading story #50715949
loading story #50716121
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

"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

loading story #50720261
I was up at 6AM this morning (Norway time zone) and loved doing this again!

Thank you to the creator!

I always enjoy getting a first solution, then improving it to be more readable, and then being flabbergasted when I look up online how others are solving it.

I'm keen to learn more strong typing languages, open for ideas.

loading story #50718263
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.

I'm doing the puzzles by hand in Haskell this year. Should be fun!
loading story #50716200
loading story #50716779
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.

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.

loading story #50716733
loading story #50717953
loading story #50716486
loading story #50716742
loading story #50719219
loading story #50718655
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 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.
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.
loading story #50716179
My problem with AOC is the name.

A good part of the challenges require specific knowledge to solve so it wasn't about code but specific algorithms, math, shortcuts to skip brute force, etc.

loading story #50714841
loading story #50715562
loading story #50716246
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.

loading story #50719275
loading story #50715860
loading story #50715961
loading story #50715529
loading story #50718748
By the way, the actual Christian Advent 2026 started already two days before December 1st! :)
loading story #50718760
loading story #50716813
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.
loading story #50720091
loading story #50715502
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.
I got a bit lazy, thought of reaching for AI and it broke my heart.
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...
loading story #50715456
loading story #50715561
loading story #50717502
loading story #50715323
loading story #50715457
loading story #50715308
loading story #50716205
loading story #50716607
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.
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.

loading story #50718018
loading story #50718048
loading story #50717586
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
loading story #50720092
loading story #50716063
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.
I'm not anti-AI but it does feel a bit hollow and sad, sign of the times, I even wondered for a moment if it still makes sense for adventofcode to continue existing.

But I actually think it can play an important role in two ways. First, as a reminder, specially to less technical people like myself, of the challenges and complexity involved in what we now take for granted.

Second, as a (re)spark of passion. People still journal with pen and paper, solve jigsaw puzzles, play solved games like tic-tac-toe with each other and paint portraits that will never match the "quality" of a digital photograph, and those activities are almost universally regarded as healthy and even romanticised a bit.

Maybe now that advent of code no longer works as much of an employability signal it can actually be purer, even if it's a bit sad that we won't ever again have the healthy and impressive (to me at least!) competitiveness of the pre-LLM days.

loading story #50714525
loading story #50713593
loading story #50714012
loading story #50715481
loading story #50712848
loading story #50714391
loading story #50712662
loading story #50713434
On the one hand AI makes it obsolete, but on the other hand, we could have much cooler competitions.

Instead of asking people to solve a simple puzzle, you could ask them to implement the best object storage system, or the best compression algorithm. We could get some way more interesting competitions out of it.

loading story #50714687
loading story #50715144
loading story #50715072
Everyone’s complaining about using AI and here I am feeling bad that I used the Duckdb CLI
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

> To play, please identify yourself via one of these services: [GitHub] [Google] [Twitter] [Reddit]

So, I can't play then?

loading story #50719336
loading story #50715897
loading story #50715855
loading story #50715651
loading story #50715449
I love AoC. It's a shame the sloppers killed the global leaderboard, but we still have a nice competition going in the office.
Love AOC. It helped me flesh out learning all the ins and outs of Python over the years.

Today was great because I could use a python library for the busywork and the [-1] feature of list traversal.

Do all the negative people in the thread here and reddit also just take a picture of the Sudoku puzzle in their newspaper and as Grok to solve?

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?
loading story #50719897
loading story #50719439
So wait, I'm supposed to... type... code?

I should turn off Intellisense...

Or just use Notepad++ or something... Like a cave-person...

About to dive in, writing code with my hand like a caveman.
loading story #50707285
loading story #50698865
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.

loading story #50719083
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. )

loading story #50719329
loading story #50719228
Why does this needs sponsors? Sony, JP Morgan Chase, Citadel Securities...
loading story #50719427
loading story #50718106
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.

loading story #50717111
loading story #50718078
I totally forgot about this, and I see no one speaking about it online. It seems that AI killed any interest in AoC (not that I was able to do it anyway)
loading story #50713197
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?
loading story #50715321
https://advent-of-slop.quesma.com

A short, creative vibe coding puzzle. The first one is Slop Aquarium.

loading story #50718346
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.
loading story #50715211
"Claude, solve the first task"
loading story #50716052
What a pathetic comment section. It’s like being among a group of addicts.
loading story #50719461
loading story #50718861
I was disappointed at how little attention this is getting, but, for the record, it's just a countdown at this point. The actual coding challenge hasn't been revealed yet.
loading story #50712478
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.

loading story #50717923
loading story #50718303
loading story #50718401
loading story #50720118
loading story #50718122
loading story #50718744
Thank you for sharing! I have pointed my coding agent at it and he will certainly enjoy the 24 days of coding.
loading story #50716038
loading story #50715188
loading story #50715133
loading story #50717295
loading story #50716367
loading story #50717517
loading story #50715796
loading story #50717817
loading story #50718961
loading story #50716154
loading story #50715611
loading story #50715984
Apparently everyone is coding there and forgot to upvote this.
loading story #50711814
loading story #50711944
Thank you for sharing! I have pointed my coding agent at it and he will certainly enjoy the 24 days of coding.
loading story #50715116
loading story #50712718
loading story #50715164
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.

loading story #50715335
loading story #50715985
loading story #50715469
loading story #50716365
loading story #50715359
loading story #50715391
loading story #50715554
loading story #50715452
Is this even relevant since Clanker is doing all the coding these days?
loading story #50712157
loading story #50712885
loading story #50712162
loading story #50714413
loading story #50717866
[flagged]
loading story #50715196
loading story #50715493
loading story #50715108