最新文章

今日新增 433 篇 · 共 7,467 篇 · 来自 241 个博客

Svelte Blog·

Hacktoberfest 2023 with SvelteKit

AI 摘要SvelteKit is participating in Hacktoberfest 2023, a global October event that encourages developers to contribute to open-source projects. Developers can register for the event and have their pull requests to SvelteKit count toward participation, with helpful issue tags like 'low hanging fruit' and 'contributions-welcome' for finding work. Contributors are encouraged to communicate early about the issues they take on and to ask questions in the project's dedicated Discord #hacktoberfest channel.

Svelte Blog·

What’s new in Svelte: October 2023

AI 摘要This October 2023 update covers the latest in the Svelte ecosystem, including a preview of Svelte 5's Runes for simpler reactive variable management, the Svelte 4.2.1 release with HTML, CSS, and sourcemap fixes, and SvelteKit 1.25.0's new catch-all handler for +server.js. It also highlights community events like Svelte Summit Fall and the Threlte hackathon, showcases apps and sites built with Svelte, and rounds up tutorials, videos, and new libraries and tools.

Baby Steps·

Easing tradeoffs with profiles

AI 摘要The article discusses how Rust helps developers build reliable programs by surfacing things they should pay attention to, such as error handling via Result, though the importance of certain concerns—like memory allocation—varies by application. It frames Rust's design philosophy as erring on the side of making developers attend to more things while keeping them manageable. The author then introduces a speculative idea of improving on this by allowing programs to declare a "profile" that tailors what they need to pay attention to.

Baby Steps·

Polonius revisited, part 2

AI 摘要This article explores extending the Polonius-style formulation of the original borrow checker to be flow-sensitive. The author argues this approach achieves the original Polonius goals, overcomes its shortcomings, and is more amenable to efficient implementation. However, the author still wonders whether there is room for further improvement.

Baby Steps·

Empathy in open source: be gentle with each other

AI 摘要The author had been preparing a talk on inclusive mentoring across differences with a friend at Amazon, but it was canceled after they contracted COVID-19. The talk's central themes about empathy—what it is, what it isn't, and how to practice it—have stayed with them ever since. As a result, they now notice empathy appearing frequently in the open source community.

Baby Steps·

Polonius revisited, part 1

AI 摘要This blog post describes lqd's work on Polonius, specifically a PR that reimplements the traditional Rust borrow checker in a more Polonius-like style. The team is addressing the last performance issues and considering replacing the existing borrow checker with this new implementation, which would be effectively a no-op from the user's perspective, including performance-wise. The author plans follow-up posts exploring how to extend the analysis to be more precise while remaining efficient.

Lea Verou··Lea Verou

State of HTML 2023 now open!

AI 摘要The State of HTML 2023 survey, the most ambitious Devographics survey to date, is now open for three weeks, with responses submitted by October 1st carrying extra weight because preliminary data will inform Interop 2024 proposals. Results are used by browser vendors and standards groups to prioritize features, and participants receive a personalized point-based score and ranking compared to other developers. The survey is translated into over 30 languages, includes JS APIs closely tied to HTML, and allows account holders to edit their responses throughout the survey period.

Ethan Marcotte··Ethan Marcotte

A little book and its author, out in the world.

AI 摘要The author, Ethan Marcotte, reflects on the month since his book "You Deserve a Tech Union" was published, noting that he has been doing more interviews and public appearances than usual after several quiet years. He shares links to recent engagements, including a "meet the author" interview with A Book Apart, an appearance on the Rooftop Ruby podcast, a profile published by the Emergency Workplace Organizing Committee (EWOC), and his first Instagram interview with Strike For Our Rights. He closes by thanking readers for their support and expressing hope that the book helps tech workers see unionizing as achievable.

Marc Brooker·

Writing For Somebody

AI 摘要The article argues that writers should always have a specific audience in mind—whether a particular person, a group, or even their past or future self—in order to communicate more effectively and with empathy. The author offers a checklist of questions to guide writing, such as who the reader is, what they already know, what misconceptions they have, what the writer wants them to do, and what value they get from reading. He notes that while this doesn't capture everything about good writing, ineffective writing almost always lacks clear answers to one or more of these questions.

Elad Gil··Elad Gil

Unicorn Market Cap 2023: Rise of AI

AI 摘要This article analyzes global unicorn market cap in 2023, finding that despite the pandemic-era 'build anywhere' narrative, value remains heavily concentrated in the US (53% of global market cap), with 40% in just three cities: the SF Bay Area, New York, and Los Angeles. The number of unicorns has exploded from 44 in 2012 to 1,215 today, though many 'ZIRPacorns'—companies inflated by zero-interest-rate-era valuations—may lose their $1B+ status as private markets correct. The SF Bay Area has emerged as the early leader in generative AI with an 81% market cap share, while China continues to lose global share and Europe has nearly caught up.

Svelte Blog·

Introducing runes

AI 摘要The article announces runes, a new opt-in feature in Svelte 5 that provides universal, fine-grained reactivity through function-like symbols such as $state, $derived, and $effect, replacing older mechanisms like top-level let, export let, the $: label, and stores. Runes work beyond .svelte components in .svelte.js/.svelte.ts modules and are powered internally by signals, making Svelte 5 significantly faster while simplifying its mental model. Svelte 5 has no release date yet, but a preview site with an interactive playground is available for feedback.

Without Boats·

Generic trait methods and new auto traits

I want to wrap up my consideration of the idea of adding new auto traits to Rust with some notes from a conversation I had with Ariel Ben-Yehuda. You can read these two previous posts for context: Changing the rules of Rust Follow up to “Ch