Skip to content
datarekha
Blog Production AI · GATE DA · how concepts actually work · Page 3 of 12

From theory to the systems that demand real understanding.

Long-form pieces on how production-AI teams orchestrate agents, serve models, and build the stack, plus GATE DA essays that turn probability, linear algebra, DBMS, ML, and AI into durable concepts.

281 posts · 20 categories
CLI Jun 7, 2026

find and xargs: bulk file operations without fear

Master the find command and xargs for safe, efficient bulk file operations: handle spaces in filenames, batch deletes, renames, and parallel processing.

11 min read Read
Time Series Jun 7, 2026

The forecasting baselines that quietly beat fancy models

Why forecasting baselines like the naive forecast and seasonal-naive outperform complex models—and how to pick the right one before you build anything fancy.

11 min read Read
Business Analytics Jun 7, 2026

Funnel analysis: finding exactly where users drop off

Master funnel analysis to pinpoint conversion leaks, prioritize fixes by impact, and turn step-by-step drop-off data into real growth.

11 min read Read
Git Jun 7, 2026

git bisect: find the commit that broke it in log(n) steps

Use git bisect to find the exact commit that introduced a regression or bug with binary search over history — O(log n) instead of O(n).

10 min read Read
Git Jun 7, 2026

Branching strategies that scale: trunk-based vs Git Flow vs GitHub Flow

Compare every major branching strategy: trunk-based development, Git Flow, and GitHub Flow — and know which fits your release cadence.

12 min read Read
Git Jun 7, 2026

Git merge vs rebase: when to use which (without wrecking history)

Git merge vs rebase both integrate branches but produce different histories. Learn when each is right, the golden rule, and how to recover when things go wrong.

12 min read Read
Git Jun 7, 2026

Git's three trees: the mental model that makes Git click

Understand git's working directory, staging area, and HEAD so every git command finally makes sense — no more mystery, no more fear.

11 min read Read
CLI Jun 7, 2026

grep, sed, awk: the text-processing trio worth mastering

grep sed awk command line text processing explained: when to use each tool, real recipes, regex fundamentals, and how pipelines compose all three.

13 min read Read
Business Analytics Jun 7, 2026

LTV and CAC: the unit economics every analyst should model

Master LTV and CAC unit economics: correct formulas, cohort methods, payback periods, and the pitfalls that make most models wrong.

12 min read Read
Business Analytics Jun 7, 2026

North Star metrics: the one number that actually moves a business

What a north star metric is, how to choose one, and why a single well-chosen number beats a dashboard of 40 KPIs.

11 min read Read
Time Series Jun 7, 2026

Stationarity, differencing, and why ARIMA needs a flat series

Understand stationarity, why differencing transforms a trending series, and how the d in ARIMA(p,d,q) bridges raw data to a forecastable model.

13 min read Read
Time Series Jun 7, 2026

Decomposition: reading trend, seasonality, and residual

A practical guide to time series decomposition — separating trend, seasonality, and residual to reveal what a signal is actually doing.

11 min read Read
CLI Jun 7, 2026

Understanding $PATH: how the shell actually finds your commands

Demystify the PATH environment variable and 'command not found': how the shell searches, why order matters, and how to manage it safely.

10 min read Read
Git Jun 7, 2026

Undoing things in Git: reset, revert, restore, and reflog

A practical guide to undo in git: when to reach for reset revert reflog restore or amend, and how to recover commits you thought were gone forever.

12 min read Read
CLI Jun 7, 2026

Unix file permissions: rwx, chmod, and the octal that confuses everyone

Understand Unix file permissions end-to-end: read the ls -l string, master chmod octal and symbolic modes, chown, umask, and special bits.

11 min read Read
CLI Jun 7, 2026

Pipes and redirection: how Unix composes small sharp tools

How unix pipes and redirection wire stdin stdout and stderr into composable data pipelines — and why that one-liner on your terminal is a tiny distributed system.

11 min read Read
Time Series Jun 7, 2026

Why you can't shuffle a time series: splits and leakage

Random k-fold on a time series leaks the future into training. Learn the correct time-based train test split, rolling-origin CV, and how to avoid leakage.

11 min read Read
Agents Jun 3, 2026

Memory poisoning: when your agent remembers a lie

Persistent agent memory is a delayed-action injection vector. Untrusted content read in one session gets written to long-term memory and silently steers a clean session later — sometimes for a different user. Here is how the attack works, the 2024-2026 research, and why the only real fix is treating every memory write as untrusted input.

12 min read Read
MLOps Jun 3, 2026

The silent revenue drop: how drift actually breaks production models

Drift does not crash your service or page your on-call. It quietly degrades a model for weeks while every dashboard stays green, until finance asks why a revenue line is bleeding. This is the operational war story the KS-test tutorials skip.

13 min read Read
ML Jun 3, 2026

Why your model made that prediction: SHAP in production

SHAP is the most-used model explainability library on earth, and most teams misread it. A field guide to what Shapley values actually compute, where TreeSHAP beats KernelSHAP by orders of magnitude, and the four ways SHAP quietly lies to you.

12 min read Read
Infrastructure Jun 3, 2026

Training-serving skew: the bug feature stores exist to kill

The model scores 0.95 offline and dies in production. Almost always the cause is one bug: training-serving skew, where the feature the model learned offline is computed differently online — or worse, was joined from the future. Here's the bug, why your holdout set can't catch it, and the three fixes that actually work.

12 min read Read
Agents Jun 3, 2026

Why agents need permissions: the lethal trifecta and least privilege

Prompt injection has no reliable fix at the model layer. Simon Willison's lethal trifecta and OWASP's Excessive Agency say the same thing: agent security must be designed at the system layer, with least privilege.

12 min read Read
Statistics Jun 2, 2026

A/B testing is a sample-size problem wearing a statistics costume

Most A/B-test failures aren't bad statistics — they're underpowered tests that never had a chance of seeing the effect they were designed to find.

10 min read Read
ML Jun 2, 2026

Accuracy lies on imbalanced data

A model that never flags a single fraud transaction can score 99% accuracy — and that number is not wrong, it is just completely useless.

8 min read Read