Trending
's Avatar

@absurdtotal

16
Followers
26
Following
26
Posts
27.11.2024
Joined
Posts Following

Latest posts by @absurdtotal

Homebound était diffusé au festival du film de Muret cette semaine. Une belle claque et un très beau film. Beaucoup (peut-être trop) de sujets abordés dans un même film: l'amitié face à l'adversité, les discriminations liées aux castes et à la religion, le COVID vécu par les plus démunis, ...

16.11.2025 10:28 👍 1 🔁 0 💬 1 📌 0
Video thumbnail

I just completed all 25 days of Advent of Code 2024! #AdventOfCode adventofcode.com

25.12.2024 17:07 👍 5 🔁 0 💬 0 📌 0
Day 24 - Advent of Code 2024

I just completed "Crossed Wires" - Day 24 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/24

I used a semi-manual approach where I checked the result of each full-adder separately (looking at the output of adding combinations of 2^i and 2^(i+1)). Tough on a small laptop screen.

25.12.2024 17:01 👍 1 🔁 0 💬 0 📌 0
Day 23 - Advent of Code 2024


For instance: "An exact algorithm for the maximum clique problem." Randy Carraghan, Panos M.
Pardalos. Operations Research Letters vol. 9,(6), doesn't even have the algorithm in pseudo-code. Just an example.

23.12.2024 16:21 👍 0 🔁 0 💬 0 📌 0
Day 23 - Advent of Code 2024

I just completed "LAN Party" - Day 23 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/23

Spent half of my day reading articles about max-clique, knowing that it is NP-hard, then realized (again!) that a brute force solution may be enough.

23.12.2024 16:18 👍 2 🔁 0 💬 0 📌 0
Day 22 - Advent of Code 2024

I just completed "Monkey Market" - Day 22 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/22

22.12.2024 09:54 👍 1 🔁 0 💬 0 📌 0
Day 20 - Advent of Code 2024

I just completed "Race Condition" - Day 20 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/20

It had to happen. Spent two hours thinking that cheats had to be completely inside walls.

21.12.2024 13:10 👍 1 🔁 0 💬 0 📌 0
Post image

I forgot the usual screenshot

19.12.2024 14:36 👍 0 🔁 0 💬 0 📌 0
Day 19 - Advent of Code 2024

I just completed "Linen Layout" - Day 19 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/19 #golang

I chose a solution based on Finite State Automaton, counting the number of accepting runs for part 2 (on the associated DFA).

19.12.2024 14:29 👍 2 🔁 0 💬 1 📌 0
Day 18 - Advent of Code 2024

I just completed "RAM Run" - Day 18 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/18 #golang

I thought that I will be clever and try a dichotomous search for part 2. But the brute force solution was less than a second.

18.12.2024 20:21 👍 2 🔁 0 💬 0 📌 0
Day 17 - Advent of Code 2024

I just completed "Chronospatial Computer" - Day 17 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/17

18.12.2024 18:52 👍 2 🔁 0 💬 0 📌 0
Post image

I just completed "Reindeer Maze" - Day 16 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/16

A nice tribute to well-known shortest path problems ... with a twist. I worked in reverse, starting from the end point and maintaining a work list of nodes to process.

17.12.2024 21:12 👍 4 🔁 0 💬 0 📌 0
Post image

I just completed "Restroom Redoubt" - Day 14 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/14 #golang

My trick was to find images with at least 5 clusters of 6 robots consecutively aligned (why not 4 and 8, lucky guess).

14.12.2024 09:36 👍 5 🔁 0 💬 0 📌 0
smtlib script for finding solutions

smtlib script for finding solutions

I just completed "Claw Contraption" - Day 13 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/13
#golang #smtlib

Decided to use an SMT solver (z3) for finding the solution to these linear optimization problems. Golang text/template and os/exec were quite useful.

13.12.2024 09:20 👍 1 🔁 0 💬 0 📌 0
Day 12 - Advent of Code 2024

I just completed "Garden Groups" - Day 12 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/12 #golang

It was not difficult to find that counting corners is easier than counting sides. But, side with me, it was not easy to count all the corner cases right !

12.12.2024 10:52 👍 3 🔁 0 💬 0 📌 0
Day 11 - Advent of Code 2024

I just completed "Plutonian Pebbles" - Day 11 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/11

Started with a poor man's linked list, not relying on the fact that the order of the stones do not matter. I anticipated a vicious part two, silly of me.

11.12.2024 08:39 👍 3 🔁 0 💬 0 📌 0
Day 10 - Advent of Code 2024

I just completed "Hoof It" - Day 10 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/10

I thought I would use Go for my first participation to AoC, just to learn the ropes. Now at day 10, it was the occasion to use go's 'unique' package for the first time (go.dev/blog/unique). Cool !

10.12.2024 10:11 👍 3 🔁 0 💬 0 📌 0
Day 9 - Advent of Code 2024

I just completed "Disk Fragmenter" - Day 9 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/9

09.12.2024 09:58 👍 6 🔁 0 💬 0 📌 0
Day 8 - Advent of Code 2024

I just completed "Resonant Collinearity" - Day 8 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/8

08.12.2024 12:22 👍 2 🔁 0 💬 0 📌 0
Day 7 - Advent of Code 2024

I just completed "Bridge Repair" - Day 7 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/7

07.12.2024 13:52 👍 3 🔁 0 💬 0 📌 0

I just completed "Guard Gallivant" - Day 6 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/6

06.12.2024 14:27 👍 1 🔁 0 💬 0 📌 0

I just completed "Print Queue" - Day 5 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/5

05.12.2024 08:22 👍 3 🔁 0 💬 0 📌 0

I just completed "Ceres Search" - Day 4 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/4

04.12.2024 11:15 👍 2 🔁 0 💬 0 📌 0

I just completed "Mull It Over" - Day 3 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/3

03.12.2024 11:35 👍 2 🔁 0 💬 0 📌 0

I just completed "Red-Nosed Reports" - Day 2 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/2

02.12.2024 13:07 👍 2 🔁 0 💬 0 📌 0

I just completed "Historian Hysteria" - Day 1 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/1

01.12.2024 17:54 👍 3 🔁 0 💬 0 📌 0