r/Damnthatsinteresting • u/[deleted] • Sep 05 '18
GIF Mechanical binary counter.
https://i.imgur.com/NQPrUsI.gifv1.0k
u/dbarrc Sep 05 '18 edited Sep 05 '18
I'm not sure how long I would've kept watching, had it kept going.
Edit: I would've watched to 63. I'll go slap myself now
437
u/Ante_Victoriam_Dolor Sep 05 '18
It goes up to 63.
312
u/natdanger Sep 05 '18
Is THAT why so many TVs have a max volume of 63??
290
u/Dlgredael Sep 05 '18
It's also why Link has a max rupee count of 255 in the original Zelda. I remember that being the first time I noticed binary in the real world.
→ More replies (21)130
29
→ More replies (2)13
u/PacoTaco321 Interested Sep 05 '18
How does it feel to have your ears ringing from having the TV at max volume all the time?
→ More replies (1)→ More replies (1)13
u/Mikdu26 Sep 05 '18
Maybe a dumb question, but why is it 63, if it's "64 bit"?
→ More replies (5)39
4
u/yuckfo3 Sep 05 '18
Don't act like you don't know. You know very well it would have been the end of the gif.
182
u/Tauvik Sep 05 '18
Full video here with the ‘big flip’ at the end!
41
24
9
6
u/CraigAT Sep 05 '18
Damn you, making me wait again for the "big moment"!
For those who can't wait https://youtu.be/zELAfmp3fXY?t=1m24s
(I didn't realise that you cannot set a starting point when sharing a youtube vid from a mobile device)
→ More replies (1)2
u/Spoon_Elemental Sep 06 '18
This is a really good visual representation of how integer overflows work.
1.4k
u/PM_ME_WITH_A_SMILE Sep 05 '18
That went 0-100 really quickly. 4 to be exact.
281
→ More replies (13)25
u/PhDinGent Sep 05 '18
There 10 types of people in the world: those who understand this device, and those who do not.
6
875
u/TekAzurik Sep 05 '18
Wow. I did not understand how to count in binary until now. awesome
796
u/BellyCrawler Sep 05 '18
Wow. I still don't understand how to count in binary now. awesome.
282
u/Plimden Sep 05 '18
We normally count in base 10, probably because we have 10 fingers, but that just means we count to the next power of 10 numbers then we add a new digit;
0 1 2 3 4 5 6 7 8 9
10 11 12 13 14 15 16 17 18 19
Etc
When we hit 99 we get 100 next, 3 digits because 100 is 10 squared.
For binary it's the same rule except every power of 2 we add a new digit. Also there's only 2 counting numbers; 0 and 1. It starts like this:
0 1 10 11 100 101 110 111
Etc
Let me know if this was helpful at all, and if not let me know which part was unclear it would be useful for me to know how I am at explaining things of this nature.
Thanks
93
u/Xve__ Sep 05 '18
1000 1001 1010 1011 1100 1101 1110 1111 10000
Is that correct?
126
→ More replies (16)25
39
→ More replies (35)8
u/swingthatwang Sep 05 '18
Can you be my math teacher and/or adopt me? I'm almost 30 and wipe my own ass!
→ More replies (3)61
u/_decipher Sep 05 '18 edited Sep 05 '18
It becomes easier when you understand our current number system.
We count in decimal, also known as denary.
Each position of our number system is a power of 10 (which is why it’s called a base 10 number system).
The hundreds are (102 ), the tens are (101 ), the units are (100 ). Each “position” can have 10 possible values (0-9), and once the maximum value is hit, it roles over to 0 and increases the next position by 1.
Binary works the same way, but it’s base 2. All the positions are (2X ), and the possible values are (0-1).
This in the video is what we call unsigned binary.
Edit:
Cheeky bit of extra explaining:
Say we have the number 17 in decimal/denary. What does this number mean?
17 = (1 * (101 ) ) + (7 * (100 ) ). This is because it is 10 + 7.
How would we represent 17 in unsigned binary?
Well, each position of binary corresponds to a power of 2. And because there is either a 1 or 0 in each position, we can only have a single occurrence of each power of 2. We won’t have a number which has 7 units like we do in denary, because no position in binary can hold the value 7. It rolls over once it attempts to hit 2.
So we can look at 17 and realise it is composed of 16 which equals (24 ), and 1 which equals (20 ). Therefore 17 is 10001 in binary.
59
→ More replies (8)6
→ More replies (12)5
u/Princessxpuddles Sep 05 '18
For anyone looking for an ELI5, this is my very basic understanding:
We typically count in base ten, where we only have the numbers 0-9, and then when it "rolls over" to ten you have to add a new "place", which is represented with a 1 in front of a 0, for 1 ten and 0 ones. Then it carries on like that, increasing the digit in the tens' place by one every time it rolls over. Repeat until you get to 99, and then another digit is needed to represent ten tens. Hundreds, thousands, etc.
Binary is base two. Follow the same rules, but instead of rolling over on ten, you roll over on two. You can only use 1 and 0 in binary, so you have to add a new place every time you get to two. So you go 1, and then since you can't use two you have to go to the next place. 10 for 1 two and 0 ones. And then 11 for three (1 two and 1 one), but then you have to go to another place for fours because it's two twos, and you get 100 (1 four, 0 twos, 0 ones) 101 is five, (1 four, 0 twos, 1 one) 110 for six, 111 is seven, and then eight, which would be two fours, needs yet another place, 1000, and so on and so forth.
24
u/ProbalWarming Sep 05 '18
Learning how base-number systems work is kinda mind-blowing. We learn base-10 at a very young age without questioning it, and it's completely arbitrary. There's no actual reason we run out of digits at 9 and have to move to the left by a space in order to represent bigger numbers.
Without giving a whole lecture, it's neat to be able to look at a binary (base-2) number and know what the base-10 ("normal") equivalent is.
Here's the slow way of reading base-10: the first (or "ones") digit is that number multiplied by 100 (or that number times 1). The second (or "tens") digit is that number multiplied by 101 (or that number times 10). The third digit is that number multiplied by 102 (or that many hundreds). Then you add those values together to get the total value.
In base-10, "689" is equal to 9 x 100 (=9), plus 8 x 101 (=80), plus 6 x 102 (=600). Easy-peasy.
We can do the same thing in binary! The difference is now we use 20 , 21 etc. instead of 100 , 101 etc. Also the digits we use are 0-1 instead of 0-9.
In base-2, "100111" is equal to 1 x 20 (=1), plus 1 x 21 (=2), plus 1 x 22 (=4), plus 0 x 23 (=0x8), plus 0 x 24 (=0x16), plus 1 x 25 (=32). 1+2+4+32 = 39, so that's the base-10 equivalent of binary 100111.
→ More replies (20)4
u/thirtyseven_37 Sep 05 '18
p-adic numbers are even more mind blowing, since they go off to infinity on the left instead of the right and have a non-Archimedean topology in which numbers that are different by higher positive powers are considered close, rather than higher negative powers.
For example in 2-adic numbers, ...111 is -1 since ....111 + 1 = 0.
→ More replies (1)4
u/okeefem Sep 05 '18
Just like the classic r/programmerhumor Joke. There are 10 types of people in the world. Those that understand binary and those that don't.
→ More replies (9)2
u/odraencoded Sep 05 '18
Here's hexadecimal:
00, 01, 02, 03, 04, 05, 06, 07, 08, 09, 0A, 0B, 0C, 0D, 0E, 0F, 10
185
Sep 05 '18
This should be used in classrooms. Absolutely genius.
→ More replies (9)7
u/tgurav Sep 05 '18
Yes. To teach students that before transistors this is what made computers tick.
12
283
u/Union_Thug_ Interested Sep 05 '18
There are 10 types of people in this world, those who understand binary and those who don't.
227
Sep 05 '18 edited Sep 05 '18
There are 10 types of people in this world: those who understand binary, those who don't, and those who didn't expect this joke to be in base 3.
6
0
Sep 05 '18
[deleted]
0
Sep 05 '18
[deleted]
43
u/DanielSkyrunner Sep 05 '18
There are 10 types of people in this world: those who understands hexadecimal, and f the rest.
→ More replies (4)21
u/IdoNOThateNEVER Sep 05 '18
Yeah, 10 types of people, those who know Hex and F the rest.
→ More replies (6)16
12
u/Dlgredael Sep 05 '18
That's only two types of people, Unuion_Thug. STUPID
EDIT: it's a old bash quote, before I get lambasted as a dumbass.
→ More replies (1)→ More replies (7)4
u/Broric Sep 05 '18
There are 2 types of people in the world. Those who can extrapolate from incomplete data and...
79
u/MagnusBrickson Sep 05 '18
I'm more upset than I have any right to be over the fact it's not a full byte.
17
Sep 05 '18
I had a whole thing on Nibbles and Bytes, then learned there is a large history of 6 bit encoding. Who knew?
→ More replies (1)9
u/erroneousbosh Sep 05 '18
You'd have to have fingers like Leadbelly to roll it around from 255 to 0.
8
18
Sep 05 '18
Interestingly this essentially how it's implemented in TTL logic - there's a series of latches that do approximately the same thing electronically.
It's a real mind blow for people when you build a binary adder out of logic circuits on a breadboard, and realize, with enough of these circuits all linked together, you can build a functioning computer.
Those of lucky enough to have studied computer engineering at the right time can probably remember engineering a working general purpose computer (well enough to run MINIX) from the ground up. Fairly amazing accomplishment to run machine code on a machine you hand-built.
45
10
u/LTT82 Sep 05 '18
You can do this with your fingers, too. You can count to 31 with one hand.
63 if you're, shall we say, "gifted".
→ More replies (1)3
7
u/foxymcfox Sep 05 '18
Now I want to see one with pins or cams or something that enable it to display the base-10 digits on a segmented display!
Someone build it!
→ More replies (1)
5
4
u/CASPER_777 Sep 05 '18
After trying to understand binary, this is the best explanation yet. Thank you.
4
4
3
3
3
3
u/ei0rei0wq Sep 05 '18
This Decimal-to-binary game helped me a lot to really understand the principle of the binary system.
3
3
u/velociraptorjax Sep 05 '18
This has been the most helpful illustration of binary for me that I've seen/heard
2
2
2
2
2
2
2
2
u/A_Link_To_Metal Sep 05 '18
Q: So what does counting that mean? It obviously goes past 26, so letters of the alphabet are out of the question.
2
u/coopersrightarm Sep 05 '18
It’s just cool. Teaches you binary placing and how the counting works.
→ More replies (5)
2
u/yourpoopknife Sep 05 '18
No shit. Is this why RAM and storage always come in 2, 4, 8, 16, etc increments? Because they are binary numbers that begin w a 1 and only have 0s thereafter.
2
2
u/UrBrotherJoe Sep 06 '18
anyone else here like “OHHHHHHHHHH okay”
But also like
“.... 🤷🏽♂️🤷🏽♂️🤷🏽♂️”
2
2
u/4ndy45 Sep 06 '18
Interesting fact: you can solve the towers or Hanoi by counting in binary! here’s an explanation
2
u/Unwoven_Sleeve Sep 06 '18
That’s actually a really nice way to understand binary through this visualisation, me like
3
3
u/6NiNE9 Sep 05 '18
Where is the mechanical part? This looks straight up manual
6
Sep 05 '18
The flaps of wood that fall into the right place to move the other ones.
If it was manual he would have to keep flipping every single counter each time... he doesn't.. he just flips the same one over and over and something different is happening. I'd say that counts as mechanical- certainly not manual.
3
2
u/Mehnard Sep 05 '18
Only 10 kind of people will get this - those that do and those that don't.
→ More replies (1)9
u/HylianSoul Sep 05 '18
01000100 01101001 01100100 00100000 01111001 01101111 01110101 00100000 01100101 01110110 01100101 01110010 00100000 01101000 01100101 01100001 01110010 00100000 01110100 01101000 01100101 00100000 01110100 01110010 01100001 01100111 01100101 01100100 01111001 00100000 01101111 01100110 00100000 01000100 01100001 01110010 01110100 01101000 00100000 01010000 01101100 01100001 01100111 01110101 01100101 01101001 01110011 00100000 01010100 01101000 01100101 00100000 01010111 01101001 01110011 01100101 00111111 00100000 01001001 00100000 01110100 01101000 01101111 01110101 01100111 01101000 01110100 00100000 01101110 01101111 01110100 00101110 00100000 01001001 01110100 00011001 01110011 00100000 01101110 01101111 01110100 00100000 01100001 00100000 01110011 01110100 01101111 01110010 01111001 00100000 01110100 01101000 01100101 00100000 01001010 01100101 01100100 01101001 00100000 01110111 01101111 01110101 01101100 01100100 00100000 01110100 01100101 01101100 01101100 00100000 01111001 01101111 01110101 00101110 00100000 01001001 01110100 00011001 01110011 00100000 01100001 00100000 01010011 01101001 01110100 01101000 00100000 01101100 01100101 01100111 01100101 01101110 01100100 00101110 00100000 01000100 01100001 01110010 01110100 01101000 00100000 01010000 01101100 01100001 01100111 01110101 01100101 01101001 01110011 00100000 01110111 01100001 01110011 00100000 01100001 00100000 01000100 01100001 01110010 01101011 00100000 01001100 01101111 01110010 01100100 00100000 01101111 01100110 00100000 01110100 01101000 01100101 00100000 01010011 01101001 01110100 01101000 00101100 00100000 01110011 01101111 00100000 01110000 01101111 01110111 01100101 01110010 01100110 01110101 01101100 00100000 01100001 01101110 01100100 00100000 01110011 01101111 00100000 01110111 01101001 01110011 01100101 00100000 01101000 01100101 00100000 01100011 01101111 01110101 01101100 01100100 00100000 01110101 01110011 01100101 00100000 01110100 01101000 01100101 00100000 01000110 01101111 01110010 01100011 01100101 00100000 01110100 01101111 00100000 01101001 01101110 01100110 01101100 01110101 01100101 01101110 01100011 01100101 00100000 01110100 01101000 01100101 00100000 01101101 01101001 01100100 01101001 01100011 01101000 01101100 01101111 01110010 01101001 01100001 01101110 01110011 00100000 01110100 01101111 00100000 01100011 01110010 01100101 01100001 01110100 01100101 00100000 01101100 01101001 01100110 01100101 00100110 00100000 01001000 01100101 00100000 01101000 01100001 01100100 00100000 01110011 01110101 01100011 01101000 00100000 01100001 00100000 01101011 01101110 01101111 01110111 01101100 01100101 01100100 01100111 01100101 00100000 01101111 01100110 00100000 01110100 01101000 01100101 00100000 01100100 01100001 01110010 01101011 00100000 01110011 01101001 01100100 01100101 00100000 01110100 01101000 01100001 01110100 00100000 01101000 01100101 00100000 01100011 01101111 01110101 01101100 01100100 00100000 01100101 01110110 01100101 01101110 00100000 01101011 01100101 01100101 01110000 00100000 01110100 01101000 01100101 00100000 01101111 01101110 01100101 01110011 00100000 01101000 01100101 00100000 01100011 01100001 01110010 01100101 01100100 00100000 01100001 01100010 01101111 01110101 01110100 00100000 01100110 01110010 01101111 01101101 00100000 01100100 01111001 01101001 01101110 01100111 00101110 00100000 01010100 01101000 01100101 00100000 01100100 01100001 01110010 01101011 00100000 01110011 01101001 01100100 01100101 00100000 01101111 01100110 00100000 01110100 01101000 01100101 00100000 01000110 01101111 01110010 01100011 01100101 00100000 01101001 01110011 00100000 01100001 00100000 01110000 01100001 01110100 01101000 01110111 01100001 01111001 00100000 01110100 01101111 00100000 01101101 01100001 01101110 01111001 00100000 01100001 01100010 01101001 01101100 01101001 01110100 01101001 01100101 01110011 00100000 01110011 01101111 01101101 01100101 00100000 01100011 01101111 01101110 01110011 01101001 01100100 01100101 01110010 00100000 01110100 01101111 00100000 01100010 01100101 00100000 01110101 01101110 01101110 01100001 01110100 01110101 01110010 01100001 01101100 00101110 00100000 01001000 01100101 00100000 01100010 01100101 01100011 01100001 01101101 01100101 00100000 01110011 01101111 00100000 01110000 01101111 01110111 01100101 01110010 01100110 01110101 01101100 00100110 00100000 01110100 01101000 01100101 00100000 01101111 01101110 01101100 01111001 00100000 01110100 01101000 01101001 01101110 01100111 00100000 01101000 01100101 00100000 01110111 01100001 01110011 00100000 01100001 01100110 01110010 01100001 01101001 01100100 00100000 01101111 01100110 00100000 01110111 01100001 01110011 00100000 01101100 01101111 01110011 01101001 01101110 01100111 00100000 01101000 01101001 01110011 00100000 01110000 01101111 01110111 01100101 01110010 00101100 00100000 01110111 01101000 01101001 01100011 01101000 00100000 01100101 01110110 01100101 01101110 01110100 01110101 01100001 01101100 01101100 01111001 00101100 00100000 01101111 01100110 00100000 01100011 01101111 01110101 01110010 01110011 01100101 00101100 00100000 01101000 01100101 00100000 01100100 01101001 01100100 00101110 00100000 01010101 01101110 01100110 01101111 01110010 01110100 01110101 01101110 01100001 01110100 01100101 01101100 01111001 00101100 00100000 01101000 01100101 00100000 01110100 01100001 01110101 01100111 01101000 01110100 00100000 01101000 01101001 01110011 00100000 01100001 01110000 01110000 01110010 01100101 01101110 01110100 01101001 01100011 01100101 00100000 01100101 01110110 01100101 01110010 01111001 01110100 01101000 01101001 01101110 01100111 00100000 01101000 01100101 00100000 01101011 01101110 01100101 01110111 00101100 00100000 01110100 01101000 01100101 01101110 00100000 01101000 01101001 01110011 00100000 01100001 01110000 01110000 01110010 01100101 01101110 01110100 01101001 01100011 01100101 00100000 01101011 01101001 01101100 01101100 01100101 01100100 00100000 01101000 01101001 01101101 00100000 01101001 01101110 00100000 01101000 01101001 01110011 00100000 01110011 01101100 01100101 01100101 01110000 00101110 00100000 01001001 01110010 01101111 01101110 01101001 01100011 00101110 00100000 01001000 01100101 00100000 01100011 01101111 01110101 01101100 01100100 00100000 01110011 01100001 01110110 01100101 00100000 01101111 01110100 01101000 01100101 01110010 01110011 00100000 01100110 01110010 01101111 01101101 00100000 01100100 01100101 01100001 01110100 01101000 00101100 00100000 01100010 01110101 01110100 00100000 01101110 01101111 01110100 00100000 01101000 01101001 01101101 01110011 01100101 01101100 01100110 00101110
28
u/decode-binary Sep 05 '18
That translates to: "Did you ever hear the tragedy of Darth Plagueis The Wise? I thought not. Its not a story the Jedi would tell you. Its a Sith legend. Darth Plagueis was a Dark Lord of the Sith, so powerful and so wise he could use the Force to influence the midichlorians to create life& He had such a knowledge of the dark side that he could even keep the ones he cared about from dying. The dark side of the Force is a pathway to many abilities some consider to be unnatural. He became so powerful& the only thing he was afraid of was losing his power, which eventually, of course, he did. Unfortunately, he taught his apprentice everything he knew, then his apprentice killed him in his sleep. Ironic. He could save others from death, but not himself.".
I am a bot. If I'm doing something silly, please PM the guy who programmed me
9
2
2
Sep 05 '18
the bullshit in this thread is .. amazing. endless .. knuckle dragging ignorance of even the most simple bits. pun intended.
1
1
1
u/svayam--bhagavan Sep 05 '18
So let me see if I understood this clearly: whenever 1 is flipped to 0, the extra wooden pieces flips the next digit. 0 to 1 does not flip the next digit. Pretty clever mechanical design.
1
1
1
1
1
1
Sep 05 '18
Did you know that if we used binary, just with our 10 fingers we'll be able to count up to 1024?
Of course you have to have good memory but interesting nonetheless
→ More replies (2)
1
u/ngroat89 Sep 05 '18
I’m more concerned about the corpse flipping the numbers. Why are the hands so pale blue?
1
1
1
1
1
1
1
1
1
u/im_not_THAT_stoopid Sep 05 '18
I just started taking Computer Science classes literally yesterday, and we learned how to find a character's bytes. I'm so excited to finally understand this!
1
u/FrankDaTank1283 Sep 05 '18
How to you calculate what a binary number is? Or how high this would go?
1
1
1
1
1
Sep 05 '18
I feel like a fucking idiot every time I see stuff like this because I can't figure out how it works, and much less would I be able to invent this on my own.
2
u/insaniak89 Sep 05 '18
The little arm flips to the one next to it when it’s up or 1. Then flips down when it’s zero.
Binary just goes 1 2 4 8 16 32 64 128 for each space, you add up the 1s.
So 1000000 would be 1 while 11000000 would be 3
The impressive thing is that this works at all, it’s just a coincidental artifact of math. Would it work if we used base 9 math instead of 10? (Legit asking idk)
1
1
1
1
u/xMrBojangles Sep 05 '18
Assuming these blocks were 0.25lb each, and there was no friction between the wooden block and the shaft it rotates on, what is the highest the average man could count to?
1
1
1
1
u/GosuGas Sep 05 '18
Jeeez sorry just calm down. No need to take drastic measures we are all friends here.
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
u/tastykales Sep 05 '18
Omg we just learned binary in my intro to programming class I understand this fuck yeah
1
1
1
1
1
1
1
1
1
1
1
1
u/2centsworth Sep 05 '18
TIL that all the even numbers to 20 when shown in binary, contain at least one, 1 and end in 0.
→ More replies (1)
4.9k
u/Fillet_V2 Sep 05 '18
r/gifsthatendtoosoon