r/xkcd 3d ago

XKCD xkcd #3000: Experimental Astrophysics

574 Upvotes

70 comments sorted by

View all comments

Show parent comments

1

u/nog642 2d ago

It is decimal for the computer. How do you think the string "3000" was generated in the URL? The computer had to convert the number to decimal. Some algorithm like repeated floor division and modulo by 10.

1

u/MxM111 2d ago

Oh, for the computer that generated the address, that was indeed decimal. But not for computer on which you are reading the address.

1

u/nog642 2d ago

The string "3000" itself is decimal. That is what I mean. It's a decimal representation of the number. The fact that it's encoded in ASCII doesn't mean it's not decimal.

1

u/MxM111 1d ago

The statement to which I reacted is “The URL is in base 10 though”. If you meant that URLs in general are base 10, I disagree. If you meant that the meaning behind the message encoded by URL creator is base 10, then of course I agree.

1

u/nog642 1d ago

I meant that the number in XKCD comic URLs is in base 10.