Culture: Language: Punctuation
-....- -....- / -....- .-.-.- .-.-.- -....- / -....- -....-   (+1, -2)  [vote for, against]
.-.-.- / -....- .-.-.- / -....- .-.-.- -....- .-.-.- / -....- -....- -....- / -....- .-.-.- .-.-.- / .-.-.- / -..-. / -....- .-.-.- -....- -....- / -....- -....- -....- / .-.-.- .-.-.- -....- / .-.-.- -....- .-.-.- / -..-. / -....- -....- / -....- -....- -....- / .-.-.- -....- .-.-.- / .-.-.- .-.-.- .-.-.- / .-.-.- / -..-. / .-.-.- .-.-.- / -....- .-.-.- / -..-. / -....- -....- / -....- -....- -....- / .-.-.- -....- .-.-.- / .-.-.- .-.-.- .-.-.- / .-.-.- / -....- -....- .-.-.- .-.-.- -....- -....- / -..-. / -....- / -....- -....- -....- / -..-. / -....- -....- / .-.-.- -....- / -....- .-.-.- -....- / .-.-.- / -..-. / .-.-.- .-.-.- / -....- / -..-. / -....- .-.-.- .-.-.- / -....- -....- -....- / .-.-.- .-.-.- -....- / -....- .-.-.- .-.-.- .-.-.- / .-.-.- -....- .-.-.- .-.-.- / .-.-.- / -..-. / -....- .-.-.- .-.-.- / .-.-.- -....- / -....- .-.-.- / -....- -....- .-.-.- / .-.-.- / .-.-.- -....- .-.-.- / -....- -....- -....- / .-.-.- .-.-.- -....- / .-.-.- .-.-.- .-.-.-

Double-encode your Morse, in Morse, to make it double- dangerous.
-- zen_tom, Jan 22 2019

You'd have to be Inspector Morse to solve that one ...
-- 8th of 7, Jan 22 2019


As it happens, I think I do need to inspect my Morse, as word-breaks were expressed as double- spaces, which get rolled up into non-repeating spaces in html - so borked...

Will update once that's fixed [edited and fixed] - but basically, it turns out there are dot and dash characters in Morse...plus someone's included an @ sign in there - which is curious since I would have thought Morse predated email by a significant age, and I can't imagine using the @ sign for anything other than internet communication - obviously not.
-- zen_tom, Jan 22 2019


Very clever (and I just discovered that Google Translate doesn't have a 'Morse' option!)
-- hippo, Jan 22 2019


You can sing along

... . .- .-. -.-. .... .-.. -.-- .-. .. -.-. ... ·-··· -- --- .-. . ..-. . .- - ..- .-. . -.. ... - --- .-. .. . ... - --- .--. ... --- -. --. ... ...- .. -.. . --- ... -.-. --- -- -- ..- -. .. - -.-- ... .... --- .--. -... .- -.. --. . .-. -... .- -.. --. . .-. -... .- -.. --. . .-. .-- . . -... .-.. .- -. .-. --- -.. ..- -.-. . -.. -... -.-- .-- . . -... .-.. .- .-.. -... ..- -- .... .- -. -.. ... --- ...- . .-. .--. .- ... - .-. -.-- -... .- -.. --. . .-. --··-- -... .- -.. --. . .-. --··-- -... .- -.. --. . .-. -... .- -.. --. . .-. --··-- -... .- -.. --. . .-. --··-- -... .- -.. --. . .-. -... .- -.. --. . .-. --··-- -... .- -.. --. . .-. --··-- -... .- -.. --. . .-. -... .- -.. --. . .-. -- ··-- -... .- -.. --. . .-. --··-- -... .- -.. --. . .-. -- ..- ... .... .-. --- --- -- --··-- -- ..- ... .... .-. --- --- -- .- -... .- -.. --. . .-. --··-- -... .- -.. --. . .-. -... .- -.. --. . .-. -- ··-- -... .- -.. --. . .-. --··-- -... .- -.. --. . .-. -... .- -.. --. . .-. --··-- -... .- -.. --. . .-. --··-- -... .- -.. --. . .-. -... .- -.. --. . .-. --··-- -... .- -.. --. . .-. --··-- -... .- -.. --. . .-. -- ..- ... .... .-. --- --- -- --··-- -- ..- ... .... .-. --- --- -- .- -... .- -.. --. . .-. --··-- -... .- -.. --. . .-. -... .- -.. --. . .-. --··-- -... .- -.. --. . .-. --··-- -... .- -.. --. . .-. -... .- -.. --. . .-. --··-- -... .- -.. --. . .-. --··-- -... .- -.. --. . .-. -... .- -.. --. . .-. --··-- -... .- -.. --. . .-. --··-- -... .- -.. --. . .-. -- ..- ... .... -····- -- ..- ... .... .-. --- --- -- .- -... .- -.. --. . .-. --··-- -... .- -.. --. . .-. -... .- -.. --. . .-. --··-- -... .- -.. --. . .-. --··-- -... .- -.. --. . .-. -... .- -.. --. . .-. --··-- -... .- -.. --. . .-. -- ··-- -... .- -.. --. . .-. -... .- -.. --. . .-. --··-- -... .- -.. --. . .-. --··-- -... .- -.. --. . .-. .- ... -. .- -.- . --··-- .- ... -. .- -.- . ... -. .- .- .- -.- . -·-·-- .- ... -. .- .- .- .- -.- . --- --- --- .... --··-- .. - ·----· ... .- ... -. .- -.- .
-- not_morrison_rm, Jan 22 2019


morse = { "a" : ".-", "b" : "-...", "c" : "-.-.", "d" : "-..",
—— "e" : ".", "f" : "..-.", "g" : "--.", "h" : "....",
—— "i" : "..", "j" : ".---", "k" : "-.-", "l" : ".-..",
—— "m" : "--", "n" : "-.", "o" : "---", "p" : ".--.",
—— "q" : "--.-", "r" : ".-.", "s" : "...", "t" : "-",
—— "u" : "..-", "v" : "...-", "w" : ".--", "x" : "-..-",
—— "y" : "-.--", "z" : "--..", "1" : ".----", "2" : "..---",
—— "3" : "...--", "4" : "....-", "5" : ".....", "6" : "-....",
—— "7" : "--...", "8" : "---..", "9" : "----.", "0" : "-----",
—— "." : ".-.-.-", "," : "--..--", ":" : "---...", "?" : "..--..",
—— "'" : ".----.", "-" : "-....-", "/" : "-..-.", "(" : "-.--.-",
—— "\"" : ".-..-.", "@" : ".--.-.", "=" : "-...-", "Error" : "........", " " : "/" }

morse_i = {v:k for k,v in morse.items()}

def encode_m(text):
—— return " ".join([morse.get(a," ") for a in text])

def decode_m(morse):
—— return "".join([morse_i.get(a," ") for a in morse.split(" ")])

> encode_m(encode_m("some text"))
>> '.-.-.- .-.-.- .-.-.- / -....- -....- -....- / -....- -....- / .-.-.- / -..-. / -....- / .-.-.- / -....- .-.-.- .-.-.- -....- / -....-'

> decode_m(decode_m('.-.-.- .-.-.- .-.-.- / -....- -....- -....- / -....- -....- / .-.-.- / -..-. / -....- / .-.-.- / -....- .-.-.- .-.-.- -....- / -....-'))
>> 'some text'

<note> it would be great to be able to force tabs/repeated spaces in the hb because without them, (python) code looks hella-untidy (attempt to introduce spaces using —— ) </note>
-- zen_tom, Jan 22 2019


"oooh it's a snake!!"
-- zen_tom, Jan 22 2019


[zen], I don't think much of your encryption scheme - even I could read it. It says .-.-.- / -....- .-.-.- / -....- .-.-.- -....- .-.-.- / -....- -....- -....- / -....- .-.-.- .-.-.- / .-.-.- / -..-. / -....- .-.-.- -....- -....- / -....- -....- -....- / .-.-.- .-.-.- -....- / .-.-.- -....- .-.-.- / -..-. / -....- -....- / -....- -....- -....- / .-.-.- -....- .-.-.- / .-.-.- .-.-.- .-.-.- / .-.-.- / -..-. / .-.-.- .-.-.- / -....- .-.-.- / -..-. / -....- -....- / -....- -....- -....- / .-.-.- -....- .-.-.- / .-.-.- .-.-.- .-.-.- / .-.-.- / -....- -....- .-.-.- .-.-.- -....- -....- / -..-. / -....- / -....- -....- -....- / -..-. / -....- -....- / .-.-.- -....- / -....- .-.-.- -....- / .-.-.- / -..-. / .-.-.- .-.-.- / -....- / -..-. / -....- .-.-.- .-.-.- / -....- -....- -....- / .-.-.- .-.-.- -....- / -....- .-.-.- .-.-.- .-.-.- / .-.-.- -....- .-.-.- .-.-.- / .-.-.- / -..-. / -....- .-.-.- .-.-.- / .-.-.- -....- / -....- .-.-.- / -....- -....- .-.-.- / .-.-.- / .-.-.- -....- .-.-.- / -....- -....- -....- / .-.-.- .-.-.- -....- / .-.-.- .-.-.- .-.-.-
-- MaxwellBuchanan, Jan 22 2019


It does say that, which is why it's double-dangerous.

Or, alternately:

'.-.-.- .-.-.- / -....- / -..-. / -....- .-.-.- .-.-.- / -....- -....- -....- / .-.-.- / .-.-.- .-.-.- .-.-.- / -..-. / .-.-.- .-.-.- .-.-.- / .-.-.- -....- / -....- .-.-.- -....- -....- / -..-. / -....- / .-.-.- .-.-.- .-.-.- .-.-.- / .-.-.- -....- / -....- / -....- -....- .-.-.- .-.-.- -....- -....- / -..-. / .-.-.- -....- -....- / .-.-.- .-.-.- .-.-.- .-.-.- / .-.-.- .-.-.- / -....- .-.-.- -....- .-.-.- / .-.-.- .-.-.- .-.-.- .-.-.- / -..-. / .-.-.- .-.-.- / .-.-.- .-.-.- .-.-.- / -..-. / .-.-.- -....- -....- / .-.-.- .-.-.- .-.-.- .-.-.- / -....- .-.-.- -....- -....- / -..-. / .-.-.- .-.-.- / -....- / .-.-.- -....- -....- -....- -....- .-.-.- / .-.-.- .-.-.- .-.-.- / -..-. / -....- .-.-.- .-.-.- / -....- -....- -....- / .-.-.- .-.-.- -....- / -....- .-.-.- .-.-.- .-.-.- / .-.-.- -....- .-.-.- .-.-.- / .-.-.- / -....- .-.-.- .-.-.- .-.-.- .-.-.- -....- / -....- .-.-.- .-.-.- / .-.-.- -....- / -....- .-.-.- / -....- -....- .-.-.- / .-.-.- / .-.-.- -....- .-.-.- / -....- -....- -....- / .-.-.- .-.-.- -....- / .-.-.- .-.-.- .-.-.- / .-.-.- -....- .-.-.- -....- .-.-.- -....- '
-- zen_tom, Jan 22 2019


Looks like a drawing of a swamp: Marsh Code
-- xenzag, Jan 22 2019


Needs some steganography.
-- RayfordSteele, Jan 22 2019


Needs a full stop at the end of the sentence.
-- DrBob, Jan 24 2019


This is going to give me an enormorse headache.
-- Voice, Jan 25 2019



random, halfbakery