最新文章

今日新增 408 篇 · 共 7,366 篇 · 来自 241 个博客

Sam Altman··Sam Altman

Hard Startups

AI 摘要The article argues that, counterintuitively, hard startups—those requiring more money, time, and technological development—are often easier to succeed with than easy ones, which are simple to start but difficult to make successful. Because talented people want to work on meaningful projects, a hard startup's ambitious mission becomes a powerful recruiting tool and creates a 'tailwind' that helps with hiring, fundraising, and partnerships. The author encourages founders to embrace a big vision while taking reasonable incremental steps, and to commit for the long term, since a 10-year timeframe in a world where most people operate on 3-year ones yields a significant compounding edge.

Josh W. Comeau··Josh W. Comeau

Persisting React State in localStorage

A common thing in React development is that we want to store a bit of React state in localStorage, and re-initialize from that value on the next page-load. This quick tutorial shows you how we can build a custom hook that does exactly this!

Distill·

Growing Neural Cellular Automata

Training an end-to-end differentiable, self-organising cellular automata model of morphogenesis, able to both grow and regenerate specific patterns.

Travis Downs··Travis Downs

Adding Staticman Comments

AI 摘要The article is a detailed, step-by-step guide to adding comments to a static Jekyll blog using Staticman, including creating a dedicated GitHub bot account, generating access tokens, and configuring staticman.yml and _config.yml. It explains how to deploy a private Staticman API bridge to Heroku (since the public one proved unsustainable), generate an RSA keypair for encrypting secrets, and invite the bot to the blog repository. Finally, it covers enabling reCAPTCHA to prevent spam, so that reader comments are validated by the bridge and submitted as pull requests that trigger site regeneration when accepted.

Lil'Log·

Curriculum for Reinforcement Learning

[Updated on 2020-02-03: mentioning PCG in the “Task-Specific Curriculum” section. [Updated on 2020-02-04: Add a new “curriculum through distillation” section.

Josh W. Comeau··Josh W. Comeau

Effective Collaboration with Product and Design

How we work with design can have a tremendous impact on our overall output, and yet we don't always treat it as very important. A look at how collaborating with design can supercharge our own productivity. Keep reading.

Travis Downs··Travis Downs

The Hunt for the Fastest Zero

AI 摘要This article investigates a surprising C++ performance quirk: filling a char array with std::fill using the integer 0 is up to 29x slower than using the char literal '\0' with gcc at -O2, because libstdc++ only applies its memset-based optimization when the iterator type exactly matches the fill value type, and 0 is deduced as int. The author traces the cause through the library's SFINAE-based implementation, shows workarounds like explicit template arguments or casts, notes edge cases involving conversion-counting types, and proposes a standard library fix. He concludes that C++ developers should keep using std::fill and modern idioms, passing a char-cast value in hot paths, rather than reaching for memset, which is rarely safe for arbitrary types.

Travis Downs··Travis Downs

Gathering Intel on Intel AVX-512 Transitions

AI 摘要This article presents a detailed, low-level investigation of AVX-512 frequency transition behavior on an Intel Skylake-X (W-2104) CPU using a custom test framework that periodically executes SIMD payloads while sampling frequency and IPC. The author finds that executing 512-bit instructions triggers a ~11 μs halted frequency transition (from the 3.2 GHz L0 license down to 2.8 GHz and back after ~650 μs), preceded by a ~9 μs 'voltage-only transition' during which instructions run at roughly 4x their normal latency. Notably, 256-bit instructions also exhibit this voltage-only slowdown, contradicting the conventional wisdom that light 256-bit instructions carry no penalty on AVX-512 hardware, while 128-bit instructions show no effect at all.

Sam Altman··Sam Altman

How To Invest In Startups

AI 摘要The article argues that succeeding as a startup investor requires doing three things: getting access to good investment opportunities, making good investment decisions, and getting founders to choose you. Access comes from working hard to genuinely help investors and founders and from building a strong brand; good decisions come from identifying great founders early—paying attention to their rate of improvement, drive, and decisiveness—and betting on large, fast-growing markets with power-law potential. Finally, investors win deals by being decisive, founder-friendly, and helpful, and the best way to support founders afterward is by encouraging bigger ambition, offering specific tactical advice, and providing emotional support.