最新文章

今日新增 431 篇 · 共 7,479 篇 · 来自 241 个博客

Chip Huyen·

Predictive Human Preference: From Model Ranking to Model Routing

AI 摘要The 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.

Bartosz Ciechanowski·

Airfoil

AI 摘要This 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.

Ben Kuhn··Ben Kuhn

How I build and run behavioral interviews

AI 摘要The 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.

The Gradient··Michael Lones

Why Doesn’t My Model Work?

AI 摘要Machine 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.

Without Boats·

Asynchronous clean-up

AI 摘要The 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.

Elad Gil··Elad Gil

Things I Don't Know About AI

AI 摘要The article, a reflective piece by an investor, argues that the generative AI landscape has become less clear over time rather than more, and lays out open questions at every layer of the AI stack. Key uncertainties include whether cloud providers and big tech are king-making an oligopoly of frontier LLMs through massive capital investments, how open source models like Meta's Llama might shift AI economics, how AI cloud infrastructure companies will fare once GPU shortages end, and how AI applications and startups will evolve. The author lists these questions explicitly to stimulate dialogue and feedback on market structure, funding dynamics, and the future of foundation models, infrastructure, and applications.

Without Boats·

FuturesUnordered and the order of futures

AI 摘要The article discusses FuturesUnordered, an abstraction from the Rust futures library that runs a dynamic collection of futures concurrently within a single task as a Stream. It contrasts this with multi-task concurrency (spawning tasks, which require 'static and cannot borrow parent state) and intra-task concurrency (joining futures, which can borrow state but only supports a static number), positioning FuturesUnordered as a hybrid that combines borrowing with dynamic arity. However, despite being a natural fit for certain patterns, FuturesUnordered has been implicated in frustrating bugs for async Rust users, which the author plans to investigate in the rest of the post.

React Blog··Joseph Savona, Ricky Hanlon, Andrew Clark, Matt Carroll, and Dan Abramov

React Labs: What We've Been Working On – February 2024

In React Labs posts, we write about projects in active research and development. We’ve made significant progress since our last update, and we’d like to share our progress.

Josh W. Comeau··Josh W. Comeau

How To Center a Div

Back in the day, centering an element was one of the trickiest things in CSS. As the language has evolved, we’ve been given lots of new tools we can use… But how do we pick the best option? When do we use Flexbox, or CSS Grid, or something

Marc Brooker·

Better Benchmarks Through Graphs

AI 摘要The author argues that database engineering remains too opinion-driven because industry-standard benchmarks like TPC-C and YCSB are too easy and poorly represent real-world workloads. They propose generating better synthetic benchmarks by modeling database objects as a graph where transactions are random walks, with parameters like transaction size, coordination, and locality tuned via a Watts-Strogatz small-world model extended with Zipf-distributed rewiring to simulate hot keys. The author finds this approach highly flexible and useful for exploring design trade-offs like atomicity, isolation, and durability, though notes the relationship between parameters and workload characteristics can be non-linear in surprising ways.

Wait But Why··Tim Urban

All My Thoughts After 40 Hours in the Vision Pro

AI 摘要The author recounts his decades-long history with virtual reality, from a 1990 childhood VR exhibit through the Oculus hype cycle, before detailing his first 40 hours using Apple's new Vision Pro headset. While noting hardware drawbacks like the device's weight, limited field of view, and external battery pack, he praises the impressive pass-through visuals, spatial audio, and the intuitive 'eye pinch' interface. Having been let down by past VR 'holy shit moments' that never led to mass adoption, he wonders whether the Vision Pro finally marks a true tipping point for the technology.

Ethan Marcotte··Ethan Marcotte

Collective.

AI 摘要The author, who wrote 'You Deserve a Tech Union,' critiques venture capitalist Chris Dixon's new book for describing blockchains as 'collective bargaining machines,' arguing the metaphor is inaccurate since collective bargaining requires no blockchain or software—the real obstacles to unionization are employers' union-busting tactics. The author proposes that if Dixon genuinely supports collective bargaining, he could use his firm's investment contracts to require voluntary union recognition and good-faith bargaining, benefiting tech workers without any blockchain at all.