Re:Twitter accounts dropping “.eth” from usernames
by jrockway on Friday April 08, 2022 @02:01PM
(#30960441)
What's interesting to me is that there is also a contingent of people that represent hexadecimal numbers with an "h" suffix, like FACEDEEDh. I always wondered what pushed people one way or the other. I learned 0x first but see "h" most in assembly code listings (which was indeed not my first programming language) and hardware datasheets.
Re:Twitter accounts dropping “.eth” from usernames
by 1597 on Saturday April 09, 2022 @09:00AM
(#30967677)
"h" suffix is a pain in the ass in MASM and probably other assemblers (a leading 0 is required for hex literals that begin with a letter to distinguish from identifiers e.g. mov eax, 0FACEDEEDh)
Re:Twitter accounts dropping “.eth” from usernames
by IncRnd on Friday April 08, 2022 @03:13PM
(#30961305)
That's definitely true.
I think it comes from the preference of the author of an assembler's parser regarding how to recognize a number's base - either by analyzing the string or by forcing the progammer to declare upfront.
Re:Twitter accounts dropping “.eth” from usernames
by bspammer on Saturday April 09, 2022 @06:24AM
(#30966750)
The prefix seems better to me because you read it first, and also the x is a more clear marker than h because it’s at the opposite end of the alphabet to the rest of the hexadecimal digits.
Re:Twitter accounts dropping “.eth” from usernames
by cableshaft on Friday April 08, 2022 @02:26PM
(#30960753)
I'm aware it means that normally, I've used that while programming every once in a while.
But if their most previous name was .eth, it almost certainly is a reference to crypto.
In many programming languages 0x at the start of a number means the number is encoded in base 16 (0123456789ABCDEF) instead of base 10 (0-9).
see 0xDEADBEEF, 0xCAFEBABE, and for the eternal NFT crowd 0xFACEDEED.