TLDR Web Dev

TLDR WEB DEV 2025-04-09

6 sections17 entrieslinks blockcomplete parse

Parse notes

  • Subscription/account footer truncated before parsefooter_truncated

01GENERAL

02ARTICLES & TUTORIALS

COULD JAVASCRIPT HAVE SYNCHRONOUS `AWAIT`?

Synchronous `await` is technically possible in JavaScript and it could remove the need for duplicated synchronous and asynchronous versions of features. However, there are two drawbacks: performance degradation due to the need for every function call to be resumable and concurrency issues requiring mutexes to prevent interruptions in event handlers. While synchronous `await` has nicer usability, the downsides make it impractical.

2ality.com6 min read

POSTGRESQL BM25 FULL-TEXT SEARCH: SPEED UP PERFORMANCE WITH THESE TIPS

A benchmark portrayed PostgreSQL's full-text search (FTS) as slow. However, an optimization of pre-calculating and storing the `tsvector` makes it much faster. For reference, the `tsvector` is a data type used for storing preprocessed documents in a format optimized for efficient full-text search. While standard FTS is good enough for matching, better ranking might require extensions like VectorChord-BM25.

blog.vectorchord.ai8 min read

HOW NETFLIX ACCURATELY ATTRIBUTES EBPF FLOW LOGS

eBPF (Extended Berkeley Packet Filter) is a Linux kernel technology that allows users to run sandboxed programs within the kernel space. Netflix uses eBPF to capture TCP flow logs at scale but had challenges attributing IP addresses to the correct workload identities due to IP address reassignment in the cloud. It developed a new attribution method that first accurately attributes local IP addresses by using workload identity certificates and IP address assignment services. Then, its FlowCollector attributes remote IP addresses by tracking IP ownership time ranges learned from flows, which results in accurate, fleet-wide network insights.

netflixtechblog.com12 min read

03OPINIONS & ADVICE

WHY I VALUE FIREBREAK SPRINTS FOR MANAGING TECHNICAL DEBT

Firebreak sprints are dedicated periods where engineers work on self-selected tasks to address technical debt and improve the codebase. These sprints happen between regular development cycles and they should address developer productivity or system reliability, be achievable within the timeframe, and have measurable results that are then documented and communicated.

trevorlasn.com4 min read

LESS HTMX IS MORE

When using htmx, it's better to prioritize standard HTML features and full-page navigations over the hx-boost attribute, which is supposed to bring over Single-Page Application (SPA) behavior. Using hx-boost can lead to unpredictable issues. Instead, regular links, when combined with things like cache headers and same-origin links, are a better user and developer experience.

unplannedobsolescence.com12 min read

04LAUNCHES & TOOLS

GITMCP

GitMCP is an open-source service that turns GitHub projects into Model Context Protocol (MCP) endpoints, letting AI assistants access and understand project documentation. It requires no setup, gives AI assistants semantic search capabilities, and is free.

github.comGitHub repository

APACHE ECHARTS

Apache ECharts is an open-source JavaScript visualization library for both PC and mobile devices. It has many chart types and supports many data formats. The library provides special effects, including 3D visualizations with GL, and dynamic data updates.

echarts.apache.orgTool

05MISCELLANEOUS

AI AND STACKOVERFLOW, THE CHANGING LANDSCAPE OF DEVELOPER SUPPORT

AI is changing how devs find solutions, with tools like Copilot and Claude becoming popular but still having limitations like hallucinations and outdated information. StackOverflow is declining in popularity as a result. To fill the emerging knowledge gap, devs may need to rely more on blog posts and comprehensive guides for info.

engineering.leanix.net9 min read

AI CODING MANDATES ARE DRIVING DEVELOPERS TO THE BRINK

AI coding mandates are annoying devs who are forced to use the tools, especially when they introduce errors and increase debugging time. Executives are driven by FOMO and the promise of increased productivity and reduced costs, but are out of touch with the realities of AI coding. The choice to use AI tools should be up to devs themselves.

leaddev.com8 min read