I have spent the last 30 minutes trying to come up with a rebuttal to you that's not a long winded diatribe that you won't read, so I'm not going to respond to everything you've said. Instead I'm just going to say this:
My Y may be another person's X, and my X may be another person's Y.
If that single sentence doesn't cause a light bulb to go off in your brain and make you say "oh, i understand why he disagrees with me now", then you're a lost cause. I don't even care if you agree with me; I just want you to understand why I find your perspective so incredibly infuriating.
If that single sentence doesn't cause a light bulb to go off in your brain and make you say "oh, i understand why he disagrees with me now",
No, it doesn't, sorry. That makes no sense to me at all. And it doesn't fit the context of the XY problem.
The XY problem goes "I want to solve X, I have no idea how to do X, but for some reason I decide I need to do Y. Now I have no idea how to do Y, but I go to the internet and ask for Y. I never mention X, because why should I? I'll just keep it a secret that I really want to solve X.".
Example with X stated:
Q: "I want to extract a field value from a JSON-encoded string. (X). How do I do that with grep? (Y)"?
A: "You don't use grep, you use jq".
So this person's X is the X, and this person's Y is the Y. No way this person's X can be another person's Y.
And if your circumstances are that you cannot use anything else, then just explain it:
Q: "I want to extract a field value from a JSON-encoded string, and I need to use grep because I cannot install anything else. How do I do that?"
A: "In general, you can't. If you know how your JSON can look, and you can ensure regular expressions actually work on it, you can use grep -Po, but only if your grep is has this option, and some grep's don't".
But if you insist just stating your Y, because you are reluctant to give any information, then the only valid answer is "in general, you can't".
Are you happier with that? I wouldn't be.
Now I hope my examples cause a light bulb to go off in your brain and make you say "oh, now I understand why he disagrees with me". If it doesn't, then you are a lost cause, sorry.
View all comments
Show parent comment
5
u/PL_Design May 09 '21 edited May 09 '21
I have spent the last 30 minutes trying to come up with a rebuttal to you that's not a long winded diatribe that you won't read, so I'm not going to respond to everything you've said. Instead I'm just going to say this:
My Y may be another person's X, and my X may be another person's Y.
If that single sentence doesn't cause a light bulb to go off in your brain and make you say "oh, i understand why he disagrees with me now", then you're a lost cause. I don't even care if you agree with me; I just want you to understand why I find your perspective so incredibly infuriating.