Saturday, 18th January, 2025

After my big hike on Wednesday I’ve kept meaning to adjust the data screens in my watch. Finally got round to it just now and I found I can edit them on my phone - which is 100x easier than doing it on the watch. People make their own ones and upload to the store. One I looked at used python to do stuff. I wondered about making one although not sure what I want.

Trying to find a way to add the streamlit apps to my radio blog. I can embed them with an iframe but the streamlit apps go to sleep and seems you have to visit the site to wake them properly. There is some implementation of python in WASM (web assembly something or other) but so far not got that to work. Admittedly haven’t spent very long on it.

The actual answer is convert it to JavaScript but I really don’t want to.

Sometime later… asked chatgpt to convert the python script to javascript and tried to integrate it into the quarto site…still doesn’t work and I don’t know why. Probably trying to do too many things at once. Like I’m not even sure exactly how to add javascript and html to quarto. I should just be entering html and pandoc (which builds the site behind the scenes) will see it and just integrate it regardless. Also not sure the JS works either.

back home