Latest articles

410 new today · 7,422 articles · from 241 blogs

React Blog··Andrew Clark, Dan Abramov, Jan Kassens, Joseph Savona, Josh Story, Lauren Tan, Luna Ruan, Mengdi Chen, Rick Hanlon, Robert Zhang, Sathya Gunasekaran, Sebastian Markbage, and Xuan Huang

React Labs: What We've Been Working On – June 2022

AI summaryThe React team reflects on the years of research and exploration that went into developing React 18, acknowledging that many attempted paths led to dead-ends but ultimately produced valuable insights. A key lesson learned was that it is frustrating for the community to wait for new features without visibility into the work being explored. This article serves as a way to share the team's ongoing efforts more transparently.

Baby Steps·

Async cancellation: a case study of pub-sub in mini-redis

AI summaryThe author examines tokio's mini-redis example, praising it as a realistic, well-documented, and clean piece of async Rust code that nevertheless exemplifies both the best and worst of async Rust. The concern is that the code depends on subtle async conventions that, if done incorrectly, produce no compilation errors and only fail under unpredictable timing conditions unlikely to surface in unit tests. The author notes this is not mini-redis's fault, since there are no great alternative patterns available in async Rust today.

High Scalability··HighScalability Team

Sponsored Post: G-Core Labs, Close, Wynter, Pinecone, Kinsta, Bridgecrew, IP2Location, StackHawk, InterviewCamp.io, Educative, Stream, Fauna, Triplebyte

AI summaryThis sponsored post from High Scalability features a roundup of tech job openings, including positions at Close, Kinsta, Wynter, and Stream, along with resources like InterviewCamp.io and Triplebyte for job seekers. It also promotes a variety of developer products and services, such as G-Core Labs CDN, Pinecone, Bridgecrew, IP2Location, StackHawk, Fauna, Educative, and Stream. Finally, it invites readers to contact the site about purchasing sponsored posts for events, jobs, or products.

Lil'Log·

Generalized Visual Language Models

AI summaryVision-language tasks such as image captioning and visual question-answering have traditionally relied on object detection networks to extract visual features, which a text decoder then converts into text. Rather than covering the broad literature on this topic, the article focuses on one specific approach: extending pre-trained generalized language models so they can directly consume and process visual signals.

A List Apart··Patrick Clancey

Mobile-First CSS: Is It Time for a Rethink?

AI summaryThe article challenges the assumption that mobile-first CSS is always the best development approach, arguing that its reliance on overwriting style declarations with min-width media queries creates unnecessary complexity, higher CSS specificity, and increased regression testing. The author proposes an alternative of developing breakpoints simultaneously using closed media query ranges, which isolates exceptions to default styles and reduces unwanted value inheritance. Additionally, with HTTP/2, splitting CSS into separate files linked with media attributes allows browsers to prioritize downloading only the styles they currently need, improving performance.

Ethan Marcotte··Ethan Marcotte

Parts, parcel.

AI summaryThe author shares an update on their health after last year's hospital stay, assuring readers they're feeling fine thanks to good care, therapy, and a treatment plan, even though they aren't cured. They explain they stepped away from social media, writing, and their website for a while without a clear reason, but something shifted in the past month. They've since redesigned their site with a new logo and layout, resumed migrating from Jekyll to Eleventy, and restarted a long-form writing project by lining up interviews again.

Marc Brooker·

Formal Methods Only Solve Half My Problems

AI summaryFormal methods like TLA+ and P effectively verify safety and liveness properties of distributed systems, but they cannot answer many practical design questions about latency, cost, scalability, hardware needs, and behavior under overload, which today require costly prototyping, closed-form modeling, and simulation. The author calls for new tools that combine formal specification and model checking with quantitative performance analysis, enabling sensitivity analyses using real-world data on networks, packet loss, and workloads. Closing this gap represents a valuable opportunity for collaboration between the formal methods community and the systems and database communities.

Svelte Blog·

What’s new in Svelte: June 2022

AI summaryThis June 2022 Svelte update covers quality-of-life improvements such as cancellable custom events in createEventDispatcher, {@const} support in {#if} blocks, various bug fixes, and major progress toward SvelteKit 1.0, including smoother Vite 3 integration and breaking changes like dropping Node 14 support. The article also showcases community-built apps and sites, learning resources to read, watch, and hear, and a roundup of new libraries, tools, and Svelte stores released during the month.

Josh W. Comeau··Josh W. Comeau

The Surprising Truth About Pixels and Accessibility

“Should I use pixels or rems?”. In this comprehensive blog post, we'll answer this question once and for all. You'll learn about the accessibility implications, and how to determine the best unit to use in any scenario. Keep reading.

A List Apart··Lennart Overkamp

Designers, (Re)define Success First

AI summaryThe article argues that ethical design has remained largely theoretical because designers have focused on the wrong level of the system—sharing knowledge and toolkits rather than changing the measurable objectives and metrics that truly drive companies. To structurally integrate ethics into daily design work, the author proposes redefining success by adding a fourth dimension beyond desirability, feasibility, and viability, with objectives for well-being (individual), equity (societal), and sustainability (global). Because 'what gets measured gets done,' designers must define concrete metrics for these ethical objectives to focus their teams and speak the business language needed to win management support.

Mara Bos·

Converting Integers to Floats Using Hyperfocus

AI summaryThe author recounts how, through an unexpected chain of events, they implemented a conversion from 128-bit integers to 64-bit floats that turned out to be faster than the built-in conversion of every compiler they tested. The blog post explains what happened, how floats work, how the conversion functions, and how the project got a bit out of hand.