Skip to content

All Posts

Database, Performance

SQLite Primary Key Benchmarks: UUIDv7, UUIDv4, Snowflake, Integer

Benchmarking UUIDv7, UUIDv4, Snowflake, and Integer primary keys in SQLite, including dual-column and WITHOUT ROWID variants.

Frontend

Rebuilding My Website: From Next.js to Astro

A deep dive into modernizing my website: migrating from Next.js to Astro, cutting bundle sizes, and leveraging AI-powered migrations.

Rust

The Async Ecosystem in Rust

Understanding Rust's Tower, HTTP, HttpBody ecosystem and how they work together.

Thoughts on the future of Programming

Looking ahead of the curve to see what the future of programming holds in this new future of LLMs, hardware and ecosystems.

Frontend

Open Graph for Lazy Developers

A simple guide to Open Graph optimization for your website, including how to set up your meta tags and how to test your website's Open Graph data.

Performance

Optimizing PNGs for Size and Quality

A simple guide to optimizing images if you have a few images, and a lot of time.

Security

Positive affirmation passphrases

If your work requires a passphrase, why not make it worth your time?

Dev Environment

Why remote development is the future

Why local development is suboptimal, and why remote development seems to be the way forward.

Proving the passage of time with blockchain

Using blockchain to prove that the passage of time is happening in real-time.

Performance

How to optimize bundles with webpack

Learn how to build the most efficient, optimal bundles by tuning webpack's splitChunks configuration.

Dev Environment

Programming on the M1 Mac

My experience using the M1 Mac for programming on front-end, back-end and machine learning tasks.

Rust

Async test setup and teardown in Rust

How to add setup and teardown functions to async tests in Rust without a framework or library.

What we are missing on clean code

A discussion on code readability, why most software engineers' take on it is misguided, and what we should be focusing on instead.

Frontend

Building a stunning table of contents that follows headings

How to build a table of contents that has a better user experience, using SVG paths and masks.

Performance, Frontend

React performance techniques

Techniques to improve React component rendering performance when there are no better alternatives.

Common concepts behind software design patterns

A look at concepts that occur over and over in software design patterns, and how they tie into various tools and languages we see and use today.

Frontend

React component patterns

Learn about the various design patterns to help you write better and more reusable React components.

Frontend

Lessons learned from building a blog component system

Pitfalls and lessons learned from building this blog's component system. Walks through margins, inline code styling, full-bleed layouts and forms.

Frontend

A glimpse into front end interviews

My experience with front end interviews, including their process, topics, questions and some more tips and tricks to help you get the role you desire

Rust, Frontend

Why building a front-end framework in Rust is hard

A look at what makes a front-end framework work and how Rust's ergonomics and constraints such as ownership makes writing one difficult.

Performance, Frontend

How to optimize React using React DevTools

Learn how to use the React devtool's profiler to optimize and improve your React app's performance.

Security

The most secure way to store JWTs

A new secure method that uses Service Worker to store JWTs in browsers instead of local storage and cookies.

Frontend

How lit-html works

Learn how the lit-html library works, and how it is different from virtual-dom libraries like React.

Why a clean start for the web won't solve the problem

A discussion of why the web is in such a terrible state, why building a new internet from scratch will not make it better and why Mozilla's latest layoff is a good move.

Performance

Thoughts about web performance and frameworks

A discussion on the performance of web frameworks and why you shouldn't choose React every time.

Compilers

Code Dive: babel-loader

A deep look into how the babel-loader library works to learn how you too can write a webpack plugin.

Dev Environment

Dual-boot Windows and NixOS

Learn how to dual boot Windows and NixOS on the same computer.