426
counting (lemmy.world)
submitted 2 weeks ago by hairinmybellybutt to c/[email protected]
top 45 comments
sorted by: hot top new old
[-] [email protected] 71 points 2 weeks ago* (last edited 2 weeks ago)

0 โœŠ

1 ๐Ÿ‘

2 โ˜๏ธ

3 ๐Ÿ‘†

4 ๐Ÿ–•

[-] [email protected] 23 points 2 weeks ago* (last edited 2 weeks ago)
[-] [email protected] 9 points 2 weeks ago
[-] CaptainBlagbird 1 points 2 weeks ago* (last edited 2 weeks ago)

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

[-] Seudo 3 points 2 weeks ago

Why did 2 break up with zero?

Some 1 got between them!

[-] CaptainBlagbird 12 points 2 weeks ago

6 โœŒ๏ธ

17 ๐Ÿค™

18 ๐Ÿค˜

19 ๐ŸคŸ

28 ๐Ÿ‘Œ

31 โœ‹

[-] Seudo -4 points 2 weeks ago

1 ๐Ÿ‘†

2 ๐Ÿ‘†

3 ๐Ÿ‘†

4 ๐Ÿ–•

5 ๐Ÿ–•

6 ๐Ÿ–•

[-] [email protected] 38 points 2 weeks ago

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

[-] DanglingFury 14 points 2 weeks 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

[-] [email protected] 11 points 2 weeks ago

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

[-] [email protected] 8 points 2 weeks 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 7 points 2 weeks ago

It really turns into Naruto style ninjitsu.

[-] maniacal_gaff 24 points 2 weeks ago
[-] [email protected] 1 points 2 weeks ago
[-] [email protected] 12 points 2 weeks ago* (last edited 2 weeks ago)

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

[-] [email protected] 2 points 2 weeks ago

You use more than one finger at once.

[-] [email protected] 2 points 1 week ago

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

[-] [email protected] 1 points 1 week ago

Good point.

[-] ElectricMoose 8 points 2 weeks ago

Someone is confusing indices and cardinality.

[-] uis 6 points 2 weeks ago
[-] AlmightySnoo 6 points 2 weeks 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.

[-] [email protected] 3 points 2 weeks ago

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

[-] datelmd5sum 1 points 2 weeks 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 2 points 2 weeks ago* (last edited 2 weeks ago)

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

[-] MightyGalhupo 1 points 1 week ago

It gets easier with practice

[-] [email protected] 1 points 1 week ago

Don't you mean base 10?

Also, clearly seximal is the best

[-] [email protected] 5 points 1 week ago

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

[-] oddityoverseer 1 points 1 week ago

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

[-] [email protected] 4 points 2 weeks ago

THERE ARE FOUR LIGHTS!

[-] [email protected] 4 points 2 weeks ago

"Please count to 10."

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

[-] [email protected] 2 points 2 weeks ago

You only need two fingers for that though

[-] LazaroFilm 2 points 2 weeks ago* (last edited 2 weeks ago)

0 1 10 11 100

[-] bi_tux 2 points 1 week ago

0; 1; 2; 4; 8

[-] Zehzin 2 points 2 weeks ago

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

[-] ExfilBravo 1 points 2 weeks ago

LUN is life.

[-] [email protected] 1 points 2 weeks ago

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

[-] [email protected] 1 points 2 weeks 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)

[-] [email protected] 1 points 2 weeks ago

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

[-] [email protected] 5 points 2 weeks 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.

[-] [email protected] 8 points 2 weeks ago* (last edited 2 weeks 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".

[-] [email protected] 4 points 2 weeks ago* (last edited 2 weeks 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.

[-] [email protected] 2 points 2 weeks ago

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

[-] LazaroFilm 0 points 2 weeks 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 1 points 1 week ago

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

[-] Subverb -2 points 2 weeks ago

AKschually, thumbs aren't fingers.

this post was submitted on 21 Nov 2023
426 points (94.6% liked)

Programmer Humor

9478 readers
22 users here now

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

Rules:

founded 4 years ago
MODERATORS