TLDR Web Dev

TLDR WEB DEV 2025-07-08

6 sections16 entrieslinks blockcomplete parse

Parse notes

  • Subscription/account footer truncated before parsefooter_truncated

01GENERAL

Sponsored

TESTING

If slow QA processes bottleneck you or your software engineering team and you're releasing slower because of it — you need to check out QA Wolf.

qawolf.comSponsor

02ARTICLES & TUTORIALS

HANDLING UNIQUE INDEXES ON LARGE DATA IN POSTGRESQL

A production deployment failed due to a PostgreSQL limitation on unique index size for large text fields. This limitation is because PostgreSQL stores data in 8KB pages and enforces a maximum index entry size of roughly 2.7KB (1/3 of a page) within B-Tree indexes to optimize performance and page splitting. The solution involves creating a new column to store a hash of the large text field, implementing a trigger to automatically generate the hash on insert or update, and then creating a unique index on this hash column.

volodymyrpotiichuk.com9 min read

UNCOMMON USES OF PYTHON IN COMMONLY USED LIBRARIES

Common Python libraries often use Python in uncommon ways. `super()` in Python base classes is often used for cooperative multiple inheritance, and mixins are strategically applied for modularizing optional features. Relative imports are used for correct package resolution, and the `__init__.py` file doesn't always have the same purpose across packages.

eugeneyan.com10 min read

03OPINIONS & ADVICE

WHEN FIGMA STARTS DESIGNING US

Figma is subtly pushing designers towards an engineering-centric approach through features like Auto Layout and Dev Mode. These features encourage premature optimization and a narrowing of the design space by prioritizing structure and consistency over exploration and spontaneity. This trend can lead to a monoculture in design, where everything feels similar due to shared constraints imposed by the tool.

designsystems.international4 min read

A NON-ANTHROPOMORPHIZED VIEW OF LLMS

Anthropomorphizing LLMs with concepts like consciousness or ethics is misleading because they are essentially complex mathematical functions generating text. The real challenge lies in quantifying and bounding the probability of LLMs generating undesirable sequences, a task that is difficult because of our inability to define what exactly "undesirable" is. Focusing on LLMs as powerful sequence generators, rather than attributing human-like qualities to them, is necessary for clearer thinking about their impact and potential risks.

addxorrol.blogspot.com8 min read

04LAUNCHES & TOOLS

Sponsored

ADD SERVER-SIDE SUPPORT FOR MCP IN NEXT.JS

Clerk now supports server-side MCP in Next.js with a single API route—no extra services needed. Scorecard cut their MCP code from 1,000 lines to just 70. It's the fastest way to ship multi-tenant logic with Clerk. Read the changelog [14].

go.clerk.comSponsor

MORPH

Morph is a fast AI code edit application with models like morph-v3-fast. It is capable of applying edits at 4,500+ tokens/sec by referencing existing code and offers an alternative to slow, full-file rewrites.

morphllm.comTool

BNA UI

BNA UI provides Expo React Native UI components designed for both iOS and Android. The library includes components, charts, hooks, and themes.

ui.ahmedbna.comTool

ZERO

Zero is an open-source AI email solution focused on data privacy and self-hosting. It allows users to integrate multiple email providers like Gmail while improving email functionality with AI agents.

github.comGitHub repository

05MISCELLANEOUS

ADDING A FEATURE BECAUSE CHATGPT INCORRECTLY THINKS IT EXISTS

This dev noticed an influx of ChatGPT screenshots containing ASCII tablature being uploaded to Soundslice, his sheet music scanning service. He discovered that ChatGPT was falsely advertising that Soundslice supported ASCII tablature import, leading users to believe the feature existed. Faced with this unexpected "market demand" driven by AI misinformation, his team decided to actually build an ASCII tab importer.

holovaty.com3 min read

I USED O3 TO PROFILE MYSELF FROM MY SAVED POCKET LINKS

This dev profiled themselves using their saved Pocket articles before the service shut down. They used OpenAI's o3 model to analyze their saved URLs. o3 accurately predicted the author's age, location, family size, career, and other details based on the content they had saved.

noperator.dev7 min read

THE ERA OF EXPLORATION

Future AI progress will depend more on exploration, acquiring new and informative experiences, rather than just scaling parameters. Pretraining LLMs inadvertently pays an "exploration tax" by learning a rich sampling distribution, allowing smaller models to later distill reasoning abilities. Exploration has two key axes: "world sampling," deciding which problems to learn from, and "path sampling," determining how to gather data within those problems.

yidingjiang.github.io16 min read