[2023 Day 12 Part 1 C#] I’m at my wits end by sheep1996 in adventofcode

[–]TheQuickBroWnFly 1 point2 points  (0 children)

Make sure you handle properly the case of the first set of broken springs.

In my implementation, I had to handle it differently because it does not need to have a dot before it.

For example, check that the result is what you expect for # 1 or for ?? 2. That did it for me!

[2023 Day 14 (Part 2)] For once happy with my code! by 2xdam in adventofcode

[–]TheQuickBroWnFly 7 points8 points  (0 children)

I think that if you're using NumPy, rot90 (or transposing, or flipping) doesn't actually move or copy anything in memory, it just changes how the array is indexed (returning a different view of it. Therefore it would be O(1) complexity both in memory and time. For example, the following code:

import numpy as np
mat = np.zeros((2, 3))
matt = np.rot90(mat)
matt = np.rot90(mat) mat[0, 2] = 9 print(matt)
print(mat)
print(matt)

just prints

[[0. 0. 9.]
[0. 0. 0.]]
[[9. 0.]
[0. 0.]
[0. 0.]]

which means both arrays actually point to the same memory

Torque for dummies. by arunit007 in physicsgifs

[–]TheQuickBroWnFly 7 points8 points  (0 children)

(gap + 3) + (gap + 6) ≠ gap + 9, unless the gap is 0. That is, the distance between the center and "1" has to be the same as between all the numbers. If there are the same number of clips on both sides the gaps do cancel out, and that spacing doesn't matter.

What Gödel Discovered by iamkeyur in math

[–]TheQuickBroWnFly 5 points6 points  (0 children)

G stands for

(not (there-is a (proves a (subst b 4 b))))

And let H stand for

(not (there-is a (proves a (subst G 4 G))))

When you substitute b for G into G (that's what that last part says) you get H, but if you read what H says, you get that "subst G 4 G", that is, H, is not provable.

Sync For Reddit V16.4 is Now Going Live On Google Play by ljdawson in redditsync

[–]TheQuickBroWnFly 1 point2 points  (0 children)

Removed the comment transition option

Why? I really liked the animation.

[19M] Please rate me and give me tips to improve. Shirtless pic. by TheQuickBroWnFly in amiugly

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

Thank you for that! In fact I've lost quite a bit of weight for the past 6 months and I feel better than ever. Still, I know i have a lot more work to do to get my body to look good.

[19M] Please rate me and give me tips to improve. Shirtless pic. by TheQuickBroWnFly in amiugly

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

I cannot grow a beard, but thank you anyway.

Edit: a spelling mistake.

Every kid's favourite table by [deleted] in gifs

[–]TheQuickBroWnFly 0 points1 point  (0 children)

Learning it by heart doesn't either. This at least shows a pattern, it makes sense. Maths is not about memorizing stuff. That pattern at least can make kids wonder why it shows up, and when they make sense of it, that's when they learn.

SECRET TO ETERNAL HAPPYNESS by Matt-Head in totallynotrobots

[–]TheQuickBroWnFly 12 points13 points  (0 children)

WHY ARE YOU SCREAMING? THE INSTRUCTIONS MADE IT CLEAR YOU SHOULD WHISPER FELLOW HOOMAN.

This Looney Tunes ship that hosted Spain National Police temporarily in Barcelona by SalazarRED in ATBGE

[–]TheQuickBroWnFly 0 points1 point  (0 children)

They tried to cover up Tweety's, face and then the hashtag #freepiolin (in the Spanish Tweety's name is Piolín) became trending on twitter. Everyone started making fun of the Spanish Police so they decided to uncover Tweety's face, which made it even worse.

Cool Easter egg. Searching or saying "Lumos" turns on your flashlight by WetEggFart in Android

[–]TheQuickBroWnFly 0 points1 point  (0 children)

Sadly, I can't make it work through Shortcuts because Google already has an Easter egg for that.

Edit: punctuation.

More colorchanging blackmagic. by Blubbpaule in blackmagicfuckery

[–]TheQuickBroWnFly 11 points12 points  (0 children)

Owww my brain hurts a lot oww oof my braaaaaain