home.social

#aoc2025 — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #aoc2025, aggregated by home.social.

fetched live
  1. Juan Vazquez and Cameron Cunning rejoin the show to discuss how we fared with the 2025 Advent of Code competition.

    straypointers.com/e/s4e01.htm

  2. and day 12, done.

    Which means: 524* total, done for the yeah before Christmas (that was touch and go for a minute there), wooo!

    github.com/Balise42/AoC2025/bl for the last one

    #AdventOfCode #AoC2025

  3. and day 12, done.

    Which means: 524* total, done for the yeah before Christmas (that was touch and go for a minute there), wooo!

    github.com/Balise42/AoC2025/bl for the last one

    #AdventOfCode #AoC2025

  4. With a little bit of delay because of vacation, but here we go! #adventofcode #aoc2025

  5. With a little bit of delay because of vacation, but here we go! #adventofcode #aoc2025

  6. I loved this years difficulty in #aoc2025 and that it lasted only 12 days. It needed just the right amount if time investment to stay fun. My only regret is spending hours writing a brute force solution for day 12.

  7. All right, I'm on holidays, I'm on a train, it's the correct time to go back to #AdventOfCode that I have left. I'm still missing day 9b and 10b (the former because it's evidently too slow for my limited patience, the latter because I think I now have the right approach but it's either going to be annoying or math-heavy), BUT I went to have a look at 11 as a palate cleanser without much belief and it fell without much issue, so there.
    github.com/Balise42/AoC2025/bl

    #AoC2025

  8. All right, I'm on holidays, I'm on a train, it's the correct time to go back to #AdventOfCode that I have left. I'm still missing day 9b and 10b (the former because it's evidently too slow for my limited patience, the latter because I think I now have the right approach but it's either going to be annoying or math-heavy), BUT I went to have a look at 11 as a palate cleanser without much belief and it fell without much issue, so there.
    github.com/Balise42/AoC2025/bl

    #AoC2025

  9. I finished day 6 part 2 of . While I initially tried parsing forward through the lines of input, I eventually moved to parsing right to left. And again used reduce() to get the results of the problems.

  10. I finished day 6 part 2 of #aoc2025. While I initially tried parsing forward through the lines of input, I eventually moved to parsing right to left. And again used reduce() to get the results of the problems.

    #AdventOfCode2025 #AdventofCode

  11. I had fun applying reduce() to lists to solve day 6 part 1 of . I learned about reduce() while porting machine learning code to Linux on IBM Power many years back, but I've seldom used it.

  12. I had fun applying reduce() to lists to solve day 6 part 1 of #aoc2025. I learned about reduce() while porting machine learning code to Linux on IBM Power many years back, but I've seldom used it.

    #AdventofCode #AdventOfCode2025

  13. I finished day 5 part 2 of . My first approach left me with overlapping ranges, so I had to revamp it. The working solution was much more elegant in addition to working!

  14. I finished day 5 part 2 of #aoc2025. My first approach left me with overlapping ranges, so I had to revamp it. The working solution was much more elegant in addition to working!

    #AdventofCode #AdventOfCode2025

  15. CW: Advent of Code Day 11

    Day 11 of #AdventOfCode is a classical graph problem like we're used to from previous years.

    Unlike previously, I immediately thought of checking what the graph looked like with a visualization tool. Luckily, `petgraph` allows to export a graphviz file which can be then used to visualize the nodes and edges.

    From that, it was clear that a few nodes were acting as "bridges" between largers subnets of nodes with no particular arrangement besides being directed towards the next "bridge" layer. Those bridge layers comprised 4 to 5 nodes in my input, and were the only ones with more than 6 incoming edges, so I used that as my filter criterion.

    To gather them, I sorted the graph in topological order and chunked them by their position offset compared to the previous node. When doing this, all the nodes from a bridge layer end up being at most 20 positions away from the previous node in the sorted list.

    Finally, I progressed through each subnet, collecting information about how many paths lead to each one of the end layer's nodes. By multiplying with all the paths leading to each start layer's node, we get the overall total number of paths.

    github.com/beeb/aoc-2025/blob/

    #AoC #AoC2025 #AdventOfCode2025 #RustLang #rust

  16. CW: Advent of Code Day 11

    Day 11 of #AdventOfCode is a classical graph problem like we're used to from previous years.

    Unlike previously, I immediately thought of checking what the graph looked like with a visualization tool. Luckily, `petgraph` allows to export a graphviz file which can be then used to visualize the nodes and edges.

    From that, it was clear that a few nodes were acting as "bridges" between largers subnets of nodes with no particular arrangement besides being directed towards the next "bridge" layer. Those bridge layers comprised 4 to 5 nodes in my input, and were the only ones with more than 6 incoming edges, so I used that as my filter criterion.

    To gather them, I sorted the graph in topological order and chunked them by their position offset compared to the previous node. When doing this, all the nodes from a bridge layer end up being at most 20 positions away from the previous node in the sorted list.

    Finally, I progressed through each subnet, collecting information about how many paths lead to each one of the end layer's nodes. By multiplying with all the paths leading to each start layer's node, we get the overall total number of paths.

    github.com/beeb/aoc-2025/blob/

    #AoC #AoC2025 #AdventOfCode2025 #RustLang #rust

  17. I have zero experience with Lua. I'm interested on learning it a bit to see if then I can start tinkering with LÖVE for some video game prototyping.

    I'm going to try to run through some of the challenges of Advent of code 2025 to force me to learn the basics. Wish me luck!

    #lua #love #AOC2025 #videogames

  18. I have zero experience with Lua. I'm interested on learning it a bit to see if then I can start tinkering with LÖVE for some video game prototyping.

    I'm going to try to run through some of the challenges of Advent of code 2025 to force me to learn the basics. Wish me luck!

    #lua #love #AOC2025 #videogames

  19. And, also as in the last years, the #aoc2025 puzzles were something happens on a 2d grid were the most enjoyable to me. I just love pushing bolders around, removing paper stacks, walking through labyrinths, … Bonus points if DFS is part of the solution. Looking forward to next year #programming #adventofcode

  20. And, also as in the last years, the #aoc2025 puzzles were something happens on a 2d grid were the most enjoyable to me. I just love pushing bolders around, removing paper stacks, walking through labyrinths, … Bonus points if DFS is part of the solution. Looking forward to next year #programming #adventofcode

  21. #aoc2025 was as nice as it was the last years. A much beloved throwback to what I learned at some point in university and rarely use in daily work. #programming #adventofcode

  22. #aoc2025 was as nice as it was the last years. A much beloved throwback to what I learned at some point in university and rarely use in daily work. #programming #adventofcode

  23. CW: Advent of Code 2025 day 12 solution

    Day 12 done.

    I really didn't like this one. Basically have to do some bounds checking "it obviously always works" or "it obviously will never work" on it to get it to work on the actual input, but it still NEVER FINISHES on the example. I'm slightly bothered that the problem is more or less unsolvable as written, but I'm really bothered by the actual solution for the input not working on the example. That's not a fun puzzle, that feels like I'm being tricked, like the puzzle was a prank on me. Leaves a real sour taste, especially being the last puzzle of this year's AoC.

    #AdventOfCode #AdventOfCode2025 #AdventOfCode2025Day12 #Day12 #Rust #RustLang #Programming #CodingChallenges #AoC #AoC2025 #AoC2025Day12

  24. CW: Advent of Code 2025 day 12 solution

    Day 12 done.

    I really didn't like this one. Basically have to do some bounds checking "it obviously always works" or "it obviously will never work" on it to get it to work on the actual input, but it still NEVER FINISHES on the example. I'm slightly bothered that the problem is more or less unsolvable as written, but I'm really bothered by the actual solution for the input not working on the example. That's not a fun puzzle, that feels like I'm being tricked, like the puzzle was a prank on me. Leaves a real sour taste, especially being the last puzzle of this year's AoC.

    #AdventOfCode #AdventOfCode2025 #AdventOfCode2025Day12 #Day12 #Rust #RustLang #Programming #CodingChallenges #AoC #AoC2025 #AoC2025Day12

  25. I've completed this year's #AdventofCode #AoC2025!

    Huge thanks to @ericwastl for such an engaging challenge. This is my first time solving every problem, although I did get some help for the last couple of days.

    I'm excited to build on what I've learned for next year's challenges!

  26. Day 12 - "Christmas Tree Farm" ✅

    There was only one part, and I just couldn't come up with the logic myself to solve this challenge. 😑

    My solutions - github.com/GKay-Dev/Advent-of-
    Advent of Code 2025 - adventofcode.com/2025/day/12

    #AdventOfCode #Python #Coding #Challenges #100Devs #AoC2025

  27. Day 12 - "Christmas Tree Farm" ✅

    There was only one part, and I just couldn't come up with the logic myself to solve this challenge. 😑

    My solutions - github.com/GKay-Dev/Advent-of-
    Advent of Code 2025 - adventofcode.com/2025/day/12

    #AdventOfCode #Python #Coding #Challenges #100Devs #AoC2025

  28. I finished day 5 part 1 of in . I wanted to use a big set of integers for the fresh ingredients and check for membership, but the range was too large for the interpreter to handle. I also explored expanding and coalescing ranges, but in the end didn't need to implement it.

  29. I finished day 5 part 1 of #aoc2025 in #Python. I wanted to use a big set of integers for the fresh ingredients and check for membership, but the range was too large for the #Python interpreter to handle. I also explored expanding and coalescing ranges, but in the end didn't need to implement it.

    #AdventofCode2025 #AdventOfCode

  30. I implemented day 4 part 2 of . I refactored the day 4 part 1 code to use directly in the part 2 solution. I learned how to replace characters within strings, i.e. create a new string with slices of the original and the character you want in the particular position.

  31. I implemented day 4 part 2 of #aoc2025. I refactored the day 4 part 1 code to use directly in the part 2 solution. I learned how to replace characters within #Python strings, i.e. create a new string with slices of the original and the character you want in the particular position.

    #AdventOfCode2025 #AdventOfCode

  32. I solved day 4 part 1 of . My algorithm to find neighbors was good, and my counting was good, but my result was too high. Eventually I figured it out

  33. I solved day 4 part 1 of #aoc2025. My algorithm to find neighbors was good, and my counting was good, but my result was too high. Eventually I figured it out

    #AdventOfCode2025

  34. i think i'm leaving #aoc2025 . sorry. i'm not that good for such challenges. sorry

  35. i think i'm leaving #aoc2025 . sorry. i'm not that good for such challenges. sorry

  36. I finished day 3 part 2 of . I came up with a nice recursive solution with a little optimization.

  37. I finished day 3 part 2 of #AdventOfCode2025. I came up with a nice recursive solution with a little optimization.

    #aoc2025

  38. Day 11 - "Reactor" ✅

    Part 1 was easier; I used a similar approach as before.
    For part 2, I had to add memoization.
    Just one more day to go. 😔

    My solutions - github.com/GKay-Dev/Advent-of-
    Advent of Code 2025 - adventofcode.com/2025/day/11

    #AdventOfCode #Python #Coding #Challenges #100Devs #AoC2025

  39. Day 11 - "Reactor" ✅

    Part 1 was easier; I thought of a similar approach for an earlier challenge.
    For part 2, I had to add memoization.
    Just one more day to go. 😔

    My solutions - github.com/GKay-Dev/Advent-of-
    Advent of Code 2025 - adventofcode.com/2025/day/11

    #AdventOfCode #Python #Coding #Challenges #100Devs #AoC2025

  40. CW: Advent of Code 2025 Day 10

    Yes! Today's puzzle in #AdventOfCode was quite hard (especially part 2) but so rewarding and I learned a lot!

    For part 1, I implemented A* from scratch, my favorite little pathfinding algo that I use pretty much every year for #AoC (sometimes I use a lib instead of implementing it but it's been a while so a refresher was in order).

    For part 2, after trying A* again and noticing it was running for way too long, I went back to the drawing board and solved the first machine by hand. I noticed the constraints were a system of linear equations.

    I then researched algorithms to solve such integer programming problems and didn't feel like learning AND implementing the algorithms in one day (ain't nobody got time fo that). But this lead me to discover the `good_lp` #rust crate which is really good and that I will keep in my back pocket from now on!

    So I used the library to define a system of variables and constraints which could be solved magically for me.

    github.com/beeb/aoc-2025/blob/

    #AoC2025 #AdventOfCode2025 #RustLang

  41. Me: In #AdventOfCode this year, I'm going to find out how to write highly efficient scripts such that every full puzzle solution takes much less than a minute running locally on my laptop Me on Day 10: I meant "on most days" #AoC2025

  42. Day 10 - "Factory" ✅

    Today's challenge was tough for me, both parts. Couldn't figure out the logic without getting some help.

    My solutions - github.com/GKay-Dev/Advent-of-
    Advent of Code 2025 - adventofcode.com/2025/day/10

    #AdventOfCode #Python #Coding #Challenges #100Devs #AoC2025