Live data from Hacker News

Proper use cases for Android UserManager.isUserAGoat()

stackoverflow.com

1–10 of 21 posts

Re: Proper use cases for Android UserManager.isUserAGoat()

#2
This reminds me of the "isUserAMonkey" thread: http://stackoverflow.com/questions/7792123/strange-function-...

That turned out to refer to automated testing harnesses as opposed to live users (see: http://developer.android.com/tools/help/monkey.html). Unfortunately, http://developer.android.com/tools/help/goat.html 404s.

The Android API is known for lots of little hidden references and Google jokes. The SensorManager for example has a bunch (i.e., GRAVITY_DEATH_STAR_I and SENSOR_TRICORDER: http://developer.android.com/reference/android/hardware/Sens...).

According to the Chrome team, the "Goats Teleported" reference in Chrome is just a random number: http://www.quora.com/Google-Chrome/How-is-the-number-for-Goa...

So, it appears that isUserAGoat is most likely just an engineering joke that shipped.

Re: Proper use cases for Android UserManager.isUserAGoat()

#4
post #2

This reminds me of the "isUserAMonkey" thread: http://stackoverflow.com/questions/7792123/strange-function-... That turned out to refer to automated testing harnesses as opposed to live users (see: http://developer.android.com/tools/help/monkey.html ). Unfortunately, http://developer.android.com/tools/help/goat.html 404s. The Android API is known for lots of little hidden references and Google jokes. The SensorManage…

The code responsible for enumerating goat teleportation (on very low contrast page): http://100-geek.net/articles/goats_teleported

Re: Proper use cases for Android UserManager.isUserAGoat()

#5
post #4
post #2

This reminds me of the "isUserAMonkey" thread: http://stackoverflow.com/questions/7792123/strange-function-... That turned out to refer to automated testing harnesses as opposed to live users (see: http://developer.android.com/tools/help/monkey.html ). Unfortunately, http://developer.android.com/tools/help/goat.html 404s. The Android API is known for lots of little hidden references and Google jokes. The SensorManage…

The code responsible for enumerating goat teleportation (on very low contrast page): http://100-geek.net/articles/goats_teleported

kNuthMagicNumber?

Re: Proper use cases for Android UserManager.isUserAGoat()

#7
post #4

Earlier quoted context omitted.

The code responsible for enumerating goat teleportation (on very low contrast page): http://100-geek.net/articles/goats_teleported

kNuthMagicNumber?

Looks like golden ratio (phi, about 1.618) * 2^30. Maybe something to do with Knuth's Surreal Numbers? (http://www-cs-faculty.stanford.edu/~uno/sn.html)

Re: Proper use cases for Android UserManager.isUserAGoat()

#10
post #2

This reminds me of the "isUserAMonkey" thread: http://stackoverflow.com/questions/7792123/strange-function-... That turned out to refer to automated testing harnesses as opposed to live users (see: http://developer.android.com/tools/help/monkey.html ). Unfortunately, http://developer.android.com/tools/help/goat.html 404s. The Android API is known for lots of little hidden references and Google jokes. The SensorManage…

"LIKE_TRANSACTION", "TWEET_TRANSACTION", on the lowlevel IBinder RPC interface in Android also made me laugh a bit: http://developer.android.com/reference/android/os/IBinder.ht... . "There is no response returned and nothing about the system will be functionally affected by it, but it will improve the app's self-esteem.".
Post reply on HN