286 points · by todsacerdoti · 1y ago · 167 comments
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
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...
https://www.haiku-os.org/legacy-docs/bebook/TheKernelKit_Sys...
https://docwiki.embarcadero.com/Libraries/Athens/en/System.S...
With a completely serious (though short) documentation page I read as very, very dry humour.
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.
[1] https://android.googlesource.com/platform/frameworks/base/+/...
:D
It's used as a shorthand for "the article we're talking about"
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.
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.
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.
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)."
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)
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...
$ exit 2928 %SYSTEM-W-FISH, my hovercraft is full of eels
Android's become 'more mature' - ie. Boring, and the joke to code ratio is dropping rapidly.
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.
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)
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.
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.
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.
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.
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.
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.
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
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'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/
Both TOS and TNG aired in various European countries.
From friends and family in Belgium it seems it was somewhat bigger there.
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.
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.
Don't assume certain things that happened during a certain period are universal to everybody.
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”.
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.