News for hackers. Stuff that matters.
Re:Base 10 is not a good base by VS1999 on Sunday April 14, 2024 @09:43PM (#40036270)
I don't get it. You can't represent 1/3 in base 2 either, and even worse, now you can't represent 1/10.
Re:Base 10 is not a good base by lolinder on Sunday April 14, 2024 @09:49PM (#40036314)
But you can represent 1/3 cleanly in base 12, so inches don't have this problem.

Yeah, you can't represent 1/10, but why does that matter? When 1/10 comes up in practice it's almost always as a side effect of us using base 10, not a natural requirement to partition something 10 ways.

Re:Base 10 is not a good base by Jensson on Sunday April 14, 2024 @09:57PM (#40036361)
> Yeah, you can't represent 1/10

You can't represent 1/5 either while base 10 can. You gain 3 but lose 5, it has the same number of primes.

Re:Base 10 is not a good base by dudul on Sunday April 14, 2024 @09:57PM (#40036362)
Wait what? Why is 1/3 so critical to represent but not 1/10?
Re:Base 10 is not a good base by DemocracyFTW2 on Monday April 15, 2024 @02:34AM (#40037597)
for the reason it was used in the artificial example given above I guess. OTOH it should be expected that the fractions 1/2, 1/3, 1/4, 1/5, 1/6... appear more often than others in practical work, not sure about that
Re:Base 10 is not a good base by rhelz on Monday April 15, 2024 @04:07PM (#40044999)
> more often than others in practical work

Here is a thumbnail sketch of a reason for why they do:

1. Large structures tend to be build from smaller substructures. (E.g., a train is typically built of a number of cars, a 6-pack is built from 6 cans).

2. And large structures tend to be built from integral multiples of smaller substructures, because a fraction of a substructure is typically not as useful as a whole substructure. (e.g. a train car missing its wheels isn't as useful as an intact train car, and a partially drunk-up can of beer isn't nearly as desirable as a whole can of beer.)

3. The fundamental theorem of arithmetic says that every integer can be factored into prime numbers.

4. Small primes are more common factors of integers than large primes are. (e.g. you more often want twice of something than 37 times of something)

Ergo:

5. Most of the numbers involved in designing and building something are going to be divisible by 2 and 3--because the number of subsystems it contains will likely be multiples of 2 and 3. Prime factors of 5 and over are relatively rare.

6. Therefore, when you are measuring the larger system, it is handy to use units which are easily divisible by 2 and 3. (like a foot is 12 inches).

Its why donuts and eggs are sold by the dozen, and beer comes in 6-packs, and cases of 24. You are far more likely to divide up cans of beer or some donuts to a number of people which is divisible by 2 or 3, then by 5 or any higher prime factor.

Re:Base 10 is not a good base by rhelz on Monday April 15, 2024 @08:39PM (#40047201)
> Why is 1/3 so critical to represent but not 1/10?

TLDR reason: Every second number is divisible by 2. Every third number is divisible by 3.

So if you want to divide something (like donuts or cans of beer, or the length of a wood plank) by N, it's far more likely that N will have a factor of 2 or 3 than it will not have a factor of 3, but be divisible by 10. Which is to say, you are far more likely to need tick marks spaced by 1/2 and 1/3 than tick marks spaced by 1/10. Which is to say that a 12-inch ruler is preferable to a 10 cm ruler, Q.E.D.

That's why they sell donuts by the dozen, and beer in 6-packs. And why the US officially (and Canada and the UK unofficially) still use English units for everyday measurements. Its just more practical.

Re:Base 10 is not a good base by NikkiA on Monday April 15, 2024 @03:12AM (#40037756)
Vernier guages are horseshit in anything but metric.
Re:Base 10 is not a good base by rhelz on Tuesday April 16, 2024 @02:54PM (#40055818)
Here is a vernier gauge for degrees--a non-metric unit, expressed in base 360 :-)

https://www.amazon.com/Universal-Stainless-Protractor-Precis...

Re:Base 10 is not a good base by NikkiA on Tuesday April 16, 2024 @03:51PM (#40056399)
Thanks, I hate it.
Re:Base 10 is not a good base by rhelz on Monday April 15, 2024 @03:41PM (#40044796)
> now you can't represent 1/10

This is why 12-inch rulers commonly have the inches divided into 10 inches.

There is a line on that ruler for 1/2, 1/3, 1/4, 1/5, 1/6, 1/8, and 1/10 of a foot. Uh, and 1/12th of a foot too, of course :-)

cf. with a 10-cm ruler, each cm divided into 10 mm. You've got a line for 1/2, 1/4, 1/5, 1/10, and 1/25, and 1/100th. That's it.