Thomas Weitzel

Do, or do not. There is no try. – Yoda

My findings while exploring various aspects of programming.

  1. How I localized my Hugo theme

    How I localized my Hugo theme

    Overcoming challenges and solutions for adding localization to a Hugo theme, including string extraction, date formatting, and managing plural forms.

    · ⁨4⁩ min read
  2. Dark theme toggle with Tailwind

    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⁩ min read
  3. Is CSS a programming language?

    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⁩ min read
  4. Intuition vs. mathematical facts

    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.

    · ⁨6⁩ min read
  5. Diagrams with Mermaid

    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⁩ min read