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 10 

@monorail "It's got OCR!"

hell yeah! that rules~

for mine, i just spit out a table to a literate doc that i transcribed visually, but this is much cooler!

(how have the new features been btw?)

re: advent of code 2022 day 10 

@thingywott the only actual new feature i used is Enum.nonmember, a method for having properties of an enum without them being considered enum members

but that's pretty nice

re: advent of code 2022 day 10 

@monorail oh yeah! it's nice to be able to use enums to specify grouped values of things~

i really like how different everyone has approached these problems, like i don't think mine could get any more different ahah

(here's mine btw! gist.github.com/Archenoth/19bf)

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!