Skip to main content
All blog posts in one place

Welcome to the full index of technical articles, architecture guides, and backend engineering tutorials. Use the real-time search box and tag selector to quickly find topics of interest.

2026 (Showing 24 posts)

  • Discover how to use `pyproject.toml` to create, manage, and distribute Python packages in 2026. This comprehensive guide covers everything from build systems to dependency management and best practices for modern Python development.

    #python#packaging#pyproject#build#dependencies
  • Learn how to use the `__main__.py` file to make your Python packages executable. This guide covers the purpose of `__main__.py`, how it differs from `__init__.py`, and best practices for creating command-line interfaces in 2026.

    #python#packages#modules#main
  • A comprehensive guide to `__init__.py` in Python packages. Learn its core purpose, the hoisting pattern, package security with __all__, namespace packages, and 2026 best practices.

    #python#packages#modules#init
  • A comprehensive Conventional Commits cheat sheet and guide. Learn the lightweight convention on top of commit messages, key rules, and best practices.

    #commit#git#github
  • A step-by-step guide to resolving the common `ModuleNotFoundError` for the `pre_commit` module. Learn how to identify the root cause and apply the right fix to get your Git hooks working again.

    #python#pre-commit#git-hooks#troubleshooting#development-tips
  • A comprehensive guide to Git merging. Learn how to read and resolve merge conflicts, choose between squash, true merge, and fast-forward strategies, and understand when to use rebase vs. merge for clean project history.

    #git#merge-conflicts#version-control#rebase#git commands
  • Learn how to write Row Level Security (RLS) policies in Supabase to ensure users can only edit their own profile data. This guide covers practical SQL examples, common pitfalls, and best practices for secure database access control.

    #supabase#postgresql#row-level-security#rls#access-control
  • Learn how to use Check Constraints in Supabase to enforce data rules and maintain integrity. This guide covers practical examples, safe migration techniques, and error handling.

    #supabase#postgresql#data-integrity#check-constraints
  • When you are typing away in your terminal, `git fetch` and `git fetch origin` probably feel exactly the same. In fact, if you only ever work on standard, single-team projects, you might go your entire career without realizing there is a difference at all. However, Git is highly configurable. The moment you step into open-source development or complex team architectures, that little missing word (`origin`) suddenly completely changes how Git behaves. Here is the candid truth about what Git is actually doing behind the scenes.

    #git#version-control#best-practices#open-source#comparison
  • Learn why Firestore throws the error "A document must have an even number of path elements" and how to fix it by understanding the structure of Collections and Documents in Firestore.

    #firebase#firestore#error-handling#database#development
  • Finding a bug is like detective work-except the crime scene is your code, and the suspect is one of your last 200 commits. You know the code worked last week, and you know it's broken now, but finding the *exact* moment it failed can take hours of manual checking. Enter `git bisect`, a powerful tool that uses a binary search algorithm to efficiently find the offending commit.

    #git#debugging#bisect#development#workflow
  • Learn how to use `git worktree` to manage hotfixes without disrupting your current development workflow. A step-by-step guide for developers.

    #git#hotfix#worktree#development#workflow
  • Learn why Git prevents you from deleting a branch used by a worktree and how to resolve it safely, audit active worktrees, and clean up stale links.

    #git#worktree#troubleshooting
  • Creating a color palette where **every** color is readable against **every other** color is a high-level design challenge. As the number of colors in your palette increases, the "contrast space" shrinks significantly. In this article, we'll build a script that uses an **iterative "Collision-Check" algorithm**. It generates a candidate color, checks it against every color already in the palette, and only keeps it if it passes the WCAG AA threshold against all of them.

    #python#colors#palette#wcag#accessibility
  • Designing a beautiful UI is pointless if half your users can't read it. Whether it's a person with a visual impairment or someone trying to check their phone on a sunny day, color contrast is the secret sauce of accessible design. The WCAG (Web Content Accessibility Guidelines) provides a mathematical way to ensure text stands out against its background. Let's integrate a "Contrast Checker" into our Python toolkit.

    #python#accessibility#wcag#color-contrast
  • Converting colors in Python is a fascinating mix of dictionary lookups (for names like "tomato") and coordinate geometry. While we can use the built-in `colorsys` module for some parts, we'll need the `webcolors` library to handle CSS names and some custom math to reach the more "exotic" formats like **HWB** and **CMYK**.

    #python#colors#rgb#hsl#hwb#cmyk#hex
  • Learn how to detect Google AdSense on any website using Python. Covers fast HTML scanning with BeautifulSoup, ads.txt validation, and headless Playwright automation to bypass bot protection and lazy loading.

    #python#web-scraping#google-adsense#playwright#bot-detection#seo
  • Learn how to easily download YouTube video thumbnails using Python's requests library, without the need for heavy dependencies like Pytube. This guide covers extracting video IDs from various YouTube URL formats and fetching the highest quality thumbnail available.

    #python#youtube#thumbnail#requests#web-scraping
  • Learn how to extract YouTube video metadata using yt-dlp, and retrieve/analyze comment sentiments using the YouTube Data API v3 and TextBlob in Python.

    #python#youtube#sentiment-analysis#data-science#yt-dlp
  • Learn how to use the `simpleeval` library in Python to safely evaluate user-defined expressions, build a dynamic business rules engine, and handle complex data types with `EvalWithCompoundTypes`. This guide includes practical examples and comparisons with other evaluation methods.

    #python#simpleeval#business-rules#security#eval
  • Learn how to sign your Git commits with a GPG key to earn the "Verified" badge on GitHub, ensuring your contributions are authenticated and secure.

    #git#gpg#github#programming-tips#security#open-source#developer-tools#version-control
  • Learn why Git throws the error `fatal: No existing author found with 'XYZ` and how to resolve it with simple fixes and best practices for author identification in Git commits.

    #git#version-control#programming-tips
  • A comprehensive guide to managing Git commit identities. Learn how to find authors and emails, change commit history safely, and set up conditional configurations.

    #git#version-control#programming-tips
  • This error occurs when your local Git history has diverged from the remote. Here are 5 ways to fix it, ranked from "Standard Practice" to "Nuclear Option."

    #git#version-control#troubleshooting#best-practices#error

2025 (Showing 141 posts)