Ask HN: Show me your half baked project
395 pointsRelease early, release often. Don't worry, be crappy. Fail fast. Iterate.
Show us your half baked, not really ready for prime time projects.
Also, if you need any help with a project, a startup, or an idea, just post it here.
Comments (687) 438 threads
Earlier commentsTypocide is a CLI based typing tutor. It solves a few problems which other typing tutors failed to provide for me. In particular it uses real world text instead of fake text (such as keybr). The corpus is derived from all the quotes available on Typeracer. It also does not follow the same rules as 10fastfingers or monkeytype's default mode of displaying words in random order. To make an analogy with music, when I practice a passage in a piece of music, I don't play the measures in a random order. Rather, I practice challenging _phrases_ of music (groups of related measures).
Next, Typocide draws inspiration from leveltype (https://github.com/christoofar/leveltype) which bans the use of the backspace key. If you make a typo, Typocide will identified the typo'd word as the focus. It will then build a test which includes the surrounding words for the current test (previous and next word), and also the surrounding words from previous tests where you have typo'd the word.
The idea is that when you make a typo, the word was a part of some context, and rather than simply practicing the word, you want to practice the word in context. A lot of typos, particularly in speedtyping, happen at word boundaries. Furthermore, by having it operate on context, it also reinforces common idioms. For example, the word "example" is very likely to be preceded by the word "for" and very unlikely to be preceded by a word like "kaleidoscope". So it makes sense to practice "For example," as a unit.
Furthermore, it has some rudimentary support for identifying words which you have typed more slowly than usual. Typocide will also generate practice tests from these slow words.
Finally, this test deliberately does not compute or report a WPM. The reason is because I want people to not feel pressured to type quickly. Rather, the pressure should come from having to do too many practice tests. The measure of success is being able to type accurately and consistently.
Sometimes the tests are not perfect, so I have added a simple escape hatch: if you press TAB on a new test, it will skip the test, and if you press TAB after you have started typing a test, it will repeat the test from the beginning.
This project is half baked for two reasons: 1. The interface is very rudimentary. 2. The code is somewhat disorganized and needs to be cleaned up.
- Keyboard layout generator (ocaml) - https://github.com/rdavison/stronglytyped
This is a keyboard layout generator with support for multiple layers and punctuation optimization. This project is half baked because I can't figure out a set of weights to make it generate great layouts (it generates decent layouts, but not any layouts which are :chefskiss:). Also, at some point I would like to move the analysis away from dealing with floating point numbers and move it towards integers.
The design is quite interesting because it uses Jane Street's Incremental library to heavily cache intermediate results. As the generator is running, it tries random swaps and then re-evaluates the score. Oftentimes a swap will affect one part of the keyboard, but not the other... for instance if you swap two keys on the left hand, then it will not affect anything on the right hand. In that case, this tool will only recompute the parts that changed instead of recomputing the entire layout.
I still haven't done any benchmarking to see if this _actually_ improves performance, or whether it just makes me feel better. :)
First, it's a minimalist, user-respecting, single-process, no-build web server written in ~500 lines of node. The server supports caching and file watching, markdown, letsencrypt TLS, and websockets. It does Etag client caching and disallows any 3rd party resource access with headers. https://simpatico.io/reflector
Second, it defines "literate markdown" or "litmd", based on Knuth's literate programming, that executes markdown code blocks in the browser. HTML, CSS, JS and Markdown are supported. This feature started as a hack to get around IntelliJ's inability to do syntax-highlighting on html in the body of a markdown file! Litmd also has good testing support, changing the background and favicon if any exceptions are thrown. Markdown is now my test harness. https://simpatico.io/lit
Third, there is a wonderful encrypted chat client that uses crypto.subtle to generate private/public keys in the browser, per tab, and use them to send messages. Currently these are entirely ephemeral, which aids testing. Eventually they will be stored in local storage. Each client has a GUID URL identifier, which I've exposed as both a link and a QR code for easily connecting with others on a mobile device. I think of it as an "anteroom" for social contact, useful in bars, parties or conferences where giving out more sensitive information like telephone or email may not be desirable. https://simpatico.io/chat
Chat is intended to generalize enable what I call "monomorphic javascript" wherein the browser becomes a server, chat becomes structured, and people code programs locally and share them easily with each other. (The original tagline was "Making software together") This remains the vision. In some ways I'm like a novelist inventing his own typewriter, and so far I only have the typewriter and some essays I wrote with it. But the novel is still there, still driving everything. https://simpatico.io/notes/simpatico
I've liked the tooling so much (tiny, no build, very few and very small dependencies, low start-up time) that I've used it to explore some novel data-structures and algorithms (https://simpatico.io/stree3, https://simpatico.io/combine2), and also to host "kata", or exercises in 3rd party technology like Angular (https://simpatico.io/kata/angular/my-project/bundle), or browser tech like svg (https://simpatico.io/svg) or crypto (https://simpatico.io/crypto).
I'm glad I decided to start running on a public host early. It's been an education. I don't think "full stack" devs who are used to handing off CI/CD and operations to other teams realize how insulated we are from the internet. There are constant probes, scripts trying to get into the system, trying to break it, on all open ports. It's fascinating. It's also been an education in bash scripting, systemd, and ssh (especially reading auth.log). The key here is keeping the stakes low - at best attackers will get a $5/mo VPS. It's amazing how much such a system can do - greatly inspired by Justine Tunney's redbean server, and others. (https://simpatico.io/notes/inspiration)
It's been validating to see how, almost by accident, this project is part of the "indie web" and also "local first". To see other people like DHH (https://twitter.com/dhh/status/1655076668787097607) and projects like Svelte (https://devclass.com/2023/05/11/typescript-is-not-worth-it-f...) start using plain javascript also feels right.
Currently, everything is in one repo so it's not easy to fork and use for yourself. You'd need to do a lot of deleting. One of my todos is to publish to NPM and make the process of spinning up your own reflector easier. However, this is not my primary use case! The primary use case is to get people coding in the browser!
All comments shown.
Couldn't load more comments. Check your connection and try again.