Bankers Round in PostgreSQL

Bankers Round (aka "half even up") is a rounding scheme very used in financial apps as it produces statistically less rounding issues than the most commonly extended "half up".

The problem is that Postgres' round function implements "half up". Read on to find out how to implement "half even up".

Read more  ↩︎

Home Assistant & Arenti Baby Cams

I recently bought a couple of Arenti baby cams. They are cheap, have good image quality, and are easy to set up. I also wanted to integrate them into Home Assistant. This is how I did it.

Read more  ↩︎