Skip to content

Category

software development

Practical software engineering from a team lead: clean code, SOLID, refactoring, debugging, backend design and system architecture with Laravel and React.

How to Test LLM Features Before They Reach Production

10/15/2026

How to Test LLM Features Before They Reach Production

LLM features that shine in demos often break on real inputs. Learn a practical way to test them with schema validation, small evaluation sets, CI checks, prompt-injection cases and production monitoring.

By Muhammad Wilayat Shah

Read
How to Optimize a Slow PostgreSQL Query Step by Step

10/15/2026

How to Optimize a Slow PostgreSQL Query Step by Step

A slow PostgreSQL query is rarely fixed by guessing. Learn a repeatable process: measure with pg_stat_statements, read EXPLAIN ANALYZE, fix row estimates, add the right index, rewrite the query, and verify the gain.

By Muhammad Wilayat Shah

Read
Why Bugs Keep Coming Back After You Fix Them

10/14/2026

Why Bugs Keep Coming Back After You Fix Them

Fixed a bug only to see it return weeks later? Here are the real causes, from symptom fixes and duplicated logic to stale caches, race conditions, and config drift, plus a practical checklist to fix it once.

By Muhammad Wilayat Shah

Read
How to Find the Root Cause of a Production Bug

10/14/2026

How to Find the Root Cause of a Production Bug

A practical, step-by-step process for tracing production bugs from symptom to root cause in Laravel, Next.js, PostgreSQL and Redis applications, and making sure they stay fixed.

By Muhammad Wilayat Shah

Read