How to create a React components ESM+CJS library

Learn how to create a React component ESM+CJS library using Rollup, TypeScript and Storybook | Continue reading


@blog.coderspirit.xyz | 1 year ago

Beyond semantic versioning: updatePolicy

Some random thoughts on how to make NPM package updates a bit safer | Continue reading


@blog.coderspirit.xyz | 1 year ago

A better way to use Dotenv

Learn better usage patterns for the Dotenv library to simplify your code | Continue reading


@blog.coderspirit.xyz | 1 year ago

Credentials Leak with Knex

Knex 2.4.2 and below are vulnerable to a credentials leak. Learn how to mitigate the problem. | Continue reading


@blog.coderspirit.xyz | 1 year ago

Exploring the LZ77 Algorithm

Learn how the grandfather of most major compression algorithms, LZ77, works! | Continue reading


@blog.coderspirit.xyz | 1 year ago

Animated Gosper Curves in JS

An introduction to generative art by example, with animated Gosper Curves. | Continue reading


@blog.coderspirit.xyz | 1 year ago

The comeback of the Fediverse and the Old Web

Twitter is not dead, but we act like it was, while the old web wants to come back from the grave. | Continue reading


@blog.coderspirit.xyz | 1 year ago

Barrel Exports considered harmful

My (probably controversial) take on why the barrel exports pattern can be harmful. | Continue reading


@blog.coderspirit.xyz | 1 year ago

Drawing 1000s of moving pixels on Godot

How to draw thousands of moving pixels on Godot, and a bit more. | Continue reading


@blog.coderspirit.xyz | 2 years ago

Simulating brownian motion on Godot

How Brownian motion can be simulated in Godot engine. | Continue reading


@blog.coderspirit.xyz | 2 years ago

Generating CJS & ESM packages from TypeScript

Although it's easy to generate CJS or ESM code from TS, generating both at the same time is a more complicated endeavour. | Continue reading


@blog.coderspirit.xyz | 2 years ago

Blog Reboot, Part 1

How & why I decided to rebuild my blog again from scratch. | Continue reading


@blog.coderspirit.xyz | 2 years ago

Avatar-CLI

These past weeks I’ve been working on a personal project calledAvatar-CLI, a cli tool meant to easethe usage of other containerized cli programs as if they were native. | Continue reading


@blog.coderspirit.xyz | 4 years ago

Rust 2021

First of all, a disclaimer: I’m quite new in the Rust community. Moreover, I’mnot even active in the Rust community. Not because of any particular reason,somehow I usually don’t get involved into any sort of community. I wish I did,but I lack the patience, focus and social skills … | Continue reading


@blog.coderspirit.xyz | 4 years ago

Web development jobs diagram

A small diagram showing relations between web development jobs. | Continue reading


@blog.coderspirit.xyz | 5 years ago

Our composer.json file is wrong

We should be more careful about implicit dependencies in PHP projects. | Continue reading


@blog.coderspirit.xyz | 7 years ago

Toy problem: The Traveler's Dilemma

A brief exploration of the Traveler's Dilemma problem. | Continue reading


@blog.coderspirit.xyz | 7 years ago

Naive matrix multiplication Benchmark (PHP)

A 1st (naive) exploration on how to implement fast matrix multiplication in PHP. | Continue reading


@blog.coderspirit.xyz | 7 years ago

PHP-SDS First Thoughts

Introducing PHP-SDS, a library for scientific computations on PHP. | Continue reading


@blog.coderspirit.xyz | 7 years ago

Generating Colored Gosper Curves

How to generate beautiful colored Gosper Curves. | Continue reading


@blog.coderspirit.xyz | 8 years ago