Native vs ImmutableJS vs Immer — Are libraries the way to go for immutability in React?

Maintaining immutability when dealing with objects and arrays is very important in React. It ensures that the DOM updates correctly and predictably. But when we have nested data structures, maintaining immutability in our data can get ugly, very fast. This article explores 3 approaches to immutability — doing it natively, using ImmutableJS (a library which … Continue reading Native vs ImmutableJS vs Immer — Are libraries the way to go for immutability in React?

Efficient Evenly Distributed Sampling of Time Series Records in PostgreSQL

The Problem I have been working on an application that, at it's heart, stores a large amount of data that is organized primarily through the use of a foreign key and a timestamp field. The table's own primary key is UUID based, combining the foreign key with a UUID for the individual record itself, and … Continue reading Efficient Evenly Distributed Sampling of Time Series Records in PostgreSQL