Dark theme toggle with Tailwind

Version 4 simplifies dark mode implementation in React, leveraging modern theming and automatic opacity handling for colors. I use local storage to persist user preferences across sessions.

· 4 minutes reading time

Is CSS a programming language?

With modern features and conditional logic, CSS has evolved into a versatile tool, blurring the lines between traditional styling and computational problem-solving in the realm of web development.

· 7 minutes reading time

Intuition vs. mathematical facts

Examine the reliability of tests for detecting infections, using probability trees and Bayes' theorem to highlight the high potential for false positives.

· 7 minutes reading time

Diagrams with Mermaid

Discover Mermaid's Markdown-inspired syntax to craft diverse diagrams using simple text in your blog posts. Learn how to integrate and customize Mermaid diagrams.

· 2 minutes reading time

Internal rate of return calculation

Deconstructing the math of investment: estimate the annualized rate of return with the IRR algorithm and its Rust implementation.

· 10 minutes reading time

Structured data in Hugo templates

How to properly display structured data on your web pages with a Hugo template.

· 4 minutes reading time