TLDR Web Dev

TLDR WEB DEV 2025-02-24

6 sections19 entrieslinks blockcomplete parse

Parse notes

  • Subscription/account footer truncated before parsefooter_truncated

01GENERAL

Sponsored

🚀 FASTER MOBILE RELEASES WITH AUTOMATED QA

Manual testing on personal devices is TOO SLOW AND TOO LIMITED. It forces teams to CUT RELEASES A WEEK EARLY just to test before submitting them to app stores. And without broad device coverage, issues slip through.

qawolf.comSponsor

02ARTICLES & TUTORIALS

YES, YOU SHOULD USE SQLITE: NOTION'S CREATIVE SQLITE USAGE FOR 20% FASTER LOADS

Notion implemented WebAssembly SQLite in its web app. This resulted in a 20% reduction in page navigation latency. To achieve this, its team used Web Workers to offload database operations to background threads and a SharedWorker with the Web Locks API to fix data integrity issues. They also addressed issues of slow disk reads by implementing a "race" between disk cache and network requests.

stacksweep.substack.com6 min read

RELIABLY REPLICATING DATA BETWEEN POSTGRESQL AND CLICKHOUSE PART 1 - PEERDB OPEN SOURCE

Clickhouse is increasingly used for analytics by PostgreSQL users, and this often requires data replication between the two. PeerDB is an open-source CDC (Change Data Capture) solution that can be used to make data replication easy. This article goes over how to deploy PeerDB, create test data, and set up initial replication and schema evolution.

benjaminwootton.com16 min read

SVELTE 5 IS NOT JAVASCRIPT

Svelte 5 introduces deep reactivity using proxies and implicit component lifecycle state, which has better performance at the expense of more complexity. However, these changes create unexpected issues, such as proxies breaking IndexedDB storage and component state disappearing in closures.

links.tldrnewsletter.com8 min read

03OPINIONS & ADVICE

ASK FOR NO, DON'T ASK FOR YES

Instead of seeking permission ("yes") from your boss for initiatives within your role's scope, tell them about your plan and offer them a chance to object ("no"). This means stating your intention to complete a project by a specific deadline and keeping your boss informed along the way. Usually, your boss will say yes or give some comments for improvement.

mooreds.com4 min read

UNDERSTANDING THE TRADE-OFFS OF USING TAILWIND CSS

While Tailwind allows devs to ship faster with predefined styles and no custom CSS, it also is harder to maintain and scale in larger projects. Thoughtfully named styles and a well-designed CSS architecture might be better in the long run for complex projects.

measured.co9 min read

WHY RUBY ON RAILS STILL MATTERS

Despite the rise of newer tech like Next.js, Ruby on Rails is still valuable due to its simplicity, stability, and focus on web fundamentals. It abstracts away technical complexities, allowing devs to concentrate on key details of the product. Rails is great for projects where speed and lower maintenance are the priority.

contraption.co5 min read

04LAUNCHES & TOOLS

MDQ

mdq is a command-line tool that allows users to query and extract specific parts of a Markdown document. It has a simple filter syntax mirroring Markdown structure for selecting elements like sections, lists, links, and tables.

github.comGitHub repository

DIRECTUS

Directus is a real-time API and app dashboard for managing SQL database content. It has support for most popular SQL databases and layers a fast Node.js API layer on top of any SQL database.

github.comGitHub repository

ARTIFACTS MMO

Artifacts is a sandbox MMORPG for devs where players use programming languages to control their characters via an API. The game has a player-driven economy and activities like monster fighting, resource gathering, crafting, and quests. Players can automate their characters' actions using HTTP endpoints and control up to five characters at the same time.

artifactsmmo.comTool

05MISCELLANEOUS

ANSWERING READER FEEDBACK: WAR ROOMS VS. DEEP INVESTIGATIONS

During a major Facebook outage in 2014, known internally as "Call the Cops", this developer found that "war rooms" were pointless for deep investigations. He struggled to diagnose the root cause of the outage while confined to a poorly ventilated room with limited resources. He needed to escape that environment and use his usual setup to effectively investigate. The root cause was eventually traced to a bug in the fbagent process that caused it to kill all processes on the machine when the fork failed due to running out of memory.

rachelbythebay.com9 min read

THE CSS TRANSFORM PROPERTY AND INDIVIDUAL TRANSFORMS ARE ADDITIVE

CSS now supports individual transform properties (translate, rotate, and scale), which are all additive. This means they combine with the transform property in a set order—translate first, then rotate, scale, and finally any transformations listed in transform.

polypane.app2 min read