Top
Best
New

Posted by meffmadd 3 hours ago

Advent of Code 2026(adventofcode.com)
538 points | 249 commentspage 2
oalders 1 hour ago|
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/
demindiro 40 minutes ago||
https://www.demindiro.com/blog/2026/advent-of-code-day1

Starts off very easy as usual

tito 2 hours ago||
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.

yoyohello13 15 minutes ago||
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.

joosd 1 hour ago|||
> 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

tito 1 hour ago||
Oh wow thank you, I looked it up and bought the Kindle version just now.
DrVoltz 1 hour ago|||
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
tito 1 hour ago||
"Agent Harness for Learning Things", love it thank you!
hardbass 1 hour ago||
Lean Dijkstra and loop finding. These two should push you through a lot of the middle problems.
tito 1 hour ago||
Thank you! First time hearing those terms and I'm interested to see what I learn from them.
fjfaase 2 hours ago||
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

thibsrn 3 hours ago||
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.

terse-broccoli 2 hours ago||
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.

mister_mort 2 hours ago|||
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...

tatjam 3 hours ago||
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.
robin_reala 3 hours ago||
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...
8bitbeep 3 hours ago||
I got a bit lazy, thought of reaching for AI and it broke my heart.
bradley13 3 hours ago||
Funny feeling. I want to code this without AI. But the IDE autocomplete still exists, and is pretty clearly AI driven. Hmmm...
PaulRobinson 3 hours ago||
AoC is best when you just start with:

    [vi|emacs] day1.[py|c|sh|rb|pl...]
Don't use an IDE unless you want to use it to learn your IDE - just use a simple editor, none of the problems need advanced IDEs to solve. Use a language you like, or you want to learn. Don't use AI, unless you're trying to figure out how to build a spec-driven harness from weird and esoteric problem statements.

The point of AoC for me has always been, and always will be (while it exists), to have fun coding. I don't want it to feel like work. I don't want help. I don't want to write a HLD doc, or a spec, or get around a whiteboard unless a bunch of us are going to have fun debating a solution.

It's just me and some code solving a fun little problem, and then another, every day a puzzle gets published.

It's joyous. IDEs rarely add to that.

oguz-ismail2 44 minutes ago|||
Didn't even have to fire up Vi today

    sort                 |
    uniq -c              |
    sort -nr             |
    { head -3; tail -3;} |
    sed 's/.* //'        |
    paste -sd'**\n'      |
    bc
f17428d27584 3 hours ago|||
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.
OptionOfT 35 minutes ago||
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.

jezzamon 3 hours ago|||
Yes you should turn that off during advent of code.

Or not, if that's your thing

mrmckizzle 3 hours ago|||
I'd recommend using vim, emacs, or some more vanilla editor. Helps with the focus.
asimovDev 1 hour ago|||
Back to basics

~ # vim main.c

:-)

caxco93 2 hours ago|||
just do it on the browser console
mrbnprck 1 hour ago||
by now even browser consoles have AI integrations
sebtron 3 hours ago||
Can it be disabled?
rhdunn 3 hours ago|||
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".

sevenzero 3 hours ago||||
Yes
win311fwg 3 hours ago|||
Advent of Coding Tools 2026.
Ampersander 3 hours ago||
Starting out with C++ this year, trying to use some stuff I don't normally use, like ranges.
phmx 2 hours ago|
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.
More comments...