Ste Griffiths

Living the way of Jesus, writing code, and loving my community.

Hi, I’m SteGriff! I’m married to Helen, I write code for Paymentshield (and my own enjoyment), and I’m trying to take after Jesus Christ (but still working on it).

Life is always changing, so you can find my latest status on my /now page.

I write fairly technical notes on my blog, and more longform on

Recent blog posts:

Bit packing binary in JavaScript and JSON

I like to help out on the Glitch support forum which is mostly like a more friendly StackOverflow. Recently a young person was trying to train a neural net on a 256*256 square of grayscale pixels with random values from 0-255. But body-parser wouldn’t accept the payload because it was...

Scoring values from 0 to 10

(Disclaimer: I am not a mathematician) Say you need a formula that attributes a “good” price of £150 with a score of 10, and a bad price of £300 a score of 0. Let’s call £150 b for best and £300 w for worst, with an input price p and...

Mixing and Mastering

Lately I have been making some chillhop music. I was listening to a few lofi/chillhop playlists while working from home in lockdown, and thought “I could do this”. So I tried. I’ve found that throwing together some sounds in a musical way is often the easier part. Making it sound...