TLDR Web Dev

TLDR WEB DEV 2025-03-04

5 sections17 entrieslinks blockcomplete parse

Parse notes

  • Subscription/account footer truncated before parsefooter_truncated

01ARTICLES & TUTORIALS

SQLITE-ON-THE-SERVER IS MISUNDERSTOOD: BETTER AT HYPER-SCALE THAN MICRO-SCALE

SQLite on the server is often misunderstood and is more effective for hyper-scale applications than micro-scale setups. Traditional sharded databases are complex, inflexible, and can suffer from data inconsistencies. SQLite-per-partition solutions like Cloudflare Durable Objects and Turso offer dynamic scaling, global distribution, and ACID transactions, which allow for a more efficient and manageable hyper-scale architecture.

rivet.gg7 min read

THE POWER OF INTERNING: MAKING A TIME SERIES DATABASE 2,000X SMALLER IN RUST

The interning design pattern involves replacing repeated data with integer IDs to drastically reduce memory usage. Through various optimizations including interning strings and arbitrary types, schema tuning like sorting sets and using enums, and custom serialization with Serde, this developer achieved a 2,000x reduction in data size of a time series database. The final result was a lightweight, append-only in-memory database.

gendignoux.com43 min read

BUILDING AN INERTIA APP WITH RAILS

Inertia.js with Ruby on Rails can be used to build single-page applications without a separate API. Inertia.js acts as a client-side routing library, connecting Rails with front-end frameworks like React, Vue, or Svelte, allowing devs to replace traditional Rails views with JavaScript components. This article goes over how to build a sample web app with Inertia and Ruby on Rails, covering pages, layouts, data sharing, forms, and authentication within the Inertia framework.

avohq.io27 min read

02OPINIONS & ADVICE

KNOWING CSS IS MASTERY TO FRONTEND DEVELOPMENT

A deep understanding of core languages like CSS and JavaScript is necessary for frontend dev mastery. Native CSS knowledge often provides simpler and more efficient solutions than complex JavaScript.

helloanselm.com4 min read

EVALS ARE NOT ALL YOU NEED

Evals are AI system evaluations, used for benchmarking language models, performance testing, red teaming, and optimizing prompts, but they don't guarantee software performance. There are some issues with evals, such as the difficulty of creating thorough and realistic test data, the limitations of automated scoring methods, and the focus on evaluating base models rather than complete systems. Also, evals often aggregate results, which fails to account for the unpredictable "long tail" of possible problem inputs.

marble.onl7 min read

THE MESS I'M IN

This developer is disillusioned with academia due to its suffocating environment that stifles creativity and meaningful work. They plan to transition to part-time work, making money through consulting, contracting, and crowdfunding.

humprog.org12 min read

03LAUNCHES & TOOLS

TORII

Torii is a Rust authentication framework that gives devs control over user data. It has features like passwordless login, social OAuth, and passkeys via a plugin system, allowing data storage flexibility.

github.comGitHub repository

JUSTD

Justd is a set of React components built on top of Adobe's React Aria Components that includes TailwindCSS for styling out of the box.

github.comGitHub repository

AGENTS.JSON

Agents.json is a spec built upon OpenAPI that standardizes contracts for API and agent interactions. It introduces flows and links to describe API call sequences and action stitching, letting LLMs use APIs properly.

github.comGitHub repository

04MISCELLANEOUS

A NEW AI WORRY: MANY YOUNG CODERS NO LONGER KNOW HOW THEIR CODE REALLY WORKS

An over-reliance on AI tools for coding is hurting the critical thinking and foundational knowledge of young devs. While AI allows junior coders to produce code quickly, they often lack a fundamental understanding of why it works. This leads to problems when complex issues arise in the future, requiring devs to troubleshoot and understand the underlying code when AI isn't able to.

links.tldrnewsletter.com4 min read