最新文章

今日新增 400 篇 · 共 7,371 篇 · 来自 241 个博客

Ethan Marcotte··Ethan Marcotte

Takin’ five.

AI 摘要The author announces a series of five short tutorial videos created in collaboration with Aquent Gymnasium, all centered on web accessibility topics such as using VoiceOver on macOS, focus states, typesetting, viewport units, and drop caps. Each video is five minutes or less, and the author hopes they make accessible design feel more approachable to a wider audience. The post closes with thanks to Jeremy Osborn, the academic director at Aquent Gymnasium, expressing gratitude for the collaboration.

Sam Altman··Sam Altman

Researchers and Founders

AI 摘要The author reflects on the surprising differences between founders and researchers, but focuses on the qualities shared by the best people in both groups. These include regularly reflecting on the most important problems in their field, combining laser focus on immediate steps with long-term vision, extreme persistence, a bias toward action with honest self-assessment, constant idea generation, and a strong valuing of autonomy. Ultimately, the author notes that these effective people are often deeply driven by genuine curiosity.

Joel on Software··Joel Spolsky

HASH: a free, online platform for modeling the world

AI 摘要HASH (hash.ai) is a free online platform for building simulations of complex systems where simple math can't capture how inputs affect outputs. Users can write small pieces of code to simulate the behavior of individual entities, such as warehouse workers, and then tweak parameters and rules to observe outcomes. This approach helps people understand and ultimately solve very complicated problems.

Lea Verou··Lea Verou

Refactoring optional chaining into a large codebase: lessons learned

AI 摘要The article recounts the author's experience refactoring the Mavo codebase to use JavaScript's optional chaining operator, describing common patterns to look for (such as &&-guards, ternaries, regex matches, and feature detection) and noting that the refactor made the source about 2KB lighter. However, it also warns about numerous pitfalls, including that optional chaining cannot be used on assignment left-hand sides, that it returns undefined rather than null, that it can subtly change equality checks and operator precedence semantics, and that it can alter control flow in return statements. The author concludes that while optional chaining is a major syntax improvement, refactoring with it requires care to avoid introducing subtle bugs.

Distill·

Curve Detectors

Part one of a three part deep dive into the curve neuron family.

Sam Altman··Sam Altman

Project Covalence

AI 摘要Project Covalence, a collaboration with TrialSpark and Dr. Mark Fishman, aims to provide superior clinical trial support for COVID-19 drug, vaccine, and diagnostics research, where rapidly launching trials is a major bottleneck. Its platform is optimized for community- and home-based trials to ease the burden on hospitals, offering trial execution, compliant remote data collection, telemedicine, biostatistics, at-home specimen collection kits, and protocol writing, along with master protocols enabling shared control arms and adaptive designs. Researchers across academia and industry can leverage this shared infrastructure, and interested parties can contact the team for support.

Sara Soueidan··Sara Soueidan

Inclusively Hiding & Styling Checkboxes and Radio Buttons

AI 摘要The article explains how to inclusively hide checkboxes and radio buttons when replacing them visually with SVG images, emphasizing that the native inputs must remain accessible and interactive. It reviews common CSS and HTML hiding techniques—such as display: none, visibility: hidden, the sr-only utility class, and off-canvas positioning—and shows why they fail touch screen reader users who explore pages by touch. The recommended approach is to absolutely position the checkbox on top of its SVG replacement within the label and make it transparent using opacity: 0, keeping it visually hidden but still discoverable and usable by all users.

Ethan Marcotte··Ethan Marcotte

On context.

AI 摘要The author reflects on two articles—Cap Watkins' piece on a team's "decision tree" for working with design systems, and Lisa Maria Martin's essay on keeping politics out of conference talks—arguing that both are ultimately about context. Each looks beyond the immediate artifact to the broader environment surrounding it, whether that's the people using a design system or the political realities that shape design work. The author concludes that the industry too often fixates on artifacts alone, and that articles like these serve as a valuable reminder to adopt a broader perspective.

Andrej Karpathy·

Biohacking Lite

AI 摘要The author, motivated to improve their health in mid-2019, dove into 'biohacking lite'—experimenting with ketogenic diets, fasting, supplements, and self-tracking while studying biochemistry and nutrition textbooks—with the goal of losing 25 pounds (from ~200lb to ~175lb). The article explains the body's four energy storage 'batteries' (phosphocreatine, glycogen, fat, and muscle), all of which exist to regenerate ATP, the universal molecular energy currency that powers cellular work. It further explains the biochemistry of weight loss as a slow form of combustion, noting that roughly 84% of lost fat is literally breathed out as carbon dioxide.

Without Boats·

Two Memory Bugs From Ringbahn

AI 摘要While implementing ringbahn, the author introduced at least two memory safety bugs that caused segfaults, allocator aborts, and undefined behavior; both bugs have since been fixed, and no further memory safety issues have been found. The author wrote about these bugs because they shared an interesting common trait: both were caused by destructors.

Sara Soueidan··Sara Soueidan

Optimizing keyboard navigation using tabindex and ARIA

AI 摘要The article explains that article listings on publications often contain multiple links (thumbnail, title, and 'Read More') pointing to the same full article page, forcing keyboard users to redundantly tab through the same link two or three times and making navigation cumbersome. The author shows how applying tabindex="-1" and aria-hidden="true" to decorative thumbnails and redundant 'Read More' links reduces tab stops and makes the keyboard experience significantly faster and more efficient. However, the author cautions that this technique isn't universal—in cases like Lea Verou's site where post excerpts contain many links, a 'Read More' link serves as a valuable shortcut and should remain tabbable.

Without Boats·

Futures and Segmented Stacks

AI 摘要This article discusses how to achieve the best performance from async programs, arguing that async IO gives user programs more control over IO handling than blocking IO. This advantage arises partly from avoiding the inherent cost of context switching between userspace and the kernel, and partly because user programs can be written with more specific understanding of their exact requirements.