Starts off very easy as usual
I have this funny belief that sounds something like this: learning happens fastest when the next adjacent step is within a certain mental distance. Too far and you just get stuck. Too small and well you don’t learn something new.
And for me, Advent of Code has simply been too big of a mental leap.
This year I’m excited to try it with Claude! An attempt to shrink that mental distance. The risk is it becomes too small and I learn nothing.
If there’s others here who want to compare notes on their process or have suggestions I’m all ears.
1. If I'm stuck, take a break, go cook dinner or something else and mull over solutions in the back of my mind for at least an hour or 2 (better yet, sleep on it). If I'm still stuck after that, I'll ask AI for a hint.
2. I have in my prompt to not give away the answers, but try to give me little hints.
3. Always write the code by hand.
4. Once I've solved the puzzle, I have AI review the solution and suggestion improvements or other techniques I could have used.
You're spot on, this sweet spot is also one of the premises of the book Flow by Mihaly Csikszentmihalyi
I am using literary programming in MarkDown where I use an application to collect C code fragments in one or more MarkDown files and put them in the correct order to be compiled. See: https://github.com/FransFaase/AdventOfCode2026
Or maybe using git primitives, fitting the computation using its data representations and functions. Or maybe bitcoin transactions (using a private simulated network obviously). How about going analog ? There must be something in my bookmarks about people using dominos or radio waves to do computation.
I don’t think google sheets itself was the limiting factor on solving more of the puzzles (but rather effort). There was something I found uniquely satisfying about working around a constraint like this to solve what probably would have been a single line of python.
https://www.reddit.com/r/programming/comments/1y9m6dd/commen...
[vi|emacs] day1.[py|c|sh|rb|pl...]
Don't use an IDE unless you want to use it to learn your IDE - just use a simple editor, none of the problems need advanced IDEs to solve. Use a language you like, or you want to learn. Don't use AI, unless you're trying to figure out how to build a spec-driven harness from weird and esoteric problem statements.The point of AoC for me has always been, and always will be (while it exists), to have fun coding. I don't want it to feel like work. I don't want help. I don't want to write a HLD doc, or a spec, or get around a whiteboard unless a bunch of us are going to have fun debating a solution.
It's just me and some code solving a fun little problem, and then another, every day a puzzle gets published.
It's joyous. IDEs rarely add to that.
sort |
uniq -c |
sort -nr |
{ head -3; tail -3;} |
sed 's/.* //' |
paste -sd'**\n' |
bcIt's like constant roadblocks in my flow.
Or not, if that's your thing
~ # vim main.c
:-)
- Settings > Tools > AI Assistant > Project Settings
Uncheck "Enable AI Assistant for this project"
- Settings > Editor > General > Code Completion > Inline
Uncheck the "Enable inline completion using language models"
Or set "Provider" to "None" and optionally uncheck "Use local model".