TLDR Web Dev

TLDR WEB DEV 2024-06-05

6 sections20 entrieslinks blockcomplete parse

Parse notes

  • Subscription/account footer truncated before parsefooter_truncated

01GENERAL

Sponsored

COLLABORATING ON APIS IS EASIER WITH POSTMAN

Whether you're a team of four or 40,000, dev teams need to collaborate on APIs. API Collaboration [5] improves developer productivity by empowering API  producers and consumers to share, discover, and reuse high-quality API assets.

postman.comSponsor

02ARTICLES & TUTORIALS

FLAKY TESTS OVERHAUL AT UBER

Uber developed Testopedia, a centralized system for managing flaky tests in its CI pipelines, to address the issue of flaky tests in its legacy system. Testopedia focuses on tracking test entities identified by Fully Qualified Names (FQNs). It uses a finite state machine model to capture their states. Testopedia supports scalable data ingestion, flexible partitioning for efficient cone queries, and customizable analyzers and ticketing systems.

uber.com17 min read

THE GAP

Using CSS margins to manage spacing in web layouts can be complex with dynamic or changing content. The CSS gap property simplifies spacing between items in flexbox and grid layouts and works well with both left-to-right and right-to-left designs. Combining CSS gap with margins and logical properties can make layouts more responsive and easier to maintain.

ishadeed.com12 min read

AWS LAMBDA UNDER THE HOOD

AWS Lambda supports trillions of invocations per month for millions of customers. It has components like Firecracker, a lightweight virtual machine manager, which is used to secure and fast-boot microVMs for running functions.

open.substack.com24 min read

03OPINIONS & ADVICE

YOU'LL REGRET USING NATURAL KEYS

“Natural keys” (pre-existing unique identifiers like chassis numbers or social security numbers) shouldn't be used in database design. This is because uniqueness is not guaranteed and there are often clerical errors, like errors in data entry or data conversion. Synthetic keys like UUIDs are always a more reliable choice.

blog.ploeh.dk6 min read

NOT JUST SCALE

Modern computers aren't powerful enough to negate the need for distributed systems. While many workloads can fit on a single powerful machine, distributed systems still offer advantages like improved availability, durability, and isolation. Single-machine systems may seem simpler, but coordination issues start to arise in larger organizations.

brooker.co.za7 min read

04LAUNCHES & TOOLS

YAMADA UI

Yamada UI is a React UI component library with a range of components that can be easily combined to construct complex user interfaces. It has features like color modes, animations, and theme switching.

github.comGitHub repository

LUDIC

Ludic is a lightweight framework for building HTML pages with a component approach similar to React. It is built to be used together with HTMX so that developers can write minimal JavaScript to create dynamic web services.

getludic.devTool

TLBROWSE

tlbrowse is an infinite canvas for an imagined web. You can create web pages by entering URLs and clicking on links creates new pages.

github.comGitHub repository

05MISCELLANEOUS

USING VECTORIZE TO BUILD AN UNREASONABLY GOOD SEARCH ENGINE IN 160 LINES OF CODE

Creating a semantic search engine involves using an embedding model to convert text into vectors, storing these vectors in a vector database, and then querying the database using the embedding of the user's search query to find semantically similar documents. This article is a step-by-step guide on setting this up.

blog.partykit.io15 min read

HAS IT BEEN 50 YEARS OF SQL ALREADY?

SQL has become the dominant language for interacting with relational databases in the last 50 years. It faced competition from other query languages like QUEL, but its adoption by IBM's Db2 and subsequent endorsement by standards bodies cemented its position as the industry standard. SQL has evolved a lot since then to stay relevant.

theregister.com13 min read

WORKING AS UNEXPECTED

A security vulnerability in GitHub's branch protection feature allows for protected credential exfiltration. This occurs when a wildcard branch protection rule is used, as it immediately protects any newly created branches, making them eligible to access secrets restricted to protected branches. This can be exploited to exfiltrate sensitive information, such as signing keys, by creating a new branch and setting up a workflow to access the secret.

chainguard.dev5 min read