Latest articles
425 new today · 7,459 articles · from 241 blogs
Talk: Introducing Ghostty and Some Useful Zig Patterns
Exponential Value at Linear Cost
AI summaryThe article argues that redundancy, like binary search, offers exponential value at linear cost: N independent hosts each with availability A yield system availability of 1-(1-A)^N, a principle foundational to RAID and cloud services. However, this exponential benefit collapses when failures are correlated—for example, hosting all machines in one datacenter with availability D reduces system availability to D*(1-(1-A)^N). System designers must therefore carefully ensure failure independence, since correlated failures are the kryptonite of redundancy's power.
Making Sense of React Server Components
AI summaryThis article is a tutorial about React Server Components, a new official way to run React components exclusively on the server that the React team unveiled after years of quiet research. It notes that this paradigm shift has caused considerable confusion in the React community. The tutorial aims to help readers build an intuition for how the technology works and how to take advantage of it.
Three weeks.
AI summaryThe author marks three weeks since the release of his book 'You Deserve a Tech Union,' expressing gratitude and amazement at the enthusiastic response from readers who have shared photos, highlights, and blog reviews online. He quotes praise from several reviewers who commend the book's challenge to the myth of individual merit in tech and its call for collective worker solidarity, and thanks readers for helping the book find its audience.
What to Do About These High Interest Rates
AI summaryAfter fourteen years of near-zero rates, interest rates have surged to 20-year highs as the Federal Reserve fights inflation, slowing the economy through pricier mortgages, reduced business investment, and layoffs. The author advises readers to keep buying index funds despite market dips (since the long-term outlook remains strong), weigh high savings yields against discounted stock prices, and notes that elevated mortgage rates make buying homes much more expensive while making existing low-rate mortgages like 3% worth holding onto. He concludes that this slowdown is a normal, even healthy correction designed to cool overheated demand, and that housing prices should eventually stabilize or fall as buyers bid lower and builders continue adding supply.
Labor’s day.
AI summaryThe author marks Labor Day in the United States by highlighting two tech worker groups seeking support: Grindr United, whose members face a mandatory return-to-office policy forcing relocation just weeks after announcing their unionization, and CfA Workers United, after Code for America laid off 35 employees mid-bargaining while expanding its executive team. Readers are encouraged to sign a petition demanding Grindr's CEO recognize the union and to contribute to a mutual aid fund for the laid-off Code for America workers. The post closes by affirming that all workers deserve respect, strong contracts, and a union.
Can LLMs learn from a single example?
We’ve noticed an unusual training pattern in fine-tuning LLMs. At first we thought it’s a bug, but now we think it shows LLMs can learn effectively from a single example.
Evaluation & Hallucination Detection for Abstractive Summaries
Reference, context, and preference-based metrics, self-consistency, and catching hallucinations.
September 2023
AI summaryThe author recounts a summer of travel and change, including the transition of their non-profit research lab Ought into a VC-backed startup called Elicit, which raised a seed round and rebuilt its product for 200,000 active users despite the author's dissatisfaction with its current UX. They also delivered talks on language model interfaces and generative AI at various conferences, took in writing advice from Steven Pinker and Stephen King, and embraced wearing dresses and femme clothing, realizing they had spent a decade suppressing such expression to gain credibility in male-dominated spaces.
What’s new in Svelte: September 2023
AI summaryThis September 2023 Svelte update covers recent releases, including the move of svelteHTML into Svelte core (v4.2.0), SvelteKit 1.23.0–1.24.0 improvements such as URL support in the redirect function, warnings for mistyped route filenames, and the new onNavigate lifecycle function enabling view transitions. It also welcomes new Svelte Ambassadors and showcases a wide range of community-built apps, browser extensions, learning resources from contributors, and libraries/tools like Carta, Threlte 6, and drab.
Unlocking view transitions in SvelteKit 1.24
AI summarySvelteKit 1.24 introduced a new onNavigate lifecycle hook that makes it much easier to integrate the browser's View Transitions API, enabling animated transitions between pages. The article explains how view transitions work—capturing the old page state and animating to the new one after the DOM updates—and demonstrates how to use onNavigate to call document.startViewTransition during navigation, with a graceful fallback for unsupported browsers. It also shows how the underlying code coordinates the navigation with the transition and how to customize the effect using CSS.
Case Study: Rebuilding TechCrunch layout with modern CSS
0039: implementing interactive languages, baby's first wasm compiler, zig 0.11, attack of the killer features, zed, attention span, psychology's loss, privatizing sovereignty
Baby's first wasm compiler
On Using Go's `t.Parallel()`
AI summaryThe article examines Go's `t.Parallel()`, which lets tests within a package run concurrently and cut the runtime of the author's large API test suite by 30-40%, though it notes the practice isn't broadly conventional—only about 1/10 of Go's own test suite uses it. It details several 'sharp edges' of parallel testing: sharing a test database safely via test transactions, resolving Postgres upsert deadlocks by switching to fixture seeding, and collating interleaved logs using `t.Logf` through a logging library shim. The author concludes that while Go's default package-level parallelism is often sufficient, adopting `t.Parallel()` early is worthwhile since retrofitting it later is harder than building it in from the start.
On The Acoustics of Cocktail Parties
AI summaryThis article discusses William R. MacLean's 1959 paper 'On the Acoustics of Cocktail Parties,' which models how parties transition from quiet to loud once the number of guests exceeds a critical threshold: speakers raise their voices in response to background noise, which further increases the noise in a runaway feedback loop. The author draws parallels between this phenomenon and network congestion (RFC 896) and metastable failures in distributed systems, where a system remains stuck in a degraded state even after the triggering condition is removed. He argues that cocktail parties are indeed metastable, since a loud party stays loud until an external intervention like tapping a glass or a significant drop in attendance breaks the cycle.
Implementing interactive languages
Ghostty Devlog 003
So Long, Twitter and Reddit
AI summaryThe author, Zig creator Andrew Kelley, explains why he deleted his Twitter account, arguing that the platform's design promotes angry and extreme content and took an emotional toll on him, especially after Elon Musk's acquisition. He also describes closing the /r/zig subreddit in response to Reddit's API lockdown and warns that it is now run by a third party unaffiliated with Zig or the Zig Software Foundation. Going forward, he plans to focus on blogging, explore RSS readers for quality content, and stay cautious about platforms like Mastodon and Discord that may face similar 'enshittification.'