Blog2018 ≫ Done some coding

Did a little coding for myself for the first time in a while. For one, shifted my slack-bit run stats updater1 that posts "hey paul just didn't go running again" to our Slack channel from my laptop, to a raspberry pi. When it's on the laptop it only kicks in when the laptop is open, but being on the raspberry pi, that is always on, so it will reliably post each morning. If I do go for a run, it posts the stats, how far, how fast etc.

Also on the same one I rewrote my lightwaverf api2 in javascript, where it was in ruby. Have not pushed it back to the repo2 yet so nothing to see. Now it's clear the slow bit is the lightwaverf gem3 so I will rewrite that too at some point. I did start rewriting it in python for some reason but I think javascript is the best option.

I only rewrote this because it had stopped running on my local network so I lost the option to turn my lights on with the phone. All better and in fact much improved now!

Don't get so much time for this these days!

js: Programming language of the internets, mostly how I make my living.

raspberry pi: Credit card sized super cheap computer, awesome.

⬅️ :: ➡️

Paul Clarke's blog - I live in A small town. Wed + dad to 2, I'm a full stack web developr, and I do js / Node, some ruby, python, php etc. I like pubbing, parkrun, eating, home automation and other diy jiggery-pokery, history, family tree stuff, TV, squirrels, pirates, lego, and TIME TRAVEL.