Threads for hector

    1. 1

      Nice. Thanks for sharing. One of my very favorite things about AoC is seeing how others approach it.

      I’ve been using pydantic lately, and hadn’t heard of cerberus other than this extremely brief mention on pydantic’s “crude benchmarks” page. On the off chance you’ve looked at both, can you say what makes you prefer cerberus?

      When I tackled day 4, I didn’t even bother with pydantic, though. This was my very unsophisticated, standard library only script. Yours is probably more readable and would certainly give a nicer error message in the face of bad input.

      1. 1

        I have not, but definitely am now that both you and @softinio brought it up! I like that it appears to have direct support with mypy.

    2. 1

      A Jekyll static site built using a lightly modified version of the Poole theme, hosted on Netlify. The build process checks for broken links and ensures the sitemap is up-to-date. I recently started using Lighthouse to improve the speed and accessibility of the site overall.

      Best of luck in setting up your site!