News for hackers. Stuff that matters.
Re:Learning Morse code in the 21st century by geogra4 on Monday December 23, 2019 @09:14PM (#21869310)
You would think it would make sense for Morse to be the foundation for computer representation of text, being binary and all. But the real challenge is that Morse code does not use standard lengths for each character.

It's, imo, one of the earliest technologies that shows the divergence between what is easy for humans vs what is easy for machines.

Re:Learning Morse code in the 21st century by toomanybeersies on Monday December 23, 2019 @10:06PM (#21869526)
Morse code isn't binary, it's trinary.

You have 3 signals: dots, dashes, and spaces.

Here's the relevant extract from the wikipedia article on Morse Code:

> Each Morse code symbol is formed by a sequence of dots and dashes. The dot duration is the basic unit of time measurement in Morse code transmission. The duration of a dash is three times the duration of a dot. Each dot or dash within a character is followed by period of signal absence, called a space, equal to the dot duration. The letters of a word are separated by a space of duration equal to three dots, and the words are separated by a space equal to seven dots

Re:Learning Morse code in the 21st century by thepete2 on Monday December 23, 2019 @11:26PM (#21869861)
You can represent it as both binary and ternary

R is: .-. (dit dah dit)

which could be 121 in ternary (0 being pause)

or 1011101 in binary, since one dah is three dits long

Re:Learning Morse code in the 21st century by dilutedh2o on Tuesday December 24, 2019 @01:03AM (#21870200)
In that case we may as well use the alphabet tbh