preview
Everyone loves a good visualisation, share any visualisations that you have created here.
Everyone loves a good visualisation, share any visualisations that you have created here.
Not on this instance? Enter your own instance's domain to go straight to following c/advent_of_code@programming.dev there.
Everyone loves a good visualisation, share any visualisations that you have created here.
Everyone loves a good visualisation, share any visualisations that you have created here.
Advent of Code is an annual Advent calendar of small programming puzzles that can be solved in any programming language you like.
Puzzles have a backstory and then a collection of different inputs with people getting a random input and needing to submit the corresponding output for the puzzle and their input to successfully complete it.
Puzzles start easy and get harder as the days go on. Every day has two different puzzles in increase in difficulty with you getting access to the second puzzle after solving the first.
Puzzles are released every day at midnight ET and can be completed anytime after they are released (but people who solve them quicker after they’re been released get more points for the site leaderboard).
Anything relating to the event! Whether that be a meme, asking for help, sharing solutions, etc.
Every day a megathread will be posted that solutions to that day should go into. In the megathread you can post code using code blocks or by linking to repositories or pastebins.
To make a code block make three backticks, make a new line and put the code on lines, then put a newline and do three backticks on that
e.g.
```
console.log(‘Hello World’)
```
becomes
console.log('Hello World')
If you want a spot to post code externally (e.g. if it is too large or you want to have a spot to store it) we have a forgejo instance and an opengist instance
you can find them at git.programming.dev and blocks.programming.dev
Try to keep titles in this general format:
[help, etc. category if applicable] [YEAR Day # (Part X)] [programming language if applicable] Post Title
For example:
[2023 Day #5 (Part 3)] [Rust] My attempt at a solution
Another example:
[Help] [2023 Day #2] What does this sentence mean
This helps people avoid spoilers and lets people use it as an archive by searching if they find out about the event in the middle and are starting from the beginning
Advent of Code is an annual Advent calendar of small programming puzzles that can be solved in any programming language you like.
Puzzles have a backstory and then a collection of different inputs with people getting a random input and needing to submit the corresponding output for the puzzle and their input to successfully complete it.
Puzzles start easy and get harder as the days go on. Every day has two different puzzles in increase in difficulty with you getting access to the second puzzle after solving the first.
Puzzles are released every day at midnight ET and can be completed anytime after they are released (but people who solve them quicker after they’re been released get more points for the site leaderboard).
Anything relating to the event! Whether that be a meme, asking for help, sharing solutions, etc.
Every day a megathread will be posted that solutions to that day should go into. In the megathread you can post code using code blocks or by linking to repositories or pastebins.
To make a code block make three backticks, make a new line and put the code on lines, then put a newline and do three backticks on that
e.g.
```
console.log(‘Hello World’)
```
becomes
console.log('Hello World')
If you want a spot to post code externally (e.g. if it is too large or you want to have a spot to store it) we have a forgejo instance and an opengist instance
you can find them at git.programming.dev and blocks.programming.dev
Try to keep titles in this general format:
[help, etc. category if applicable] [YEAR Day # (Part X)] [programming language if applicable] Post Title
For example:
[2023 Day #5 (Part 3)] [Rust] My attempt at a solution
Another example:
[Help] [2023 Day #2] What does this sentence mean
This helps people avoid spoilers and lets people use it as an archive by searching if they find out about the event in the middle and are starting from the beginning
Hey everyone! I set up a private leaderboard for the programming.dev community so we can have one for the community in addition to the global one
The leaderboard code is 3316962-6587d422
Looking forward to seeing you guys there! Ill make a post at the end with the top people on the leaderboard and the version on the site will auto update as people complete challenges
leaderboard section in the navbarprivate leaderboard button on the page3316962-6587d422 into the text box for entering a leaderboard join codejoinUpdate: Ive made a new leaderboard so that I could rename it to something that isnt just my username, the code there is updated to the new one that should be joined
Hey everyone! I set up a private leaderboard for the programming.dev community so we can have one for the community in addition to the global one
The leaderboard code is 3316962-6587d422
Looking forward to seeing you guys there! Ill make a post at the end with the top people on the leaderboard and the version on the site will auto update as people complete challenges
leaderboard section in the navbarprivate leaderboard button on the page3316962-6587d422 into the text box for entering a leaderboard join codejoinUpdate: Ive made a new leaderboard so that I could rename it to something that isnt just my username, the code there is updated to the new one that should be joined
Preparations for the princess’s wedding are in full swing, and the royal court has announced a competition for the most beautiful ballroom decorations. One of the challenges is to design the ornamental trimming for the grand curtains surrounding the dance floor.
You can send code in code blocks by surrounding it in triple backticks (```<code>```) and make it collapsible by surrounding it in spoiler syntax. Or you could use something such as topaz.github.io/paste/ if you prefer sending it through a URL.
Preparations for the princess’s wedding are in full swing, and the royal court has announced a competition for the most beautiful ballroom decorations. One of the challenges is to design the ornamental trimming for the grand curtains surrounding the dance floor.
You can send code in code blocks by surrounding it in triple backticks (```<code>```) and make it collapsible by surrounding it in spoiler syntax. Or you could use something such as topaz.github.io/paste/ if you prefer sending it through a URL.
Congrats to everyone who took part, and thank you to everyone who contributed here, in the solutions and visualization threads.
If anyone knows of a similar event that runs during the year, please do reach out, I would be happy to run more events like this.
Happy new year!
Congrats to everyone who took part, and thank you to everyone who contributed here, in the solutions and visualization threads.
If anyone knows of a similar event that runs during the year, please do reach out, I would be happy to run more events like this.
Happy new year!
Just letting everyone know that I’ll post the final leaderboard new years day, so get your final solves in over the new few days!
Just letting everyone know that I’ll post the final leaderboard new years day, so get your final solves in over the new few days!
Part 2 is basically running just the isolation rule from Conway’s game of life until the world state stabilizes. I’m curious if anyone noticed this and used an existing cellular automata program or library to handle the computation.
Part 2 is basically running just the isolation rule from Conway’s game of life until the world state stabilizes. I’m curious if anyone noticed this and used an existing cellular automata program or library to handle the computation.
It is only going to be downhill from here
It is only going to be downhill from here
Okay, so I’m almost a decade behind on this…
But I only found out about AoC this year. So I’m gradually going through the backlog. And this is the first one that has left me clueless about a reasonable approach.
I’m on part 2 of this problem (reconstructing the molecule in the least number of steps). So far, I’ve figured…
e in the fewest steps possible) in order to bound the problemwhile loop, didn’t helpThings I could try:
Anyone willing to offer any pointers?
Okay, so I’m almost a decade behind on this…
But I only found out about AoC this year. So I’m gradually going through the backlog. And this is the first one that has left me clueless about a reasonable approach.
I’m on part 2 of this problem (reconstructing the molecule in the least number of steps). So far, I’ve figured…
e in the fewest steps possible) in order to bound the problemwhile loop, didn’t helpThings I could try:
Anyone willing to offer any pointers?
I think you fellow solvers will find this talk interesting. There’s a few minutes of the usual who am I and what is AoC but there’s some good stuff about growing pains, the puzzle design process and why he likes to throw in a hard puzzle in an early day.
edit: bah, I see it was already posted - the Lemmy search doesn’t seem to find it unless you limit the search to URL…
I think you fellow solvers will find this talk interesting. There’s a few minutes of the usual who am I and what is AoC but there’s some good stuff about growing pains, the puzzle design process and why he likes to throw in a hard puzzle in an early day.
edit: bah, I see it was already posted - the Lemmy search doesn’t seem to find it unless you limit the search to URL…
Link to participate: everybody.codes
Link to participate: everybody.codes
Link to participate: everybody.codes
Link to participate: everybody.codes
Link to participate: everybody.codes
Link to participate: everybody.codes
Link to participate: everybody.codes
Link to participate: everybody.codes
Link to participate: everybody.codes
Link to participate: everybody.codes
Hi All,
With a few days remaining until the 2025 kick off, its time to get ready to save Christmas once more!
This year is only 12 days, but that just leaves the rest of the month for refining solutions and visualizations.
I have setup a bot to post the solutions threads, but as traditional AoC code style, it likely wont work most of the month. I’ll try keep on top of it. As always, if there is something I can do better, please let me know!
Also, thanks to @hades for running the Everybody.Codes threads, its a thankless task, but its good to diversify the challenges.
Hi All,
With a few days remaining until the 2025 kick off, its time to get ready to save Christmas once more!
This year is only 12 days, but that just leaves the rest of the month for refining solutions and visualizations.
I have setup a bot to post the solutions threads, but as traditional AoC code style, it likely wont work most of the month. I’ll try keep on top of it. As always, if there is something I can do better, please let me know!
Also, thanks to @hades for running the Everybody.Codes threads, its a thankless task, but its good to diversify the challenges.
Link to participate: everybody.codes
Link to participate: everybody.codes
Link to participate: everybody.codes
Link to participate: everybody.codes
Link to participate: everybody.codes
Link to participate: everybody.codes
Link to participate: everybody.codes
Link to participate: everybody.codes
Link to participate: everybody.codes
Link to participate: everybody.codes
Link to participate: everybody.codes
Link to participate: everybody.codes
Link to participate: everybody.codes
Link to participate: everybody.codes
Link to participate: everybody.codes
Link to participate: everybody.codes
Link to participate: everybody.codes
Link to participate: everybody.codes
Link to participate: everybody.codes
Link to participate: everybody.codes
For debugging purposes, we had the program print dots and Xs to see where we went wrong. This is from the output of my girlfriends python script.
I converted this from the text-based output of her program in day two. First to a portable anymap (nmp) and then I used GIMP to produce a gif.
For debugging purposes, we had the program print dots and Xs to see where we went wrong. This is from the output of my girlfriends python script.
I converted this from the text-based output of her program in day two. First to a portable anymap (nmp) and then I used GIMP to produce a gif.
Link to participate: everybody.codes
Link to participate: everybody.codes
Link to participate: everybody.codes
Link to participate: everybody.codes
Link to participate: everybody.codes
Also, don’t wait for me to make these posts, feel free to post yourself :)
Link to participate: everybody.codes
Also, don’t wait for me to make these posts, feel free to post yourself :)
Link to participate: everybody.codes
Link to participate: everybody.codes
Link to participate: everybody.codes
Link to participate: everybody.codes