News for hackers. Stuff that matters.

wcchoi

Re:Show HN: A Truly Modular Keyboard on Monday October 26, 2026 @01:41AM (#50239575)
Something similar: https://youtu.be/_u8gV643214

The keys are attached to a board so it can be in any orientation

+1 CDK refactoring is annoying and ugly

in my experience you'd need to read the CDK source code to find the offending node and call `overrideLogicalId`

there is a library to do it in nicer way: https://github.com/mbonig/cdk-logical-id-mapper

however it does not work in every case

Re:Maximizing CockroachDB Performance: Our Journey to 1M QPS on Wednesday June 07, 2023 @11:36AM (#36228215)
what is the size/hardware spec of the cluster?
Re:$1 Unistroke Recognizer (2007) on Wednesday May 05, 2021 @07:11AM (#27048474)
There is an improved version of this algorithm called $Q Super-Quick Recognizer [0] which allows multi-stroke gesture and drawing stroke in different direction, a demo I implemented before [1]

The $1 algorithm could be used to implement gesture typing keyboard like SwiftKey/Swype, where direction matters, eg another project of mine [2]

[0] http://depts.washington.edu/acelab/proj/dollar/qdollar.html

[1] https://github.com/wcchoi/dollar-q

[2] https://github.com/wcchoi/swell.sh

Re:Developing with Squeak on a Cellphone on Wednesday October 07, 2020 @07:18AM (#24707114)
I develop something (terminal with an in-app keyboard that supports autocomplete) for easier input on mobile:

https://github.com/wcchoi/swell.sh

It is better than using the phone's keyboard but the limited screen estate is definitely a problem

Re:Coding on Smartphone with Vim [video] on Friday July 19, 2019 @10:18PM (#20483791)
Hi HN, I've spent some time working on this PoC that allows one to (kind of) code on smartphone using Vim. I am sharing a video demo here to see what others think of it.

It is based on my other similar project swell.sh [0], that you run a HTTP server process (written in Python) on a server and connect to it from your smartphone's browser (Chrome/Safari). Then you will see Vim in the Web-based terminal in the above and can interact with Vim using the virtual keyboard specifically built for the App below (it is part of the page's UI, not your OS's keyboard app).

The python process in the backend is able to provide the completion information gathered from Vim (I used the TabNine completion engine [1] in the video but it also works with other autocomplete engine like Coc.vim) to the front-end, where you could choose from the keyboard's autocomplete suggestion row, thus greatly reduce the required number of 'taps' on the keyboard for inputting code.

Obviously it's not going to replace your desktop/laptop for serious programming work, but what do you think about the idea? Any feedback/thought is welcome.

[0] https://github.com/wcchoi/swell.sh

[1] https://tabnine.com/

I think coding on a phone is doable if we "rethink" the keyboard part.

I've built a PoC (also a Web app, but requires a backend), video demo here:

https://vimeo.com/339574087

The neat thing is that all the heavy-lifting of syntax highlighting, autocomplete, etc are done by Vim, so I don't need to port everything to the front-end.

Re:Coding on Your Smartphone with Vim [video] on Wednesday June 05, 2019 @10:19AM (#20104611)
Hi HN, I've spent some time working on this PoC that allows one to (kind of) code on smartphone using Vim. I am sharing a video demo here to see what others think of it.

It is based on my other similar project swell.sh [0], that you run a HTTP server process (written in Python) on a server and connect to it from your smartphone's browser (Chrome/Safari). Then you will see Vim in the Web-based terminal (using xterm.js) in the above and can interact with Vim using the virtual keyboard specifically built for the App below (it is part of the page's UI, not your OS's keyboard app). The python process in the backend is able to provide the completion information gathered from Vim (I used the TabNine completion engine [1] in the video but I believe any Vim plugin that provides completion would work) to the front-end, where you could choose from the keyboard's autocomplete suggestion row, thus greatly reduce the required number of 'taps' on the keyboard for inputting code.

Obviously it's not going to replace your desktop/laptop for serious programming work, but what do you think about the idea? Any feedback/thought is welcome.

[0] https://github.com/wcchoi/swell.sh [1] https://tabnine.com