Live data from Hacker News

Jokes and Humour in the Public Android API

voxelmanip.se

41–50 of 172 posts

Re: Jokes and Humour in the Public Android API

#41

Reminds me of BeOS (and now Haiku), which have "is_computer_on()" and "is_computer_on_fire()" both with great descriptions. https://www.haiku-os.org/legacy-docs/bebook/TheKernelKit_Sys...

I know it is trying to be funny. But those states are quite normal in modern computer with advanced power management. OS should handle wakeups from deep sleep, or state where temperature of motherboard is 200 celsius.

Re: Jokes and Humour in the Public Android API

#42

Reminds me of BeOS (and now Haiku), which have "is_computer_on()" and "is_computer_on_fire()" both with great descriptions. https://www.haiku-os.org/legacy-docs/bebook/TheKernelKit_Sys...

I know it is trying to be funny. But those states are quite normal in modern computer with advanced power management. OS should handle wakeups from deep sleep, or state where temperature of motherboard is 200 celsius.

Unlikely. Nothing is specced beyond 140 Celsius and many parts not beyond 80.

Re: Jokes and Humour in the Public Android API

#43

Reminds me of BeOS (and now Haiku), which have "is_computer_on()" and "is_computer_on_fire()" both with great descriptions. https://www.haiku-os.org/legacy-docs/bebook/TheKernelKit_Sys...

Reminds me of Delphi -- it has an exception 'EProgrammerNotFound'.

https://docwiki.embarcadero.com/Libraries/Athens/en/System.S...

With a completely serious (though short) documentation page I read as very, very dry humour.

Re: Jokes and Humour in the Public Android API

#44

Earlier quoted context omitted.

Live a little. When you've passed away, was all the seriousness paid off? That said, funny code should still work

There's a middle ground for sure. I've left a few witty comments and loglines in my time. But I've also had to debug a Delphi unit which returned error codes inspired by the magical supercomputer Hex from the Discworld novels. "Divide by cucumber error" is not a decent enough representation of a module's internal state, no matter how funny you think you are.

But a wholly non-funny "Invariant Violated" message would be no better. The problem isn't that the message is funny, but that it does not contain the information you need to understand what's going on. The whimsy is just a distraction.

Re: Jokes and Humour in the Public Android API

#45
For X11, from the top of my head:

The global variable that toggles a bunch of legacy cruft is called "party_like_its_1989": https://gitlab.freedesktop.org/xorg/xserver/-/blob/master/di...

The changelog for the DRI2 extension is "Awesomeness!", "True excellence", "Enlightenment attained" etc: https://www.x.org/releases/X11R7.7/doc/dri2proto/dri2proto.t...

Re: Jokes and Humour in the Public Android API

#48
post #46

The ` ` tag was an official part of early HTML standard, until teenagers showed up online and sanity prevailed. I suspect this could have been there to maintain compatibility with older webpages.

This blink is in a specific UI XML dialect, not HTML.

Re: Jokes and Humour in the Public Android API

#49
post #19

Earlier quoted context omitted.

Good, I hate ‘funny’ code. Just get to the point, I’m not here for someone’s notionally hilarious inside joke from 18 years ago.

Ah I see you're one of those who would enable `UserManager.DISALLOW_FUN`! I personally quite enjoy a bit of whimsy in code. What we do (mostly) isn't that serious (modulo those, including me once upon a time, who work on literal life and death software)

I don't mind either personally, but I've had a few occasions where such things have caused issues with engineers that didn't have English as a 1st language.

A fair bit of time was wasted on trying to understand some joke/pun code and variable names, and on another occasion, spending the best part of a day working on something because they took some sarcasm in code/comments literally.

Re: Jokes and Humour in the Public Android API

#50

Earlier quoted context omitted.

While I found it surprising at first I don't think it should be. Star Trek really doesn't seem to be as big as it used to be.

> Star Trek really doesn't seem to be as big as it used to be. Hint: it was never big outside of the USA. If anything, Internet and the Hollywood reboots is the way most people outside of the USA learnt about it. Also try to find Europe in the article: https://en.wikipedia.org/wiki/Cultural_influence_of_Star_Tre...

I was never a big Star Trek fan, but here in Sweden growing up I watched episodes of The Next Generation, Voyager, and Deep Space Nine when they happened to be on. There definitely always seemed to be some Star Trek series running in a decent TV slot and everyone seemed aware of it - even if its popularity was eclipsed by that of Star Wars.

From friends and family in Belgium it seems it was somewhat bigger there.

Post reply on HN