Reverse-engineering the Childish Gambino mystery
In 2008, Donald Glover burst on the scene as the rapper “Childish Gambino.” In an unknown fantasy year in the manga Berserk, the mercenary Gambino is sparring with his six-year-old adopted son Guts, takes a hit, and lashes out in a rage, giving the boy a cut to the bone across his face. The other mercenaries are shocked by this. One says, “Gambino, sir. That was a bit childish, wasn’t it?”
This manga page was published in English by Dark Horse in 2004, well before Childish Gambino came on the scene. When I first read this page, I like many others was immediately struck by the apparent coincidence. “Childish” … “Gambino”: did those words appear together twice by chance? Since the manga came out first, there’s no way the wording could have been chosen as an homage to Donald Glover. Could Donald Glover have gotten his stage name from the manga? According to him, no.
Enter the Wu-Tang Name Generator
Glover got the name Childish Gambino from a webpage that generates nicknames in the style of the rap group Wu-Tang Clan, while he was in college at NYU. Here’s how he tells the story:
We were all hanging out, chilling and drinking and then we were like, ‘Oh, Wu-Tang name generator, let’s put our name in.’ And we’re putting them all in, and they’re all funny and stuff, and then mine came up and I was like, ‘You guys, it’s not funny anymore. This is something big.’ I just really liked it.
We don’t have an exact date on this story, but Glover was in college 2002-2006.
So Glover’s own testimony is a pretty definitive refutation of the Berserk theory, I think. But I wanted to nail down all the details if I could, just for my own understanding.
The place Glover got his name seems to have been the Wu-Tang Name Generator at mess.be. This page, and the generator, has been online since 2002, although at some point it was updated to celebrate the press coverage in its role in Glover’s stardom. Entering your name (or any string) into the form triggers a server-side PHP script that calculates and then prints your Wu-Tang name.
Reverse-engineering the 45 and 40 chambers
In order to understand how Childish Gambino got his name, I wanted to understand how the Wu-Tang Name Generator worked. Unfortunately, the name-generating logic is server-side. When you use it, you don’t see how it works, just the input and output. To understand the generation logic would require reverse-engineering the rules from a subset of the input-output mappings. I decided to ask Claude Opus 5.5 to do this; it took about 10 minutes.
The short version is:
- Your name is converted to lower-case.
- A numerical representation of your name is used as a seed for the
PHP pseudorandom number generator function
rand(). - The seeded PRG is used to choose a number between 0 and 44, and a number between 0 and 39.
- These numbers are used to look up words from a table of 45 adjectives like “Fearless”, “Misunderstood”, and “Smilin’” and a table of 40 nouns like “Bastard”, “Wizard”, and “Assassin”, which are put together to yield your Wu-Tang name.
But Claude made this gorgeous demo that reproduces the generator’s behavior while simultaneously showing you how it works:
rand(0,39)
I came to the problem with a rough guess about how the generator worked – I thought it used a hash of your name to look up values in a table. The guess was correct, but Claude’s knowledge of likely hash functions and their behaviors was indispensable. With that knowledge, you can guess the hash, reimplement it, and test it against the real thing. Claude guessed that the name was turned into a number that seeds PHP’s random number generator, wrote its own copy of that generator, and checked which table sizes were consistent with the outputs it had collected. Only one size fit for each word: 45 adjectives and 40 nouns. From there you pick inputs that land on each slot of each table, read off the words, …
And you have a working generator for all cases. … Almost!
Hard-coded rules for special cases
It turns out that, while the process described above generates the vast majority of all names the generator spits out, a small number are not generated that way, but are instead the product of hard-coded rules. If I enter my name, I get out Crazy Overlord, as predicted by Claude’s model of the process. But if you enter the birth name of an actual member of Wu-Tang Clan, like Russell Tyrone Jones, you get out their actual Wu-Tang name (Ol’ Dirty Bastard) instead of a generated one. A small number of rules, then, were written to make sure certain specific inputs always generated the “right” outputs, so the generator wouldn’t conflict with Wu-Tang canon.
We can’t definitively discover all the hard-coded names in the generator; that would require trying all possible inputs. But we can make educated guesses about inputs we suspect have hard-coded outputs, and try them. Among the hard-coded rules we found this way is:
| Input | Output |
|---|---|
| Donald Glover | Childish Gambino |
That is, if you enter your name as “Donald Glover”, there’s a special rule that says your Wu-Tang name is “Childish Gambino” – it doesn’t go through the algorithm detailed above, it doesn’t look up an adjective and a noun from the tables. In fact, “Childish” and “Gambino” don’t appear on the tables used to generate Wu-Tang names for arbitrary inputs. The only way to get either the adjective “Childish” or the noun “Gambino” is to enter your name as “Donald Glover.”
Conclusion: the generator was changed
What this shows (almost certainly) is that the generator was changed at some point after Childish Gambino’s rise to fame. “Donald Glover”-“Childish Gambino” was added as a hard-coded special case, and “Childish” and “Gambino” were removed from the tables so that no one else could get names that were close or identical to Glover’s.The chances of two naturalistic names generating the same Wu-Tang name are small but non-zero – naively 1 in 1,800 but a bit more than that taking into account the actual distribution of names. With a logic mirroring the birthday paradox, in a room with about 45 people, two people probably have the same Wu name.
Changing the tables after Childish Gambino became famous was a sensible and unsurprising thing to do. But it leaves our inquiry in an unsatisfying place. Reverse-engineering the current Wu-Tang Name Generator doesn’t allow us to reconstruct how Glover got his name. His story is still, I think, almost certainly true. The Berserk coincidence is just a coincidence. We don’t even know if Glover has read Berserk! … But we’re not in a position to directly confirm his account, the way I had hoped we would be.