21 November, 2020

Postgres transactions with jasync-sql on Ktor

Over the past few weeks I've been working on non-blocking database connectivity for my Kotlin web stack. I'm using Ktor as a web framework and Postgres for my database. I'm using jasync-sql as a lightweight, non-blocking driver and so far it's worked great. I've finished the logic for the (very minimal) ORM, and the…

30 June, 2020

Static IPs using a Raspberry Pi and AWS

In need of a static IP? Maybe you want to run a VPN at home, maybe you want to be able to access your NAS when you're away or maybe it's one of those things that you don't really need but kinda want for reasons. If you can't afford an enterprise ISP at home (who typically provide a static IP as part of the deal) the…

30 April, 2020

Caching in Ktor with a JVM detour

Over the past few months I've been spending some time working with the Ktor web framework for some personal projects and I'm at the point now where it's replaced Spring as my goto Kotlin web framework. If you haven't worked with Ktor, it's a Kotlin-native, non-blocking web framework that makes extensive use of Kotlin…

26 July, 2019

Amplifier First Aid

It's been a little while but I decided to write this one up in the hope that it'll be useful to someone who might otherwise decide to get rid of a perfectly good piece of kit. N.B. I am no electronics expert so if you're planning on doing something like this, make sure you consult someone who actually knows what they…

1 2

© 2021 Henry Course