TLDR Web Dev

TLDR WEB DEV 2025-01-20

6 sections18 entrieslinks blockcomplete parse

Parse notes

  • Subscription/account footer truncated before parsefooter_truncated

01GENERAL

Sponsored

👋 GOODBYE LOW TEST COVERAGE AND SLOW QA CYCLES

Bugs sneak out when less than 80% of user flows are tested before shipping. However, getting that kind of coverage — and staying there — is hard and pricey for any team.

qawolf.comSponsor

02ARTICLES & TUTORIALS

BUILDING A MINIMALIST DATABASE IN 3000 LINES OF CODE

This article goes over how to build a simple database in about 3,000 lines of Go. By building it incrementally, it teaches core database principles like power-loss atomicity through append-only logs, efficient indexing with copy-on-write B+trees, and storage management with free lists. The DB starts as a simple KV store and evolves step-by-step to a relational database with transactions, concurrency control, and a SQL-like query language.

build-your-own.org7 min read

WHY IS GIT AUTOCORRECT TOO FAST FOR FORMULA ONE DRIVERS?

Git's autocorrect feature, when enabled, waits only 0.1 seconds before executing a potentially mistyped command, a timeframe too short for even a Formula One driver to react. This behavior stems from a 2008 patch that, jokingly, used deciseconds as the time unit. A recent patch aims to improve this functionality by defaulting to "immediate" execution instead of a 0.1-second delay.

blog.gitbutler.com5 min read

AN ILLUSTRATED GUIDE TO AMAZON VPCS

The need for Virtual Private Clouds (VPCs) arose from two main problems: IP address conflicts between customers' on-premise and AWS servers, and security vulnerabilities from a shared network. VPCs solve these issues by providing each customer with an isolated private network within AWS, preventing IP address collisions and improving security. This isolation is achieved through a "mapping service" that routes traffic within each VPC, effectively creating separate networks despite instances potentially sharing IP addresses.

ducktyped.org10 min read

03OPINIONS & ADVICE

PLEASE DON'T FORCE DARK MODE

Websites shouldn't force dark mode, as this can cause eye strain and after-effects for certain people. This is usually because of high contrast ratios between text and background in dark mode, even though current WCAG guidelines don't address maximum contrast. Dark mode is great in specific situations with comfortable contrast ratios, such as OLED screens in dark rooms or well-designed code editors.

iamvishnu.com5 min read

HOW DO INTERRUPTIONS IMPACT DIFFERENT SOFTWARE ENGINEERING ACTIVITIES?

A study examined how interruptions affect software engineers' productivity and stress across various coding tasks (writing, comprehension, and review). The research revealed that interruption impact varies depending on task complexity and the interrupter's authority, with in-person interruptions surprisingly showing lower physiological stress despite higher perceived stress. Perceived stress, rather than physiological data, better predicted engineers' actual behavior and productivity.

rdel.substack.com4 min read

THE PC IS DEAD: IT'S TIME TO MAKE COMPUTING PERSONAL AGAIN

The "personal computer" era has ended due to more tracking and digital rights management (DRM). The current popular business models in tech prioritize growth over useful products. Stronger privacy legislation, Right to Repair laws, and DRM reform are needed to restore a more personal computing experience.

vintagecomputing.com14 min read

04LAUNCHES & TOOLS

CHROME 133 BETA

Chrome 133 beta introduces several new CSS and UI features, including the advanced attr() function, the :open pseudo-class for open elements, and scroll state container queries for more dynamic styling. Web API updates include Animation.overallProgress for tracking animation progress, a DOM method for preserving element state during moves, and energy-saving freezing of inactive tabs.

developer.chrome.com9 min read

TIPEX

Tipex is a customizable, high-performance rich text editor built for Svelte using Tiptap and ProseMirror. It offers features like a floating menu, plugin architecture, and Svelte 5 integration.

github.comGitHub repository

YEK

Yek is a fast, Rust-based command-line tool that chunks and serializes text-based files from a repository or directory for LLM consumption. It automatically prioritizes important files based on Git history and offers configurable options for size, output, and ignore patterns.

github.comGitHub repository

05MISCELLANEOUS

WASM GC ISN'T READY FOR REALTIME GRAPHICS

Wasm GC (GC = Garbage Collection) has performance drawbacks for real-time graphics programming. The core issue is the opacity of Wasm GC heap objects to the JavaScript host, requiring byte-by-byte data copying between Wasm and JavaScript for operations like WebGL rendering. This copying impacts performance, especially when handling large datasets, unlike the direct access offered by Wasm linear memory.

dthompson.us10 min read

ACCESSIBILITY ESSENTIALS EVERY FRONT-END DEVELOPER SHOULD KNOW

This post covers styling considerations like focus indicators and how to use ARIA attributes. Following accessibility best practices improves the user experience for everyone, not just those with disabilities. Some key principles include using semantic HTML, correctly structuring forms with labels (avoiding placeholders), writing descriptive alt text for images, and having smooth keyboard navigation with focus management in modals.

martijnhols.nl13 min read