あなたは単独のコメントのスレッドを見ています。

残りのコメントをみる →

[–]My_usrname_of_choice 71 ポイント72 ポイント  (18子コメント)

Can we please stop with the Morse code?

[–]oceanjunkie 39 ポイント40 ポイント  (17子コメント)

-. ---

[–]My_usrname_of_choice -23 ポイント-22 ポイント  (16子コメント)

OMG if only there were 50 different posts telling me how to decode this.

[–]dannylegreat -5 ポイント-4 ポイント  (15子コメント)

Morse code is actually the basis of computer coding and I will use this in my career in a completely unrelated field.

Edit: I'm not high, or that stupid. My reasoning is found in the comments below.

[–]slithek 19 ポイント20 ポイント  (2子コメント)

Morse code isn't the basis of computer programming...

[–]Come_To_r_Polandball 4 ポイント5 ポイント  (0子コメント)

Morse code is an early form of digital communication. Morse code could eventually be sent wirelessly, was multiplexed, and could be transmitted and received by machine. From a certain point of view, the internet can be seen as innovation in the worldwide telegraph network.

[–]dannylegreat 8 ポイント9 ポイント  (0子コメント)

Morse code did not give birth to the binary system of computer coding but it is an important landmark in binary language. In the book "Coding" by Charles Petzold, the first chapter is about morse code. I ain't lying!

[–]PsylentKnight 3 ポイント4 ポイント  (0子コメント)

According to your reasoning, I think "the inspiration for" (or something to that effect) would be more appropriate than "the basis of".

[–]FeierInMeinHose -3 ポイント-2 ポイント  (0子コメント)

... are you high?

[–]BurntOutProgrammer -5 ポイント-4 ポイント  (9子コメント)

Explain to me how morse code is the "basis of computer coding." I'd love to hear you explain this.

[–]dannylegreat 6 ポイント7 ポイント  (8子コメント)

"Morse code was invented by Samuel Finley Breese Morse (1791-1872), whom we shall meet more properly later in this book. The invention of Morse code goes hand in hand with the invention of the telegraph, which we'll also examine in more detail. Just as Morse code provides a good introduction to the nature of codes, the telegraph provides a good introduction to the hardware of the computer." Code pg 9

"Morse code is said to be binary (literally meaning two by two)code because the components of the code consist of only two things-- a dot and a dash. That's similar to a coin, which can land only on the head side or the tail side. Binary objects (such as coins) and binary codes (such as Morse) code are always described by the powers of two.

What we're doing by analyzing binary codes in a simple exercise in the branch of mathematics known as combinatories or combinatorial analysis. Traditionally, combinatorial analysis is used more often in the fields of probablility and statistics because it involves determining the number of ways that things, like coins and dice, can be combined. But it also helps us understand how code can be put together and taken apart." Code pg 14.

Morse code is one of the simplest forms of binary code and also one of the earliest used for mass communication. It is not impossible to imagine that computer code, being also binary, is a relative of morse code-- on a macro level. Jeez.

[–]jelllyfish 1 ポイント2 ポイント  (1子コメント)

Doesn't morse code consist of a dot, a dash, and a pause?

[–]RealDeuce 0 ポイント1 ポイント  (0子コメント)

No, morse code consists of "on" and "off" states. However, there are only two "on" periods used and three "off" periods used. So it's either binary or... uh... quinary?

Represented in binary (one representing on, zero representing off), "morse code" would be:

111011100011101110111000101110100010101000100000001110101110100011101110111000111010001

In quinary, 0 representing a 7 period space (word space), 1 representing a three period space (character space), 2 representing a one period space (element space), 3 representing a dit, and 4 representing a dah:

4241424241324231323231304232423142424142313

Using dots and dashes notation, the pauses between elements are simply the gap between characters, the pauses between characters are usually spaces, and the pause between words are often slashes with a space on either side:

-- --- .-. ... . / -.-. --- -. .

This is simply the quinary representation with the following replacements:

0 -> " / "
1 -> " "
2 -> ""
3 -> "."
4 -> "-"

EDIT: For fun, here's the (7-bit) binary ASCII representation:

1101101110111111100101110011110010101000001100011110111111001001100101

Despite the larger character set, binary ASCII is clearly more compact than binary morse... for even more fun, the (three "quit" per character) quinary representation of ASCII:

414421424430401112344421400401

That's cheating though, since ASCII goes up to 127, so we need three quits per character for the full ASCII range... (by only three!) still smaller, just not as much (and still a much larger character set):

0414042104240430040101120344042104000401