Skip to main content

Search

Items tagged with: adventOfCode


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


Sensitive content


Sensitive content


Advent of Code 2025 - Day 05

Today we got another easy puzzle. Very straightforward and almost too short.

Full solutions at Codeberg: codeberg.org/janAkali/aoc25-ni…

#adventofcode #adventofnim #nim #nimlang #aoc #programming


Sensitive content


Sensitive content


Sensitive content


Sensitive content


Der Algorithmus für Advent of Code Tag 3 ist auch wieder irgendwie lustig. Und erstaunlich wenig Rechenaufwand (also, für den Computer), wenn man nen Moment drüber nachdenkt und alle seine Off-by-One-Fehler ausmerzt 😅

codeberg.org/scy/advent-of-cod…

#AdventOfCode


#AdventOfCode Tag 2 hat Spaß gemacht, und Teil 2 war sogar trivial zu bauen mit meiner Lösung für Teil 1.

Sehr funktionales Python mit map() und sum() und "yield from" und generator expressions.

codeberg.org/scy/advent-of-cod…


Vielleicht mach ich dieses Jahr mal wieder Advent of Code. In Python, keine große Lust mich anzustrengen.

Hier ist Tag 1:

codeberg.org/scy/advent-of-cod…

Der perverse Teil darin ist wahrscheinlich die Verwendung von str.translate um "L" und "R" in "-" und "+" zu konvertieren. Ist das leserlich? lol nein, aber für die API von str.translate kann ich nix 😛

#AdventOfCode


Advent of Code Day 3: Lobby

This is the one where you're supposed to use recursion. I forgot to use recursion.

westkarana.blog/2025/12/03/adv…

#adventOfCode #picotron #lua


Call if a relic of my school days but I still work better on solving a puzzle with pen and paper.

I just can't look at a problem and get to coding, there has to be my own diagnosis of it on paper, manually working through test cases, edge inputs and at least two iterations through an entire loop of the main logic. Only after that do I replicate the logic using code. Am I alone?

#programming #python #adventofcode #javascript #kotlin #java #c #golang #php #ruby #swift #perl


Sensitive content


I just completed "Printing Department" - Day 4 - Advent of Code 2025

I love using complex numbers for 2d grid coords. Python excels at this kind of puzzle. ~10 lines and 200ms for both parts.

github.com/jstanden/advent-of-…

#AdventOfCode #Python #Programming


#AdventOfCode 2025, day 4

Forklifts and paper rolls were the theme of the day.

I reused some helper functions in creating a grid from the input and got to a nice solution with the first idea. If I had more time, I'd love to look into some optimisations but work calls.

First use of my favourite data structure, namedtuples, and I also got to discuss magic numbers.

notes.hamatti.org/technology/a…

#python


@chris_evelyn I'm proud of myself 😊 … for not throwing my laptop out of the window while solving #AdventOfCode Day 3 in #Perl 🤓

codeberg.org/chris-evelyn/adve…


Sensitive content


#AdventOfCode, day 3

Solving a puzzle to start the day before heading back into writing production code is a good way to get the brain activated.

notes.hamatti.org/technology/a…

#python


Advent of Code 2025 - Day 03

Day 3 was pretty straightforward, though I had a little trouble with the indexing.
I expected that part 2 would need dynamic programming, but I just ended up changing a few numbers in part 1, to solve part 2.

Final version runs in just 240 μs.

Full solution at Codeberg: codeberg.org/janAkali/aoc25-ni…

#adventofcode #adventofnim #aoc #nim #nimlang #programming


#adventOfCode day 3 was my fastest so far. 7min48 for first part, 4min30 for the second =D


We're 25% of the way through #AdventOfCode 2025! How is everyone feeling? Learn anything cool? Make any neat visualizations?? Ready for more???


I just completed "Lobby" - Day 3 of #AdventOfCode and I'm still doing it in #TurboPascal on the #Xi8088 computer!

The solve was reasonably straightforward today, with no limitations coming from the language itself. The generalized solution even fits nicely in a single 50 lines screen.

Part 1 is pretty much instant, but part 2 takes about 7 seconds to finish. That's how slow memory access is on this CPU.

#retrocomputing #pascal #DOScember


Sensitive content


#AdventOfCode, day 2

Today's Advent of Code puzzle was a master class for why writing notes is powerful professional habit.

I read the puzzle, thought to myself "hmm, I've something similar before" and looked for my notes. Lo and behold, there was a 2015 puzzle I had written about where I found a good starting point to adapt from to this puzzle.

notes.hamatti.org/technology/a…

#Python #NoteTaking


#AdventOfCode Day2 video is up! I'll compare using string operations and regex for part 1, and then regex makes part 2 trivial. Claude solves it just using string comparisons.

youtube.com/watch?v=p89Nsj9BB7…


Sensitive content


To paraphrase a popular quote:

"If I had one hour to solve an Advent of Code puzzle, I'd spend first 55 minutes trying to understand the problem."

So often, Advent of Code boils down to a reading comprehension exercise as we rush into solving the problem based on hasty assumptions.

#adventOfCode


For Day 2 of #AdventOfCode I did a stupid and slow solution for part 1 and an even slower and extremly stupid solution for part 2 (using autogenerated and some handcrafted(!) regex).


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


Sooo, Freunde der Nacht. Mal in #AdventOfCode reinschnuppern?


Because the post upthread has poor video quality, here's a higher res photo of the 2025 day 1 result on TI-92+.
#ticalc #ti92 #adventOfCode #LuaLang #retrocomputing


Adapted #adventOfCode 2025 day 1 in #LuaLang to use less memory to fit on #ti92 Plus. Execution time: 2m 42s.

The TI-92+ has a 12 MHz 68000 and 188 KB RAM that is also used as the calculator's main ramdisk, meaning, the Lua interpreter, script, puzzle input, and all datastructures must fit in that size. The calculator runs on 4 AA batteries with a battery life of "well beyond a school year".

#retrocomputing #ticalc


#adventOfCode day 1 in #LuaLang

gitlab.cs.washington.edu/fidel…

  • PC: 1 ms
  • Raspberry Pi 2: 70 ms
  • #hp200lx: Error after 2 minutes. I wonder if the garbage collector settings need to be tuned to avoid memory exhaustion.


Had a bunch of fun solving the first day of Advent of Code. Fell down a rabbit hole going a way my brain was too tired to handle and finally implemented a naive version that worked perfectly!

youtube.com/watch?v=va--JaOU31…

#AdventOfCode #ruby

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