Tootfinder

Opt-in global Mastodon full text search. Join the index!

@jamesthebard@social.linux.pizza
2025-12-07 08:41:50
Content warning: Advent of Code Solution - Day 7 (Python)

Once I pulled my head out of my ass this wasn't horrible. Part 1 was straightforward, decided to do some set stuff and managed to get it right the first time. Part 2 made my brain hurt a bit because all of the ideas that came to me were very, very slow and memory intensive. Then decided to scrap it and just do what the directions told me to do: count the paths...so I replaced the dumb with a dictionary which was so much better as an idea.
Solution:

@jamesthebard@social.linux.pizza
2025-10-01 01:34:22

Decided to actually start migrating stuff off of Github seriously. While I did move a few repos to Codeberg, I decided to just go with the whole self-hosted route and put the homelab to work by standing up my own Forgejo instance. Wasn't too bad, went with a Postgres database and the migration tool worked pretty well. So far so good...
<…