advent of code 2022 day 1 

day 1 is always trivial. instead here's this overengineered template generator i wrote

git.hollymcfarland.com/monorai

the only reason to have this at all is that in previous years i kept forgetting to change part='a' to part='b' when i copied everything over to the second problem file

advent of code 2022 day 2 

i completely overengineered my solution, made a whole rps enum class with methods for determining a winner and the score of a round

i even had to upgrade python to use a new 3.11 feature

git.hollymcfarland.com/monorai

advent of code 2022 day 10 

okay i haven't been posting every day of my advent of code stuff but i'm still doing it, and the penny just fucking dropped oh my god

they're making me implement a fucking atari 2600

advent of code 2022 day 10 

kind of. not really. but it's exactly that kind of racing the beam

in fact they even link that really good RGME video

advent of code 2022 day 10 

i wondered why they specified that the screen was a crt lmao

advent of code 2022 day 10 

It's SO overengineered lmao git.hollymcfarland.com/monorai

It's got classes! It's got nested classes! It's got metaclasses! It's got OCR! It's got decorators I've been meaning to learn about! It's got new Python 3.11 features! It's got an unused method that I just realized is still there from part 1! Hopefully we keep working on the device so the effort wasn't wasted, haha

advent of code 2022 day 11 

honestly thank god i know a mathematician. i still had bugs to track down but i wouldn't have guessed that all those operations maintained divisibility mod the number being tested against

advent of code 2022 day 12 

apparently i don't remember how to write a totally normal search algorithm? like i swear this is how i always do it but it's so fucking slow for some reason

advent of code 2022 day 12 

i guess i'll do it later when i'm not brain tired

advent of code 2022 day 12 

@monorail i wonder if you did the thing i lost a lot of time to

(without spoiling it, i didn't read the rules well enough, and made an assumption that works with the test data, but made the full thing impossible)

re: advent of code 2022 day 12 

@thingywott nope, i just swapped out the search alg for a tried and true one and now it works

i wonder what i was doing wrong, afaik it should have been just a normal search...

Sign in to participate in the conversation
Awoo Space

Awoo.space is a Mastodon instance where members can rely on a team of moderators to help resolve conflict, and limits federation with other instances using a specific access list to minimize abuse.

While mature content is allowed here, we strongly believe in being able to choose to engage with content on your own terms, so please make sure to put mature and potentially sensitive content behind the CW feature with enough description that people know what it's about.

Before signing up, please read our community guidelines. While it's a very broad swath of topics it covers, please do your best! We believe that as long as you're putting forth genuine effort to limit harm you might cause – even if you haven't read the document – you'll be okay!