TLDR Web Dev

TLDR WEB DEV 2025-05-23

5 sections16 entrieslinks blockcomplete parse

Parse notes

  • Subscription/account footer truncated before parsefooter_truncated

01ARTICLES & TUTORIALS

LOADING PYDANTIC MODELS FROM JSON WITHOUT RUNNING OUT OF MEMORY

Memory usage can become a significant bottleneck when working with large JSON files and Pydantic. The default Pydantic JSON loading method can result in a 20x memory multiplier, making it impractical for large files. To reduce memory consumption, it's better to instead use ijson, an incremental JSON parser, to stream the JSON data instead of loading it all at once.

pythonspeed.com5 min read

IN 2025, APPLE STILL MAKES IT HARD TO PLAY YOUR OWN MP3S, SO I WROTE MY OWN APP

Frustrated with Apple's limitations on playing personal MP3s and the subscription-based models of third-party apps, this developer built his own iOS music player with features like full-text search and iCloud support using Swift and SwiftUI. It has a local-first experience and uses SQLite for fast fuzzy searching.

nexo.sh15 min read

02OPINIONS & ADVICE

EVERYTHING'S A BUG (OR AN ISSUE)

Treating every task as a bug is an effective approach to get things done. This method is built upon four key principles: all tasks are bugs, a universal schema, a single assignee, and flexible queries. Modern tools like GitHub Issues fall short of these principles, leading to project management frustrations.

bozemanpass.com11 min read

WHY PROPERTY TESTING FINDS BUGS UNIT TESTING DOES NOT

Property-Based Testing (PBT) is great at uncovering bugs that unit tests miss due to the combinatorial explosion of edge cases in complex systems. While unit tests focus on specific inputs, PBT uses randomized inputs to test general properties, revealing unexpected interactions between multiple variables. The advantage of PBT increases with the complexity of the input space, such as multiple integer inputs or nested data structures, where manual identification of edge cases becomes too hard.

buttondown.com6 min read

WHEN A TEAM IS TOO BIG

A team that is too big has inefficient stand-up meetings and a lack of shared understanding due to specialized roles and tasks. Such teams work better after transitioning to a generalist model, where members broadened their skillsets and shared ownership across the entire development process.

blog.alexewerlof.com14 min read

03LAUNCHES & TOOLS

CLAUDE 4

Anthropic has released Claude 4, featuring two new models: Claude Opus 4, the world's best coding model, and Claude Sonnet 4, an upgrade with superior coding and reasoning abilities. These models have extended thinking with tool use, parallel tool execution, and improved memory capabilities when accessing local files.

anthropic.com5 min read

SQLITE-JS

SQLite-JS is an extension that lets you add JavaScript power to SQLite. You can create your own special functions (scalar, aggregate, and window types), define sorting rules (collation sequences), and even run JavaScript code directly inside your SQLite queries.

github.comGitHub repository

ANNOUNCING TYPESCRIPT NATIVE PREVIEWS

TypeScript Native Previews is a port of the TypeScript compiler and toolset to native code. This native preview, eventually becoming TypeScript 7, includes initial support for JSX and JavaScript type checking, and editor features like completions, but still lacks some functionalities present in the current stable version, TypeScript 5.8.

devblogs.microsoft.com11 min read

04MISCELLANEOUS

MCP EXPLAINED WITHOUT HYPE OR FLUFF

Model Context Protocol (MCP) makes AI application integration easier by providing a standardized way for AI clients to access platform-specific data and tools through MCP Servers. These servers expose tools, prompts, resources, and sampling functionalities that AI clients can utilize without needing specific platform knowledge.

blog.nilenso.com7 min read

THE “AI 2027” SCENARIO: HOW REALISTIC IS IT?

AI 2027 is a scenario that predicts the rapid arrival of superhuman AI and its dystopian consequences. However, the report relies heavily on speculation and unrealistic projections, and it doesn't have a solid scientific basis or consideration of alternative scenarios.

garymarcus.substack.com23 min read