Shawn Eddy's Avatar

Shawn Eddy

@seddy.com.bsky.social

Software Engineer, Data Scientist, and all things Nerd-related - anime, D&D, comics.

110 Followers  |  158 Following  |  61 Posts  |  Joined: 13.11.2024  |  1.647

Latest posts by seddy.com on Bluesky

Advent of Code 2025

I just completed all 12 days of Advent of Code 2025! #AdventOfCode adventofcode.com

Don't spend much time thinking about day 12; try the simplest option first. I did this as a gut check to trim out unnecessary trials; on a chance, I submitted the answer - it was correct.

github.com/ymiseddy/Adv...

12.12.2025 06:25 โ€” ๐Ÿ‘ 11    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Day 11 - Advent of Code 2025

I've completed "Reactor" - Day 11 - Advent of Code 2025 #AdventOfCode adventofcode.com/2025/day/11

First directed graph. I was overthinking it and got some outrageous answers for Part 2.

github.com/ymiseddy/Adv...

11.12.2025 06:19 โ€” ๐Ÿ‘ 7    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Preview
AdventOfCode/2025/dayA2.py at main ยท ymiseddy/AdventOfCode My Advent of Code Solutions. Contribute to ymiseddy/AdventOfCode development by creating an account on GitHub.

I saw a lot of other solutions using the z3 library. It's high time I learned it. Here's the solution for day 10 part 2 using z3 instead of linear programming:

github.com/ymiseddy/Adv...

10.12.2025 21:51 โ€” ๐Ÿ‘ 3    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Day 10 - Advent of Code 2025

I just completed "Factory" - Day 10 - Advent of Code 2025 #AdventOfCode adventofcode.com/2025/day/10

Part 1 - tried Dijkstra's, but was too lazy to implement a cost function, so it degraded to BFS.

Part 2 - was crazy - tried A*, linalg solver, ended up with linprog FTW.

github.com/ymiseddy/Adv...

10.12.2025 08:22 โ€” ๐Ÿ‘ 7    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Day 9 - Advent of Code 2025

I've completed "Movie Theater" - Day 9 - Advent of Code 2025 #AdventOfCode adventofcode.com/2025/day/9

It took a bit to find a reasonably efficient algorithm for part 2. I'm still not convinced it is the best.

github.com/ymiseddy/Adv...

09.12.2025 08:02 โ€” ๐Ÿ‘ 6    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Day 8 - Advent of Code 2025

I've completed "Playground" - Day 8 - Advent of Code 2025 #AdventOfCode adventofcode.com/2025/day/8

This is my favorite so far!

Messy code - I may do some cleanup later.

Solution is here:
github.com/ymiseddy/Adv...

08.12.2025 06:23 โ€” ๐Ÿ‘ 6    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Day 7 - Advent of Code 2025

I just completed "Laboratories" - Day 7 - Advent of Code 2025 #AdventOfCode adventofcode.com/2025/day/7

Solution is here:

github.com/ymiseddy/Adv...

Part 2 - first attempt grew exponentially, so I had to find a better way.

07.12.2025 05:54 โ€” ๐Ÿ‘ 7    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Day 6 - Advent of Code 2025

I just completed "Trash Compactor" - Day 6 - Advent of Code 2025 #AdventOfCode adventofcode.com/2025/day/6

I spent too much time trying for a pure-math solution to part 2 before realizing that the padding made that impossible.

github.com/ymiseddy/Adv...

06.12.2025 06:58 โ€” ๐Ÿ‘ 7    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Day 5 - Advent of Code 2025

I've completed "Cafeteria" - Day 5 - Advent of Code 2025 #AdventOfCode adventofcode.com/2025/day/5

Be careful with those overlaps!

Here's my solution:
github.com/ymiseddy/Adv...

05.12.2025 05:39 โ€” ๐Ÿ‘ 5    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

I personally don't worry about code being slow until we start getting into NP type problems, where it makes a difference. If it completes before I come up with a better solution, it's good. ๐Ÿ˜€

04.12.2025 05:48 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Day 4 - Advent of Code 2025

I just completed "Printing Department" - Day 4 - Advent of Code 2025 #AdventOfCode adventofcode.com/2025/day/4

The Part 1 solution is easy to reuse for Part 2 - I was even building a new map so I could display it for debugging.

Solution code is here:

github.com/ymiseddy/Adv...

04.12.2025 05:34 โ€” ๐Ÿ‘ 11    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Day 3 - Advent of Code 2025

I just completed "Lobby" - Day 3 - Advent of Code 2025 #AdventOfCode adventofcode.com/2025/day/3

I went with the direct solution for both parts.
github.com/ymiseddy/Adv...

03.12.2025 05:45 โ€” ๐Ÿ‘ 7    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Day 2 - Advent of Code 2025

I just completed "Gift Shop" - Day 2 - Advent of Code 2025 #AdventOfCode adventofcode.com/2025/day/2

I just went with the messy, obvious solution for both - I'm certain there were some optimizations to be had:

github.com/ymiseddy/Adv...

02.12.2025 05:49 โ€” ๐Ÿ‘ 7    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Day 1 - Advent of Code 2025

I just completed "Secret Entrance" - Day 1 - Advent of Code 2025 #AdventOfCode adventofcode.com/2025/day/1

This year, I'm doing solutions in Python. Here is a link to today's solution on GitHub:

github.com/ymiseddy/Adv...

01.12.2025 06:31 โ€” ๐Ÿ‘ 5    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

If you go many years with a hammer as your only tool, you get really good at pounding things.

27.03.2025 17:57 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

I'm impressed with the responses I get from my local Deepseek instance. It is reasonably performant and gives excellent responses. I also like reading through the thinking sections to see how it reasons about its response.

27.01.2025 19:31 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Advent of Code 2024

I just completed all 25 days of Advent of Code 2024! #AdventOfCode adventofcode.com

I have to say, the past 25 days were adventurous! Long time SWE, first time doing AoC. I am currently going through the Easter Eggs in the earlier problems.

github.com/ymiseddy/Adv...

25.12.2024 06:09 โ€” ๐Ÿ‘ 14    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Day 24 - Advent of Code 2024

I just completed "Crossed Wires" - Day 24 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/24

This one was a complete pain; I haven't worked with binary adders in decades.

I resorted to flat rule checking on this, and surprisingly, it worked.

github.com/ymiseddy/Adv...

24.12.2024 10:13 โ€” ๐Ÿ‘ 6    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Day 23 - Advent of Code 2024

I just completed "LAN Party" - Day 23 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/23

Part two took abnormally long because I got burned by one of Go's footguns in how it handles slices.

github.com/ymiseddy/Adv...

23.12.2024 07:50 โ€” ๐Ÿ‘ 8    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Yeah that didn't last. Still awake even though I finished hours ago. ๐Ÿ˜ด

22.12.2024 10:57 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

It's usually worth it - even if you're building a small CRUD app; having the event store is immensely beneficial. Fearless deleting, keeping your reporting system clean, free auditing, not to mention the benefit when debugging hard problems.

22.12.2024 06:24 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Day 22 - Advent of Code 2024

I just completed "Monkey Market" - Day 22 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/22

Ok, I stayed up for this one. The hardest part was parsing what the heck these monkeys were doing. ๐Ÿ’๐ŸŒ๐ŸŒ๐ŸŒ๐ŸŒ๐Ÿ’

22.12.2024 06:10 โ€” ๐Ÿ‘ 7    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Day 21 - Advent of Code 2024

I just completed "Keypad Conundrum" - Day 21 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/21

I've decided not to stay up late to try to solve these. I'm glad I didn't for this one; it took me quite some time.

22.12.2024 00:27 โ€” ๐Ÿ‘ 6    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Day 20 - Advent of Code 2024

I just completed "Race Condition" - Day 20 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/20

I tried a few dumb ways before stumbling on a reasonable way to find cheats. BFS is overkill for finding the initial path since it doesn't branch.

github.com/ymiseddy/Adv...

20.12.2024 07:30 โ€” ๐Ÿ‘ 6    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Day 19 - Advent of Code 2024

I just completed "Linen Layout" - Day 19 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/19

I would have finished this one faster if I hadn't written bugs early on.

github.com/ymiseddy/Adv...

19.12.2024 05:43 โ€” ๐Ÿ‘ 12    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

I didn't binary search part 2 instead, I just kept adding rocks checking to see if they fell on my existing path - only then, did I need to re-run the search.

18.12.2024 08:04 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Yeah, I made the exact same mistake. After figuring that out, it was a lot easier than some of the recent ones.

18.12.2024 07:56 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Day 18 - Advent of Code 2024

I just completed "RAM Run" - Day 18 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/18

Today, I made it hard for myself, thinking I had to compute the path while the rocks were falling on part 1. After I figured out that mistake, it was straightforward.

github.com/ymiseddy/Adv...

18.12.2024 07:52 โ€” ๐Ÿ‘ 8    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Day 17 - Advent of Code 2024

I just completed "Chronospatial Computer" - Day 17 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/17

Both parts were interesting - implementing a small assembly language and figuring out how to generate a specific output. I'm surprised my solution worked!

github.com/ymiseddy/Adv...

17.12.2024 08:48 โ€” ๐Ÿ‘ 3    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Day 16 - Advent of Code 2024

I just completed "Reindeer Maze" - Day 16 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/16

Finding Go's heap structure and building a priority queue to implement part 1 took me forever.

16.12.2024 12:54 โ€” ๐Ÿ‘ 3    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

@seddy.com is following 20 prominent accounts