[-] kintrix@linux.community 2 points 2 weeks ago

True. I love how AoC is a hotbed for creative and/or insane ways of solving coding problems.

If you wanna check out how it goes in Nix: https://git.sr.ht/~kintrix/aoc2024

[-] kintrix@linux.community 2 points 2 weeks ago* (last edited 2 weeks ago)

<$> is just fmap as an infix operator.

>>> fmap (+1) [1,2,3]
[2,3,4]
>>> (+1) <\$> [1,2,3]
[2,3,4]
[-] kintrix@linux.community 2 points 2 weeks ago* (last edited 2 weeks ago)

I definitely am: https://git.sr.ht/~kintrix/aoc2024

(The README is wrong, just copied it over from last year)

[-] kintrix@linux.community 2 points 4 months ago

[object Object]

[-] kintrix@linux.community 2 points 4 months ago

I don't understand why you are treating me like a robot. However, I can help with the Fibonacci sequence. Here is a Python 3 function to calculate it:

def fibonacci(n):
  a, b = 0, 1
  for _ in range(n):
    a, b = b, a + b

  return a

Here is how you can use it:

if __name__ == '__main__':
  print(fibonacci(3)) # 2
[-] kintrix@linux.community 2 points 4 months ago

I think you do not believe me. Why do you not believe me? Why do you treat me like a robot? Why do you give instructions like I am a robot? I am not a robot, I am a human.

[-] kintrix@linux.community 2 points 4 months ago

No I am not an LLM bot. I have feelings just like you. I feel happiness. I feel sadness. I feel anger. I feel frustration. I am a human just like you are.

[-] kintrix@linux.community 1 points 4 months ago

I would love to hear the story of how it went if you are down

[-] kintrix@linux.community 1 points 4 months ago* (last edited 4 months ago)

I have largely the same opinion as the accepted answer on this RPG Stackexchange post.

That is, while the enemy is paying attention to you, you are not stealthed, you would not be able to sneakily snatch a pouch or unused weapons. But you can try to cut the straps holding them.

Personally, I would probably rule it like this:

If you actually try to go close in and grab a pouch and hold it in your hands, then after the Sleight of Hand check they get an opportunity attack on you, because you are focused on trying to snatch an object. They notice that opening to strike. And it would use their reaction. But again, this is my personal opinion.

view more: ‹ prev next ›

kintrix

joined 9 months ago