News for hackers. Stuff that matters.
Re:Typing Practice for Programmers by moonboots on Wednesday August 22, 2012 @04:20PM (#4419357)
Thanks for the bug report. The next update will fix international keyboard layouts once I figure out the mess that is cross-browser, cross-language javascript key event handling:)
Re:Typing Practice for Programmers by agscala on Wednesday August 22, 2012 @04:36PM (#4419451)
Re:Typing Practice for Programmers by moonboots on Wednesday August 22, 2012 @04:43PM (#4419481)
Thanks for the js library recommendations. I've taken a look at keymaster, and it's mostly focused around modifier keys used in shortcuts. I'm currently using google closure library, but I will need to add more key recognition and failsafes in case there is a unrecognized keyboard layout.
Re:Typing Practice for Programmers by tsahyt on Wednesday August 22, 2012 @04:34PM (#4419440)
Same here on a german keyboard layout (Linux & Firefox 14.0.1). It works well until I reach a special key, which kind of spoils the whole thing.
Re:Typing Practice for Programmers by Skalman on Thursday August 23, 2012 @05:00AM (#4421491)
Wouldn't it be better to have an input field and simply read what has been typed in it? It's not as if you need to have something else focused while doing it. That would eliminate all international keyboard problems in one go, even without a dedicated library.
Re:Typing Practice for Programmers by rasmusrygaard on Wednesday August 22, 2012 @05:24PM (#4419667)
Not quite as important, but it seems that Caps Lock isn't being registered either (did the Rails demo and some of the constants would be rather tedious with only the shift key).
Re:Typing Practice for Programmers by BoppreH on Wednesday August 22, 2012 @08:13PM (#4420252)
I'm using a standard Brazilian keyboard. The colon was mapped to the US layout location, but I could not type {, even though I knew the location on a US layout. Maybe because that key is a dead key here.

I would be very glad if there were an "ignore layout" option that dropped support for any layout difference, so I could type as in a US layout and at least finish the exercises.

Re:Typing Practice for Programmers by lfborjas on Wednesday August 22, 2012 @05:23PM (#4419662)
Happens to me too, with a slightly modified latin-american keyboard layout
Re:Typing Practice for Programmers by timc3 on Thursday August 23, 2012 @03:10AM (#4421266)
Ah! Swedish keyboard here (English operator though). Pity that was fun until I got to a bracket.