Show newer

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: github.com/chr15m/rpi-home-dis

@rcarmo have you had a chance to check out Basilisp? It's a Clojure on Python, closer to the original than Hy.

Worklog: fixing Asterogue map generation bugs. Getting ready for the new web version release.

🤖 📹 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!

youtu.be/-kz5tlJ3kUE
youtu.be/qAbPi-jU8dw

Worklog: finished the day tinkering with this HTML, SVG, and CSS progress timer thing.

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: trying to come up with a better UI for the Beat Maker grid on mobile devices. Over the summer I realized the scrollbars hack I came up with is not going to work.

🕹️ I shipped makesprite.com - it's a simple open source web app to generate and wrangle sprites using DALL-E. 🖼️

Built with ! 🫶

youtu.be/npufDhiALIw

Someone (@chris) made a CSV viewer with an AI prompt and #scittlecljs

claude.site/artifacts/83ac7299

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!

ti.to/heart-of-clojure/2024/di

Show older
Mastodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!