News for hackers. Stuff that matters.
Re:IT Without Software by tenebrisalietum on Thursday July 01, 2021 @01:10PM (#27701507)
It's interesting that humanity can't settle on a single language, but has managed to more or less standardize on the symbols for numbers.
Re:IT Without Software by nicetryguy on Thursday July 01, 2021 @01:39PM (#27701931)
Arabic notation / base ten seems to work really well with our brains. Having that many fingers probably helps. I couldn't imagine a modern world running on Roman Numerals.
Re:IT Without Software by maliker on Thursday July 01, 2021 @01:50PM (#27702101)
The real killer application of arabic numerals is arithmetic. Doing even multiplication and division in roman numerals is very time consuming [1].

[1] https://scienceblogs.com/goodmath/2006/08/16/roman-numerals-...

Re:IT Without Software by laurent92 on Thursday July 01, 2021 @04:05PM (#27704003)
> Having 10 fingers probably helps.

Yes, so we can count to 31 on one hand. Somehow, no civilization invented a base-32 notation.

Re:IT Without Software by bee_rider on Thursday July 01, 2021 @06:48PM (#27705842)
I don't think the choice of base is really dependent on finger encoding efficiency. Going 0-5 on a hand has the advantage that we only really care about the "last" finger.

Anyway, if we really want to go crazy, the knuckle and first joint on (my, at least) fingers can be controlled somewhat independently, so I think we can fit in 4 states per finger:

  |   _
  |  |  __ _
            |
Re:IT Without Software by flo123456 on Friday July 02, 2021 @02:57AM (#27708561)
Try using that to explain arithmetic to a child.

In a base-10 system the explanation is as simple as holding up both hands and then holding up the number of fingers for each hand you want them to add. The kid can count and intuitively learn how to add up two numbers. It’s really simple and really efficient.

Re:IT Without Software by sipos on Thursday July 01, 2021 @06:55PM (#27705914)
You might be able to. Personally I can't raise my ring finger without my little/pinkie finger also being raised.

Also, some numbers in finger binary are liable to get you punched if shown the wrong way round.

Re:IT Without Software by bobsmooth on Thursday July 01, 2021 @06:02PM (#27705459)
A few civilizations have used base 60

https://en.wikipedia.org/wiki/Sexagesimal

Re:IT Without Software by bee_rider on Thursday July 01, 2021 @06:55PM (#27705910)
The idea of counting to 12 by pointing to knuckles is something I hadn't encountered before, and really neat.

Kinda surprised base-12 didn't end up dominating. Having so many factors would have made division so much more convenient for mental math, and it is only 2 extra characters to remember.

Re:IT Without Software by perl4ever on Thursday July 01, 2021 @10:25PM (#27707274)
It occurred to me once that the big/little endian issues people have are really due to the conflict between Arabic numbers going in the opposite direction from English letters.

If both ran right to left, or left to right, then there would be no difference.

Re:IT Without Software by slver on Thursday July 01, 2021 @02:00PM (#27702244)
Most of us are programmers here, you are just as used to hex.

Also technically we don't have that many fingers. We have one more finger. We don't have a number digit for ten right? They go zero to nine. But out fingers go zero to ten.

If our numeric base matched our fingers, we should've used base eleven. Not many people think this through :)

I think the real breakthrough is having "order of magnitude" in numbers. So indeed the Roman Numerals suck and probably wouldn't last regardless.

Re:IT Without Software by nicetryguy on Thursday July 01, 2021 @02:10PM (#27702373)
> you are just as used to hex.

I do 6502 ASM with bit tricks and all and i can tell you straight up that hex is never as intuitive as decimal IMO.

Base eleven sounds like the stuff of nightmares =)

Re:IT Without Software by tenebrisalietum on Thursday July 01, 2021 @02:23PM (#27702547)
Where the hex is "intuitive" is showing what's "even" to the CPU.

For example we think of 10, 100, 50 as nice round convenient quantities.

CPUs see 16, 256, 2048 as convenient quantities--in hex that's visible: 0x10, 0x100, 0x800.

Re:IT Without Software by nicetryguy on Thursday July 01, 2021 @02:35PM (#27702703)
Right. It lets you see the bits more easily: 0-F is a good representation of 4 bits.

Say i were to name a random hex value like #$9C right now it would take me a few seconds to convert that to decimal in my head though... 156 took me a few seconds to sort out. I don't have to think about what 156 means in decimal because i just know what it is.

Re:IT Without Software by photojosh on Thursday July 01, 2021 @07:38PM (#27706244)
I'm not quite there, but close to being bilingual (binumeral?) between decimal and hex, and I think it's all about developing better intuition for each digit and their relationships.

For instance, you say 0x9C... that's just over half (0x80) of 0x100, close to 2/3rds (0xAA). Given in embedded we're often using a byte to represent a quantity, that gives enough feel.

I should practice multiplying hex by hand, I reckon that would assist in getting there.

Re:IT Without Software by vangelis on Thursday July 01, 2021 @02:45PM (#27702861)
The radix I've used since birth is easier than the one I haven't. Wild stuff.
Re:IT Without Software by nicetryguy on Thursday July 01, 2021 @03:11PM (#27703206)
Yes i do simplify my posts and try to write them in ways that normal people can understand. Your snide comment is a sign of success =)
Re:IT Without Software by sipos on Thursday July 01, 2021 @07:00PM (#27705949)
Do you though? Why is 156 anymore familiar than 9C? I can't imagine 156 things any more than I can 9C things.
Re:IT Without Software by photojosh on Thursday July 01, 2021 @07:42PM (#27706271)
Replying to sibling since we've maxxed out comment depth...

> It was $62 degrees Fahrenheit yesterday. I can't just go displaying that in a program. Nor is it meaningful to me without a decimal conversion.

It's just as meaningless to me even if you do the conversion to base10 for display... I don't do deg F intuitively and would have to convert to Celsius in my head. It's all about what we are familiar with.

[0] https://news.ycombinator.com/item?id=27706014

Re:IT Without Software by nicetryguy on Thursday July 01, 2021 @08:11PM (#27706490)
Right but the world runs on base 10 is all i'm trying to say. It's needlessly difficult to use anything else (aside from hex or binary in very specific situations). In some college sophomore philosophy class you could argue for base 27 but it doesn't make your system usable or intelligible.
Re:IT Without Software by photojosh on Thursday July 01, 2021 @08:47PM (#27706739)
> It's needlessly difficult to use anything else (aside from hex or binary in very specific situations)

Totally agree. I'm a programmer, so I do need to know those, and as an embedded developer, even more. The average person not so much. I thought that's what this particular thread was all about.

Re:IT Without Software by perl4ever on Thursday July 01, 2021 @10:43PM (#27707373)
Do you know 212 = 100 = boiling, 32 = 0 = freezing, -40 = -40, and 98.6 = 37 = body temperature?

I have no trouble remembering those, and that the ratio of degree sizes is 5/9ths, so I can figure a formula out whenever I need to.

Re:IT Without Software by photojosh on Sunday July 04, 2021 @07:27PM (#27733447)
Sure, I can work it out, and I do use F when talking to friends from the USA. My only point was that I deal with hex numbers all day, so they're more intuitive to me than Fahrenheit is.
Re:IT Without Software by dragonwriter on Thursday July 01, 2021 @07:49PM (#27706332)
> Replying to sibling since we've maxxed out comment depth...

No, you hadn't. I’m pretty sure there is no such thing.

Re:IT Without Software by photojosh on Thursday July 01, 2021 @08:39PM (#27706685)
You're right. There was no reply link under your comment... I have no idea what happened or if I'm just an idiot.
Re:IT Without Software by dragonwriter on Thursday July 01, 2021 @09:05PM (#27706837)
I think that under certain circumstances the reply link doesn't show past a certain depth, but you can still (unless the comment is dead) click on the time link to get the page for the comment and reply there.
Re:IT Without Software by nicetryguy on Thursday July 01, 2021 @07:08PM (#27706014)
Yes. It was $62 degrees Fahrenheit yesterday. I can't just go displaying that in a program. Nor is it meaningful to me without a decimal conversion.
Re:IT Without Software by perl4ever on Thursday July 01, 2021 @10:37PM (#27707343)
It's interesting that octal used to be popular and isn't any more. I'm not familiar with how that culture shift happened, but I remember learning C in the 80s and thinking it was odd that it supported octal when I'd never seen it anywhere else.
Re:IT Without Software by hoseja on Friday July 02, 2021 @02:22AM (#27708351)
If you learned hex in primary school and there was a primary numeral system for them, you'd find them just as intuitive. Same for base-six etc.
Re:IT Without Software by Orou on Thursday July 01, 2021 @02:53PM (#27702958)
Isn't it more intuitive for OP codes though?
Re:IT Without Software by the_monocle on Thursday July 01, 2021 @02:04PM (#27702280)
0 to 9 are exactly 10 digits.
Re:IT Without Software by depaya on Thursday July 01, 2021 @03:05PM (#27703127)
I think their point is that we use our 10 fingers to count to a value of 10. We can use our 10 fingers to represent 0 (no fingers) through 10 (all 10 fingers). This is essentially base 11 if you try to assign a specific digit to each finger.

While I agree with that viewpoint I think it's missing the point. As humans with 10 fingers it's easy for us to group things into increments of 10, so base 10 comes naturally. Think about how you count a quantity over 10: once you run out of fingers you mark down (or remember) that you've already counted one quantity of 10, now you're counting the next quantity of 10, etc...

It's more like a shifted base 10 where we represent digits 1-10 instead of 0-9.

Re:IT Without Software by slver on Thursday July 01, 2021 @03:36PM (#27703550)
Everyone is thinking about a "shifted" base 10, yes.

But every base starts with 0, there's no such thing as "shifted base" because then you literally can't represent 0.

Also "zero fingers" is still a thing that exists in this shifted base 10. So it remains base 11.

This is like the classic "0-based indexing" vs. "1-based indexing" dilemma. The "first" thing is represented by 1, we think.

But the "first" year of our life, we're zero years old. The "first" hour after midnight is 0 o'clock. Building your "first" million as a business is the period before you have 1 million. And so on.

Re:IT Without Software by dylanh on Friday July 02, 2021 @01:10AM (#27707991)
A base 10 with symbols only for 1 through 10, where zero is represented with an empty set is a Bijective Base 10 numeration. The columns in excel are bijective base 26.

https://en.wikipedia.org/wiki/Bijective_numeration

Re:IT Without Software by slver on Friday July 02, 2021 @05:23AM (#27709466)
The number of sets we can represent with fingers is 11, including the empty set.

As for bijective base 10, it's interesting, but it's still not the base 10 we're using, so we can't quite blame this on our fingers.

Re:IT Without Software by emodendroket on Thursday July 01, 2021 @05:45PM (#27705272)
It isn't that strange. Learning a language natively is an innate human trait that isn't regulated. The symbols we choose to represent for arithmetic (or to write the language, for that matter) must be learned.