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 dev.to.

Recent blog posts:

My First (Modern) Angular Thing

Last month I started a new job at NSG Group, having moved on from Paymentshield. I knew coming into the job that new Angular (that is, 2+) was going to be the order of the day. Aside: two jobs ago, at Village, we wrote a lot of AngularJS (1.x) and...

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...