Populate PostgreSQL with Mock Data
Learn how to efficiently generate and insert realistic mock data into your database.
All of my long-form thoughts on programming, growth, world views and more, collected in chronological order.
Learn how to efficiently generate and insert realistic mock data into your database.
Use Devbox to manage your portable, isolated, dev environment, on any machine.
Use process-compose to manage your dev services.
How to use manual approvals in GitHub Actions to wait for a human to approve a release.
Don't mutate the iterator you're iterating over
Effective package development using Yalc.
Fullstack development, or rather isomorphic development, isn't as easy as they say.
Use Procfiles to turn multiple startup commands into a single one.
Using typed GraphQL queries to easy development and maintain API confidence
How to handle POST requests in Next.js getServerSideProps
How to use Type Assertions to narrow types in TypeScript.
Generators and what makes them so special
Walking down a tree using a function, loop or generator
Flat loops as an alternative for complex recursive functions
How to use Type Guards to narrow types in TypeScript.
Use PM2 to turn multiple startup commands into a single one.
Form handling in React, without react controlling everything!
Prefer [].slice(2) over [,,rest]
A typescript `valueof` implementation similar to `keyof`
Mutating objects is fine, sometimes preferred.
Functional methods and side effects don't play well together.
The launch of Updrafts.app - A Tailwind Studio.
The costs of Optional Chaining in performance and bundle size.