Fun fact: when learning some instruments (e.g. bowed instruments) you also number the fingers starting from your index (because you don’t play with the thumb)

Someone is confusing indices and cardinality.

sheepishly
link
fedilink
110M

I literally did this the other day… to be fair, it was a list starting with the number zero.

LUN is life.

Subverb
link
fedilink
-210M

AKschually, thumbs aren’t fingers.

Base 5 is based

Don’t you mean base 10?

Also, clearly seximal is the best

coworker taught me this and it blew my mind. I had previously jokingly used base 2 with my hands, but something like 01001 10010 would be difficult to handle.

@uis@lemmy.world
link
fedilink
2
edit-2
10M

Base 2 should be easy to add, but it requires effort to convert

It gets easier with practice

The French used to count in base 20 (so that means both hands and both feet), which is why they read 97 as quatre-vingt-dix-sept, ie 4*20+10+7.

One of the reasons why I hate learning French so much.

LazaroFilm
link
fedilink
English
2
edit-2
10M

0 1 10 11 100

Zehzin
link
fedilink
210M

I’ve watched Inglorious Basterds I’m not falling for that trick

counting != indexing

^^

If you count in binary you can get to 31 on one hand, and 2,047 on two hands

One hand would be 2**5 = 32 (0 to 31) and two would be 2**10 = 1024 (0 to 1023).

And if you use 3 states per finger (down, half raised and raised), you can have 3**10 = 59049 (0 to 59048).

Ludwig van Beethoven
link
fedilink
English
110M

nah, you can have 16+8+4+2+1 = 31 on one hand, and 1024+512+256+128+64+32+16+8+4+2+1=2047 on two hands.

Cethin
link
fedilink
English
210M

I don’t count to 1024 over often (literally never) so I don’t feel the need to go to trinary.

LazaroFilm
link
fedilink
English
710M

It really turns into Naruto style ninjitsu.

I’m not flipping you off, i just counted to 4

19 is the rock and roll symbol

22 is the shocker

Assuming you use your thumb as the first bit

I taught my kids how to do it and for a while they’d tell each other to binary four off

Tippon
link
fedilink
English
810M

My seven year old did something similar. At least once a day I’d hear ‘Dad, Dad, I’m counting to four!’ and see the little shit flipping me off and laughing hysterically :D

👍Maximum Derek👍
link
fedilink
English
13
edit-2
10M

Nah. 1,2,4,8,16… or 1, 10, 100, 1000, 10000, depending on how you look at it.

You use more than one finger at once.

I don’t know many people who count like 👍☝️🖕, so you kinda already do. You’re just allowing more combinations

Good point.

Arthur Besse
link
fedilink
72
edit-2
10M

0 ✊

1 👍

2 ☝️

3 👆

4 🖕

6 ✌️

17 🤙

18 🤘

19 🤟

28 👌

31 ✋

1 👆

2 👆

3 👆

4 🖕

5 🖕

6 🖕

@xmunk@sh.itjust.works
link
fedilink
24
edit-2
10M

Hey, fourck you too, man.

Well, 132 you!

CaptainBlagbird
link
fedilink
1
edit-2
10M

2 guys, or I’ll 0 you both! 1?

Why did 2 break up with zero?

Some 1 got between them!

Destide
link
fedilink
English
110M

Haaaaaang on is that why we start on 0…

LazaroFilm
link
fedilink
English
010M

Because if you convert it back to binary, you have 0x0000 and that is one extra bit you can use instead of limiting your available values.

macniel
link
fedilink
510M

No. We count start at zero because the array already starts with an element of a specific size. Starting at 1 would always skip that initial element.

@CanadaPlus@futurology.today
link
fedilink
English
8
edit-2
10M

You could have “empty arrays” in a language if you wanted. The real reason is that you start with an offset of zero as you read an array from memory at hardware level, and so this way address is just “start address + element size * element number”.

@BorgDrone@lemmy.one
link
fedilink
4
edit-2
10M

No, we start counting at one. We start indexing at zero.

An array with one element has an element count of 1, and that element would be at index 0.

LaggyKar
link
fedilink
210M

This is how we end up with off-by-one errors

0, 1, 2, 3, 5, 8, 13, 21, etc.

If you count finger joints and tips, using your thumb – you can count in hex (base16) on each hand.

🤯 wow, that’s a neat idea! That might come in handy some time 🤔

Create a post

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
  • 1 user online
  • 120 users / day
  • 257 users / week
  • 744 users / month
  • 3.72K users / 6 months
  • 1 subscriber
  • 1.48K Posts
  • 32.5K Comments
  • Modlog