News for hackers. Stuff that matters.
Re:-- --- •-• ••• • -•-• --- -•• • •• -• •--- •- •••- •- •••... by cfinke on Tuesday May 10, 2011 @11:48AM (#2532871)
I thought this was going to be a plugin that would allow a user to click in Morse code on a text input in order to "type" their text. I'm kind of disappointed that it's not, since I've been meaning to write a browser extension to enable Morse code input on all text fields after someone suggested it as an addition to Tapsure (http://www.chrisfinke.com/addons/tapsure/).
Re:-- --- •-• ••• • -•-• --- -•• • •• -• •--- •- •••- •- •••... by LarrySDonald on Tuesday May 10, 2011 @12:19PM (#2533008)
You'd imagine someone would do this sooner or later. My skills are horribly rusty, but they might be worth brushing off. Lots of people did it for their ham licenses and it's certainly faster then t9, possibly qwerty-on-touchscreen. Especially with two-switch repeating ones (i.e. one button does dot dot dot dot.. one does dash dash dash... at a set speed).
Re:-- --- •-• ••• • -•-• --- -•• • •• -• •--- •- •••- •- •••... by calloc on Tuesday May 10, 2011 @12:42PM (#2533124)
Code is no longer a requirement for a HAM license. Got my license without doing a code test.
Re:-- --- •-• ••• • -•-• --- -•• • •• -• •--- •- •••- •- •••... by Natsu on Tuesday May 10, 2011 @05:56PM (#2534248)
I would have gotten a General license back in the day instead of a Tech+ if I could have managed a few more WPM worth of Morse code. Then again, I was in a rush to study before the test (it was hard to find an exam in rural Iowa), so I barely managed the slowest Morse code test with the amount of time I had to study. I passed the written test for General just fine, though.
Re:-- --- •-• ••• • -•-• --- -•• • •• -• •--- •- •••- •- •••... by kd0amg on Tuesday May 10, 2011 @12:51PM (#2533168)
Me too. I learned it so I could listen to propagation beacons, since I started primarily on 10m. I still don't use it much with other humans, unfortunately.
Re:-- --- •-• ••• • -•-• --- -•• • •• -• •--- •- •••- •- •••... by cfinke on Tuesday May 10, 2011 @01:29PM (#2533346)
I haven't started writing any code yet, but I'll get to it eventually here: https://github.com/cfinke/Telegraph.js if anyone is interested in following the project's progress.
Re:-- --- •-• ••• • -•-• --- -•• • •• -• •--- •- •••- •- •••... by pessimizer on Tuesday May 10, 2011 @02:25PM (#2533564)
Re:-- --- •-• ••• • -•-• --- -•• • •• -• •--- •- •••- •- •••... by sp332 on Tuesday May 10, 2011 @12:31PM (#2533076)
Reminds me of an old Steampunk Workshop build that taps out RSS feeds on an actual telegraph. http://steampunkworkshop.com/telegraph.shtml
Re:-- --- •-• ••• • -•-• --- -•• • •• -• •--- •- •••- •- •••... by rglover on Tuesday May 10, 2011 @12:52PM (#2533176)
Woah. That's awesome.
Re:-- --- •-• ••• • -•-• --- -•• • •• -• •--- •- •••- •- •••... by Sukotto on Tuesday May 10, 2011 @02:14PM (#2533530)
I really like Jake's work.

If you like that, be sure to check out his his altoid-tin electro etching [1], Girl Genius trilobite broach [2], and Victorian RV (school bus conversion) [3].

[1] http://steampunkworkshop.com/altoid-etch.shtml

[2] http://steampunkworkshop.com/electro-mach.shtml

[3] http://steampunkworkshop.com/bus1.shtml

Re:-- --- •-• ••• • -•-• --- -•• • •• -• •--- •- •••- •- •••... by lostbit on Tuesday May 10, 2011 @11:17AM (#2532746)
Title says "Morse code in javascript".

I tought I could just paste the title in Morse code into your script/page, but I see it goes only the other way, right?

Re:-- --- •-• ••• • -•-• --- -•• • •• -• •--- •- •••- •- •••... by martincmartin on Tuesday May 10, 2011 @09:32PM (#2534771)
Title says "Morse code in javascript" in Morse code.
Re:-- --- •-• ••• • -•-• --- -•• • •• -• •--- •- •••- •- •••... by lpgauth on Tuesday May 10, 2011 @11:40AM (#2532837)
This is really cool. I think I might use morse code to encode a secret message in the next beat I produce :)
Re:-- --- •-• ••• • -•-• --- -•• • •• -• •--- •- •••- •- •••... by loumf on Tuesday May 10, 2011 @11:45AM (#2532857)
This is what the beginning beat of YYZ by Rush is doing with the letters Y-Y-Z. Not much of a secret message since it's the title.
Re:-- --- •-• ••• • -•-• --- -•• • •• -• •--- •- •••- •- •••... by wglb on Tuesday May 10, 2011 @11:40PM (#2535085)
See, but visual is not a good way to learn. You must do the audio from the get-go, otherwise you have to learn it twice.
Re:-- --- •-• ••• • -•-• --- -•• • •• -• •--- •- •••- •- •••... by funkdobiest on Tuesday May 10, 2011 @01:25PM (#2533328)
bringing back some bad memories. I was forced to learn Morse code in the Navy and to type it at 20 words per min, and write at 10 words per minute. I have been trying so hard to forget it, and now all I can hear is long and short tones in my head.
Re:-- --- •-• ••• • -•-• --- -•• • •• -• •--- •- •••- •- •••... by quizbiz on Tuesday May 10, 2011 @12:25PM (#2533041)
I would love to see a brail version so that I can make my content sites more accessible.
Re:-- --- •-• ••• • -•-• --- -•• • •• -• •--- •- •••- •- •••... by grandalf on Tuesday May 10, 2011 @11:32AM (#2532802)
fun stuff. i recently set up my old ham radio station again and it's been really fun. morse code is alive and well and is still a highly efficient way to make contact with distant stations.
Re:-- --- •-• ••• • -•-• --- -•• • •• -• •--- •- •••- •- •••... by wglb on Tuesday May 10, 2011 @11:39PM (#2535082)
Agree.

I put up my 54" mast on my suburban, whip out my hp200lx for logging, put the bencher on the console, attached with a couple major rubber bands, and I am rollin.

JA, other pacfic; A russian near the south pole, all with 100 watts.

Re:-- --- •-• ••• • -•-• --- -•• • •• -• •--- •- •••- •- •••... by CallMeV on Tuesday May 10, 2011 @02:17PM (#2533535)
I know I could have found a translator to convert the code for the title into plaintext, but I downloaded the list of Morse Code and gave it a go manually.

I know. I'd have failed my HAM radio test, back when Morse Code was a requirement.

Morse Code, BSL and Pitman shorthand are three skills I really regret not learning when I was very young (not because the opportunities were there and I refused - the opportunities were not there; not, at least, where I grew up).

Re:-- --- •-• ••• • -•-• --- -•• • •• -• •--- •- •••- •- •••... by jerfelix on Tuesday May 10, 2011 @03:12PM (#2533722)
Want to learn Morse Code? Harry Lorayne, the memory expert, has a mnemonic way to do it.

The system is as follows.

    1)  t and d represent dash; r represents dot
    2)  commit 26 phrases to memory
Here are some of the phrases:

    Awful rat
    Big terror
    Crazy torture
    Dreamy tearer
Translating "Awful rat": This phrase means "A" is dot dash, because Awful starts with an A, and rat has an R and a T in it.

Likewise, B is represented as dash dot dot dot, because "Big" starts with a B, and "terror" has trrr in it.

Look at this link, and you'll know Morse Code in no time. This can get you over the initial hurdle of memorization, but obviously doesn't relieve you of the need for practice!

http://content.yudu.com/Library/A18m6u/HowtoDevelopASUPERPO/...

Re:-- --- •-• ••• • -•-• --- -•• • •• -• •--- •- •••- •- •••... by CamperBob on Tuesday May 10, 2011 @04:03PM (#2533893)
That's not an ideal way to go. Morse is an aural language and needs to be learned by sound. Knowing what combinations of 'dots and dashes' compose various symbols is next to useless: A is didah, not "dot dash".

The optimal way to learn it is by having a partner or computer app transmit individual letters at relatively fast rates, so you don't have time to parse them into their elements. Then, adjust the transmission speed by varying the time between letters, gradually ramping things up as your recognition skills improve.

Re:-- --- •-• ••• • -•-• --- -•• • •• -• •--- •- •••- •- •••... by jerfelix on Tuesday May 10, 2011 @05:13PM (#2534103)
I can't debate you on that. I'm just reporting what I read in Harry Lorayne's book. And with one simple reading, and about 5 minutes of rehearsal, I knew all 26 letter translations.

But I never tried to convert it to use.

It seems on the internet, some who have learned Morse Code recommend techniques like this, while others recommend against mnemonic techniques.

Wikipedia has a few other examples of other mnemonic devices, so it seems that someone has found these techniques useful. And people learn differently.

http://en.wikipedia.org/wiki/Morse_code_mnemonics

If I compare it to learning a foreign language, I know my experience with that was that the hurdle of memorizing vocabulary was large, and memory techniques helped that. But it wasn't until I practiced, that I was able to "think" in the foreign language, and all intermediate steps went away. And books on memory book say that same thing.

Re:-- --- •-• ••• • -•-• --- -•• • •• -• •--- •- •••- •- •••... by jules on Tuesday May 10, 2011 @02:44PM (#2533618)
Why would you want to know Morse code?
Re:-- --- •-• ••• • -•-• --- -•• • •• -• •--- •- •••- •- •••... by cicero on Tuesday May 10, 2011 @03:57PM (#2533881)
Short wave radio allows global scale communications with very little infrastructure, and Morse code has many advantages over other forms of communications in the short wave bands. A Morse code signal can be understood in a noisy radio environment better than a voice signal at the same amount of power. It requires less radio bandwidth, enabling very efficient use of the limited short wave spectrum.

Short wave radio is not near as important now with the global Internet in place, but it still has reach to some places that don't have Internet connectivity. It is also a good backup technology in the event that something like a natural disaster or terrorist attack severely damages our Internet infrastructure.

Finally, communicating using Morse code over Amateur Radio is a fun and intellectually stimulating hobby. I don't currently have a rig setup where I can do this, but when I did in the past, I really enjoyed it.

Re:-- --- •-• ••• • -•-• --- -•• • •• -• •--- •- •••- •- •••... by bgruber on Tuesday May 10, 2011 @11:26AM (#2532778)
could someone explain what the WPM slider does?
Re:-- --- •-• ••• • -•-• --- -•• • •• -• •--- •- •••- •- •••... by shrikant on Tuesday May 10, 2011 @11:33AM (#2532808)
Is that what it's supposed to be? I see a weirdly truncated text-box with a label field that echoes the textbox's content on hitting Enter.

Screenie: http://i.imgur.com/TPxmH.jpg (FF4 on Win7)

Re:-- --- •-• ••• • -•-• --- -•• • •• -• •--- •- •••- •- •••... by fizx on Tuesday May 10, 2011 @11:31AM (#2532795)
If you click on the alphabet, it plays sound. WPM controls the playback speed.
Re:-- --- •-• ••• • -•-• --- -•• • •• -• •--- •- •••- •- •••... by davidcuddeback on Tuesday May 10, 2011 @12:00PM (#2532935)
Also, you can click the text above the text box after you've entered a sentence, and it will sound out the whole sentence in code.
Re:-- --- •-• ••• • -•-• --- -•• • •• -• •--- •- •••- •- •••... by vdm on Tuesday May 10, 2011 @12:28PM (#2533059)
I had to read the README on github to figure this out; not discoverable enough. A cue could be displayed on hover at least.

The WPM slider should be at the bottom of the page beside the text box.

Nice hack!

Re:-- --- •-• ••• • -•-• --- -•• • •• -• •--- •- •••- •- •••... by bgruber on Tuesday May 10, 2011 @04:20PM (#2533951)
doh. thanks. just didn't have my headphones on.
Re:-- --- •-• ••• • -•-• --- -•• • •• -• •--- •- •••- •- •••... by Glide on Tuesday May 10, 2011 @11:32AM (#2532804)
The WPM is words per minute for the morse code sounds. So higher the faster the morse code plays.

I could have used this a decade ago when I was deciding on getting a HAM radio license....

Re:-- --- •-• ••• • -•-• --- -•• • •• -• •--- •- •••- •- •••... by kordless on Tuesday May 10, 2011 @11:17AM (#2532745)
....- ----- ....-: GET http://mattt.me/mint/?js 404 (Not Found)
Re:-- --- •-• ••• • -•-• --- -•• • •• -• •--- •- •••- •- •••... by matttthompson on Tuesday May 10, 2011 @12:58PM (#2533204)
Heh, thanks for reminding me that my Mint installation moved :)
Re:-- --- •-• ••• • -•-• --- -•• • •• -• •--- •- •••- •- •••... by mrpollo on Tuesday May 10, 2011 @01:31PM (#2533357)
now if i had the time to parse that into audio... https://wiki.mozilla.org/Audio_Data_API#Writing_Audio
Re:-- --- •-• ••• • -•-• --- -•• • •• -• •--- •- •••- •- •••... by mahrain on Tuesday May 10, 2011 @11:54AM (#2532911)
This is going to be very useful when the EU instates their internet filter...
Re:-- --- •-• ••• • -•-• --- -•• • •• -• •--- •- •••- •- •••... by ultimatepunch on Tuesday May 10, 2011 @04:15PM (#2533933)
This would be infinitely cooler if it played back your sentences.
Re:-- --- •-• ••• • -•-• --- -•• • •• -• •--- •- •••- •- •••... by techiferous on Tuesday May 10, 2011 @11:16PM (#2535021)
It does. Click on the morse code above the sentence.
Re:-- --- •-• ••• • -•-• --- -•• • •• -• •--- •- •••- •- •••... by tripzilch on Tuesday May 10, 2011 @12:22PM (#2533028)
buggy as fuck in Opera.
Re:-- --- •-• ••• • -•-• --- -•• • •• -• •--- •- •••- •- •••... by DrJokepu on Tuesday May 10, 2011 @12:39PM (#2533112)
Opera does not support the Ruby tag: http://www.w3.org/TR/1998/WD-ruby-19981221/

It seems to me that amongst the other major browsers, Firefox does not support it either, while Webkit browsers and Internet Explorer support it.