Programming · Latest articles

29 new today · 2,701 articles · from 79 blogs

Tailwind CSS Blog·

Tailwind CSS v3.0

Tailwind CSS v3.0 is here — bringing incredible performance gains, huge workflow improvements, and a seriously ridiculous number of new features.

Svelte Blog·

What’s new in Svelte: December 2021

AI summaryThis 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 summaryThe 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.

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 summaryThe 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 summaryThe 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 summaryThe 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.

Baby Steps·

View types for Rust

AI summaryThe author introduces the concept of 'view types' for Rust, an idea that would allow &mut or & references to specify which fields they actually access. The main benefit would be enabling 'disjoint' methods that don't interfere with one another. This is explicitly not an RFC or formal proposal yet, but rather early-stage ideas documented to gather reactions and feedback.

Kent C. Dodds·

The State Initializer Pattern

A simple pattern used in libraries like downshift and ReachUI to enable component/hook users to initialize your state and even reset it to that initial value.