TLDR Web Dev

TLDR WEB DEV 2025-09-01

5 sections14 entrieslinks blockcomplete parse

Parse notes

  • Subscription/account footer truncated before parsefooter_truncated

01ARTICLES & TUTORIALS

WHY "WHAT HAPPENED FIRST?" IS ONE OF THE HARDEST QUESTIONS IN LARGE-SCALE SYSTEMS

Determining the precise order of events in large-scale distributed systems is challenging due to imperfect clock synchronization across computers. Network latency and clock drift make it impossible to rely on wall-clock time for accurate ordering. Instead, computer scientists use logical clocks to track the "happened-before" relationship between events, which assign increasing counters to events and messages, making sure that if event A caused event B, A's logical timestamp will be lower than B's.

newsletter.scalablethread.com5 min read

TERMINAL SESSIONS YOU CAN BOOKMARK: BUILDING ZELLIJ'S WEB CLIENT

Zellij's new built-in web client allows users to access terminal sessions from a browser. The web client uses a client/server architecture, with a Rust-based web server acting as a translation layer between the browser's websockets and the Zellij server's IPC channels. The web server supports unique URLs for each session, authentication using tokens, and separate WebSocket channels for terminal data and control messages. The client-side uses xterm.js for terminal emulation and incorporates custom integrations for features like mouse tracking and window titles.

poor.dev13 min read

02OPINIONS & ADVICE

YOU SHOULD DELETE TESTS

While automated tests are necessary for maintaining confidence when making code changes, they should be deleted when they are flaky. Tests that are flaky, too strict, too slow to run regularly, or outdated due to changed business requirements all harm developer productivity.

andre.arko.net5 min read

COGNITIVE LOAD IS WHAT MATTERS

Cognitive load refers to the mental effort required to understand and work with code. Excessive cognitive load can lead to confusion, errors, and delays. Developers should work on reducing extraneous cognitive load while working on code by avoiding overly complex conditionals, minimizing inheritance, and using clear, self-describing variable names.

github.com18 min read

USE ONE BIG SERVER

The conventional wisdom of scaling horizontally with distributed systems and microservices is not always true. Sometimes, using a single, powerful server is enough for most web services.

specbranch.com15 min read

03LAUNCHES & TOOLS

AGENT CLIENT PROTOCOL

The Agent Client Protocol standardizes communication between code editors and AI coding agents. The project provides libraries and schemas in Rust and TypeScript, along with a JSON schema.

github.comGitHub repository

SOSUMI.AI

Sosumi.ai is a service that converts Apple Developer documentation into AI-readable Markdown format, allowing LLMs to access and utilize this information for tasks like generating Swift code.

links.tldrnewsletter.comTool

04MISCELLANEOUS