TLDR Web Dev

TLDR WEB DEV 2025-04-25

6 sections15 entrieslinks blockcomplete parse

Parse notes

  • Subscription/account footer truncated before parsefooter_truncated

01GENERAL

02ARTICLES & TUTORIALS

IMPOSSIBLE COMPONENTS

This post discusses a class of React components that attempt to mix server-only and client-only logic, such as reading a file from the filesystem (server-side) while handling user input (client-side). Such components are “impossible” in traditional React rendering models. This tension illustrates the need for clear boundaries between server and client responsibilities.

overreacted.io30 min read

HOW DOORDASH'S IN-HOUSE SEARCH ENGINE ACHIEVED A 50% DROP IN LATENCY

DoorDash replaced Elasticsearch with a custom-built search engine using Apache Lucene to better handle complex relationships, custom ranking, and large-scale indexing needs. Its architecture separates indexing and search, supports fast segment replication, and includes a declarative schema system with query planning.

blog.bytebytego.com13 min read

03OPINIONS & ADVICE

ACQUISITIONS, CONSOLIDATION, AND INNOVATION IN AI

There's a difference between AI model and AI application innovation, and value will accrue differently in each area. Startups can innovate by focusing on specific use cases and integrating deeply with customer workflows, which happens in the AI application side of things.

frontierai.substack.com7 min read

ON LOYALTY TO YOUR EMPLOYER.

There are four key criteria for vetting potential employers: fair pay, good treatment of employees, financial stability, and openness to new ideas. While a job may seem great initially with appealing perks, employees are ultimately a transaction and should not sacrifice their well-being or values for their employer.

medium.com5 min read

04LAUNCHES & TOOLS

NODE-MLX

node-mlx is a Node.js machine learning framework based on MLX. It has support for GPU acceleration on Macs with Apple Silicon and CPU support on x64 Macs and x64/arm64 Linux. node-mlx provides JavaScript APIs that mirror the official Python MLX APIs with some adjustments for JavaScript limitations. The repository includes examples for large language models, vector databases, and image search.

github.comGitHub repository

INTRODUCING OUR LATEST IMAGE GENERATION MODEL IN THE API

OpenAI has released gpt-image-1, a new image generation model based on the model that powers image generation in ChatGPT, in its API. This API allows devs to integrate high-quality image generation into their own tools and platforms with features like diverse styles, custom guidelines, and accurate text rendering.

links.tldrnewsletter.com8 min read

05MISCELLANEOUS

GENERATING 1 MILLION PDFS IN 10 MINUTES

This blog post goes over a high-performance and cost-efficient PDF rendering pipeline using Rust, AWS Lambda, and Typst. The solution uses AWS services like API Gateway, SQS, Lambda, and S3 along with performance optimizations like caching and batching. The resulting system had a rendering latency of 34ms and a cost of $0.35 per million PDFs. It was able to generate 1 million PDFs in 10 minutes.

ersteiger.com17 min read

MARK ZUCKERBERG SAYS SOCIAL MEDIA IS OVER

Social media has evolved into a platform for content consumption, with Meta's Facebook and Instagram leading the shift. The FTC is challenging Meta's acquisitions of competitors like Instagram and WhatsApp, arguing they reduce competition, while Meta claims the market is too diverse for monopolies to exist.

newyorker.com8 min read