Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Getting gestures: from Linux’ evdev to the browser (owulveryck.info)
3 points by owulveryck on Dec 4, 2023 | hide | past | favorite | 1 comment


Greetings HN community, I've written an article narrating my recent endeavor with goMarkableStream, a tool I crafted to bridge gesture inputs from a reMarkable tablet to a web browser for seamless interactive presentations. This exploration led me down a path where the Unix philosophy and the Go language became pivotal elements. Key highlights of the article: A deep dive into using WebSockets versus HTTP for conveying gestures from a device to a browser, highlighting the trade-offs and practical considerations. An illustration of Unix's enduring principle, "everything is a file," in action - capturing touch events in a Linux-based environment and the strategic choice of Go for its simplicity and robustness. The issues and thought to design a bespoke messaging system over HTTP, moving away from the intricate layers of third-party libraries, in favor of a more transparent, hands-on approach. I try to place some reflections on the journey of tackling complexity with simplicity, echoing Rob Pike’s wisdom: “a little copying is better than a little dependency.” hope you will enjoy the post




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: