The Joy of Making Bricks

So yesterday Michael in our team chatted through a client

Deteriorating Neurological condition. Signifcant VI - requires huge font Black on White background. Difficulty with Fine motor control but is literate. Tends to mouth words but not easily undersood.

She needs the letters so large we could use echo but we have to put it under apples magnifier - its not easy to setup.

Hmmmm. He is right. When we made pasco - you could do this. It allowed you to make the font so large it could show one letter at a time. But its not ideal (and that was super buggy). And Echo - we cant do that with. I need to fix it.. But..

Me: Do you need prediction?

Michael: Hmm yes - possibly

Me: Do you want next letter prediction:

Michael: Ideally.. yes

Hmmm. So what if we tear up the rule book (RICE scores does trigger this quite highly due to the rapidly deteriorating solution but really I dont like re-creating something..) and make something. Over the last 12 months I’ve made a ton of different stuff. All of these things were for a particular project but I’ve been careful to turn a lot of into libraries or standaline code. These “bricks” I always thought would be useful.. a JS word prediction system, a WorldAlphabets library and a TTS Wrapper in Node and Python…So we have the building blocks. What if I got a LLM to make this.. its pretty simple..

15 Minutes of prompting with Gemini (and then a bit of hacking - which took 4 times as long from me) I give you…

willwade.github.io/letter-by…

Code at : github.com/willwade/…

Its a React/Vite app (Gemini only does react but Im cool with that). And its leveraging our WorldAlphabets project and PPMPredictor. Note how it learns your own language and will improve over time.

Pretty happy with that. Still.. I really now need to go and fix Echo..

Will Wade @willwade