最新文章

今日新增 426 篇 · 共 7,419 篇 · 来自 241 个博客

Svelte Blog·

What’s new in Svelte: December 2021

AI 摘要This December 2021 Svelte newsletter focuses on Svelte Summit Fall 2021, featuring talks on topics like Svelte reactivity, accessible transitions, custom stores, and integrating Svelte with WordPress and React. Major announcements include Rich Harris joining Vercel to maintain Svelte full-time and Kevin working full-time on Svelte Society. The newsletter also highlights community apps, tutorials, podcasts, and new Svelte libraries and tools.

Lea Verou··Lea Verou

On Yak Shaving and `<md-block>`, a new HTML element for Markdown

AI 摘要The author recounts a week-long spiral of 'yak shaving' that started with building a web component and cascaded into rewriting the Stretchy autosizing library in ESM, modernizing its build tools and CSS, and updating its documentation. To avoid duplicating content between the docs page and README, they created , a new web component/HTML element for rendering Markdown both inline and from remote files. After finishing and releasing both projects, they could finally return to the original component they had set out to build.

Sean Carroll··Sean Carroll

Thanksgiving

AI 摘要In this Thanksgiving post, the author gives thanks for electromagnetism, explaining that of the four fundamental gauge forces, only gravity and electromagnetism exist in the long-range 'Coulomb phase' with inverse-square laws, while the strong and weak forces act only at subatomic distances. Unlike gravity, which only attracts, electromagnetism features both positive and negative charges, enabling the precise pushing and pulling needed to form atoms, molecules, and all chemical processes. This combination of long-range reach and charge duality makes electromagnetism responsible for nearly all the complexity and 'interestingness' of the everyday world.

Josh W. Comeau··Josh W. Comeau

A Modern CSS Reset

I have a set of baseline CSS styles that come with me from project to project. In the past, I'd use a typical CSS reset, but times have changed, and I believe I have a better set of global styles! Keep reading.

Baby Steps·

Rustc Reading Club, Take 2

AI 摘要The first Rustc Reading Club drew so many participants that Zoom capacity was maxed out, preventing even the organizer from joining the call. Encouraged by the strong demand, they are trying again with a different approach: starting with a smaller group for a few sessions before deciding how to scale up.

Josh W. Comeau··Josh W. Comeau

Introducing “Shadow Palette Generator”

In order to create lush, realistic shadows in CSS, we need to use multiple layers and colors. How do we come up with all of the parameters, though? I've built a tool that'll help. Keep reading.

Marc Brooker·

The Bug in Paxos Made Simple

AI 摘要The author describes implementing Paxos in the P modelling language and shows that a literal reading of Lamport's 'Paxos Made Simple' permits a scenario where an already-chosen value can be overwritten, violating Paxos's core safety property. The bug arises from ambiguities in the paper—specifically which acceptors should receive accept requests and whether accepting a value implies rejecting earlier-numbered proposals—and can be fixed by following either of two stricter interpretations. The author concludes that prose is an unreliable way to precisely specify distributed algorithms and recommends formal specification languages like P and TLA+.

Baby Steps·

CTCFT 2021-11-22 Agenda

AI 摘要The next Cross Team Collaboration Fun Times (CTCFT) meeting is scheduled for Monday, 2021-11-22 at 11am US Eastern Time. This meeting uses a new, earlier time as an experiment to accommodate the European workday. The full agenda, along with calendar and Zoom details, is available on the CTCFT website.

Kent C. Dodds·

Why I Love Remix

I've written tens of thousands of lines of code with Remix and I want to tell you why I love using this framework.