Writing · Page 2

Blog

Showing 11–20 of 22

Hallucinations and Context Problems: A Production Mitigation Playbook
AILLMRAG

Hallucinations and Context Problems: A Production Mitigation Playbook

Hallucination is a family of failures, not one bug. A mitigation playbook: coverage versus utilization, grounding by construction, detection that routes, and containment.

September 25, 202621 min read
Read post
How to Measure the Quality of an AI System: A Production Evaluation Framework
AIEvaluationLLM

How to Measure the Quality of an AI System: A Production Evaluation Framework

Quality is not a number. A production framework for measuring AI systems: component metrics, calibrated judges, statistical honesty, and the failure modes of measurement itself.

September 25, 202622 min read
Read post
Event Sourcing in Production Laravel: Snapshots, Schema Evolution, and Read-Model Rebuilds
LaravelEvent SourcingArchitecture

Event Sourcing in Production Laravel: Snapshots, Schema Evolution, and Read-Model Rebuilds

Three production concerns that look like separate problems and are not. A working Laravel 13 skeleton with version-aware serializers, snapshot invalidation, and idempotent projection replay — all backed by tests.

September 1, 202623 min read
Read post
Guardrails for LLM Agents: Permissions, Scopes, and the Audit Trail That Holds Up
AIAgentsSecurity

Guardrails for LLM Agents: Permissions, Scopes, and the Audit Trail That Holds Up

Permissions, output validation, multi-agent delegation, and the audit trail that reconstructs the decision chain. A production handbook for shipping agents that survive contact with reality.

August 31, 202627 min read
Read post
When to Reach for an Agent, and When to Ship the Workflow
AIArchitectureAgents

When to Reach for an Agent, and When to Ship the Workflow

An LLM agent is a commitment, not a category. Here's the decision framework, the failure modes, the three-layer reliability model, and the hybrid architecture that actually works in production.

August 28, 202617 min read
Read post
When to Use RAG vs Simple Search: A Practical Decision Guide
AIRAGSearch

When to Use RAG vs Simple Search: A Practical Decision Guide

RAG sounds impressive, but most questions don't need synthesized answers from multiple documents. Here's how to choose the right approach.

August 27, 202611 min read
Read post
HAProxy: Load Balancing and Health Checks for Multiple VPS
HAProxyDevOpsLoad Balancing

HAProxy: Load Balancing and Health Checks for Multiple VPS

HAProxy sits in front of your servers, probes each one on a configurable schedule, and pulls failing hosts from the rotation before any user request reaches them. Load balancing across multiple VPS, sticky sessions, ACL routing, stick-table rate limi

August 27, 20269 min read
Read post
pgBouncer: PostgreSQL Connection Pooling — Installation and Configuration
PostgreSQLDevOpsPHP

pgBouncer: PostgreSQL Connection Pooling — Installation and Configuration

PostgreSQL spawns a separate process per connection, burning 5-10 MB of RAM before the first query. pgBouncer multiplexes hundreds of client connections through a small pool of real database connections, cutting RAM usage and preventing PostgreSQL from crawling under heavy concurrent load.

August 27, 20268 min read
Read post
Quick Tip: Disable the Password Dots in sudo (Ubuntu 26.04 / sudo-rs)
Quick TipsLinuxDevOps

Quick Tip: Disable the Password Dots in sudo (Ubuntu 26.04 / sudo-rs)

Ubuntu 25.10/26.04 moved to sudo-rs, which echoes a dot per sudo password character by default. Bring back silent entry with Defaults !pwfeedback — the one-line fix.

August 26, 20262 min read
Read post
OpenTelemetry, Symfony i Grafana Tempo — tracing w praktyce
ObservabilitySymfonyDockerOpenTelemetry

OpenTelemetry, Symfony i Grafana Tempo — tracing w praktyce

How to add distributed tracing to a Symfony 7 app in Docker: OpenTelemetry zero-code auto-instrumentation, OTLP HTTP export to Grafana Tempo 3.0, and Gantt traces in Grafana 13.

August 25, 202611 min read
Read post