It's time again for the Advent of Code. The puzzles will start at midnight (UTC-5) on December 1, 2024. Once again, we will have the Racket leaderboard. Use the join code 22197-a7a01707 to be included.
Any language in the Racket ecosystem is allowed on our leaderboard, including languages that target other platforms like Urlang.
Tip: In order to use the advent-of-code package, you will need a session key. For those that are not already masters-of-the-web, it might be nice to know how to do this. The following may or may not be useful to anyone:
Good news, getting a session key in your browser is incredibly easy: go to adventofcode.com, "log in" using any means that works for you, and now you have a session key!
But wait: what is my session key? To use it, you must extract the session key cookie value from your browser. Here's one way to do it, using Firefox:
In a tab where you are logged into advent of code, choose Tools > Browser Tools > Web Developer Tools, to open a pane with "under-the-hood" information. In this lower pane, choose "Storage". This should show you the cookies associated with your current session. One of these should be labeled "session". In the right side subpane, you should be able to right-click to copy the session string, though weirdly I had to collapse the turn-down-triangle before I was able to do this. Mine was a string that was 128 characters long. Copy this string and paste it into your racket program, then use functions like open-aoc-input to fetch your input.