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
Developer Diary October 2024.
@rcarmo have you had a chance to check out Basilisp? It's a Clojure on Python, closer to the original than Hy.
🤖 📹 I made 2 more videos about using Claude.ai & Scittle to generate ClojureScript + Reagent apps.
These will be the last as I don't want to shill for a proprietary AI service 😅 but I thought it was useful enough to share.
The first video contains examples (graphing calculator, timer, todo, image resizer) and looks at the ClojureScript code (including LLM fails!). The second has instructions for setting up Claude so you can do this too.
Enjoy!
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.
Worklog: upgrade all https://hostedgitea.com machines to the latest version.
🕹️ I shipped makesprite.com - it's a simple open source web app to generate and wrangle sprites using DALL-E. 🖼️
Built with #clojure! 🫶
Generating ClojureScript Reagent web apps with Claude AI and Scittle.
https://mccormick.cx/news/entries/generating-clojurescript-reagent-apps-with-claude-ai-scittle
Someone (@chris) made a CSV viewer with an AI prompt and #scittlecljs
https://claude.site/artifacts/83ac7299-c152-4ef0-acdc-e3b8e696a379
Check view source for a Clojure CSV reader and reagent component which displays it.... #clojure
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
independent computer programming