There are a great number of occasions lately when I've needed to take an object, preserve all of its properties/property names, but modify the actual values of those properties. That's easy to do in JS or TS, but you may also want to "strongly type" the new property types.
CouchDB replication can easily fail when its run from the Futon dashboard in a Docker container. This quick post goes over the reason and the solution, but it boils down to "why aren't you using localhost you dumb couch".
TypeScript has become incredibly powerful, and its type system lets you build a great deal of similarly powerful functions, tools and utilities. In this post, learn how to build a simple object validation utility that uses TypeScript's type system to provide compiler safety for the validation rules and the resulting objects.
As web developers, we're no strangers to massively bloated containers. While many apps quickly bulk up in size once you start adding Node and frontend packages, even a dotnet app with no node_modules can still get pretty hefty once the dotnet SDK and package dependencies have been installed. This post covers the steps I used to slim a container from nearly 8gb in size to less than 200mb.
When working on a client's web app, I ran into a strange issue where the app simply wouldn't work if a component was used by more than one Webpack entrypoint.