TLDR Web Dev

TLDR WEB DEV 2025-01-31

6 sections16 entrieslinks blockcomplete parse

Parse notes

  • Subscription/account footer truncated before parsefooter_truncated

01GENERAL

Sponsored

DEVELOPMENT

There's a lot of BS about AI coding agents...

sourcegraph.comSponsor

02ARTICLES & TUTORIALS

SCALING OUR RATE LIMITS TO PREPARE FOR A BILLION ACTIVE CERTIFICATES

Let's Encrypt, a free certificate authority, faced challenges scaling its rate-limiting system to handle over 550 million websites and 340,000 certificate requests per hour. Its initial MariaDB-based system wasn't enough, as it caused slowdowns and frustrated users with long wait times. To address this, the company migrated to a Redis-based system that used the Generic Cell Rate Algorithm (GCRA), allowing it to handle a billion active certificates and even addressing the issue of "zombie clients" making repeated failed requests.

letsencrypt.org12 min read

OPEN-CLOSED PRINCIPLE IN REACT: BUILDING EXTENSIBLE COMPONENTS

In React, the Open-Closed Principle (OCP) means that components should be designed in a way that allows them to be extended with new functionality without modifying their existing code. As an example, the article shows the contrast between a closed, modification-heavy button component with an open, composition-based approach that uses base components and extending variants. There's an alignment between OCP and React's "composition over inheritance" philosophy, where OCP leads to more flexibility.

cekrem.github.io5 min read

03OPINIONS & ADVICE

PAUSE – DECISION-MAKING SUPERPOWER

One should pause before making a decision, since taking time allows for better perspective and the chance to avoid regrettable actions. This author shares personal anecdotes that illustrate how pausing prevents rushed estimations and impulsive responses to emails.

read.perspectiveship.com4 min read

RUST'S WORST FEATURE*

This developer criticizes Rust's nightly `core::io::BorrowedBuf` feature, arguing it's a complex and flawed solution to the problem of unnecessary buffer initialization in I/O operations. The feature aims to allow reading into uninitialized memory, but its integration with existing code is poor and requires explicit support from various APIs, which could lead to potential misuse.

mina86.com13 min read

04LAUNCHES & TOOLS

AHEY

Ahey is a free, unlimited pub-sub service that uses web push technology to send real-time notifications to any browser via HTTP POST requests.

ahey.ioTool

GREENMASK

Greenmask is an open-source tool for PostgreSQL database backup, anonymization, synthetic data generation, and restoration. It has features like deterministic transformers, dynamic parameters, and parallel execution, and it supports various storage options.

github.comGitHub repository

RUCK

Ruck is an open-source, buildless React framework for Deno that uses ESM, dynamic imports, and import maps to create React web apps without build steps. It has features like dynamic routing, server-side rendering with component-level data fetching, and declarative CSS management.

github.comGitHub repository

05MISCELLANEOUS

HOW WE ACCIDENTALLY BUILT A BETTER BUILD SYSTEM FOR OCAML

Jane Street initially created Jenga, an OCaml build system, but its limited reach and platform incompatibility led to its un-open-sourcing. It then developed Jbuilder, a simpler, cross-platform tool, which unexpectedly gained popularity due to its speed. Jbuilder evolved into Dune, a more robust build system, after a name change and significant community contributions.

blog.janestreet.com7 min read

DECOMPILING 2024: A YEAR OF RESURGENCE IN DECOMPILATION RESEARCH

2024 saw a resurgence in decompilation research, with nearly 30% of all top-tier publications in the field's history appearing that year. This surge included advancements in defining "good" decompilation, the incorporation of AI techniques for tasks like symbol prediction, and a significant increase in open-source implementations of academic work.

mahaloz.re8 min read

WHY AREN'T YOU IDEMPOTENT?

Idempotency is important in distributed systems, particularly for low-latency APIs. It makes sure that repeated requests produce the same outcome as a single request, preventing unintended side effects from retries in unreliable networks. This author details techniques for creating idempotent endpoints, including client-supplied identifiers and timestamps and calibrated counters, using Apache Cassandra as a case study.

lightfoot.dev6 min read