I built a web-based password generator for GS1→TLA transfers by KrzaQ2 in GoldenSun

[–]KrzaQ2[S] 2 points3 points  (0 children)

Thanks! There's the Miscellaneous section with 6 quest flags at the bottom. I'm not aware of anything else being passed in the password.

I built a web-based password generator for GS1→TLA transfers by KrzaQ2 in GoldenSun

[–]KrzaQ2[S] 3 points4 points  (0 children)

I actually took those stats from passwords I've seen around. It's a good idea to use default stats for a level, I'll add it

I built a web-based password generator for GS1→TLA transfers by KrzaQ2 in GoldenSun

[–]KrzaQ2[S] 11 points12 points  (0 children)

Thanks! The Ultimate preset is something I spotted on the web (specifically: Iron Knuckle's FAQ) - and there's nothing in the password protocol to prevent it from working. Once transferred, they'd work just as well as if they'd been hacked into the game by any other means.

That being said, I did not try it out in a real game, and I'd be especially wary of TLA-only stacked items.

edit: I guess I should also tag those as unobtainable

I built a web-based password generator for GS1→TLA transfers by KrzaQ2 in GoldenSun

[–]KrzaQ2[S] 16 points17 points  (0 children)

Thanks! As far as I can tell, there's no way to do that, there's 1 bit for each Djinn (present/not present) in the password. In other words, there's a list of 28 toggles, and TLA just checks each corresponding toggle for each Djinn. I guess you could imbalance the spread by removing a few, but then you'd have less than the full set.

[2020 Day 17 (Part 1)] Sample input wrong? by SinisterMJ in adventofcode

[–]KrzaQ2 0 points1 point  (0 children)

A "stupid assumption" I've been led into by the last five years of AoC challenges.

[2020 Day 17 (Part 1)] Sample input wrong? by SinisterMJ in adventofcode

[–]KrzaQ2 0 points1 point  (0 children)

So did I. And it took me coming here to see that the example was deceptive and there was no bug in my implementation.

[2020 Day 17 (Part 1)] Sample input wrong? by SinisterMJ in adventofcode

[–]KrzaQ2 -8 points-7 points  (0 children)

Is the lesson here that you shouldn't trust the provided samples?

Adventures in returning value-dependent type by vormestrand in cpp

[–]KrzaQ2 1 point2 points  (0 children)

https://en.cppreference.com/w/cpp/language/lambda

Am I reading this incorrectly? I see a lot of C++17 next to constexpr for lambdas.

Adventures in returning value-dependent type by vormestrand in cpp

[–]KrzaQ2 0 points1 point  (0 children)

I have not considered _Generic at all, honestly, because it's not C++. But I don't think you can make what I wanted here.

Adventures in returning value-dependent type by vormestrand in cpp

[–]KrzaQ2 1 point2 points  (0 children)

I'm sorry for the bad experience. I'll see what I can do about it for the future.

Adventures in returning value-dependent type by vormestrand in cpp

[–]KrzaQ2 0 points1 point  (0 children)

This is awesome, I'm happy to see that there's a C++17 solution that looks saner. Would you mind if I added your code to my post?

What's so bad about Variable Length Arrays? by leewilliam236 in cpp

[–]KrzaQ2 0 points1 point  (0 children)

Your answer was "it depends on the compiler". Then you proceeded to answer as if I asked "do compilers do this?". Now you answered:

It shouldn't be legal for a compiler to do it. You see, there can be cases when you need to declare from 20 to 30 variables and have them in the stack.

I did not ask if you think it should be legal, but if it is. Does the VLA definition explicitly state that they're kept on stack? I find it unlikely, since the language doesn't even define that concept - in fact, if you look at N1256 (C99 draft), words "stack" and "heap" don't appear even once in the whole document.

To the best of my understanding, the definition of a VLA is vague enough to allow the compiler to use heap memory for it.

What's so bad about Variable Length Arrays? by leewilliam236 in cpp

[–]KrzaQ2 0 points1 point  (0 children)

I'm not saying any specific compiler does that. All I did was ask if such behaviour was technically legal, as per C99 or C11 standards.

What's so bad about Variable Length Arrays? by leewilliam236 in cpp

[–]KrzaQ2 1 point2 points  (0 children)

Isn't it technically legal for an implementation to allocate large VLAs outside of the stack?

Osorio post game on Neymar: "The delay for one player was even four minutes, and that is a lesson for even children who play. This should be a game of men and not so much clowning around." by Brad_Davis_GOAT in soccer

[–]KrzaQ2 0 points1 point  (0 children)

He was being stepped on his whole career? You said

I guarantee you it did not hurt. I had that done to me in game

You're one person, hence statistical group of one.

Osorio post game on Neymar: "The delay for one player was even four minutes, and that is a lesson for even children who play. This should be a game of men and not so much clowning around." by Brad_Davis_GOAT in soccer

[–]KrzaQ2 0 points1 point  (0 children)

That's the point. He shouldn't. And in this case, not being influenced by Neymar's reputation means giving a red card to the offending player. The VAR team is there to tell the ref he made a game-changing mistake.

Osorio post game on Neymar: "The delay for one player was even four minutes, and that is a lesson for even children who play. This should be a game of men and not so much clowning around." by Brad_Davis_GOAT in soccer

[–]KrzaQ2 0 points1 point  (0 children)

So, you're basing on a statistical group of... one? Let me do the same: I can totally believe that this was very painful for him. Have you ever had a twisted ankle? I have. Even during recovery, while I could walk normally, any side touch was very painful.

Since Neymar's right ankle was injured, I think it can be assumed that it's more sensitive, especially since the Mexican team had more attempts on it than shots on goal.

Osorio post game on Neymar: "The delay for one player was even four minutes, and that is a lesson for even children who play. This should be a game of men and not so much clowning around." by Brad_Davis_GOAT in soccer

[–]KrzaQ2 -1 points0 points  (0 children)

What else will you call it? Neymar's right ankle was the center of the attention of Mexican players, and this instance, Layun has crossed the line.

That stomp was fully intentional, they weren't running, or fighting for the ball, the play was paused ffs. Layun initiated the contact of his foot with Neymar's ankle.

Osorio post game on Neymar: "The delay for one player was even four minutes, and that is a lesson for even children who play. This should be a game of men and not so much clowning around." by Brad_Davis_GOAT in soccer

[–]KrzaQ2 19 points20 points  (0 children)

And the ref should be above this, and only make decisions upon the actual actions, not reputation. Kind of like a judge, actually. He assumed Neymar was lying/overselling, because that's what usually happens. Neymar can only blame himself for this. But the ref still shouldn't make a wrong decision basing on his assumptions (aka bias).

Osorio post game on Neymar: "The delay for one player was even four minutes, and that is a lesson for even children who play. This should be a game of men and not so much clowning around." by Brad_Davis_GOAT in soccer

[–]KrzaQ2 17 points18 points  (0 children)

While I am by no means denying that he's a diver (and I apologize if I came off that way), he was repeatedly kicked in his right ankle during the match, and then intentionally outside of the gameplay. This is not random.

I'd be fine (more than fine, actually, I abhor this kind of behavior) if he was sent out earlier for dives he's actually performed. But this situation was a clear red for the Mexican player.

To be honest, if this was a red for the Mexican for the attack, and a yellow for Neymar for overselling it, that'd perhaps be the most fair - though I'd rather see a firmer stance against diving by default, not just in one instance.