最新文章

今日新增 413 篇 · 共 7,425 篇 · 来自 241 个博客

Baby Steps·

What it feels like when Rust saves your bacon

AI 摘要The article explains that Rust's type checker acts as a 'co-pilot' that helps developers avoid subtle bugs that would be painful to debug. However, the author points out that in the moment, this experience typically feels very frustrating, because developers find themselves unable to get their code to compile.

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 摘要The 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 摘要The 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 摘要This 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 摘要Vision-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 摘要The 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 摘要The 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 摘要Formal 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 摘要This 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.