Finally, an application for my FSM library! Advent of Code 2024 day 11We’ve finally completed 10 puzzles, surpassing my previous record (though I still have days 24 and 25 to tackle, and I’ll likely need to…4d ago4d ago
Climbing a depth-first search hill, Advent of Code 2024, day 10Today, we’re diving into the Day 10 puzzle. Like Day 6, it’s a 2D grid, but this time, we need to consider multiple paths. It’s fascinating…Jan 13Jan 13
How to parse computer code, Advent of Code 2024 day 3Having tackled some of the later Advent of Code challenges, I wanted to revisit Day 3, which presented an interesting parsing problem. The…Jan 6Jan 6
How to repair a bridge, Advent of Code 2024 Day 7After what felt like an eternity (five hours, to be precise), Day 20 part 2 finally decided to cooperate. I’m still slightly dazed from the…Dec 30, 2024Dec 30, 2024
How to trace steps in a map, Advent of Code 2024 day 6Back to my Advent of Code challenge, due to some unforeseeable issues, I am unable to complete the challenges in time and am currently…Dec 23, 2024Dec 23, 2024
Video data IO through ffmpeg subprocessAs I restarted my job search (yes, I am still #OpenToWork, ping me!), in one of the job applications, I was asked to implement a prototype…Dec 18, 2024Dec 18, 2024
How to code a Sorting Algorithm for Advent of Code 2024 day 5In the previous post, I briefly mentioned that I am participating in this year’s Advent of Code. Co-incidentally, in one of the puzzles…Dec 10, 2024Dec 10, 2024
Why does everyone love sorting algorithms?I had an interview a few weeks ago, and was asked to implement a sorting algorithm. I didn’t manage to do it on the spot, but managed to…Dec 3, 2024Dec 3, 2024
Building state machine library with help from AI toolsJust out of boredom, while waiting for my follow-up interview sessions, I built a state-machine library, powered by genruler. I built one…Nov 26, 2024Nov 26, 2024
Remaking a rule-engine DSLA few years ago, I reimplemented a domain-specific language (DSL) originally designed for the rule engine at work. The toy reimplementation…Nov 18, 2024Nov 18, 2024