Hazy992 said:
You know 0xB16B00B5 actually spells out 'ox big boobs' whatever that means.They're so big they're as big as an ox maybe?
The 0x is used to flag that the number is in hexadecimal. Essentially, it's used the same way "inches" and "feet" and "meters" and "blocks" and "minutes" and "miles" and "kilometers" are: To let someone know what unit is being used. Ask someone how far it is to the store and they say 15, you're no better off.
For instance, say someone tells me they need something from memory location 2163.
Is that decimal? Then it means decimal 2163.
Is it hexadecimal? Then it means decimal 8547.
Is that octal? Then it means decimal 1139.
Gets even more fun if the number is 10110.
Coders on some older systems like the C64 used a $ instead.
RJ 17 said:
I have little to no idea about coding, but is this type of thing a coincidence? I'd imagine coding is coding and that one can't just willy-nilly go inserting words in leet speak into coding and have the final program come out correctly.
It's a "magic number". Completely arbitrary, most coders make them memorable so have an easier time tracking down bugs. You can't use 0 or 1 because a lot of math ends up at 0 or 1; you have to use something that's win-the-lottery likely of happening naturally. Some examples from Wikipedia [http://en.wikipedia.org/wiki/Magic_number_(programming)#Magic_debug_values]:
8BADF00D Used by Apple as the exception code in iOS crash reports when an application has taken too long to launch or terminate.
A5A5A5A5 Used in embedded development because the alternating bit pattern (10100101) creates an easily recognized pattern on oscilloscopes and logic analyzers.
ABADBABE Used by Apple as the "Boot Zero Block" magic number
BADBADBADBAD Burroughs large systems "uninitialized" memory (48-bit words)
BADC0FFEE0DDF00D Used on IBM RS/6000 64-bit systems to indicate uninitialized CPU registers
Most of them are chosen so as to be recognizable at a glance: Which is why A5A5A5A5 works anywhere where you're using a binary display, while the rest are semi-legible English.