Newslurp

<< Stories

Self-healing systems 🩹, Expo SDK 52 released 🎁, Airbnb’s Bazel migration 🛠️

TLDR Web Dev <dan@tldrnewsletter.com>

November 14, 12:08 pm

TLDR WebDev
A bug in a Netflix internal library was causing CPUs to die at a rate of one every two minutes. Netflix engineers implemented a self-healing system ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌  ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ 

TLDR

Together With DocuSign

 TLDR Web Dev 2024-11-14

Beyond eSignatures: Building Next-Gen Applications for the Entire Agreement Lifecycle (Sponsor)

For many organizations, agreement data is trapped in static files, making it difficult to access, update, or connect with systems. A challenge called the Agreement Trap — resulting in an estimated $2 trillion lost in global economic value each year. 

To address this, Docusign's new Intelligent Agreement Management platform offers a modular approach that enables developers to build scalable, tailored solutions across the entire agreement lifecycle. This includes:

  • APIs for end-to-end agreement management.
  • Extension apps for bringing your own products into Docusign to accelerate growth.
  • Maestro, a no-code automation tool for creating and managing complex agreement workflows.
  • Navigator, an AI-powered digital repository to store and extract data, delivering actionable insights.

Explore the full suite of tools and learn how to build smarter, scalable agreement solutions.

🧑‍💻

Articles & Tutorials

How We Built a Self-Healing System to Survive a Terrifying Concurrency Bug At Netflix (10 minute read)

A concurrency bug in a Netflix internal library was causing CPUs to die at a rate of one every two minutes. Due to the bug being unfixable until Monday, Netflix engineers implemented a self-healing system by pinning their cluster size to the maximum and randomly terminating a few instances every 15 minutes. This let the system stay running until Monday when it could be fixed.
Adopting Bazel for Web at Scale (10 minute read)

Airbnb migrated its large-scale web monorepo to Bazel, Google's open-source build tool, to overcome scaling limitations and inefficiencies in its existing build system. The migration process involved preparing the codebase for Bazel, which involved cycle breaking and automating BUILD.bazel file generation, and then migrating CI jobs to Bazel.
React is a programming language, and its rules are syntax (5 minute read)

Refs, which are used to reference DOM nodes, don't work in React Server Components. This limitation stems from the fact that the server doesn't have access to the DOM, which is a browser-specific concept. Allowing refs in Server Components would introduce potential issues with lexical scope and UI consistency.
🧠

Opinions & Advice

The magic of keeping one level of abstraction per function (5 minute read)

It's important to maintain a single level of abstraction per function in code. Mixing different levels of detail within a single function can lead to confusion and make code harder to understand. Break down code into smaller, focused functions so that each function addresses a specific task at a consistent level of abstraction.
What are some past "fad" fields of computer science that didn't age well? (Reddit Thread)

Past fads in computer science include Java applets, SOAP, and XML. NoSQL and code generation tools have stuck around, but were initially overly hyped.
🚀

Launches & Tools

If you're testing <80% of user flows before shipping, you've got a bugs-sneaking-out problem (Sponsor)

Getting to 80% test coverage with traditional QA is a slog… so don't do it. In just 4 months, QA Wolf's AI-native service automates hundreds / thousands of tests, ready to run in the QA Wolf cloud on every deploy. The Playwright / Appium code stays yours. Learn about their 90 day pilot
Expo SDK 52 (26 minute read)

Expo SDK 52 has been released. The New Architecture has been enabled by default for all newly created projects. The release includes React Native 0.76, a stable release of the new expo-video library, beta releases of expo-audio and expo-file-system/next, and large updates to other packages.
HyperDX (GitHub Repo)

HyperDX is an open-source observability platform that allows engineers to quickly diagnose production issues by providing a unified search and visualization interface for logs and traces from any Clickhouse cluster.
Introducing Spin 3.0 (12 minute read)

Spin is an open-source developer tool for building and running serverless WebAssembly applications. Its latest release includes new features like component dependencies and selective deployments.
🎁

Miscellaneous

Thinking About Recipe Formats More Than Anyone Should (6 minute read)

This developer considered Cooklang, a recipe markup language, and the Recipe Schema Type, a JSON-LD format used by large recipe sites, for his own recipe site. Cooklang is more simple and flexible, but Schema Type has benefits for SEO and recipe extraction. The developer decided to use a combination of both, rendering Cooklang recipes on his website, providing the raw Cooklang content for download, including the Schema Type for extractors, and using the h-recipe microformat for better semantic markup.
What is the best React Native list component? (7 minute read)

ScrollView in React Native for large datasets has limitations compared to FlatList and SectionList as built-in solutions. FlashList is a new type of list built by Shopify that has 5x-10x faster performance compared to FlatList. It uses an optimized RecyclerListView that provides near-native list performance.

Quick Links

What does f(x) mean in C++? (9 minute read)

The expression `f(x)` can have multiple meanings in C++ depending on the context, including function calls, operator invocations, object creation, type declarations, and casts.
Carving your Space (7 minute read)

Front-end job descriptions often fail to recognize the vital role of bridging the gap between design and engineering.
My company has banned the use of JetBrains IDEs internally (Reddit Thread)

A company banned JetBrains IDEs, citing licensing costs and security concerns, leading to developer frustration and a potential productivity decrease.
Farewell and thank you for the continued partnership, Francois Chollet! (3 minute read)

Keras creator Francois Chollet is leaving Google but will continue contributing to the Keras project and its open-source community.

Love TLDR? Tell your friends and get rewards!

Share your referral link below with friends to get free TLDR swag!
Track your referrals here.

Want to advertise in TLDR? 📰

If your company is interested in reaching an audience of web developers and engineering decision makers, you may want to advertise with us.

If you have any comments or feedback, just respond to this email!

Thanks for reading,
Priyam Mohanty, Jenny Xu & Ceora Ford


If you don't want to receive future editions of TLDR Web Dev, please unsubscribe from TLDR Web Dev or manage all of your TLDR newsletter subscriptions.