AI summaryThe 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.
[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.
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.
AI summaryThis 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.
AI summaryThis 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.
AI summaryThe 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.
AI summaryThis tutorial explains how to animate CSS properties, including background gradients, which was previously impossible. It leverages bleeding-edge browser features such as CSS Houdini, CSS variables, and React to create animated rainbow gradients.
AI summaryThe author, after catching an impromptu screening of John Wick 3: Parabellum in Stockholm, argues that the John Wick film franchise functions as an unintentional allegory for cancel culture and social media dynamics. In this reading, Wick's stolen car and killed dog represent sacred personal values attacked by online strangers, The Continental hotels mirror social platforms that claim neutrality while arming and profiting from conflict, and markers and escalating bounties represent engagement debts and the outrage mobs that turn on users who violate platform rules.
AI summaryThe author argues that interactive films like Netflix's Bandersnatch fall into an 'uncanny valley of interactivity'—they demand more effort than passive movies while offering far less immersion than video games. He instead favors 'recursive escape room' stories like Groundhog Day and Russian Doll, which present branching narratives in a lean-back linear format and resonate with viewers who feel trapped in repetitive daily routines. While bearish on choose-your-own-adventure films, he's bullish on light interactivity and gamification when they genuinely suit the medium, viewing self-help habits as a kind of progressive mastery similar to game design.
AI summaryIn his 2019 Annual Review, the author reflects on a landmark year highlighted by strong Atomic Habits sales (over 1.3 million copies), the launch of his 3-2-1 newsletter, major audience growth, extensive international travel, and 31 paid keynote speeches. He also acknowledges setbacks, including a sharp decline in his writing output, inconsistent weightlifting due to heavy travel, and poor email response habits. His key lessons were the value of moving fast, the patience required as his business matures, and prioritizing by pruning away the inessential and focusing on what remains.