News for hackers. Stuff that matters.
Re:Jokes and Humour in the Public Android API by lawgimenez on Monday June 16, 2025 @02:57AM (#44287225)
Re:Jokes and Humour in the Public Android API by rompic on Monday June 16, 2025 @03:44AM (#44287423)
To ensure that the monkey of a monkey test (an emulated user doing random taps) cannot do all possible actions.

https://books.google.nl/books?id=68BZEAAAQBAJ&pg=PA96&lpg=PA... "Bruce grew the lab over the years from an initial set of seven devices to more

than 400. He said there were some unanticipated problems to resolve over that time. "One day I walked into the monkey lab to hear a voice say, '911-What's your emergency?" That situation resulted in Dianne adding a new function to the API, isUserAMonkey(), which is used to gate actions that monkeys shouldn't take during tests (including dialing the phone and resetting the device)."

Re:Jokes and Humour in the Public Android API by znpy on Monday June 16, 2025 @03:01AM (#44287243)
"image not available"
Re:Jokes and Humour in the Public Android API by riffraff on Monday June 16, 2025 @03:12AM (#44287285)
that's because you're not a monkey
Re:Jokes and Humour in the Public Android API by fredoralive on Monday June 16, 2025 @04:49AM (#44287706)
Interestingly, the original Mac had a similar MonkeyLives flag: https://folklore.org/Monkey_Lives.html
Re:Jokes and Humour in the Public Android API by ROllerozxa on Monday June 16, 2025 @11:29AM (#44290534)
I assume that's the "The Monkey" testing tool for the original Mac that's mentioned in the footnotes in the Androids book. Supposedly goes back to the infinite monkey theorem that makes monkeys act as a metaphor for randomness, and it was also mentioned that one of the developers of Android had used the same kind of monkey testing for WebTV and Palm OS.