Earlier quoted context omitted.
Is that a reference to the hilariously broken PS3 RNG? For those unaware, the PS3 was jailbroken because their RNG always returned 4.
The self-inflicted degradation of the random number generator in the Debian OpenSSL packages were the main inspiration for this, I think. https://en.wikipedia.org/wiki/Random_number_generator_attack...
I'm fairly sure this basic joke predates xkcd by quite a while. For example, here's a Dilbert comic from 2001 with a slight variation on it:
http://dilbert.com/strip/2001-10-25
This Jargon File entry listing several specific "random numbers" has the same theme: