Latest articles
431 new today · 7,479 articles · from 241 blogs
Notes on compiler IRs
:has roundup
AI summaryThis article is a roundup of clever uses for the CSS :has selector, citing examples from developers like Jim Nielsen, Ahmad Shadeed, Bramus, Andy Bell, and Michelle Barker. Highlights include hiding page overflow when a dialog is open, styling elements based on their siblings or children, unsetting paragraph width constraints when they contain embedded content, and detecting invalid form inputs to trigger error states. The author finds these capabilities eye-opening and expects many more useful :has examples to emerge in the coming years.
Finding Needles in a Haystack with Best-of-K
AI summaryThe article examines best-of-k load balancing, a powerful stateless technique for distributed systems, and shows that it performs poorly when workers have tight capacity limits. Through simulations and a probabilistic analysis of an iterative variant, the author demonstrates that as utilization approaches capacity and per-worker capacity is small (e.g., c=1), best-of-k requires far more retries, offering only marginal improvement over random placement. The takeaway is that best-of-k isn't magic: systems that must find the rare workers with free capacity slots likely need a different approach, such as maintaining an explicit list of available workers.
The problem of AI ethics
AI summaryThe author uses the UK Post Office/Fujitsu Horizon scandal, in which buggy accounting software led to hundreds of wrongful prosecutions, to argue that 'AI Ethics' is the wrong level of abstraction—such failures were institutional rather than something a 'database regulator' could have prevented. He contends that AI-related problems are diverse and context-specific, much like car regulation, which involves many distinct rules rather than a single omnibus law, and that issues like content moderation, drug discovery, and parole decisions each require different expertise. Since generative AI is evolving extremely fast, he argues that writing laws or theses about it now demands humility, as much of what is said may become irrelevant within a year.
One endless meeting
AI summaryThe author reflects on why their tiny two-person team at Retool has shipped more in four months than they had in the prior three years. They credit their productivity to four factors: being a small team with minimal bureaucracy and meetings, treating building rather than decision-making as the real hard work, seeking feedback daily instead of hiding work until big reveals, and constant in-office collaboration—humorously dubbed 'one endless meeting'—where team members can immediately turn to each other to talk through problems.
Keyboard-first apps
AI summaryThe author discusses the appeal of keyboard-first apps, highlighting Godspeed, a todo list app with a 'hardcore mode' that disables the mouse to help users learn keyboard shortcuts faster. They also mention Retina Studio's apps, TextBuddy and Fastmarks, which follow a similar '100% keyboard-driven' design philosophy.
Miscellaneous ideas
Redis Renamed to Redict
AI summaryAfter Redis Labs changed Redis's license to the proprietary SSPL in March 2024, the project was forked as Redict under the stewardship of Drew DeVault, continuing under the original BSD-3 license. The author argues that Redict is the true spiritual successor to Redis, since the mature software requires only maintenance rather than profit-driven churn like Redis Labs' pivot to generative AI. Despite Drew DeVault's controversial reputation, the author defends him as a lifelong, uncompromising advocate of Free and Open Source Software who is well-suited to steward the project.
Bun v1.0.34
Fixes 7 bugs, bunx uses less memory, bun install gets faster on Docker & WSL, a conflicting devDependency hoisting bug is fixed, a cyclical CommonJS & ESM import crash is fixed, cross-mount fs.cp & fs.copyFile get 50% faster on Linux, and r
Discussion w Arthur Mensch, CEO of Mistral AI
AI summaryThis article is a transcript of a fireside chat at Figma in which Elad Gil interviews Arthur Mensch, CEO and co-founder of Mistral AI, about how he and former DeepMind and Meta colleagues started the company. They discuss Mistral's open-core strategy of releasing powerful open source models like Mistral 7B, the speed of its four-month launch with small five-person teams, and its go-to-market focus on enterprises (particularly financial services) through cloud partnerships such as Microsoft Azure. The conversation also covers Mistral's roadmap of new open source and commercial models, its emphasis on efficient inference and compressed models, and its views on scaling, model bootstrapping, and improving reasoning through data rather than secret techniques.
The negotiation cycle.
AI summaryThe author recalls a designer friend's remark that editorial illustration work 'requires you to be endlessly clever' and connects it to Alan Jacobs' essay on tech critique and Gerd-Günter Voß's models of the conduct of life, arguing that today's situational mode leaves workers constantly improvising rather than planning long-term. In the tech industry, we are expected to perpetually adapt to new frameworks, tools, and AI products without ever deciding for ourselves how our work should be defined. The author suggests it may be time to step out of this negotiation cycle and start deciding what we want our work to look like.
How to trade software for small money?
Announcing VitePress 1.0
AI summaryVitePress 1.0 has been released—a static site generator built on Vite and Vue that serves as the modern successor to VuePress, converting Markdown content into themed static HTML pages. It is well-suited for technical documentation (powering docs for Vite, Rollup, Pinia, and the official Vue.js docs) as well as fully customizable blogs, portfolios, and marketing sites. The tool offers strong performance by serving pre-rendered HTML for fast initial loads and optimal SEO, then switching to a single-page application model for near-instant subsequent navigation and interactivity.
We're hiring a Design Engineer + Staff Engineer
We just tagged the first public v4.0.0-alpha so you can start experimenting with it and help us get to a stable release later this year.
Unexplanations: sql is syntactic sugar for relational algebra
Spinning Worlds, Seasickness, and Dealing with Vestibular Neuritis
Gaining a strange disease and losing my ability to see straight
Comment Section: The Hunt For The Missing Data Type
AI summaryThis follow-up post collects reader responses to the author's essay 'The Hunt for the Missing Data Type,' including a detailed explanation from GraphBLAS contributor Michel Pelletier arguing that graphs and matrices are mathematically isomorphic and that expressing graph operations as sparse linear algebra enables efficient parallelization on architectures from laptops to supercomputers. Other readers point out the Gremlin/TinkerPop graph query language and describe Rubik's Cube research using Cayley graphs, where the author had to build custom data structures because the ~10^20 position state space and performance demands made generic libraries impractical. The common thread is that graph tools do exist, but performance-critical or highly specialized applications often force developers to roll their own solutions.
Bun v1.0.32
Fixes 13 bugs, including 3 I/O regressions from v1.0.31. Improves Node.js compatibility. 'ws' package can now send & receive ping/pong events. util.promisify'd setTimeout setInterval, setImmediate work now. FileHandle methods have been impl
Introducing deployctl, the command line interface for Deno Deploy
Deno Deploy’s command line interface, deployctl, is the simplest way to deploy your projects to the cloud. Here’s how to do it.