Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Speaking of hexadecimal numbers that mean something. Does anyone know any good numbers that stand out both in hex and in decimal? Something that would make people suspect it is a number used for debugging.


Wikipedia knows plenty: http://en.wikipedia.org/wiki/Magic_number_%28programming%29#....

My favorite is probably the classic 0xDEADF00D, but I also like 0xCAFEBABE as used by Java class files, and 0xFEEDFACE since it's just funny.

True, these mostly stand out in hex, but they would be "very large" in decimal which often stands out pretty well.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: