Hacker News new | ask | show | jobs
by ElijahLynn 2602 days ago
Idea for someone looking for something to build, on my list but probably won't prioritize it for many years as I'll build it eventually but would welcome someone else building it. If anyone wants to work on this ping me and maybe I can help collaborate/mentor.

Typing App for Engineers, MVP:

* Load a canvas with a preloaded code snippet, the text is mostly greyed out

* When typing your text shows over the greyed out text, but darker, red if the character doesn't match

* Time how long it takes to type it perfectly

Gold plating:

* Users can login

* Users can upload own code snippets for community contributions

* Leaderboard shows top times and users for those who typed it perfectly, only perfect scores are registered, because code must be perfect or it won't run.

This could also allow an engineer to learn APIs while learning to type. I did this with 60 or so pages of Drupal code a few years ago. I used Compiz fusion's overlay opacity control to put a loaded code snippet into VIM,reduced the opacity of the window slightly, then laid another VIM terminal on top of it, reduced the opacity of that terminal window so I could see behind it and started typing the slightly greyed out text from the window behind.

Been meaning to put this out on my blog but this is a good start.

1 comments

I was actually learning React around the time I was learning to touch type. So, naturally, my first project was to build a typing test[0] :) Looking back, I cringe at the code quality. But it worked and I had fun doing it. ¯\_(ツ)_/¯

I like the idea of typing out code though! I think there are some sites that do that, like https://typing.io/

[0] https://github.com/breyerjs/typequick

SWEET! Typing.io is perfect and almost* exactly what I was intending to build. Can even upload own samples, and it focuses on working code, no typos. I think I'll actually pay for this too!

* It doesn't seem to have the social/competition/gamification aspect built in like Vim Golf.

Nice learning project. Can you add some instructions to the readme on how to get up and running locally?