Top
Best
New

Posted by saisundar 1 day ago

Advent of Code 2026(adventofcode.com)
64 points | 399 commentspage 3
bel8 6 hours ago|
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.

Ampersander 6 hours ago||
Algorithms are integral to programming. Algorithms + Data Structures = Programs, as Niklaus Wirth put it in the title of his famous book.

Coming up with the right algorithm is what people usually find the most interesting about programming puzzles.

bel8 4 hours ago||
For some problems it's not feasible to just "come up" with the required algorithm. Specially the later ones.

Some of them are very specific. You either remember it if you had the chance to stumble upon them during your studies or you research the specific math required to solve it.

Maybe I have the wrong expectation but I would like for all of the challenges to be feasible without heavy math.

Take this for example: https://adventofcode.com/2019/day/22

You are given a deck of over 119 trillion cards and must shuffle it over 101 trillion times using three specific shuffling rules, then find which card ends up at index 2020.

Simulating the deck in memory is impossible. You need modular arithmetic and maybe linear congruential functions to do it.

That doesn't sound like "Advent of Code" to me.

For https://adventofcode.com/2023/day/18 I needed the help from a mathematician friend of mine who hinted me at gauss's area formula.

Maybe Advent of Puzzle would be a more apt name.

probably_wrong 5 hours ago|||
In my mind coding and algorithms are one and the same, so I wonder what you had in mind that you think would better fit the title.
ryathal 4 hours ago|||
It is more of a math challenge than a code one I'd say. It's similar to hacker rank in that the outcome is generally binary. You either know the obscure formula or algorithm being hinted at and it's trivial or you don't and it's nearly impossible. It's admittedly harder to implement a coding challenge where you point people more directly to the answer, so I understand why most are like this.
ChrisRR 4 hours ago||
Advent of programming doesn't have the same ring to it. AOC is fine, it's hardly an issue
kleiba2 4 hours ago||
By the way, the actual Christian Advent 2026 started already two days before December 1st! :)
CobrastanJorji 1 hour ago||
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.

jnellis 3 hours ago||
Splitters!
Eji1700 5 hours ago|||
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.
skydhash 5 hours ago|
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.

floren 1 hour ago||
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.
demindiro 3 hours ago|||
https://www.demindiro.com/blog/2026/advent-of-code-day1

Starts off very easy as usual

robin_reala 5 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 5 hours ago|||
I got a bit lazy, thought of reaching for AI and it broke my heart.
bradley13 6 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 5 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 3 hours 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 5 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 3 hours 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 5 hours ago|||
Yes you should turn that off during advent of code.

Or not, if that's your thing

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

~ # vim main.c

:-)

caxco93 4 hours ago|||
just do it on the browser console
mrbnprck 3 hours ago||
by now even browser consoles have AI integrations
sebtron 5 hours ago||
Can it be disabled?
rhdunn 5 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 5 hours ago||||
Yes
win311fwg 5 hours ago|||
Advent of Coding Tools 2026.
markhermeling 2 hours ago|||
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...

Ampersander 6 hours ago||
Starting out with C++ this year, trying to use some stuff I don't normally use, like ranges.
More comments...