[ X078 // ENGINEERING & AI ]

Engineering, AI & Security

Page 7 of 10 in the Engineering, AI & Security pillar.

Articles (7/10)

Web architecture, Astro engineering, AI agent systems, DevOps, and application security by Josué Trindade at Webxtek Studio.

Rendering User or AI-Generated Markdown Safely: Why Raw innerHTML Is Deadly and How AST Sanitization Works

Parsing Markdown into raw HTML and injecting it via innerHTML creates critical stored XSS vulnerabilities. Discover how DOMPurify and the native Sanitizer API neutralize malicious payloads.

Why Old Cron Jobs Silently Fail: Mastering systemd Timers, Resource Cgroups & Process Sandboxing

Cron is half a century old. Learn how systemd timers, journald logging, cgroup v2 limits, and filesystem isolation prevent background tasks from crashing servers.

AI Agent Skills & Linux Automation Scripts: Turning Repetitive Sysadmin Work Into One Command

LLMs hallucinate syntax if unconstrained. Learn how pairing SKILL.md specs with deterministic Node.js and Bash scripts turns Linux deployments, media pipelines, and log audits into reliable automated workflows.

Why APIs Timeout on PDFs & Emails: Async Message Queues & Retries

Synchronous HTTP handlers crash under heavy load when generating PDFs or sending bulk emails. Learn how BullMQ, RabbitMQ, and Dead-Letter Exchanges decouple workloads for guaranteed delivery.

Why Your Docker Image Weighs 1.2 GB: Multi-Stage Builds, .dockerignore Hygiene & Alpine/Distroless Layers Illustrated

Shipping compiler toolchains, devDependencies, and raw source code into production containers wastes bandwidth and expands your attack surface. Learn how multi-stage builds shrink images to 40MB.

JWTs, session cookies and PKCE: choose the right boundary

Separate JWTs, cookies and OAuth with PKCE. Compare server sessions and browser tokens, including XSS, CSRF, logout and revocation limits.

Astro 7, Vite 8, Rolldown & Bun: An Illustrated Guide to the Zero-JavaScript Rust Web Stack

Say goodbye to bloated 800KB React SPAs. An illustrated guide to Astro Islands, Rolldown in Rust, Bun runtime, and why 0 KB JavaScript dominates late-2026.

Expand-and-contract: migrate PostgreSQL with compatibility and rollback

Stage PostgreSQL 18 migrations with version compatibility, bounded lock waits, resumable backfills, validation and explicit rollback boundaries.

Decoupling Deploy from Release: Feature Flags & Trunk-Based Development

Long-lived Git feature branches cause merge hell and delay customer feedback. Learn how decoupling deployment from release via feature flags enables daily production merges and 1-second rollbacks.

Why the Linux OOM Killer Assassinated Your Database: RAM, Page Cache, ZRAM & Swap Visually Explained

Why does Linux assassinate your PostgreSQL process while showing 'free' memory? Learn how memory cgroups, ZRAM, and kernel overcommit tuning prevent OOM panics.

PostgreSQL on Dedicated Linux Nodes: Memory Tuning, PgBouncer Connection Pooling & Point-in-Time Recovery

Stop treating PostgreSQL like a black box. Learn how memory tuning, PgBouncer pooling, and continuous WAL archiving deliver sub-millisecond database queries.

Why Default SQLite Locks Up Under Load: and How Two Pragmas (journal_mode=WAL & busy_timeout) Handle 50,000 Req/Sec

Default SQLite locks the entire database on every write, throwing 'database is locked' errors under traffic. Discover the two pragmas that unlock massive concurrent read and write throughput.

Hiding Your HestiaCP & CapRover Origin IP Forever: Cloudflare Tunnels, mTLS & Zero-Trust Access

Zero open inbound ports. Learn how outbound Cloudflare Tunnels hide your server's true IP address, defeating volumetric DDoS attacks and IP reconnaissance.

Custom vs. Template Websites: The Real Cost Difference Over Three Years

The template website appears cheaper at month one. The custom website appears more expensive. Both are correct for month one and increasingly wrong every month after. The three-year TCO tells a different story.

Full-Disk Encryption on Remote Linux Servers: LUKS2, TPM2 & Dropbear SSH

Unencrypted cloud disks expose databases to offline theft. Learn how to secure headless Debian bare-metal servers using LUKS2 full-disk encryption, TPM2 hardware keys, and Dropbear SSH in initramfs.

Mobile-First or Mobile-Afterthought: Why Most Sites Serve 60% of Traffic Poorly

Google indexes the mobile version of your site first. Most design processes still design desktop first. The result is a mobile experience that is technically responsive but experientially inferior.

Passkeys and WebAuthn: remove passwords without forgetting recovery

Adopt passkeys with authorised enrolment, WebAuthn validation, protected sessions and recovery. Compare synced and device-bound credentials.

SQL Indexing & B-Trees: Fixing Slow Queries with EXPLAIN ANALYZE

A single missing index turns sub-millisecond database queries into multi-second table-scanning bottlenecks. Learn how B-Trees work and how to read EXPLAIN ANALYZE to accelerate your apps.

How Packets Actually Travel Across the Internet: TCP/IP Handshakes, MTU Fragmentation & mtr Diagnostics Illustrated

When websites hang indefinitely or drop connections under load, the root cause is often MTU fragmentation or SYN packet drops. Learn how TCP/IP packets move and how to diagnose them with mtr.

Website vs Social Media: What Nobody Tells You

Social media works. Websites work differently. The mistake is treating them as substitutes. They're not. One compounds, one decays, and most businesses are only using the one that decays.

The Web Presence Stack: Every Layer Your Business Needs to Be Discovered, Trusted, and Chosen

Most businesses have some layers of their digital presence and others completely missing. Potential customers fall through the gaps. This is the complete stack, every layer, what it does, and how it connects.

Stop Building Dashboards: Why Alerts Are the Only Analytics That Matter

Enterprise SaaS teams waste thousands of engineering hours building analytics dashboards that nobody looks at. The future of B2B data is exception-based alerting.

Refactoring Is Not a Feature

Non-technical founders view refactoring as a zero-value activity. Engineers view it as a holy crusade. Here is how to actually manage technical debt in a B2B SaaS environment.

The Serverless Trap: When Lambda Functions Cost More Than Bare Metal

Startups default to serverless architectures because 'you only pay for what you use.' But at consistent, high-volume loads, the per-invocation cost of serverless mathematically eclipses bare metal.