Live data from Hacker News

Jokes and Humour in the Public Android API

voxelmanip.se

91–100 of 172 posts

Re: Jokes and Humour in the Public Android API

#91

public static final String DISALLOW_FUN The default value is false. [...] Type: Boolean [...] Constant Value: "no_fun" Source: https://developer.android.com/reference/android/os/UserManag... --- How the hell did this pass code review? Are booleans strings on Android?

Someone else pointed out the reason for the datatype. A more subtle problem is the use of double negatives. Boolean APIs like "disable" will throw off users of your API.

Re: Jokes and Humour in the Public Android API

#94

Earlier quoted context omitted.

Things that seem fun when they are written are often not much so a few years later, without the initial context, when trying to actually "build something". Fun is good when it is fresh. Fossilized fun is not that fun. It is more like that uncle who heavily tries to be fun at family parties.

Google is not fun and people that try to be funny from Google are cringe

The young one speaks with enlightenment beyond their years. If only we could all be so blessed.

Re: Jokes and Humour in the Public Android API

#95
post #2

How is someone writing an article about Android source code node nerdy enough to know what a Tricoder is? I don’t buy it

They are in their early 20s and not American¹. Why is that so hard to grasp? 1: https://voxelmanip.se/about/

The age makes sense, but Swedes are definitely into Star Trek https://en.wikipedia.org/wiki/S.P.O.C.K

Re: Jokes and Humour in the Public Android API

#96

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...

There's a Swedish Star Trek-themed band that has been continually active since 1988 and are popular enough that they still do festivals in Sweden, Germany and other European countries every year https://en.wikipedia.org/wiki/S.P.O.C.K

Re: Jokes and Humour in the Public Android API

#97

If you want to test the isUserAGoat and isUserAMonkey on you own device, I published this small app that does just that: https://play.google.com/store/apps/details?id=com.trianguloy... Maybe I can add these other easter eggs...

On my device with Android 15 I can't install your app. Google enforces a minimum compielSdk now. Maybe you can upgrade it in your build :)?

If you check the app description, there's a GitHub link, which in turn has an f-droid link you can use.

But you're not missing out since `isUserAGoat()` will return false on Android >=11 anyway and `isUserAMonkey()` will return true if and only if you're using the monkey test suite.

Re: Jokes and Humour in the Public Android API

#99

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...

For the curious minds: https://github.com/haiku/haiku/blob/master/src/system/libroo...

looking around a bit, it's used as an example in the documentation:

https://github.com/haiku/haiku/blob/7d07c4bc739dbf90159a5c02...

This is actually a great reason to keep it around; it's as simple as possible, and nothing uses it so it's easy to find the relevant bits of code.

Re: Jokes and Humour in the Public Android API

#100
post #14
post #6

Earlier quoted context omitted.

Funny, when I was in my 20s and not British, I knew what a Dalek was because it was just part of the zeitgeist. Tricoders are frequently mentioned as one of the life imitating art type of things that modern tech is striving to take from sci-fi to IRL. I had never even seen an episode of Dr Who, but I was familiar with it because of all the other sci-fi/nerdy stuff I was into. Ironically, I did know what someone weari…

It’s tricorder not tricoder.

Clearly, I was never a Trekkie.
Post reply on HN