Skip to main content

Search

Items tagged with: AdventOfCode


I've completed "Movie Theater" - Day 9 - Advent of Code 2025

My shortest solution so far thanks to the shapely Python library in Part 2.

github.com/jstanden/advent-of-…

#AdventOfCode #Python #Programming


#AdventOfCode Day 09: Movie Theater

Oh boy, did I get lost on part 2 by trying to solve it through fragmenting the area into rectangles.

While it was getting more and more complicated, it occurred to me that I could just compress the input and brute force it pixel by pixel. Which I did, and it turned out to give the solution in under a second. So I’ll leave it like that for today. Maybe I’ll revisit the fragmentation method some other time.

So today was the first day where I struggled a bit and had to backpedal a few times.

BTW, here is an ASCII picture of the compressed grid with the found solution.

#CSharp code is here:
github.com/nharrer/AdventOfCod…

Puzzle:
adventofcode.com/2025/day/9


I just completed "Movie Theater" - Day 9 - Advent of Code 2025 #AdventOfCode adventofcode.com/2025/day/9

I feel lucky I eventually got the right answer here.. there were some (literal) edge case flaws in my algorithm, I think, but fortunately my input data didn't run into any of those 😀

This one took me 2.5 hours today. Might need more than one day to complete some of the remaining puzzles!

My solution: github.com/jesseskinner/advent…


#AdventOfCode 2025, day 9

Here we go, the complexity is really picking up. Today we got another grid geometry puzzle.

I spent my morning solving the wrong problem because I didn't read the description properly.

And then in the evening I managed to solve the puzzle but had hard time explaining how it works.

So I spent a good few extra hours refactoring it into something that helped me understand and hopefully will help someone else too.

notes.hamatti.org/technology/a…

#python


I just completed "Movie Theater" - Day 9 - Advent of Code 2025 #AdventOfCode github.com/cayhorstmann/advent…

It's that time of the year when I get baffled by polygons in a grid, where it makes a difference whether a corner goes up or down, and it's not even easy to tell which, when the grid is too large to put in a char[][] array. Today, I resolved to figure out the geometry once and for all. Did you know that you can tell from the shoelace formula whether the traversal is clockwise?


Sensitive content


Sensitive content


Sensitive content


Sensitive content


I just completed "Playground" - Day 8 - Advent of Code 2025 #AdventOfCode adventofcode.com/2025/day/8

I figured it out! @mina was right, I just needed a short break. I tried changing the order of things and that revealed a fragility to my logic, helped me narrow down the bug. Part two was super easy once I had part one sorted.

We'll see if I have this much patience and grit for days 9-12 😀

My solution: github.com/jesseskinner/advent…


One of the things I've noticed over the years with #AdventOfCode is that I get less and less wrong answers when I submit them.

It's not because I'd get them right on the first try, quite the contrary. I have just gotten much better at solving the puzzles one stop at a time and figuring out the bugs earlier (making them easier to fix!).

So when I eventually get the thing to run and give a sensible answer, it's usually correct.

Debugging and fixing a full solution is always hard.


RE: mastodon.social/@EmmaDelescoll…

AI assistants Day 3 is here 🤖

TIL: Even when benchmarks prove Claude's code is 80x slower, it marks it as "a fluke". AIs are stubbornly optimistic about their own code.

But they're still useful for rubber-ducking!

Full write-up: emma.has-a.blog/articles/adven…

Claude's review: codeberg.org/emmaDelescolle/ad…

#AdventOfCode #AI #Python


Starting a 12-day experiment: AI coding assistants vs. human on Advent of Code 2025.

Claude, GPT-OSS, and Kimi-K2 competing with full session logs and reviews. First in a series about pair-programming with robots.

emma.has-a.blog/articles/adven…

#AdventOfCode #AI #Python




"Playground" - Day 8 - Advent of Code 2025 #AdventOfCode adventofcode.com/2025/day/8

I gave up.. I was able to solve the sample, but couldn't find the correct value for the input. My logic looks correct and I can't see any bugs.. Spent hours on this, so I guess today's the first day where the annoyance outweighs the fun. Oh well, happens every year at some point! Time to do some client work instead!


Sensitive content


#AdventOfCode 2025, day 8

Whew, what a day. Who knew helping Elves connect junction boxes in a playground can be so exhausting.

Took me quite a while to figure out first part but then second was pretty trivial for me. A weird difficulty curve there — maybe the way I modeled my world just ended up being well matched for the puzzle.

notes.hamatti.org/technology/a…

#python


Sensitive content


With brute force, I just completed "Playground" - Day 8 - Advent of Code 2025 #AdventOfCode github.com/cayhorstmann/advent… Now the real work begins, to make it efficient.


Day 08 - "Playground" ✅

I had difficulty figuring out part 2.
Overall, today's challenge was interesting.

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

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


Sensitive content


Sensitive content


Sensitive content


@mina thank you, especially the second part was quite tough for a Sunday. I mean, it's a day when family comes first and the puzzle-solving is constantly interrupted in unpredictable ways. #AdventOfCode #adventofCode2025


I just completed "Laboratories" - Day 7 - Advent of Code 2025 #AdventOfCode adventofcode.com/2025/day/7

Well, this was the first day that caused my laptop fan to spin up, because my algorithm would've probably outlived the heat death of the universe. In the end it was simpler than I thought (as usual).

My solution: github.com/jesseskinner/advent…


Does anyone else write unit tests based on the example inputs, just to make sure you don't break stuff as you go?

I guess this is sort of TDD, but I'll never admit to it

#AdventOfCode


Sensitive content


Yesterday, in a rush to be obedient, I searched for a high-performance way to parse text and refreshed my knowledge of #streams/#iterators and #yield in #JavaScript. Let's see where the journey takes us today. github.com/matths/advent-of-co…
#AdventOfCode #AdventofCode2025


Sensitive content


I just completed "Laboratories" - Day 7 of #AdventOfCode in #TurboPascal on the #Xi8088 computer.

Part 2 fits inside the same loop as part 1 with very few modifications.

Then I could make it read the file line by line as it goes, instead of building the entire map in memory.

By keeping track of the left and right limits of potential change, I could also reduce the memory accesses.

With 1.3 second of total runtime, I'm very happy with my solution today !

#Retrocomputing #Pascal #DOScember


Sensitive content


The urge to rewrite most of my website, participate in #adventofcode and add external sync to #midiTracker.

All without having any mental capacity to do so.

#DecemberAdventure


#AdventOfCode 2025, day 7

I loved the 0H-N0 error code, I really want to use it in a real project one day.

My math brain has been sleeping all morning but I still managed to come up with a solution.

Explaining the solutions isn't just something that's beneficial to a reader. I love explaining things because it forces me to dig deeper to see if I really understood what I did and where the gaps in my knowledge are.

It's a good habit to get into.

notes.hamatti.org/technology/a…

#python


Sensitive content


I checked in on LinkedIn yesterday, felt the need for some cringe.

At first there was a little bit of a buzz with people talking about #AdventOfCode which isn’t normally something I’d see there.

Then came all the posts about people trying to master the right prompts to solve the problems. Just what is the point at that stage


#adventofcode: One day I'll learn to immediately start with longs instead of ints to count stuff


Sensitive content


Sensitive content


I've completed "Trash Compactor" - Day 6 - Advent of Code 2025 #AdventOfCode adventofcode.com/2025/day/6

Not too hard at all, but wasn't able to reuse much from part one in part two.

My solution: github.com/jesseskinner/advent…


I've completed "Trash Compactor" - Day 6 - Advent of Code 2025 #AdventOfCode adventofcode.com/2025/day/6

Done in PHP, as every year 😀
Code available here, github.com/velkuns/adventofcod…

Other days also available, I didn't post yet.
I don't optimize the day 4 now (but know how to do that, it is pretty simple).

But other part are quite optimised, globally around the milliseconds.

Pretty nice for #php code 😀


I just completed "Trash Compactor" - Day 6 - Advent of Code 2025 #AdventOfCode adventofcode.com/2025/day/6

halfway there, this is usually when i drop out. we'll see what tomorrow brings


`cannot allocate vector of size 45400.8 Gb` ... Maybe I am not on the right track 😁 #adventofcode #rstats


Yay, catching up at last #AdventOfCode

Well, maybe not "catching up", but starting at least


The best part of #AdventOfCode is that you get to learn a lot by reading other’s solutions, mainly written in your own language, but even other languages will bring ideas that you can build upon. #programming


Day 6 #AdventOfCode was a lot easier #RStats

I'm curious to see whether/how people avoided loops.

github.com/InductiveStep/aoc20…


Sensitive content


Sensitive content

Diese Webseite verwendet Cookies. Durch die weitere Benutzung der Webseite stimmst du dieser Verwendung zu. https://inne.city/tos