Files
adventofcode/2025
2025-12-05 07:59:09 +01:00
..
2025-12-01 17:26:56 +01:00
2025-12-02 19:52:52 +01:00
2025-12-04 21:26:21 +01:00
2025-12-04 08:16:42 +01:00
2025-12-05 07:59:09 +01:00
2025-12-05 07:58:53 +01:00
2025-12-04 21:27:10 +01:00

Advent of Code 2025

Introduction

This is mostly so I can keep notes on my progress, in single markdown format so I can easily add it to my Silverbullet journal afterwards.

Lessons from first day

  1. Read! Oh that brain of mine, skipping half the things and missing things like count clicks not end point dial
  2. Setup a proper test, make a smaller input test that you know the answer to to check the code

Lessons second day

  1. More git commits!
  2. Clear history so you don't accidentally cp day1 to day2 during testing. (Undo FTW)
  3. Put the central check (Serial Valid/Invalid) in a function so it's easy to add self checks in the beginning

Lessons third day

  1. Can't win em all
  2. Code is much shorter because I'm getting better with Lua, yay

Lessons fourth day

  1. Need about an hour to do both, but also speeding up