News for hackers. Stuff that matters.
Re:Advent of Code 2022 by xavdid on Wednesday November 30, 2022 @11:41PM (#33812416)
AoC is one of my favorite events of the year! I find the puzzles generally approachable, but interesting enough to spend time on. I also like that there's a definitively right answer, which motivates me in an interesting way. I've developed a base class over the years that handles input parsing, so I can focus more on the solutions themselves.

Additionally I've been solving for a number of years, but for the past 2 years, I've done a daily explanation of the solution. I use interesting parts of the Python stdlib and walk readers through common algorithms. I've found it _incredibly_ rewarding and plan on doing it again this year.

You can see all of those solutions here: https://github.com/xavdid/advent-of-code/tree/main/solutions

Please let me know if you enjoy reading these, I love hearing from folks!

Re:Advent of Code 2022 by xdavidliu on Thursday December 01, 2022 @12:26AM (#33812683)
wow, your username somewhat resembles mine!
Re:Advent of Code 2022 by xavdid on Thursday December 01, 2022 @03:48AM (#33813863)
Ha, so it does. A small world. :)
Re:Advent of Code 2022 by jabagawee on Thursday December 01, 2022 @02:51AM (#33813514)
I just skimmed through your repo, and I loved the way that you used AoC as an opportunity to share many of the batteries that are included in the Python stdlib. In one particular case, I wanted to also share some more fun corners of the collections module / common algorithms and sent you a pull request.
Re:Advent of Code 2022 by xavdid on Thursday December 01, 2022 @03:48AM (#33813867)
Thank you for reading! I never thought to accept contributions on here, but these look great. Thank you for sending it over!
Re:Advent of Code 2022 by katelatte on Tuesday December 13, 2022 @03:35AM (#33966195)
Thanks for creating this and helping others learn! Amazing effort :)
Re:Advent of Code 2022 by xavdid on Tuesday December 13, 2022 @03:42AM (#33966238)
You're very welcome! I hope you (and any other readers out there) have found them useful.