this post was submitted on 24 Jul 2023
123 points (98.4% liked)
Programmer Humor
32282 readers
261 users here now
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.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Binary is just morse in Mashine readable Form.
Not really, Morse code is not binary, but tertiary.
I'd say it's quinary but can easily be represented binarily
short mark, dot or dit ( ▄ ): 1
longer mark, dash or dah ( ▄▄▄ ): 111
intra-character gap (between the dits and dahs within a character): 0
short gap (between letters): 000
medium gap (between words): 0000000
I'm guessing you're saying that because of the pauses? Otherwise I don't get it.
Yes, the space is a necessary symbol in Morse code, otherwise it's impossible to decode.
Makes sense. I remember asking myself whether Morse was a form of Huffman encoding back when I was learning that stuff. And it kinda is going for that, but without actually doing it properly since it wasn't a binary code per se and so could use the pauses. "Ternary" makes sense.
Right, Morse was actually mentioned as an example when I was learning Huffman encoding. :)
Unless I'm mistaken I would say that it's the other way around, Morse code is more like a human readable machine language expressed in binary because the 26 character alphabet is expressed in different binary values, much like ASCII.