TLDR Web Dev

TLDR WEB DEV 2024-12-03

5 sections16 entrieslinks blockcomplete parse

Parse notes

  • Subscription/account footer truncated before parsefooter_truncated

01ARTICLES & TUTORIALS

NEXT-LEVEL FROSTED GLASS WITH BACKDROP-FILTER

This article shows how to create a highly optimized "frosted glass" effect using CSS `backdrop-filter` and `mask-image`. The standard `backdrop-filter: blur()` only blurs elements directly behind the target, so the author introduces a technique using a larger masked element to include nearby content in the blur. This solution addresses issues like unclickable elements (using `pointer-events: none`) and flickering at the viewport edges (using a background gradient).

joshwcomeau.com23 min read

REACT DATA FETCHING PATTERNS

This article explores common data fetching patterns in React applications, focusing on how data is fetched within components. It focuses on sequential fetching (where data fetches depend on each other) and parallel fetching (where multiple fetches happen concurrently using `Promise.all`). It also goes over prefetching data to improve perceived performance.

robinwieruch.de6 min read

02OPINIONS & ADVICE

I DON'T KNOW HOW TO BUILD SOFTWARE AND YOU DON'T EITHER

The long-term consequences of architectural decisions don't become apparent for several years. This makes it nearly impossible to accumulate enough experience to definitively answer questions like microservices vs monoliths. Personal opinions are often shaped by early career experiences.

seangoedecke.com6 min read

WHAT IS AI ENGINEERING?

AI engineers are different from ML engineers in that they focus more on MLOps and data integration. Generally, AI engineers build AI systems that solve real business problems using pre-trained models and advanced techniques like Agentic RAG.

newsletter.swirlai.com12 min read

03LAUNCHES & TOOLS

Sponsored

FAILED AND FLAKY TESTS SLOWING DOWN YOUR MERGES?

Flaky tests are incredibly frustrating — as is digging through CI logs to find which line of code caused a test failure. Use Codecov Test Analytics [8] to separate flaky tests from legitimate failures, highlight code that led to failed tests, and improve your test suite over time with detailed stats. Faster merges, less rage-quitting your

about.codecov.ioSponsor

WHAT'S NEW IN SVELTE: DECEMBER 2024

Svelte's December 2024 update includes Svelte 5 bug fixes, CLI improvements, automatic type declarations, and more support from several UI libraries like Shadcn, Zag, and Skeleton.

svelte.dev5 min read

KLONGPY

KlongPy is a high-performance Python implementation of the Klong array language that leverages NumPy for vectorized operations. It supports CPU and GPU backends. KlongPy seamlessly integrates with the Python ecosystem for data analysis and distributed computing applications.

github.comGitHub repository

SEEKSTORM

SeekStorm is an open-source, high-performance, sub-millisecond full-text search library and multi-tenancy server written in Rust with a focus on low latency and scalability. It offers features like faceted search, geo-proximity search, and real-time indexing.

github.comGitHub repository

04MISCELLANEOUS

THE BEAUTIFUL MATH OF BLOOM FILTERS

Bloom filters are probabilistic data structures that efficiently check if an element exists within a large dataset. They achieve this by using an array of bits and multiple hash functions to map elements to bit positions - a set bit suggests presence, while an unset bit definitively indicates absence. Bloom filters can produce false positives (incorrectly indicating presence), but filters' size and number of hash functions can be optimized through mathematical analysis, minimizing this probability.

nyadgar.com14 min read

C++, COMPLEXITY, AND COMPILER BUGS

C++ has some inherent complexities which are often due to subtle language features like temporary lifetime extension and designated initializers, which vary across different compiler versions. These inconsistencies and unexpected behaviors, sometimes only discovered after extensive debugging and consultation with language experts, show the large amount of time and effort required to work with the language effectively.

azeemba.com8 min read