News for hackers. Stuff that matters.
Re:Why does man print “gimme gimme gimme” at 00:30? (2017) by matsemann on Thursday July 29, 2021 @07:58AM (#27995402)
No, the pizza analogy doesn't work. It's the specific use of man here being questioned ("why is it used in a test?"), not man usage in general.
Re:Why does man print “gimme gimme gimme” at 00:30? (2017) by Draken93 on Thursday July 29, 2021 @08:33AM (#27995670)
Oh it actually does. Making it specific doesn't change anything:

When I am asking: "Whenever I eat pizza in the morning, it tastes metallic to me. Has anyone an idea why that could be?"

I dont want someone to answer: "Why are you eating pizza for breakfast?"

This answer is worth nothing. Actually its even worse, cause answering it costs time.

Re:Why does man print “gimme gimme gimme” at 00:30? (2017) by shadowgovt on Thursday July 29, 2021 @12:23PM (#27998242)
Worth nothing to the asker. But stack exchange is a two-way communications platform, and responders (and other readers) may want to know more context.

I, for one, am still curious why OP is running a test where they call `man` with no input and fail on different stderr.

Re:Why does man print “gimme gimme gimme” at 00:30? (2017) by matsemann on Thursday July 29, 2021 @08:54AM (#27995908)
> Making it specific doesn't change anything

Of course it doesn't, when your "specific" analogy isn't nearly analogous to the situation.

Re:Why does man print “gimme gimme gimme” at 00:30? (2017) by arua442 on Thursday July 29, 2021 @09:14AM (#27996118)
I actually agree with him, it's a perfect analogy.
Re:Why does man print “gimme gimme gimme” at 00:30? (2017) by jameshart on Thursday July 29, 2021 @11:50AM (#27997920)
Calling man in a test and expecting the output to match some particular value is a much weirder thing to do with man than eating pizza in the morning.

It is honestly a lot more likely that the reason man is outputting ‘gimme gimme gimme’ at a particular time of day is something to do with your crazy test setup than that it is a feature of man.

So for the pizza analogy, think of it more as ‘pizza sometimes tastes metallic to me when I cook it under the hood of my car’. The car situation seems likely to be relevant. It would be surprising, when someone asks a question like that, to discover that it’s actually because the frozen pizzas they buy when they drive to the parking lot where they then cook them under their car hood actually contain iron filings that were put there deliberately by the manufacturer.

Re:Why does man print “gimme gimme gimme” at 00:30? (2017) by johnbcoughlin on Thursday July 29, 2021 @08:14AM (#27995527)
Why does pizza taste metallic to me when I eat it on a boat?
Re:Why does man print “gimme gimme gimme” at 00:30? (2017) by rfrey on Thursday July 29, 2021 @10:13AM (#27996794)
The analogy is completely fine. "Why does the pineapple on my pizza taste metallic"? "You shouldn't put pineapple on your pizza" if the original bothers you.
Re:Why does man print “gimme gimme gimme” at 00:30? (2017) by latexr on Thursday July 29, 2021 @08:29AM (#27995635)
Analogies don’t have to be one-to-one. It’s close—and simple—enough to get the larger point across.
Re:Why does man print “gimme gimme gimme” at 00:30? (2017) by matsemann on Thursday July 29, 2021 @08:50AM (#27995863)
It doesn't, though. As I see why asking "why are you eating pizza is wrong", but not why asking "why are you using man in your tests" is wrong. So your analogy is more of a misrepresentation of the situation than anything else.

If you don't want focus on the details, then don't provide them. If you provide them, it has to be because you think they might be relevant. And then it's relevant for people to ask for further details.

Re:Why does man print “gimme gimme gimme” at 00:30? (2017) by latexr on Thursday July 29, 2021 @09:46AM (#27996471)
> As I see why asking "why are you eating pizza is wrong", but not why asking "why are you using man in your tests" is wrong. So your analogy is more of a misrepresentation of the situation than anything else.

So far you seem to be the only one failing to grasp the original point. Your misunderstanding of the analogy does not transform it into a misrepresentation.

Re:Why does man print “gimme gimme gimme” at 00:30? (2017) by xboxnolifes on Thursday July 29, 2021 @09:12AM (#27996110)
It's analogous because the existence of tests have absolutely nothing to do with the question at all.