Maybe I can add these other easter eggs...
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.
Android's become 'more mature' - ie. Boring, and the joke to code ratio is dropping rapidly.
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)
`isUserAGoat` ended up allowing any caller to determine if a specific app is installed on the system, which is a privacy violation and allows fingerprinting against the user's consent.
I get the desire to make the job more fun than just implementing a spec, but many of the things we work on are very important and very complex, with oodles of real-world consequences. That unfortunately means everything we do has to be well-considered and not off-the-cuff.
They disabled the "fun" function in android 11 with the arrive of the QUERY_ALL_PACKAGES permission.
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.
The second group doesn't want to deal with "all the fun crap" and "distractions" that stand in the way of them marking a bug fixed (or, god forbid, actually getting extra bugs/work assigned because some "fun" code might break or cause confusion).
As teams and companies grow, the second group usually outgrows the first and the first group moves on to reform into smaller teams working on something else again.
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.
That said, funny code should still work
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.
451 is also a bit whimsical btw – and that actually helps remember what it stands for (Unavailable For Legal Reasons).
https://http.cat/451 and https://http.cat/510 for reference
451 is a bit of a niche joke (took me a bit to realize it was Ray Bradbury), but 510 is definitely going to help me remember "not extended" :P
Similar to not caring at all about the rest of society when you're alive, not caring at all about the rest of society when you're dead makes for a shitty society. You are not the world, there is an external reality (with people in it!), and you have obligations to it. I'm not a religious person, but it seems to me that religion helps or used to help with such things.
Every single person who isn't you.
You are aware there are other people besides you, right?
It needlessly complicates reading/following the code. Even if you explain the naming back at where you define the function/variable it add an extra click-through/hover to read that and an extra translation you have to do in your head when you read the “fun” variable name in the future.
One example is we have a flag called “dinnerbell”. What does that do? It tells the server receiving that flag to “come and get it”, “it” being the full data object instead of just getting a delta. It could have been called a whole slew of other things that would make more sense.
If software actually worked, then I'd be fine with more whimsy. But it doesn't, so I'm not.
I think in the push to make computing "friendlier" by dressing up error messages, past a certain point they began to come off as condescending. I wish modern UX could focus on working for me instead of trying to be my friend all the time.
This is quite dependent on the games you play. Modern games are becoming larger, which makes the project overall more serious and makes it harder to hide easter eggs. That being said, Indie games with small teams still contain a lot of fun and even AAAs can still contain some goodies.
I mean what other choice do we really have? let the fun police win?
This is key. Writing jokes is easy, but it is much harder to guarantee that your joke is only displayed in appropriate contexts in the future. When what the author thought was a witty joke shows up in a new and inappropriate context, they no longer look very witty, but instead like a fool. What is funny in developer documentation on a normal Tuesday might not be funny in a negative article on the front page of the Wall Street Journal.
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)."
https://www.haiku-os.org/legacy-docs/bebook/TheKernelKit_Sys...
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.
is_computer_on() int32 is_computer_on(); Returns 1 if the computer is on. If the computer isn't on, the value returned by this function is undefined.
https://docwiki.embarcadero.com/Libraries/Athens/en/System.S...
With a completely serious (though short) documentation page I read as very, very dry humour.
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...
The blink element was in Netscape Navigator's HTML dialect in 1993/94, when early HTML was still just hitting IETF RFCs / DRAFTs, you can find blink in the Netscape HTML developer documentation from just after that era, DevEdge. It was never in NCSA Mosaic, the other big GUI browser of the era.
Later on in the process of being standardized, when it was more W3C than IETF albeit still mainly the same people, Netscape agreed to drop blink from the proposals if Microsoft dropped marquee, so in that sense yes, it was never in a standardized version of HTML, but many tags in active use at the time were never in a standards doc.
See here https://www.w3.org/People/Raggett/book4/ch02.html for some history from w3c, who went on to become the formal custodians of HTML after the IETF days.
Edit: here's the earliest Netscape Developer Docs I can see on archive.org https://web.archive.org/web/19961115043739/http://developer....
At least these days you can easily bring back the fun:
blink {
animation: blink 1s steps(5, start) infinite;
}
@keyframes blink { to { visibility: hidden } }(Doesn’t seem to trigger on iOS, but works in Chrome and Firefox on desktop)
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?
You are misreading the documentation, it's a key/value API.
`DISALLOW_FUN` is the string key you pass to `setUserRestriction`, which takes a boolean value.
In the middle of the pandemic when ~50% of the workforce had started post-2020, it and other things became complaints for causing fear/uncertainty. We didn't do the best job on-boarding remote people and making them feel part of the culture at that time.
[^1]: It was a big company so this statement could only be true in the circles I had access to.
Unfortunately I see it too has fallen victim to defunnification: https://github.com/facebook/react/pull/28789
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED_______OUT_OF_A_CANNON___INTO_THE_SUN
$ exit 2928 %SYSTEM-W-FISH, my hovercraft is full of eels
Was very dissatisfied to find this no longer works. Here's an old post with a screenshot: https://www.100-geek.net/articles/goats_teleported?action=ar...
From 234 columns to 16, what a purge.
I remember at some point, a contractor for a big company added an undocumented easter egg to the code they delivered, it was fairly innocuous, something like playing music when a special key combination is entered, and yet, it was treated like a security breach, as if it was a backdoor. I don't know if people got fired for it, but it is very possible.
This is a public API, so at least, it is documented, but even then I am sure that some very unfun security auditor will only see this as an increased attack surface.
Security may be necessary, but damn, it sucks! (not just for easter eggs)
This project stretched on and on with brutally painstaking iteration, long hours, fires happening with other clients, etc, etc, long story short, I sort of lost my mind and left an Easter egg comment in the code in a state of minor madness.
Years after I had left the job, I got a message from a former coworker that said "Do you know anything about MOOL?"
I said I didn't know anything about something called MOOL, and he said, the client had found a long diatribe about a bovine god named MOOL in an obscure template file deep in the codebase, and I said, "ah, yeah, that was probably me."
The head of IT for the former client had found the code and gotten in touch with my coworker and said, "I assume this isn't a security breach, but I also don't know what the hell it is." He thankfully had a sense of humor about it, and it ended up being a nice opportunity to catch up. Pretty much the best possible outcome.
Now adays I would never do that, after experiencing real security breaches and dealing with that nightmare. But it was fun knowing A. My ancient horrible code was still in production and B. The comment I had left, which I'd forgotten about, and probably assumed no one would ever read, had been found like a flag in the moon or at least a time capsule.
[1] https://android.googlesource.com/platform/frameworks/base/+/...
:D
It's used as a shorthand for "the article we're talking about"
funny thing is, linters catch unused vars but not unfunny ones. maybe we need a linter that flags joke names after 90 days. if it’s still funny, you keep it. else rename and move on
There is an additional Lost reference in https://developer.android.com/games/pgs/leaderboards
Also https://developer.android.com/reference/android/service/auto...
dylan604•7mo ago
readthenotes1•7mo ago
snapcaster•7mo ago
kretaceous•7mo ago
1: https://voxelmanip.se/about/
dylan604•7mo ago
eCa•7mo ago
I guess that’s your answer. People have different interests and as such there’s a virtually unlimited number of culture combinations that people can be into. And people can have white spots in places that are surprising to others, there’s only so much time.
perching_aix•7mo ago
ROllerozxa•7mo ago
I suppose I'm too young to have watched Star Trek when it was really popular (and have all sorts of other blind spots when it comes to TV shows and other media even for people my age), but I've definitively heard about it. And I know some other references to it like Spock and the Vulcan salute, but the Tricorder had completely missed me until now.
Also, with something like GRAVITY_DEATH_STAR_I I could pretty easily tell it was a reference to something fictional (in that case Star Wars) since there is obviously no celestial body with that name. But with the Tricorder I was looking to actually make sure it's not some kind of actually real but vestigial hardware sensor thing that Android might have supported in the 00s, tangentially related to the Tricorder that was on Star Trek. I have certainly witnessed stranger coincidences.
Like Android still has functionality in the API for supporting trackballs, which I know used to be on some really early Android phones. So if that had been among the list as "there's this joke input device called a 'trackball' in the API, implying there are phones with a big physical ball you can roll around to move a cursor on the screen", that would be quite silly. Because it was a real and used thing in the past, even though nowadays it's more of a legacy feature (though might be a bad example as I assume you can connect input devices over USB or Bluetooth that may be treated as a trackball by Android).
jaoane•7mo ago
dylan604•7mo ago
IAmBroom•7mo ago
dylan604•7mo ago
sorenjan•7mo ago
matsemann•7mo ago
kalleboo•7mo ago
Agentlien•7mo ago
bigstrat2003•7mo ago
ben_w•7mo ago
And famously, only the even-numbered films are any good (which doesn't mean all even films are good, e.g. Nemesis).
In this light: DIS throwing away an interesting premise and then going nuts; PIC being three seasons of "why did the scriptwriters put the Borg everywhere, when the main story is androids vs. Romulans, Q, and warcrimes(*?) against changelings leading to changeling terrorism?"; and the very much more pew-pew-lasers action films of Kelvin**… none of this is particularly shocking.
What's nice (for people like me) is that SNW and LD are both well-written and thoughtful — but again, very different shows.
SNW feels like it is trying to be the best of TOS, TNG, and DS9, even if it does have a bit of fan service with insufficiently justified presence of Kirk (James, the other one is fine).
LD is very very silly, but it works for me — not as a canonical set of events (Mariner is even less suitable a personality for a ship officer than is Burnham, and in the same way I can head-cannon all Q episodes as "Q is actually Barclay on the holodeck having a power fantasy", most of the main four cast feel to me like students LARPing trek on a holodeck), but rather I like it because the tries to "yes, and…" the show's existing cannon in ways that mostly work and the characters are fundamentally decent to each other 95% of the time (and when not, justified).
* Perhaps "crimes against humanity" would be a closer take, or whatever the term should be in a not-just-humans universe
** and Section 31 whose critical response is so low that I forgot it existed rather than watch it, and only remembered the existence of when looking at Wikipedia to check if Nemesis was even or odd
bigstrat2003•7mo ago
But modern Star Trek is by and large nothing like that. The Abrams movies I'm ok with, because to be honest the old Trek movies had plenty of "it's just a fun action movie" too. But DIS and PIC both seem to positively revel in a pessimistic vision of the future where everyone sucks. Where we once got stories where the writers were smart enough to let viewers draw their own conclusions and apply them to real life (mostly, there were preachy episodes too), the modern shows are a blatant soapbox for the writers to preach to us about their views on the world. Where we once had teams of competent professionals using their skills to solve problems, now we have characters who act like children and only know how to apply "hit it real hard" as a solution.
It is a very damning statement that the best (and for a while, only) modern show to live up to Star Trek is The Orville, which isn't even a Star Trek show! But say what you will about him, Seth MacFarlane gets Star Trek and he loves it (unlike Alex Kurtzman, may he never get another TV series). So he made something which (comedy tone aside) could easily be a successor to the Star Trek shows of old.
The only exception to the dismal trend is SNW, at least the first season. I haven't gotten around to watching more yet, but that show was what CBS should've been making all along instead of the garbage that was DIS and PIC. Suddenly we are explorers in the positive future, we are competent professionals again... it's actually a worthy Star Trek for once. I would say I think that some of the casting choices aren't always great (their Kirk is... not suited to the role), and I would enjoy if they could move further away from the action show tropes and have more thoughtful writing (though not preachy please, I'll take dumb action over the writers preaching to me). That is why I said Star Trek has largely sucked, because SNW is an exception. But in general I have felt like the current creative staff doesn't understand Star Trek at all and can't make a good show to save their lives.
ben_w•7mo ago
I've not noticed a difference in the preaching, TBH, but otherwise yes.
And also that PIC took many interesting side characters from TNG, and used them as redshirts. Maddox, Hugh, Icheb, Shelby… and both Picard and Data in season 1 — and worse for both. Data because Data was (a) brought back the wrong way (should've been him in B4's body properly and not the simulation), and (b) that version of him wasn't given an appropriate reason for seeking his own death, and they really could've done it quite easily by writing that Data to have a plot point of ~ "I don't want my friends to die, I will choose death again to save them". Picard because it was such a missed opportunity, not only to give Patrick Stewart the same makeup that Brent Spiner had had for all those years, but also because Q said he still had a synthetic body in season 2 and yet they had him getting a "neural stabiliser" for "his brain".
account42•7mo ago
This is really the main thing wrong with almost all modern entertainment - writers won't let you analyze anything themselves for fear that you will come to the "wrong" conclusions.
justsomehnguy•7mo ago
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...
riffraff•7mo ago
I'm Italian and we had Star Trek (all the films, all the shows, many of the books), and apparently the Star Trek Italian Club[0] was funded in 1982. I think Spock and Kirk were quite familiar to most people, and for sure as a nerd in the '00s everybody understood the joke of showing Bill Gates as a Borg on Slashdot.
[0] https://stic.it/
justsomehnguy•7mo ago
Everybody, Gates and Slashdot in one sentence.
account42•7mo ago
justsomehnguy•7mo ago
Yes, a bunch of nerds (10k?, 20k?) worldwide forced someone's PC used as a server to crash. Their views surely represent the views of a country with ~~50M population, right?
lynx97•7mo ago
Really? I must have grown up in an alternative universe. Star Trek TOS and TNG were aired on our local TV station in the 80s and 90s, IIRC even in the afternoon. I would be extremely surprised if I'd meet a 30+ person who grew up here (European country) and didn't know Star Trek.
pavlov•7mo ago
Both TOS and TNG aired in various European countries.
kriro•7mo ago
t_mahmood•7mo ago
Agentlien•7mo ago
From friends and family in Belgium it seems it was somewhat bigger there.
olvy0•7mo ago
BTW, we have watched with our sons all of TNG and DS9 for the last 3 years, and our eldest is now deeply familiar with Star Trek as a result. Very few of his peers are familiar with it, though.
kalleboo•7mo ago
la_oveja•7mo ago
kallistisoft•7mo ago
bigfishrunning•7mo ago
CobrastanJorji•7mo ago
account42•7mo ago
Besides, real nerds very much are into older media and not just current pop culture. Which is why things like trek (and blade runner for that matter) end up getting sequels - because there is an audience for it.
wiseowise•7mo ago
u5wbxrc3•7mo ago
filoleg•7mo ago
Star Wars is imo way more mainstream than Star Trek these days (especially with Disney pumping it), but even then there are tons of people in their 20s working in tech who haven’t seen it and have no interest in it.
I don’t think there was more than one person on my previous Android team who would’ve gotten the Tricoder reference, and I was the youngest person there (29 years old at the time; learned about Tricoder literally just from this thread myself).
If you picked a random person working on Android source code and asked me to guess whether they know about Tricoder (without knowing any additional info about them), I would have decisively guessed “no”.
rs186•7mo ago
filoleg•7mo ago
Plus, Star Wars universe just felt way more interesting and fascinating to me than Star Trek as a kid.
Star Wars felt like knights and wizards and jet fighter pilots and heroic adventures in space, Star Trek felt like “adults doing boring adult things… but in space”. Not trying to dismiss ST, clearly it has a lot of appeal to tons of people, but it had zero appeal to me as a child.
It also helped that SW universe had some of my favorite games at that time, like SW:Demolition (vehicle combat genre, similar to Twisted Metal), Jedi Knight series, Knights of The Old Republic, etc.
l72•7mo ago
Star Wars is space fantasy. Star Trek is science fiction.
I’m not saying one is better than the other, but they appeal to different personalities.
I personally struggle to get in to fantasy, whether that is Star Wars, DnD, or fantasy video games. I’d much prefer to have a court room debate about ethics in the future.
The Star Wars vs Star Trek debate has always confused me as you are comparing two totally different genres.
account42•7mo ago
rs186•7mo ago
Don't assume certain things that happened during a certain period are universal to everybody.
ThrowawayR2•7mo ago