Built a little home display thingie on the weekend using a waveshare e-paper display on a raspberry pi.
It works by generating a small static html file and taking a snapshot of that to display on the screen. A mix of python and ClojureScript on node to drive it.
Source code here: https://github.com/chr15m/rpi-home-display
Worklog: finally solved a tricky UI problem today in Beat Maker. I want to give people a good experience editing on any device but the full grid doesn't always fit. 🤔
Solution:
1. Resize observer on the grid.
2. On resize, make all beats display for an instant and then measure how many are visible in the scroll area, then set their display back to what it was before.
3. Find the next lowest power of two beats that will fit, and divide the grid up into pages of that size.
Generating ClojureScript Reagent web apps with Claude AI and Scittle.
https://mccormick.cx/news/entries/generating-clojurescript-reagent-apps-with-claude-ai-scittle
I'm speaking at Heart of Clojure on September 18 & 19 in Leuven, Belgium. 🧇 You can use this link for 10% off the ticket price (10 slots available). Enjoy!
https://ti.to/heart-of-clojure/2024/discount/chris-mccormick-33A5D #heartofclojure
Worklog: worked on 🥁 Beat Maker and a new indicator UI element for https://dopeloop.ai. Six issues left before I can release it.
independent computer programming