422
counting (lemmy.world)
top 50 comments
sorted by: hot top controversial new old
[-] cypherpunks@lemmy.ml 75 points 7 months ago* (last edited 7 months ago)

0 โœŠ

1 ๐Ÿ‘

2 โ˜๏ธ

3 ๐Ÿ‘†

4 ๐Ÿ–•

[-] xmunk@sh.itjust.works 26 points 7 months ago* (last edited 7 months ago)
[-] CanadaPlus@futurology.today 10 points 7 months ago
[-] CaptainBlagbird@lemmy.world 1 points 7 months ago* (last edited 7 months ago)

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

[-] Seudo@lemmy.world 3 points 7 months ago

Why did 2 break up with zero?

Some 1 got between them!

[-] CaptainBlagbird@lemmy.world 13 points 7 months ago

6 โœŒ๏ธ

17 ๐Ÿค™

18 ๐Ÿค˜

19 ๐ŸคŸ

28 ๐Ÿ‘Œ

31 โœ‹

[-] Seudo@lemmy.world -4 points 7 months ago

1 ๐Ÿ‘†

2 ๐Ÿ‘†

3 ๐Ÿ‘†

4 ๐Ÿ–•

5 ๐Ÿ–•

6 ๐Ÿ–•

[-] Semi-Hemi-Demigod@kbin.social 39 points 7 months ago

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

[-] DanglingFury@lemmy.world 14 points 7 months ago

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

[-] Semi-Hemi-Demigod@kbin.social 12 points 7 months ago

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

[-] Tippon@lemmy.dbzer0.com 8 points 7 months ago

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

[-] LazaroFilm@lemmy.world 7 points 7 months ago

It really turns into Naruto style ninjitsu.

[-] 30p87@feddit.de 4 points 7 months ago

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).

[-] Cethin@lemmy.zip 2 points 7 months ago

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

[-] LudwigvanBeethoven@sh.itjust.works 1 points 7 months ago

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.

[-] maniacal_gaff@lemmy.world 25 points 7 months ago
[-] duck1e@lemmy.ml 2 points 7 months ago
[-] Bishma@discuss.tchncs.de 13 points 7 months ago* (last edited 7 months ago)

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

[-] CanadaPlus@futurology.today 3 points 7 months ago

You use more than one finger at once.

[-] itslilith@lemmy.blahaj.zone 2 points 7 months ago

I don't know many people who count like ๐Ÿ‘โ˜๏ธ๐Ÿ–•, so you kinda already do. You're just allowing more combinations

[-] CanadaPlus@futurology.today 1 points 7 months ago

Good point.

[-] ElectricMoose@lemmy.world 9 points 7 months ago

Someone is confusing indices and cardinality.

[-] uis@lemmy.world 6 points 7 months ago
[-] AlmightySnoo@lemmy.world 6 points 7 months ago

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.

[-] writeblankspace@lemm.ee 3 points 7 months ago

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

[-] datelmd5sum@lemmy.world 1 points 7 months ago

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 2 points 7 months ago* (last edited 7 months ago)

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

[-] MightyGalhupo@lemmy.world 1 points 7 months ago

It gets easier with practice

[-] itslilith@lemmy.blahaj.zone 1 points 7 months ago
[-] anton@lemmy.blahaj.zone 1 points 6 months ago

Binary is better than seximal, unless you rig the tests.

[-] 4L3moNemo@programming.dev 5 points 7 months ago

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

[-] oddityoverseer@lemmy.world 1 points 7 months ago

๐Ÿคฏ wow, that's a neat idea! That might come in handy some time ๐Ÿค”

[-] gregorum@lemm.ee 4 points 7 months ago

THERE ARE FOUR LIGHTS!

[-] sundrei@lemmy.sdf.org 4 points 7 months ago

"Please count to 10."

"... um, I've run out of fingers."

[-] Jorgelino@lemmy.ml 2 points 7 months ago

You only need two fingers for that though

[-] Odinkirk@lemmygrad.ml 3 points 7 months ago

Honestly, I count using the four fingers for 1-4, close the fingers and extend thumb for five, then extend each finger again for 6-9.

The right hand counts tens and works the same way. Can count to 100, and it's pretty intuitive. It's like if positional notation was discovered way earlier.

[-] LazaroFilm@lemmy.world 2 points 7 months ago* (last edited 7 months ago)

0 1 10 11 100

[-] Zehzin@lemmy.world 2 points 7 months ago

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

[-] bi_tux@lemmy.world 2 points 7 months ago

0; 1; 2; 4; 8

[-] edinbruh@feddit.it 1 points 7 months ago

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)

[-] ExfilBravo@lemmy.world 1 points 7 months ago

LUN is life.

[-] sheepishly@kbin.social 1 points 7 months ago

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

[-] sirico@feddit.uk 1 points 7 months ago

Haaaaaang on is that why we start on 0...

[-] DmMacniel@feddit.de 5 points 7 months ago

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 8 points 7 months ago* (last edited 7 months ago)

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 4 points 7 months ago* (last edited 7 months ago)

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@programming.dev 3 points 7 months ago

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

[-] LazaroFilm@lemmy.world 0 points 7 months ago

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.

[-] Asudox@lemmy.world 1 points 7 months ago

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

[-] Subverb@lemmy.world -2 points 7 months ago

AKschually, thumbs aren't fingers.

this post was submitted on 21 Nov 2023
422 points (94.0% liked)

Programmer Humor

31237 readers
1692 users here now

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

Rules:

founded 4 years ago
MODERATORS