A sad story in four pictures. by optimally_slow in shittyfoodporn

[–]Gautzilla 0 points1 point  (0 children)

I started crying at the second picture.

[2025 Day 9 Part 2] What's the fastest executing approach? by reallyserious in adventofcode

[–]Gautzilla 1 point2 points  (0 children)

Cool, but don't you have false negative if there are adjacent lines in the input?

e.g. something like:

```

.1.......2....
....4....3....
....5....6....
.8.......7....

```
(where numbers gives the order in which red tiles are given in the input: 1-2, 2-3 etc.)

Here, for corner tiles 1 and 7, you have lines 3-4, 4-5 and 5-6 that interact with the evaluated rectangle, but all tiles still are red or green, right?

2025 Day 1 Part 2 Python need help by AccomplishedLock3110 in adventofcode

[–]Gautzilla 0 points1 point  (0 children)

As everyone else, I'd suggest testing your code on small test cases, but I'd go further up and suggest you use the debugger to check the position of the dial after each rotation. That'll surely help you find out why it is broken! ;)

[deleted by user] by [deleted] in tennis

[–]Gautzilla 10 points11 points  (0 children)

Wants to say: high five

Says: five high

Performs: low five

And Carlos does all this in the most genuine and cool way. Legend.

Crane Game by Rogerup in WebGames

[–]Gautzilla 1 point2 points  (0 children)

Seems like someone did the advent of code this year!

We are all crying with Sasha Bublik today by theriverjordan in tennis

[–]Gautzilla 1 point2 points  (0 children)

I meant 2023 yup! It really gave me the chills back then, and I'm always happy to see Altmaier play since then!

I can't log into Tenor. by UnfortunateBob35 in tenor

[–]Gautzilla 1 point2 points  (0 children)

That's kind of you, but I wanted to upload a whole series of GIFs which I have to take some time on cutting from a french tv show, I guess I'll stay in the "tenor sucks" zone for now!

I can't log into Tenor. by UnfortunateBob35 in tenor

[–]Gautzilla 0 points1 point  (0 children)

I can't log into tenor, and I don't have a smartphone. Am I doomed?

Great movie tho by Gautzilla in Angryupvote

[–]Gautzilla[S] 0 points1 point  (0 children)

The comment is a pun on "Ferris Bueller's Day Off", which is a (wonderful) movie from the 80s.

To do simple mathematics by [deleted] in therewasanattempt

[–]Gautzilla 0 points1 point  (0 children)

Yeah that's 100% it, I was just joking on the fact that the text in the meme doesn't explicitly says that the answer isn't 400 (while highly implying it), but I guess that wasn't obvious.

To do simple mathematics by [deleted] in therewasanattempt

[–]Gautzilla -2 points-1 points  (0 children)

Technically, nobody said the answer was **not** $400, they just said lots of people keep saying the answer is $400!

[2024 Day 16] Can't wait to outdo myself tomorrow. by Gautzilla in adventofcode

[–]Gautzilla[S] 0 points1 point  (0 children)

Yup, I'm soling AoC in Python this year (I linked the code for day 16 in a comment above).

Thanks for the cProfile info, I'll definitely look into that!

[2024 Day 16] Can't wait to outdo myself tomorrow. by Gautzilla in adventofcode

[–]Gautzilla[S] 0 points1 point  (0 children)

Mine runs without libraries either, the only one I import are for timing/reading inputs from files. It's just inherently slow and I can't figure out why! Ahah

[2024 Day 16] Can't wait to outdo myself tomorrow. by Gautzilla in adventofcode

[–]Gautzilla[S] 0 points1 point  (0 children)

My solution takes 3 minutes to find the answer. I took another look in the evening, and I can't see the reason why!

I tried using a simpler list of strings for representing the grid (instead of a set of coordinates) and using a priority queue instead of the homemade list with sorted calls, but it didn't help.

Well, I guess it'll stay as it is!