ARCHIVE
QUERY = 'contents'; TYPE = 'all' // 145 rows
Pivot Tables Guide: From Excel to Polars, Automated with AI
Pivot tables in Excel, Google Sheets, Pandas/Polars and AI. Polars 5-10x speed, LLM hallucination pitfalls, privacy-friendly local LLM examples in a practical guide.
Multi-Layer Defense for LLM Production Systems: From Layer 0 to Human-in-the-Loop
Effective defense against LLM failure modes cannot be single-layered. Mode-by-mode matrix and implementation patterns for prompt, output validation, agent guardrails, observability, and human-in-the-loop layers.
LLM Agentic Failure Modes: Task Drift, Reward Hacking, Alignment Faking and More
Eight LLM failure modes that surface only in agent and tool-use systems. Mechanism and defense for task drift, incorrect tool invocation, reward hacking, positional bias, mode collapse, degeneration loops, alignment faking, and version drift.
LLM Foundational Failure Modes: Hallucination, Sycophancy, Context Rot, Instruction Attenuation
Four LLM failure modes that emerge even in a single prompt. Mechanism, academic evidence, and defense patterns for hallucination and confabulation, sycophancy, context rot, and instruction attenuation.
grep, ripgrep, and AI-Powered Text Search
A comprehensive guide from grep fundamentals to ripgrep, how AI agents use text search tools, and next-generation alternatives like semantic search.
Bridging Shopify Metafields and Custom Pixel: The Cart Attribute Pattern
Liquid metafields are unreachable inside the Shopify custom pixel sandbox. Use the cart attribute pattern to carry customer metafields into checkout pixel events and onward to Flow. Bridge consent state for correct enforcement in server-side events.
Personal Data Inventory Under Consent Mode: GA4, CAPI, Newsletter and Webhook Leakage Surfaces
Personal data travels in multiple forms across a measurement stack: raw email, hashed PII, pseudonymized IDs, IP. A practical mapping of each data type to Consent Mode v2 signals, with leak-prevention notes.
Google Consent Mode v2 Implementation: gtag, GTM, Meta Pixel and Platform Integrations
Consent Mode v2 now uses a four-signal model (ad_storage, analytics_storage, ad_user_data, ad_personalization). Gtag code examples, GTM template, Meta Pixel, HubSpot and Hotjar consent implementations.
sGTM in 2026: Cloud Run vs Stape vs Self-Hosted, Real Costs and Consent Mode v2 Pitfalls
I run sGTM on Cloud Run and tested Stape and Docker alternatives. Real infrastructure costs, GA4 and Meta CAPI configuration, Enhanced Conversions, 1st-party cookie strategy, and what breaks when Consent Mode v2 is misconfigured.
sGTM Hosting Decision Matrix: Cloud Run, Stape, and Self-Host Compared
Where should server-side GTM be hosted? Cloud Run, Stape, and self-hosted Docker compared across cost, maintenance, and agency multi-client scenarios. Including Cloudflare Workers' same-origin proxy role.
ADR vs Spec-Driven Development: Why, What, and Using Both
Architecture Decision Records (ADR) and OpenSpec serve complementary roles: ADR answers 'why' a decision was made, spec defines 'what' gets built. How they work together in AI-assisted development.
LLM Behavioral Failure Modes: 12 Failure Patterns and the Defense Map
LLMs forget instructions in long sessions, fabricate information, and agree with you against their own answer. A pillar map of 12 systematic failure modes and the defense layers that address them.
From OpenSpec to Brainstorm + Court: Spec-Driven Workflow with Worktree
Evolution from OpenSpec CLI to a brainstorm + court pipeline, multi-AI evaluation, and parallel spec-driven development with git worktree.
GA4 Source/Medium Debugging: Detecting the Real Source with First-Party Cookies
First-party cookie based source tagging implementation to detect the real origin of purchase events showing as (direct)/(none) in GA4. GTM Custom HTML tags, cookie structure, GA4 custom dimension setup, and debug tools.
GA4 Attribution Reports: Direct Inflation, Model Selection, and Finding the Real Source
Why does the (direct)/(none) share inflate in GA4 purchase reports? Attribution model differences, 6 root causes of direct inflation, auditing your current setup, and real source detection with first-party cookies.