News for hackers. Stuff that matters.
Re:Who controls glibc? by roenxi on Monday May 07, 2018 @08:46PM (#17017845)
Technical documentation isn't the place for a joke full stop. Documentation is for people who are typically busy, uncertain and potentially dealing with something that is going wrong.

They want clear, concise and accessible help. They don't want or need tasteless jokes. It is disrespectful to their time to include random garbage.

This is supposed to be read by people who need it, not people who know what is going on and want to enjoy a good laugh.

Re:Who controls glibc? by jonhendry18 on Monday May 07, 2018 @10:26PM (#17018349)
"Technical documentation isn't the place for a joke full stop"

This is a bad take. When wading through dry technical documentation a little humor can make it much less laborious.

As long as the humor doesn't result in ambiguity, there's no problem.

Something like "You can tune a filesystem, but you can't tune a fish." at the end of a manpage may elicit a chuckle but doesn't reduce understanding.

Re:Who controls glibc? by geofft on Tuesday May 08, 2018 @07:03AM (#17020086)
For what it's worth, at least one member of the glibc steering committee appears to agree:

"I agree with removing this joke. A bit of humor is fine - indeed, the manual could use a bit more than it has - but this attempt at humor does not work. The manual should be high-quality, and that includes high-quality jokes."

https://sourceware.org/ml/libc-alpha/2018-04/msg00604.html

Re:Who controls glibc? by humanrebar on Tuesday May 08, 2018 @07:19AM (#17020157)
For what it's worth, that only high quality jokes bit made me laugh more than Stallman's joke.
Re:Who controls glibc? by rtpg on Tuesday May 08, 2018 @03:23AM (#17019426)
Yeah, it should probably be more

"your technical documentation should have a consistent tone"

I appreciate light-hearted asides in documentation. But more if I expect it than when it's unexpected. Like you wouldn't want to end up confusing some ESL programmer who goes ask a lawyer whether they should be worried about this?

Or if you're really ambitious, make all your docs super funny! But if you mix the tone it's disorienting and maybe bad writing.

Re:Who controls glibc? by stronglikedan on Tuesday May 08, 2018 @09:56AM (#17020873)
> a little humor can make it much less laborious

Here, here!

I would even go so far as to say that Why's (Poignant) Guide to Ruby directly contributed a great deal to Ruby's popularity because of the witty content alone.

Re:Who controls glibc? by thiagoharry on Monday May 07, 2018 @09:01PM (#17017935)
The TexBook was a technical documentation for TeX written by Donald Knuth. The book had a lot of jokes, and I enjoyed reading it.
Re:Who controls glibc? by geofft on Monday May 07, 2018 @09:14PM (#17018028)
Leaving aside the question of the nature of its jokes, the TeXBook is the sort of thing you read straight through. It's a narrative about how some code came to be. It's not the same sort of reference as the glibc manual, and I think a narrative form of documentation benefits from a casual tone and a four-sentence standalone reference about a function (especially where one of those sentences is "Preliminary: | MT-Safe | AS-Unsafe corrupt | AC-Unsafe lock corrupt") benefits from a terse tone.
Re:Who controls glibc? by hapnin on Monday May 07, 2018 @09:14PM (#17018029)
Knuth is actually funny.
Re:Who controls glibc? by krylon on Tuesday May 08, 2018 @12:04AM (#17018733)
What is and is not funny, is highly subjective. (Just to be clear, I really like Donald Knuth's sense of humor.)
Re:Who controls glibc? by enriquto on Tuesday May 08, 2018 @12:28PM (#17022184)
Knuth has a great sense of humor in his books and exercices. I also like Stallman's jokes, but I can concede that they are sligthly less funny than Knuth's.
Re:Who controls glibc? by djsumdog on Monday May 07, 2018 @09:20PM (#17018058)
I'm not that hardcore about it, but I still agree this really shouldn't be in the official docs. Maybe in a tutorial or a set of slides.

I do agree with some professionalism in things that want to be taken seriously. I don't even really like the "Apt with super cow powers."

I do agree this isn't about political correctness. At one time GNU tools were just a bunch of devs trying to write open source tooling for fun or to learn. But with it being such a huge part of our industry now, it does need to grow up.

If you're working on your own small open source projects, have fun with the docs and comments. But don't be like Stallman. Realize if your tools are really successful, those quips might get cut out one day. c'est la vie

Re:Who controls glibc? by dfox on Monday May 07, 2018 @09:47PM (#17018185)
My feeling is that most of GNU manuals in texinfo format are borderline useless because the structure is simply wrong, the random jokes are somewhat tangential issue.
Re:Who controls glibc? by sandov on Tuesday May 08, 2018 @03:31AM (#17019458)
I Don't know if we're talking about the same thing but I've found the format of man pages to be absolutely useless for me. Maybe I'm too dumb/noob to understand them, but then what's left for the folk who just switched to linux and wamts to learn about commands.
Re:Who controls glibc? by grzm on Tuesday May 08, 2018 @03:34AM (#17019467)
Texinfo and man are different.

https://en.wikipedia.org/wiki/Texinfo

> "Notably, man is not available as an output format from the standard Texinfo tools. While Texinfo is used for writing the documentation of GNU software, which typically is used in Unix-like environments such as GNU/Linux, where man pages are the traditional format for documentation, the rationale for this is that man pages have a strict conventional format, used traditionally as quick reference guides, whereas typical Texinfo applications are for tutorials as well as reference manuals. As such, no benefit is seen in expressing Texinfo content in man page format. Moreover, many GNU projects eschew man pages almost completely, referring the reader of the provided man page (which often describes itself as seldom maintained) to the Info document."

https://en.wikipedia.org/wiki/Man_page

They can take some getting used to if you're not familiar with them, but given how much documentation is available in these formats, it's worth taking a few hours to become accustomed to them. A lot of it is duplicated online as well, so you can often use your favorite search engine.

Re:Who controls glibc? by majewsky on Tuesday May 08, 2018 @08:07AM (#17020350)
Word. GNU texinfo is so fucking confusing that I only ever invoke it as

  info --subnodes -o - $PROGRAM | less
That dumps the entire manual for $PROGRAM into `less`, where I can then use regex-searches like a normal humanbeing.
Re:Who controls glibc? by zeveb on Tuesday May 08, 2018 @11:21AM (#17021529)
It's wonderful to use in emacs, and back before I started using emacs ISTR that pinfo was a great way to read info.

I used to hate how GNU manpages would point me at the info docs, but honestly nowadays I prefer info. It really is nice — like a pre-CSS, pre-JavaScript HTML, only it can be beautifully typeset too.

Re:Who controls glibc? by keiyakins on Tuesday May 08, 2018 @01:00PM (#17022504)
Yeah, I hate info, but the problem is info(1), not the entire texinfo stack. The html output is pretty good and I already know how to navigate it, so I usually use that
Re:Who controls glibc? by __s on Monday May 07, 2018 @09:13PM (#17018016)
Yeah, Python docs need to stop using variable names like 'spam' & 'eggs', Monty Python's too jokey, no room for it in docs
Re:Who controls glibc? by geofft on Monday May 07, 2018 @10:03PM (#17018258)
If you genuinely believe that these are comparable situations (and you're not just making a strained comparison to argue in favor of the side you favor), I'm not sure how to explain my position to you.

Although I think I would start by saying this: where "spam" and "eggs" is used in Python, it is in the place of any other word, usually a nonsense word like "foo" or "bar", and its presence does not distract. I doubt anyone thinks of actual SPAM or actual eggs when they run across it, and I seriously doubt the documentation authors intended or expected anyone to.

The (so-called) joke in this glibc discussion is a) essentially a pun on the name of the function, i.e., introducing mental confusion; b) a political subject; c) an ill-explained reference to a political subject (did you know it's about the global gag rule? do you know what the global gag rule is?); d) intended to make you think about that subject instead of tuning it out.

Python's use of "spam" and "eggs" adds some character, that's about it. (Python's insistence on "eggs" and "wheels" and "cheeseshop", on the other hand... I find the names cute but if you wanted to get rid of them all in favor of slightly more descriptive words, I'd honestly be in favor.) This joke serves no purpose other than, at best, to distract the attention of the person looking up documentation onto a completely different subject.

Re:Who controls glibc? by djsumdog on Monday May 07, 2018 @09:23PM (#17018070)
I think that's a little different. Even with the fun variable names, the Python docs are pretty damn professional.

They haven't always been that way. The Python docs back around 2000 were not that great. A lot of work has been put in by people in the community to get them to the state they're in.

Re:Who controls glibc? by dfox on Monday May 07, 2018 @09:53PM (#17018216)
Python docs are very good and professional, but somewhat chaotic unless you have pretty good grasp on what belongs where.

Just last friday I tried to find authoritative definition of the leading underscore mangling behavior in the docs and was not able to do so.

Re:Who controls glibc? by MrsRobot on Tuesday May 08, 2018 @12:35AM (#17018843)
Not the same thing. "spam" & "eggs" are very neutral. If they used politically charged terms, and inserted example code like "if brains(republicans) == 0 # always true!" then the situation would be similar. The difference is between neutral light-heartedness and non-neutral political message.
Re:Who controls glibc? by pferde on Tuesday May 08, 2018 @04:26AM (#17019624)
How do you know which words will and will not become politically charged in fourty years?
Re:Who controls glibc? by geofft on Tuesday May 08, 2018 @05:21AM (#17019770)
You update the docs in forty years as needed.

In any case that question seems wildly unrelated to the question at hand, which is about a joke that's intended to be a present-day political reference.

Re:Who controls glibc? by keiyakins on Tuesday May 08, 2018 @12:56PM (#17022469)
The same way you know what technical details will be needed in forty years: By actively maintaining the documentation, as they're doing.
Re:Who controls glibc? by DoofusOfDeath on Tuesday May 08, 2018 @09:17AM (#17020660)
They're probably just trying to give wide berth of the world's most dangerous joke.
Re:Who controls glibc? by pishpash on Monday May 07, 2018 @09:32PM (#17018126)
The early days of computing was very informal and full of jokes. Didn't stop people from creating some of the most long-lasting and technically successful tools.
Re:Who controls glibc? by TeMPOraL on Tuesday May 08, 2018 @01:16AM (#17018968)
Maybe even helped them. Those tools create in informal atmosphere seem much more robust and useful than what the present day brings.
Re:Who controls glibc? by majewsky on Tuesday May 08, 2018 @08:08AM (#17020353)
I think a large part of this is survivorship bias. We just don't see all the crap that was created back in the day because it didn't stick around.
Re:Who controls glibc? by TeMPOraL on Tuesday May 08, 2018 @08:21AM (#17020402)
Come to think of it, I guess you're right.
Re:Who controls glibc? by keiyakins on Tuesday May 08, 2018 @12:52PM (#17022434)
A well-constructed joke can make documentation more useful. I can't think of an example off the top of my head, but there've been plenty of times that something made me laugh and go "NOW I get it!" to the technical material.

This isn't a well-constructed joke in that sense - it's likely to cause confusion, not increased understanding.

Re:Who controls glibc? by chillingeffect on Monday May 07, 2018 @09:12PM (#17018009)
We're humans, not robots. We don't run on information alone.
Re:Who controls glibc? by analogmemory on Monday May 07, 2018 @09:17PM (#17018044)
Hey meatbag, even robots like a good joke