413 points · by yankcrime · 5y ago · 211 comments
- "Why does your test script call man where it should fail?"
- "why do you need to do a 'man -w' every minutes?"
I get that there's a bit of mistrust in some things users report so in some cases we as developers need to be careful to establish the user's actual intent or whether they're describing their issue correctly. But this isn't one of those cases.
[0]: https://meta.stackexchange.com/questions/66377/what-is-the-x...
Or when X needs to be done but instead all the comments hector the question with useless criticism.
If there truly is a circumstance which makes X the right solution, then that might warrant a new question being posted with the additional context to make that so. But I suspect it's much more often the case that the asker is simply being stubborn and doesn't want to change their plans.
And if you are really trying to solve Y, it's not hard to specify that in your question (I know I can solve X without solving Y, but I don't want to solve X, I want is to solve Y in this case). I wouldn't say "there's nothing worse" than that; it's a minor inconvenience.
It’s analogous to asking “why does pizza taste metallic to me?” and getting “why are you eating pizza?” as a reply.
I would definitely ask them why they think they need to take aspirin with whiskey for their hangover.
The XY problem in practice: Someone doesn't know the answer to your question so they randomly choose a response from the ten things they do know.
Also: If we're calling it the "XY problem," does that make it mansplaining? (XY? Get it? Sorry.)
If the advice is really that bad or uninformed, then it should just be downvoted. That's not really related to the "XY problem".
Still got idiots replying that I shouldn't be doing what I want to do in one line.
If it's really true that the conventional wisdom about Y is just wrong, and X really is better in some cases, then it will be a long process to get all the experts to reconsider their assumptions, requiring battle-tested proof, and that probably won't happen in a single SO thread.
If you see a likely XY problem, answer X, then explain why they might want Y, and then answer Y.
But the answerers cannot know that. So adding a small snippet of what have been tried, or why X specific is what's needed is a good idea to steer the conversation in the correct direction.
Although tbh I quite often want the opposite, so I add "Alternative solutions/workarounds welcome" or "I don't see how I can avoid doing X but maybe..."
Similarly on Stackoverflow, a majority of users probably are doing it wrong and are helped by the XY-troubleshooting approach.
Experienced users who really do want X end up being collateral damage.
From the man page:
> -w, --where, --path, --location
Don't actually display the manual page, but do print the location of the source nroff file that would be formatted.
However if any chance you have the same situation as OP, it may come out valuable, either currently or in the future.
In some cases the people answering have the experience and breadth of knowledge to understand the "real" question being asked, even if the OP doesn't quite have it yet. Other cases, it seems like arrogance and showboating, and doesn't contribute much where a simple direct answer would be best.
The one that gets me is seeing an answered question, with a bajillion upvotes, locked by mods as "off topic" or "not useful" or whatever. Clearly a relevant question with a useful answer, as evidenced by the many comments and kudos. Ugh.
Of course there are cases where the question poser of Y benefits from having their X identified, an archetypal case here:
https://stackoverflow.com/questions/2691018/decimalformat-an...
You guys are so confused you don't even get yourselves.
But they still say. "I'm trying to do X. To do this, I'm doing this complicated Y. How come Y doesn't work?"
This is still XY because they're asking about Y. But in the bad cases, they'd only mention the Y part, and omit that they're trying to do X.
Y: How do I strip unnecessary symbols after a decimal point?
X: How do I round a number to a desired precision?
It looks like the perfect example of XY problem to me. Please tell me how I'm confused.
To build off of another user's example, answering
>"If I eat pizza in the morning, why does it taste metallic?"
with
>"Because of a chemical reaction due to blah blah blah... which raises the question- why are you eating pizza for breakfast anyways? Avocado toast is superior for <reasons>"
Would be far more productive of a response for both cohorts of users; those searching for the direct answer and those searching for a better solution of what to have for breakfast.
Sometimes it’s a case of “I don’t know the answer to that, but I’d like to help. I’d like to know more about why you’re doing that so I can perhaps suggest something that doesn’t require doing that anymore.” Which indeed may be very helpful because even if you knew the real answer to your problem, in many cases you’ll need a workaround since the behavior probably won’t be fixed anytime soon.
Reading all of the replies and context around the solutions, you're right that it doesn't appear to be one of those cases. But I don't think it was that clear cut from the original question.
The counter to this is, I believe, much much more common on SO: someone comes up with an odd solution to a problem in their head, tries to implement said solution, runs into challenges and comes to SO asking for help making their solution work. That then leads to over-engineered workarounds for hurdles they would not have encountered had they asked for help with their actual problem.
Sadly while many people enjoyed it, others were annoyed by it. And the author has now removed it.
I find it hard to relate with people who not only would be annoyed by something like this, but are annoyed about it enough to push their view on the internet to the point that the author feels the need to remove it.
In my view, the best response to those people? Update it to a more recent, or perhaps a more recognisable reference. Perhaps "Rocket Man".
And the author's initial response was to leave the easter egg in, but to just fix the bug in it, since this behaviour was never intended (the intent was to trigger the easter egg on error condition, the bug was that it also triggered on manpath lookups).
Later in the thread the author mentions they eventually removed it completely after "some reflection", but they don't really expand on their reasons.
Were people annoyed? Was the author pressured? Was that the reason?
For me, the point of an Easter egg in software is to make people who discover it smile without getting in their way: make a few people's days a little brighter. The nature of this one was that it wasn't all that likely that people would notice it - you had to run man without non-option arguments at the right time and you also had to know enough about ABBA for the output to remind you of the lyrics. For six years I heard barely a peep about it, and I'd pretty much forgotten about it myself, then suddenly it turns up on Stack Exchange and is all over the internet. Somebody on HN suggested that maybe this was the fewest bits needed to encode a widely-distributed earworm. The Register later had a comment thread on it full of ABBA puns. I'd only ruin it if I decided to be an arse about it; for a formerly-obscure silly bit of code, it isn't going to get any better than this anyway.
Four years later, it still occasionally crops up and I get an ABBA earworm for the next day. I'm not sad about that!
Of course there may be some that have been using the existing behavior as a convenient way of telling if it is 00:30, but they have so far apparently remained silent.
As xkcd says (https://xkcd.com/1172/), "every change breaks someone's workflow".
Elton John - "Rocket Man": released April 1972
ABBA - "Gimme! Gimme! Gimme!": released 1979
So maybe it's more recognizable, but definitely not more recent.
Aside from that, the joke of printing this phrase at 00:01 only works with the ABBA song, because it refers to a man after midnight...
ABBA - Gimme! Gimme! Gimme! (A Man After Midnight)
> This issue has been fixed with commit 84bde8: Running man with man -w will no longer trigger this easter egg.
Running man with no arguments still triggers it. I also must have missed the part where someone "pushed their view".
https://git.savannah.gnu.org/cgit/man-db.git/commit/?id=84bd...
https://git.savannah.gnu.org/cgit/man-db.git/commit/?id=b225...
Yeah, this is what they wrote:
>After some reflection, I've removed this Easter egg. It'll be gone in the upcoming man-db 2.8.0.
One could also do like the nano developers did and add a straight forward configure flag to disable Easter eggs, which some distros then dutifully set for their nano packages.
Gimme gimme gimme. Gimme some more. Gimme gimme gimme. Don't ask what for.
If they want a cute reference every invocation, fine. If they want a cute reference in a bizarre edge case, well maybe. Still poor taste. I don't like to think what it will take, but sooner or later the people demanding that programs do what they are documented to do are going win the battle. They have technical correctness on their side.
Good on the maintainer for being responsible.
Where is the boundary between responsible and harmless fun?
Perhaps I should be careful not to edit this comment in case someone's test pipeline curls it and checks the content.
NPM turned out to be the source, with (this time) an American cultural reference: https://github.com/npm/npm/issues/20439
I would much prefer 1 January 1970, 1 January 2000, or some other date that is clearly a placeholder.
I wonder if AI’s will create Easter eggs in their creations? Would they see them as a form of play, or only as a form of waste? What would that say about the eventual differences between a human and an artificial mind?
I'm glad the VLC developers never backed down from the Santa hat popping up near Christmas, despite ridiculous criticism from a tiny minority of users.
If you don't like it, fork it.
I wonder if the difference in response due to 8 years of shift in culture, or just different size of the maintainer?
This costs lives - people in France are killed because they made fun of the imaginary friend of some people. This is horrible and, unfortunately, we as a society start to give up. Teachers are told to be sensitive and not show pictures of gods, tomorrow this will be creationism and homeopathy and we will end up as another US.
I get offended all the time, but people are free to express their minds without fear. Even if they are obviously wrong because they do not agree with me (whom in contrast is always right and they do not get it).
Blackmail, master git branch, blacklists - all these changes are simply idiotic and the people who are proud of having changed that (and removing a hat on an IDE) probably do not realize that everyone officially tells them that we are proud of not offending them anymore, and when the micros are off they are called negros, twags and whatever word is painful to them. This is really sad.
They are the first ones to lose here, by having invisible walls built around.
I have a very good friend (a woman) who left a great company because she joined when the "diversity" program was live. She was told by her male colleagues that it used to be who you know, who you sleep with and now if you are a good match for diversity. She was brilliant but could not stand that and left for a smaller and more normal company.
All these forced ratio and PC is really against the ones it tries to help or make comfortable or not offend. And to be clear - having been on the receiver side of such campaigns (a minority), it took some time to build trust wit the ones who were not part of the minority. I also felt how it is to be a mnority as a kid - and it was horrible.
But PC is not the way to fix that.
I used somewhere else the analogy of catholics in France. They are being made fun of, they react (or not) but it ends here. This is the reason why they are integrated to French culture, and protected by this culture. The village I live in has a yearly mass outside of the church. As a complete atheist I find this great because this is a tradition and I like to see the folklore (whihc is faith for the ones who attend the mass). OTOH catholics do not try anymore to actively get in your bed to check what you do there, or try to push some god into our school books. And we like them.
Seriously, while on the one hand I welcome that we have become more culturally sensitive, on the other hand in some situations we should just get a thicker skin and learn again to say 'nope'.
Happened here the other day in a Perl thread. Someone made a pretty funny (to me) joke. Having used Perl too much I appreciated the joke but some read it differently.
Like the tabs v spaces, Vim or Emacs, to me it seems funny and nothing to get riled over but some just become so invested in taking offense/personal.
If the primary maintainer of 'cat' decided it would be funny to have it output "meow" when run at 00:30 in the morning, it's totally their right to do it. I'd expect a lot of downstream users wouldn't find it that funny and would want to patch it out pretty quickly.
I'm not actually that surprised the easter egg broke something for someone even in 'man', for the exact same reason, but it's probably less expected than with grep and lots of other unix utilities.
Go ahead.
The question wasn't asking for it to be removed, this is wholly the author's decision. Can we not overreact?
The original request was ridiculous but in fairness the "if you don't like it, fork it" attitude is really bad too. Forking something isn't zero cost. You'd have to maintain it, and then try to get developers to come to your fork, teach users about your fork, and then you end up with the annoying ffmpeg/libav situation where you have two similar but different projects.
It's kind of like saying "if you don't like Trump why don't you just leave?".
A better and more honest response would have been "I have considered your idea and I unfortunately disagree and won't implement it."
Oh well, it was quite funny while it lasted. I like to imagine a person searching "man gimme gimme gimme after midnight" and being, for lack of a better word, rickrolled with that ABBA song.
I'm honestly curious on this one
I understand it derails the point of the exchange, but I cannot fathom how this could be a legitimate use case. I'm not saying it's not, quite the opposite, I'm sure it was, but my curiosity has been piqued and for no reason whatsoever I must know.
It reminds me of the Married with Children episode where AL has a piece of a chorus of a song he remembered and it drove him insane until he remembered. It was hm hm himmmm and the song was I Will Follow Him, I believe.
I felt that, I had read a book as a child and it fascinated me and started my lifelong obsession with books. I could remember parts of the book, but search engines sucked for many years. I don't remember when but at some point google crawl bot scraped the synopsis of the book-it was a Forgotten Realms book 'The Night Parade'. Incidentally it was very little like I had remembered but I still loved re-reading it.
Anyway, hopefully that will happen with this question one day. I'll remember it, search it, and maybe find the answer.
https://git.savannah.gnu.org/cgit/man-db.git/tree/src/man.c?...
Looks like it's still there, but I don't know the intricacies of C. Does it print "gimme gimme gimme" at 00:30 just by invoking "man"?
Imagine you’re running curl. Do you want it’s progress in stdout when you’re piping it? No. You want the output, and you shouldn’t have to use —silent to get only that.
Feel free to fork.
Because that's where those "omg, there's something not absolutely sober and enterprisey, such as an easter egg" complaints come from...
It's part of the culture, it isn't safety critical (or should NOT be) and the world is less colorful without them.
That's not the learning here - the easter egg was merely moved, not removed.
https://git.savannah.gnu.org/cgit/man-db.git/commit/?id=b225...