Open-sourcing our progress on Tailwind CSS v4.0
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.
424 new today · 7,472 articles · from 241 blogs
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.
AI summaryWebAssembly's JavaScript Promise Integration (JSPI) API is entering an origin trial with Chrome M123, allowing developers to test how sequential WebAssembly code can access asynchronous Web APIs by suspending when a Promise is returned and resuming when it is resolved. To participate, developers can set a Chrome flag or register for an origin trial token, and should use tools like Emscripten (version 3.1.47 or later) to generate the necessary code. While some API changes and known issues—such as performance costs for intensive wrapped calls and memory pressure from fixed-size stacks—exist, they are not expected to impede experimentation, and feedback can be submitted via the standards-track issue tracker.
AI summaryThe article explores whether text embeddings—vectors used in RAG systems and vector databases—can be inverted back into the original text, raising privacy and security concerns since stored embeddings may reveal their source documents. The authors introduce vec2text, an iterative 'learned optimization' method that refines hypothesis texts in embedding space, successfully recovering 92% of 32-token sequences exactly with a BLEU score of 97. These findings show embeddings are not a secure storage format and motivate future work on embedding invertibility limits and inversion-resistant models.
A case study of how Elixir is being used at Veeps.
AI summaryThis blog post proposes an alternative formulation of Rust's borrow checking type system that replaces lifetimes with places, where 'a represents a set of loans (such as shared(a.b.c) or mut(x)) rather than a point in the code. This approach builds on the ideas behind Polonius but reformulates them as a type system instead of a static analysis. The author plans follow-up posts on advanced borrowing patterns like interior references and intends to extend a-mir-formality with this analysis.
AI summaryThe article presents a rubric of guiding questions for deciding whether to build a new tool or system rather than using or adapting an existing solution. The author, who admits a personal bias toward innovation, stresses weighing costs and benefits, opportunity costs, long-term ownership burdens, whether you're solving a simpler or fundamentally different problem, differences in scale, technical risk, and whether you have a genuine technological advantage. He recommends writing down your answers to these questions and then stress-testing your conclusions with smart people you trust.
AI summaryThe author, who has been creating video content since 2019, explains that they typically avoid 'meta' or behind-the-scenes content but decided to publish notes about their video production process anyway. Having recently made several quality-of-life improvements to shooting and editing video, they want to document these insights as a reference for their future self.
The JavaScript Registry (JSR) is a TypeScript-first, ESM-only module registry designed for the entire JavaScript ecosystem. Use JSR modules from Deno and npm-based projects. JSR is free and open source. Available today in public beta.
AI summaryThis March 2024 Svelte update highlights significant progress on Svelte 5, including breaking changes like $derived.call becoming $derived.by, a new treeshakeable hydrate method, nested CSS support, and a simplified client-side API, while SvelteKit saw mostly bug fixes plus a new emulate function for adapters. The post also showcases community-built apps and sites, learning resources featuring Rich Harris's interview about Svelte 5, and a range of new libraries and tools such as PaneForge, SvelteKit SSE, and Sugar.css.
AI summaryThe article traces the cyclical evolution of web design and development over nearly three decades, from the hack-heavy early days of table layouts and font tags, through the rise of web standards and modern frameworks, to today's inflection point where social media is fracturing and interest in owning personal content is resurging. The author cautions that third-party frameworks have shifted from accelerators to hindrances due to technical debt, performance costs, and slower standards adoption, and urges developers to build for the long haul by prioritizing standards, performance, and accessibility. Ultimately, the piece encourages designers and developers to keep learning, experiment boldly, share their work and knowledge, and imbue their values into the web to make it a better place for everyone.
Enabling your users to deploy and run code can make your platform more useful. Here's a guide to building a platform that deploys and runs untrusted user code via a browser IDE with Monaco, Next.js, and Subhosting.
AI summaryThis article, 'Generative,' is a curated collection of quotes juxtaposing optimistic industry claims about AI—faster design and coding, productivity gains, and reduced cognitive load—with critical perspectives on automation's downsides, such as declining code quality, deskilling, job precarity, and widening economic inequality. Drawing on sources from Sam Altman and GitHub to labor scholars like Ursula Franklin, the piece ultimately asks who bears the risks and who reaps the benefits of AI-driven automation.
AI summaryThe article introduces predictive human preference—forecasting which AI model users will prefer for a specific prompt—as an extension of model ranking systems like LMSYS's Chatbot Arena. The author validates Chatbot Arena's Bradley-Terry ranking (74.1% accuracy in predicting match outcomes) and builds a prototype preference predictor using DistilBERT that improves accuracy to 76.2% by incorporating prompts. Key applications include model routing to cheaper or faster models when quality is equivalent, as well as generating domain-specific and query-specific leaderboards.
AI summaryThis article explores the physics of what makes airplanes fly by examining the forces generated by airflow around an aircraft's wings, with a particular focus on the wing's cross-sectional shape, known as the airfoil. It reflects on humanity's long-held dream of flight and includes interactive demonstrations available on the website.
AI summaryThe author, who once considered behavioral interviews useless because candidates could easily bluff, shares strategies for extracting genuine signal from them. Key tips include budgeting 2+ hours to prepare questions and a rubric beforehand, focusing on only 1-3 related skills per interview, and probing for detailed timelines, outcomes, and metrics during the interview to distinguish real experience from BS. When evaluating candidates, the author warns against winging it and lists red flags such as vague platitudes, scapegoating, and a lack of self-improvement mindset.
How unit testing machine learning code differs from typical software practices
AI summaryMachine learning models that appear to perform well during development often fail on real-world data due to common pitfalls such as misleading data (hidden variables, spurious correlations, and labeling errors), data leakage (e.g., data-dependent preprocessing before splitting test data, look-ahead bias in forecasting, and iterative tuning against the test set), and inappropriate evaluation metrics. These mistakes have led to real-world failures, such as ineffective Covid prediction models, and have even contributed to a reproducibility crisis in science. The author recommends carefully inspecting what information models use for decisions, avoiding leaks throughout the ML pipeline, and adopting practices like the recently introduced REFORMS checklist for ML-based science.
AI summaryThe article explores the problem of asynchronous clean-up in Rust, arguing that supporting await inside destructors is unrealistic due to issues like dropping values in non-async scopes, object safety and Send concerns for futures, implicit await points, and difficult-to-predict code generation. The author reframes the challenge as a general limitation of destructors that must return (), covering async clean-up and clean-up that returns values like Result. The proposed solution combines async future cancellation with a do...final construct, which the author argues are prerequisites for any linear type mechanism in Rust rather than alternatives to type-based approaches.