Latest articles

409 new today · 7,402 articles · from 241 blogs

Ethan Marcotte··Ethan Marcotte

Locus.

AI summaryThe article discusses the growing trend of websites aggressively prompting visitors to install native apps, sometimes even locking web content behind an 'appwall' that can't be bypassed without downloading the app. The author reflects on why companies prioritize native applications over their functional websites—citing factors like declining web advertising revenue, data collection, and technical needs—and compares the pattern to the old 'full website' links from the early responsive-design era. Ultimately, the author sees these prompts as revealing insights into companies' design priorities and the diminishing business value they place on the open, universally accessible web.

Lil'Log·

How to Train Really Large Models on Many GPUs?

[Updated on 2022-03-13: add expert choice routing.] [Updated on 2022-06-10]: Greg and I wrote a shorted and upgraded version of this post, published on OpenAI Blog: “Techniques for Training Large Neural Networks”

A List Apart··Mike Wills

A Content Model Is Not a Design System

AI summaryThe article explains that content models must not be built with design-system thinking when supporting an omnichannel content strategy, because layout-based models fragment content and make it unintelligible to other delivery channels. Instead, effective content models should be semantic—using type and attribute names that reflect content meaning, such as those found in Schema.org—and should keep related content connected rather than sliced into visual components like 'tab sections.' Following these principles allows content to be reused across websites, search snippets, voice interfaces, and bots, while also decoupling content from design so teams can evolve layouts without costly content migrations.

Ethan Marcotte··Ethan Marcotte

Splits.

AI summaryThe author reflects on going for a short, slow run on Friday after being unable to run for five weeks, describing it as an emotional gift. They discuss the phrase 'making noisy into quiet,' noting how writing, design, and running have historically created pockets of calm in their noisy days. Though not completely healed and still facing challenges, the author expresses deep gratitude for being able to write, run, and spend time with family again.

Baby Steps·

Rustacean Principles, continued

AI summaryThe author reflects on conversations with the Rust community following the announcement of the Rustacean Principles, noting that sparking discussion was the intended goal. Since the principles were mostly developed through iteration between the author and Josh, they primarily reflect their own experiences. To truly serve their purpose, the principles need input from the community as a whole.

Baby Steps·

CTCFT 2021-09-20 Agenda

AI summaryThe next CTCFT (Cross Team Collaboration Fun Times) meeting is scheduled for September 20, 2021, with an agenda focused on Rust interest groups and domain working groups. Rather than fixed presentations, the meeting will feature a panel discussion with representatives from these groups, led by AngelOnFira. The goal is to foster more active two-way communication and feedback between the interest groups and the Rust teams.

Sara Soueidan··Sara Soueidan

In Quest of Search

AI summaryThe article argues for the addition of a native HTML element that maps to the ARIA search landmark role, similar to how corresponds to role="navigation" and to role="main". The author contends that because search is a heavily used feature on many websites, such an element would provide HTML parity with ARIA, fill a semantic gap, reduce reliance on ARIA, and improve navigation efficiency for assistive technology users. An update notes that the element was subsequently added to the HTML specification on March 24th, 2023.

Josh W. Comeau··Josh W. Comeau

Designing Beautiful Shadows in CSS

When I look around the web, most of the shadows I see are fuzzy grey boxes. It doesn't have to be this way, though! CSS gives us the tools to create rich, lush, lifelike shadows. In this tutorial, I'll show you how. Keep reading.

brandur.org··Brandur Leach

Postgres: Boundless `text` and Back Again

AI summaryAlthough common Postgres wisdom says unbounded text is preferable to varchar(n) since length constraints offer no performance benefit, the author recounts how at Stripe the lack of length checks on API text fields let legitimate users send enormous payloads that couldn't later be restricted without breaking backwards compatibility (a manifestation of Hyrum's law). He now recommends using varchar columns with liberal, standardized length tiers (e.g., 200, 2000, and 20000 characters) as a database-level backstop against wildly invalid data, while still validating lengths in application code with proper error handling. He also notes that Postgres can relax varchar constraints without an expensive table rewrite, and suggests encoding these tiers as SQL domains for consistency.

brandur.org··Brandur Leach

How We Went All In on sqlc/pgx for Postgres + Go

AI summaryThe article describes how the authors evaluated Go's database ecosystem—including database/sql, pgx, go-pg, and gorm—and concluded that sqlc paired with pgx is the best solution for using Postgres in Go applications. sqlc generates type-safe Go code from annotated SQL files, eliminating string-based query fragility and ORM boilerplate while providing compile-time validation through Postgres's real query parser. Although it has some limitations like fixed parameter counts and pre-structured updates, workarounds exist, and recent pgx driver support allowed the team to adopt it incrementally alongside their existing codebase.

Baby Steps·

Rustacean Principles

AI summaryThe article explores what makes Rust feel empowering to its users, noting that people love that the language makes it possible to build reliable and efficient software that otherwise feels out of reach. The author argues that if this sense of empowerment can be precisely described, that description can then be used to improve Rust and guide the design of future extensions to the language.

Svelte Blog·

What’s new in Svelte: September 2021

AI summaryThis September 2021 update celebrates Svelte being voted StackOverflow's most loved web framework and details recent 3.42.x releases, which added features like use:actions on and reduced compiled output size. SvelteKit made significant progress toward its 1.0 release, closing over 100 milestone issues and adding new capabilities such as the sequence helper, a handleError hook, and adapter-node middleware support. The post also showcases community apps, educational content, and libraries built with Svelte.