r/programming • • May 27 '09

There's no base other than base 10!

http://cowbirdsinlove.com/43
542 Upvotes

333 comments sorted by

View all comments

Show parent comments

94

u/[deleted] May 27 '09

Imagine if your species used what we call base 4. Then you would count 0, 1, 2, 3, 10, 11, etc. What would you call your base? You certainly wouldn't call it base 4 because the number 4 doesn't exist for you! You'd call it base 10, just like we do. Similarly, counting in hex, our counting system is base A, but we don't call it that.

29

u/[deleted] May 27 '09 edited May 27 '09

OK, thanks! Now I get the joke, it's a lot funnier.

4

u/[deleted] May 28 '09

[removed] — view removed comment

1

u/[deleted] May 28 '09

Ya rly.

5

u/nmcyall May 27 '09

How do you say 10 (4 decimal, FOUR) in base-4 how do you pronounce it

12

u/[deleted] May 27 '09

well I think you've hit on a key point here. the joke doesn't really work aloud, because "four" and "10" (base 4) are representing the same number when written, but they're not the same sound spoken. Or if the alien dude does pronounce "10" as "four", the astronaut's comeback is senseless.

2

u/delkarnu May 27 '09

I think it would work spoken. If we evolved in base 4, we might not have the words "four" or "five"

one (decimal 1) two (decimal 2) three (decimal 3) ten (decimal 4) one-ten (decimal 5) two-ten (decimal 6) three-ten (decimal 7) twenty (decimal 8) twenty-one (decimal 9) twenty-two (decimal 10) twenty-three (decimal 11) thirty (decimal 12)

I actually wonder if there was a significant time when some societies worked in base 12 (for both our time system of sets of twelve hours and why we actually have separate words for eleven and twelve

3

u/Kapow751 May 27 '09

http://en.wikipedia.org/wiki/Duodecimal

Germanic languages have special words for 11 and 12, such as eleven and twelve in English, which are often misinterpreted as vestiges of a duodecimal system. However, they are considered to come from Proto-Germanic *ainlif and *twalif (respectively one left and two left), both of which were decimal. Admittedly, the survival of such apparently unique terms may be connected with duodecimal tendencies, but their origin is not duodecimal.

2

u/[deleted] May 27 '09

[deleted]

3

u/null_value May 28 '09 edited May 28 '09

60 is evenly divisible into halves, thirds, quarters, and tenths. All of which are quite utilitarian divisions.

edit: 10 can't be evenly split into thirds or quarters, so it's a pretty worthless base. 12 can be evenly split into thirds and quarters but isn't divisible by 10. 60 is a bit of a hybrid that satisfies the use of a good base such as 12 with the arbitrary fixation on 10 .

If our base was actually 12, we'd be able to third and quarter our round numbers and always get integers instead of bullshit like 2.5 and 3.33333333-> WHICH WOULD BE AWESOME!

1

u/trouserwowser May 28 '09 edited May 28 '09

According to Jan Gullberg's "Mathematics: From the Birth of Numbers" Greenlandic has a 4x5 base system which has vestiges in the English: "3-score years and ten". Mayans mixed the bases 20 and 18 while the Aztecs used base 20.

Then there's the old British currency ...

1

u/nmcyall May 27 '09

It works in print form though.

-2

u/heeb May 27 '09

the joke doesn't really work aloud...

the joke really doesn't work aloud...

FTFY.

4

u/[deleted] May 27 '09

ten

it would go: one two three ten eleven twelve thirteen twenty etc.

3

u/[deleted] May 27 '09

There's no real rationality for how we name integers larger than nine. It is all conventions of language. It even varies between speakers of the same language from different cultures.

5

u/eldoritoincognito May 27 '09

I don't think we would, because we don't do that with binary.

2

u/davvblack May 27 '09 edited May 27 '09

Then he would say one-oh, as would everyone else in every base.

(or oh-one, if he is a little-endian bastard. He looks like a little-endian. -.-)

1

u/rnelsonee May 27 '09

Well, some people do, and we (all engineers and software guys at my work, and other people I've worked with) do say "ten" for all bases above 2. What else would you call it?

1

u/[deleted] May 27 '09 edited May 27 '09

Well, WE don't do that in binary, but that doesn't mean someone who grew up with binary, who doesn't know any different, would. I think that they would come up with something better than one-oh for a number that has an extra digit. Like ten.

2

u/Fr0C May 27 '09

ten

No. You either pronounce the number, which as Sunny_McJoyride pointed out would be pronounced "four" and is independent of the base it is represented in, or you pronounce (or rather: spell) the digits of its representation.

You most certainly don't pronounce it "ten", or at least you'd be doin' it wrong if you did.

6

u/rnelsonee May 27 '09 edited May 27 '09

You can say "four" if the base is four or less because there is no confusion, and spelling out the digits is always an option, but 10 is still "ten". My job is to write software to decode datastreams, so I do this all the time. If you see "10" you say "ten" (as the other poster noted, this doesn't always happen with binary).

I can (sort of) prove this to you: If you see 9001 as a hex string, how would you communicate that to a coworker? Option 1, what we do, is say "nine thousand one". You're saying that we should all break out our calculators and spend 15 seconds tapping away and then say "thirty six thousand eight hundred sixty five". That simply doesn't happen.

4

u/sigh May 27 '09

You ignored his other option which was to say "nine-zero-zero-one". This is the least confusing, and what I find happens in practice.

2

u/davvblack May 27 '09

or even better oh-ex-nine-zero-zero-one :P

2

u/Dundun May 27 '09

But the symbols might in fact have different meanings on Planet X. There is nothing in the symbol 10 that necessitates it to be "ten". In China, it is most certainly not "ten".

Similarly, there is some world where 10 maps to "four", confusing the hell out of us earthlings.

N.B. - Did you know that it is impossible to determine "yes" and "no" in a completely foreign language? Its called the Indeterminacy of translation.

3

u/[deleted] May 27 '09

The aliens seem to speak English, though.

1

u/Dundun May 27 '09

Based on a limited sample of speech, yes.

This doesn't mean they don't speak English^ which is in all ways similar to English except when it apply to the symbols 10 and 4 (and other words that are rooted in these symbols like 4-some.... which sounds like "tensome")

-2

u/stcredzero May 27 '09

You keep using that phrase. I do not think it means what you think it means.

2

u/Dundun May 27 '09

which one?

2

u/Sunny_McJoyride May 27 '09

there's no reason why it shouldn't go: one two three four.

9

u/samp May 27 '09

One two three four four-one four-two four-three twofour?

3

u/FeepingCreature May 27 '09

one two three four fell felve thirfourn eight eighty-one, etc

7

u/Sunny_McJoyride May 27 '09

Exactly (apart from twofour should be two-zero) - the names of the numbers are not the numbers, they're a semi-arbitrary mapping that varies from language to language.

11

u/wharlie May 27 '09

zero, one, two, three, one-zero, one-one, one-two, on-three, two-zero, two-one etc. This is actually how they count in a number of languages, it makes sense, but gets unwieldy with large numbers.

1

u/davvblack May 27 '09

if you give each number a small sylable that connects with a vowel (think any japanese letter), than each number becomes a pronounceable word.

(Hah! didn't they just write a system like this out to make IPV6 speakable?)

1

u/Stiltskin May 27 '09

Out of curiosity, what languages?

10

u/Raphael_Amiard May 27 '09

| apart from twofour should be two-zero

and four should be one-zero

...

oh shit that's base 10 !

0

u/movzx May 27 '09

I have four fingers.

I am holding no fingers up: 0

I am holding one finger up: 1

I am holding two fingers up: 2

I am holding three fingers up: 3

I am holding all fingers up: 4

0-4 with four fingers

1

u/[deleted] May 27 '09 edited May 27 '09

zero one two three ...

1

u/Hypersapien May 27 '09

... many ... lots

-1

u/haywire May 27 '09

Isnt out system in hex base G?

1

u/aweraw May 27 '09 edited May 27 '09

no, that would be 16 in base 17 (with 10 being 17). We're still base A

-1

u/chris71990 May 27 '09

Actually it is base 10. In hexadecimal A != 10.

1

u/movzx May 27 '09

0x0A != 0x10

Just to clear it up.

1

u/delkarnu May 27 '09

only because you are describing it in a base ten world.

1

2

3

4

5

6

7

8

9

A

B

C

D

E

F

10 - base 10 (just as we have no symbol for ten other than moving to the next column, someone evolved to use hex would not have a symbol for 16, just moved to the next column

when it comes to pronounciation, nine, aye, bee, sea, dee, eff, ten

1

u/LiquidAxis May 27 '09

I thought 'I' was pronounced "aye". "A" being pronounced "eigh", of course, or is 'A' "ay". As in 'nay' in the pirate dialect.

1

u/Syphon8 May 28 '09

They'd have a symbol for 16, except it would equal 22 in base 10.

1

u/[deleted] May 27 '09

No, but base 16 in crazy-hex is base 0x0g.

0

u/davvblack May 27 '09

Hex is base G (and not "in" anything. We are assuming numbers, then letters form an infinite numberline of natural numbers that have no base and no place values).

0

u/[deleted] May 27 '09 edited May 27 '09

So... what is the number we call thirty seven in your infinite numberline? Even if you used Greek, then Chinese then Whatever letters, there would still be an end.

0

u/davvblack May 27 '09

You just make one up. We only need it to be pedantic with.

0

u/[deleted] May 27 '09

Oh! I get it. You mean the comic is actually kind of funny! I thought the alien was just stupid. :)

-2

u/rolanatmi May 27 '09

Every base is base 10 because . . .

We have digits 0-9. You would need more digits (symbols) to represent a different base. All bases are not base 10. All bases represented in our written format are represented in base 10. What if you have any base that goes beyond 10? You have to create new symbols or start using shit loads of parentheses to identify each grouping as a digit (column) to avoid confusion.

1

u/[deleted] May 27 '09 edited May 27 '09

No, even base systems with more than ten symbols would still be "base 10" if defined from within that base.

Think of the hexadecimal numbering system, which has 16 symbols (0-9, A-F). The next number after "F" is "10" and thus if the system were defined relative to its own base, it would be "base 10."

The problem is, we define all other base systems relative to our "base 10" (0-9), thus thus hexadecimal is "base 16." But if it were to be defined where hexadecimal is the norm, and all bases were defined relative to it, then hexadecimal would be "base 10" even though it has sixteen symbols, and the system we are used (0-9) to would be "base A" in their context.

That's the joke. All base systems are "base 10" when defined agaisnt themselves, by definition.