Issue October 16Daily digest · 14 items
In this issueReviewed 67 sources, gathered 14 items
Still life of an engineering desk with two test prints of AVIF and JPEG XL, a notebook showing SSIMULACRA 2 metrics, and an optical loupe on a dark wooden table.
LongreadDevelopmentEfficiencyWeb TechnologiesImages

The Image Format Clash: Why JPEG XL and AVIF Split the Web Differently

You've probably heard loud debates claiming JPEG XL will soon bury AVIF, or the opposite: that the format wars ended with AV1 winning. Once you hit real production workloads, those black-and-white slogans fall apart.

Engineer Jake Archibald ran a detailed comparison of both formats on real web pages using the perceptual SSIMULACRA 2 metric. The results are far more nuanced than marketing promises. AVIF consistently wins on screenshots, illustrations, and low-resolution photos thanks to aggressive compression. Meanwhile, JPEG XL preserves sharp micro-textures on heavy photos without a plastic look and shrinks existing terabytes of JPEG files by 20% with zero loss. We looked under the hood of both encoders to see how to split image delivery smartly without blind fanfare.

👍 0
Jake ArchibaldCan I use: JPEG XL browser support matrixawxkee/jixel: lightweight Rust JPEG XL encoder
October 16
Engineering blueprint of an Astro build process with stage timings and a branch between Sharp and CDN image services
ArticleDevelopmentEducationFrameworksAstro

Astro 7.4: Build Profiling with --timings and Split Image Services

Your Astro project suddenly takes five minutes to build instead of twenty seconds, even though nothing major changed in the codebase. Sound familiar? Until now, tracking down the culprit meant scattering console timers across your project.

In Astro 7.4, Matthew Phillips and the team added a powerful built-in diagnostic tool: the --timings flag for astro build. It prints a detailed hierarchical breakdown of build stages, Vite plugins, and page rendering, immediately exposing hidden network waterfalls. For hybrid apps, you can also configure separate image services: fast local Sharp for static builds and an external Image CDN for dynamic SSR routes. Let's see how to spot bottlenecks in seconds and set up split pipelines.

👍 0
Astro Blogwithastro/astro GitHub release and documentation
October 16
Isometric scene showing OIDC publish tokens isolated to a secure registry and native packages excluded from the shared cache
ArticleDevelopmentSafetyPackage ManagersTools

Dual pnpm Release: CI Token Isolation in 11.28.6 and Fine-Grained Native Cache in 12.14.0

What could go wrong during a routine package publish in CI or module caching? In complex infrastructure, tiny edge cases turn into security holes and runtime crashes.

The pnpm team led by Zoltan Kochan shipped a dual update: LTS received patch 11.28.6, while the current branch reached 12.14.0. The LTS patch fixes a dangerous OIDC token leak where tokens could be sent to external third-party registries when the audience (aud) didn't match. Meanwhile, 12.14.0 introduces the long-awaited sideEffectsCache.exclude setting. Now you can isolate finicky native C modules like bcrypt or sharp—which depend on the host's glibc version—from the shared disk cache and eliminate sudden Segmentation fault crashes in production. Let's check the details and config syntax.

👍 0
pnpm Blogpnpm/pnpm GitHub official repository and changelog
October 16
News · October 163 news items

PostgreSQL 19 Release Candidate 1 Is Out

The PostgreSQL Global Development Group has released the first Release Candidate of PostgreSQL 19. The branch is now in Feature Freeze: JIT overhead is disabled by default, TOAST compression switches to lz4, and REPACK is built right into the core. Developers are urged to test drivers and schemas before the GA release.

Snapping Container Height to a Background Pattern Step with CSS calc-size()

Ever had a clean raster background pattern slice off awkwardly by half a pixel at the bottom of a section? Ahmad Shadeed shared a neat pure-CSS trick: pairing calc-size() and round() rounds the container height up to an exact multiple of the tile step, keeping crisp geometry without distorting the pattern.

lite-youtube-embed: A Lightweight Video Facade Instead of Heavy Iframe Players

A standard YouTube iframe downloads around 1.5 MB of heavy scripts before a user even clicks play, wrecking Core Web Vitals. Paul Irish's lite-youtube-embed web component replaces the player with an ultra-light 5 KB facade, speeding up initial page rendering by 224x with zero loss in usability.

Cinematic night shot of a monitor displaying heavy query analytics from the pg_stat_statements extension
ArticleDevelopmentDatabasesAnalyticsOptimization

PostgreSQL Is Crawling While CPU Sits Idle: Finding Heavy Queries with pg_stat_statements

Why does a production database choke and time out requests when CPU graphs show a modest 20%? An engineer's first instinct is to enable slow query logging via log_min_duration_statement. Yet the logs turn out suspiciously empty.

The secret is that systems are rarely killed by rare 10-second reports. They're killed by tiny 2-millisecond queries running millions of times, flooding the disk queue and flushing RAM caches. The standard pg_stat_statements extension solves this mystery: it aggregates stats by total execution time (total_exec_time), normalizes parameters, and reveals the real culprit in seconds. Here is a step-by-step guide to enabling the module, reading its reports, and creating safe indexes with CONCURRENTLY.

👍 0
DevOps by REBRAINPostgreSQL official documentation: pg_stat_statements
October 16
European comic-style graphic illustration of an urgent migration of web services from serverless to a private VPS
ArticleDevelopmentArchitectureSafetyInfrastructure

24 Hours to Evacuate: Moving 40 Routes from Serverless to a VPS in Emergency Mode

What would you do if your cloud provider's data centers went down one after another, pushing serverless functions and databases into emergency mode? Developer RentCeisy faced that exact crisis: he had 24 hours to evacuate the live backend of several mobile apps from Yandex Cloud to a bare VPS.

During the frantic migration of 40 routes and 39 tables onto a Node.js, Caddy, and SQLite stack, a whole series of harsh lessons surfaced: why cheap OpenVZ virtualization breaks swap and networking, how Docker silently bypasses ufw firewall rules via DOCKER-USER and exposes ports to the world, and why docker compose restart never reloads .env variables. Here is the timeline of the emergency move, protective iptables rules, and the architectural patterns that saved the day.

👍 0
Node.JS [ru]Habr article by RentCeisy: Emergency serverless migration to VPS
October 16
Product still life with an open architect's notebook and a diagram of Go's virtual filesystem in RAM
ArticleDevelopmentPracticeTestingGolang

Testing Files in Go Without Temp Folders: The fstest.MapFS Virtual Filesystem

How many times have your Go unit tests for file reading turned into a heavy ceremony—calling t.TempDir(), writing dummy configs to the host disk, and fighting collisions under t.Parallel()? You don't need a real disk for that at all.

Go's standard library offers a clean alternative: the io/fs abstraction and the testing/fstest package. When your production functions accept an fs.FS interface instead of hardcoded file paths, unit tests can pass a lightweight fstest.MapFS structure that lives purely in RAM. It automatically synthesizes parent directories, handles binary data, and returns standard fs.ErrNotExist errors. Let's look at the reference code and test architecture that speeds up CI runs by an order of magnitude.

👍 0
Библиотека Go-разработчикаGo standard library testing/fstest package documentation
October 16
Modern vector poster demonstrating automatic height adaptation of an embedded iframe to its content
ArticleDevelopmentWeb StandardsLayoutBrowsers

Iframes Without Hacks: Native Height Sizing via frame-sizing in Chromium

Can you embed a third-party payment widget or comment form in an iframe in 2026 without postMessage hacks, layout flicker, or an ugly inner scrollbar? Until recently, web developers were helpless against the Same-Origin Policy.

The new CSS Box Sizing 4 spec and Chromium 154 finally fix this long-standing platform pain point. Setting frame-sizing: content-height on the parent along with the responsive-embedded-sizing meta tag inside the frame hands layout sizing directly to the browser engine. No more ResizeObserver listeners or mobile layout jumps: height adapts natively, and dynamic changes can trigger window.requestResize(). Let's look at the syntax and safe fallbacks.

👍 0
Веб-стандартыAhmad Alfy blog: Iframes that finally fit their content
October 16
Minimalist sculptural installation of geometric blocks symbolizing the compactness of the LandTS library
ArticleDevelopmentFrontendFrameworksTypeScript

LandTS: A Minimalist 177-Line TypeScript Frontend Without Virtual DOM Overhead

Modern web development has trained us to believe even a tiny interactive widget needs a megabyte stack: React or Angular, JSX compilers, heavy bundlers, and endless hook invalidation rules. Can we really not build UIs without all that magic?

Developer pain64 offered a radical answer—the micro-library LandTS, whose entire core fits in 177 lines of pure TypeScript with zero dependencies. Instead of a hungry Virtual DOM, it uses direct declarative DOM construction via l, isolated zone rendering via lz, and inline CSS styles right on nodes. That means zero bundle bloat and instant execution, ideal for micro-frontends, browser extensions, and embedded admin panels. Let's inspect its architecture and a reactive counter example.

👍 0
Node.JS [ru]pain64/land-ts: Minimalist TypeScript UI library
October 16
First-person view of a terminal screen displaying the interactive dtop dashboard for monitoring Docker containers
ArticleDevelopmentAutomationDevOpsContainerization

dtop: An Interactive Terminal Dashboard for Real-Time Docker Container Monitoring

The standard docker stats command works for a quick glance, but in production you hit its limits fast: you can't sort processes by column, inspect a live log stream, or jump to a remote host.

Amir Raminfar, creator of the popular Dozzle log viewer, released dtop—an interactive Rust-based TUI dashboard that turns your terminal into a full container control center:

  • Interactive sorting by CPU, RAM, disk I/O, and network traffic;
  • Multi-host monitoring over secure SSH tunnels with zero remote agents;
  • Clickable OSC 8 terminal hyperlinks to Dozzle web logs and one-key shell access into any container.

Let's see how to launch it in one command via Docker and connect a fleet of servers.

👍 0
DevOps&SRE Libraryamir20/dtop: Terminal dashboard for Docker containers
October 16
Isometric architectural cutaway of independent Kubernetes clusters synchronized via the Polykube GitOps operator
ArticleDevelopmentAutomationKubernetesGitOps

Polykube: Portable Backend Workloads Across Independent Kubernetes Clusters via GitOps

When engineers try to link multiple Kubernetes clusters across clouds, they usually reach for centralized federation tools. That classic approach has a fatal flaw: if the control cluster goes down or fiber between data centers breaks, all replication freezes and the system risks split-brain.

The Polykube architecture from Kismet Engineering tackles the problem from the opposite side. Instead of a central management node, every cluster stays completely isolated and runs its own local GitOps operator. Declarative WorkloadPlacement CRDs seamlessly distribute pods across AWS EKS, Google Cloud GKE, and bare-metal servers, while pairing with Cilium ClusterMesh enables transparent traffic failover during outages. Let's examine the placement manifests and portability patterns.

👍 0
DevOps&SRE LibraryKismet-Engineering/polykube GitHub repository
October 16