Conversation
Notices
-
@richslxh Well, I am a computer science student - good maths skills are kind of a must. ;p
-
@richslxh Binary has no minimum number of digits. A byte does, and that is indeed 8 digits, but nobody was saying 101010 was a byte.
-
@richslxh why does binary have to be 8 digits minimum? That just defines an octet, or byte. Binary numbers can be displayed at any length.
-
@richslxh and, pray tell, how many "minimum" digits has decimal?.. 8-digit bin numbers are just something we got used to
-
@richslxh 1101 is a perfectly "proper" binary number (13 here); so is 110 (6). and hence, so is 101010. please refer to, e.g., ur1.ca/220mm
-
@richslxh that's a problem with the tool you used to convert it, not with the noted number per se. 101010(bin) = 32 + 8 + 2(dec) = 42
-
@richslxh Uh, no. What the hell are you using that outputs that for 42 in binary?
-
Man this is a shit holy war, yes they are binary but computers express them in sets of 8
-
@richslxh Okay, yes, the text "42" is 0011010000110010 in binary, but 42 _as a number_ in binary is 101010 (or 00101010 as a whole byte).
-
@richslxh that is ascii code 52 (for the symbol 4) and ascii code 50 (for the symbol 2). So '42' not 42 (string vs number)
-
@richslxh Indeed, but I still don't see how that makes any difference to "people saying the !ubuntu launch date 101010 is 42 in binary?".
-
@richslxh Since, as far as I'm aware, nobody's been claiming that 101010 is the binary for "42" in ascii.
-
@richslxh doh. Looks like you just had a huh-huh moment :)
-
@richslxh Fair enough.
-
@richslxh most calculator programs will do it too in Advanced or Scientific mode.
-
@richslxh Nice, though I personally prefer to convert in my head (at least for 16-bit or smaller numbers, bigger ones are less pleasant).
-
@richslxh for fun we could do it as an IEEE-754 representation 1000010001010000000000000000000 :D
-
@richslxh actually I'm impressed with you doing everything in your head. I'm always reaching for the calculator :)
-
@mv When you hit the reply button on the web it appends the @mention to the textbox you can edit, If I auto add the @-m…
-
@richslxh Nah, 42 is clearly octal. If it were decimal, it would have...uhm...3.14 digits at least.
-
@deepspawn hm...that is helpful to know, in finding a solution, obviously I am not informed on what happens in xmpp com…
-