Advent of Code 2024 Leaderboard

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.

Eutro has written an advent-of-code package to download puzzle inputs and post solutions.

There is a channel for discussing problems and solutions on the Racket Discord server in the #advent-of-code channel.

7 Likes

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.

1 Like

PS: It would be great if something like this was a part of the docs for that package?

Hello,

sorry but Iā€™m quite confused.

How can I post for the calendar?

Where it will be visible?

Matteo

Presumably you're asking about https://racket.discourse.group/t/racket-advent-calendar-2024, while this thread is about https://adventofcode.com.

(For the former, a post here with advent-2024 is "enough," but see OP for details.)

1 Like

Thanks, I thought they were the same.

Matteo