最新文章

今日新增 441 篇 · 共 7,489 篇 · 来自 241 个博客

Svelte Blog·

What’s new in Svelte: April 2024

AI 摘要This April 2024 Svelte update announces the upcoming Svelte Summit Spring livestream on April 27 and highlights numerous new features merged into the Svelte 5 preview, including reactive Map, Date, and Set classes in svelte/reactivity, the new $bindable rune, improved SSR error messages, and several breaking changes to $props and slot handling. SvelteKit also gained updates such as Skew Protection for adapter-vercel, Cloudflare platform emulation, graceful shutdown and compression defaults for adapter-node, and Google Cloud support in adapter-auto. The post rounds out with community showcase apps, talks, and tools built by Svelte contributors.

Hillel Wayne·

How old is the name 'Daniel'?

AI 摘要The author investigates whether the name 'Daniel'—first attested in the Ugaritic Tale of Aqhat around 1350 BCE—is the ancestor of the modern name, tracing it through the fall of Ugarit, the Phoenician/Canaanite world, and into the Hebrew Book of Ezekiel. Despite sparse evidence caused by Bronze Age Collapse and the use of rotting papyrus, the author argues the name persisted through a shared Canaanite cultural consciousness, with the Ugaritic and Hebrew versions both meaning 'God judged.' The piece concludes that Daniel may be the oldest attested name still in common use today.

Robin Rendle··Robin Rendle

Design is a process of getting stuck

AI 摘要The author argues that design is a process of getting stuck, and that whiteboards are the best tool for getting unstuck—complex design and product problems can't be solved through documents or conversation alone, but require drawing ideas out visually at low fidelity. Drawing parallels to physicists like Thomas Fink, who notes that people often solve problems simply in the act of writing them out on a blackboard, the author describes how sketching messy diagrams with a collaborator can suddenly make a raging ball of complexity click into a coherent picture. While a whiteboard won't solve every problem, it soothes the most painful ones and may be the best prototyping tool of all time.

Robin Rendle··Robin Rendle

Good Taste

AI 摘要Elizabeth Goodspeed argues that developing taste is a slow, introspective process much like therapy, driven by devouring ideas and culture that genuinely move you rather than following what others admire. She emphasizes that taste requires vulnerability and trusting your own instincts, even when they conflict with current trends or your peers' preferences. Ultimately, she encourages readers to embrace their own obsessions and quirks, confident that everyone else will eventually catch up—though perhaps not AI.

Bun Blog·

Bun v1.0.36

AI 摘要Bun v1.0.36 fixes 13 bugs and adds support for `fs.openAsBlob` and `fs.opendir`. The release also addresses edge cases in `bun install` with multiple `bin` entries, fixes encoding in `bun build --target bun`, and resolves issues with process.stdin/stdout, http2, and .env handling in `bun run`. Additionally, it fixes various Bun shell bugs and improves Node.js compatibility.

Robin Rendle··Robin Rendle

The Other Side

AI 摘要The author reflects on their shift in perspective from working on a design systems team—where they rigidly enforced rules and scolded designers for inconsistencies—to now being a product designer who often wants to break from the system when it gets in the way of building a better product. They argue that designers' desire to deviate may signal inherent flaws in a design system, such as poor flexibility, documentation, or abstractions, rather than designer inexperience, using Steam's famously inconsistent UI as an example of a nonetheless excellent product. Ultimately, the author believes a design system should gently guide designers rather than force decisions on them, because when it says 'no' without good reason, resistance is inevitable.

The Gradient··Kola Ayonrinde

Mamba Explained

AI 摘要The article explains Mamba, a State Space Model (SSM) architecture that challenges Transformers by eliminating the quadratic bottleneck of Attention, enabling linear scaling in sequence length, up to 5x faster inference, and performance on million-length sequences where its 3B model matches Transformers twice its size. Using a Temple Run analogy, the author motivates SSMs as a hidden-state system governed by differential equations with A, B, C, and D matrices—determining what to forget, remember, and predict—which is then discretised (via Zero-Order Hold) into an efficient, RNN-like form for computation. Mamba further improves on traditional RNNs through a selection mechanism that lets its matrices adapt dynamically to each input, pushing out the Pareto frontier of the effectiveness/efficiency tradeoff compared to both RNNs and Transformers.

Robin Rendle··Robin Rendle

:has roundup

AI 摘要This article is a roundup of clever uses for the CSS :has selector, citing examples from developers like Jim Nielsen, Ahmad Shadeed, Bramus, Andy Bell, and Michelle Barker. Highlights include hiding page overflow when a dialog is open, styling elements based on their siblings or children, unsetting paragraph width constraints when they contain embedded content, and detecting invalid form inputs to trigger error states. The author finds these capabilities eye-opening and expects many more useful :has examples to emerge in the coming years.

Marc Brooker·

Finding Needles in a Haystack with Best-of-K

AI 摘要The article examines best-of-k load balancing, a powerful stateless technique for distributed systems, and shows that it performs poorly when workers have tight capacity limits. Through simulations and a probabilistic analysis of an iterative variant, the author demonstrates that as utilization approaches capacity and per-worker capacity is small (e.g., c=1), best-of-k requires far more retries, offering only marginal improvement over random placement. The takeaway is that best-of-k isn't magic: systems that must find the rare workers with free capacity slots likely need a different approach, such as maintaining an explicit list of available workers.

Benedict Evans··Benedict Evans

The problem of AI ethics

AI 摘要The author uses the UK Post Office/Fujitsu Horizon scandal, in which buggy accounting software led to hundreds of wrongful prosecutions, to argue that 'AI Ethics' is the wrong level of abstraction—such failures were institutional rather than something a 'database regulator' could have prevented. He contends that AI-related problems are diverse and context-specific, much like car regulation, which involves many distinct rules rather than a single omnibus law, and that issues like content moderation, drug discovery, and parole decisions each require different expertise. Since generative AI is evolving extremely fast, he argues that writing laws or theses about it now demands humility, as much of what is said may become irrelevant within a year.

Robin Rendle··Robin Rendle

One endless meeting

AI 摘要The author reflects on why their tiny two-person team at Retool has shipped more in four months than they had in the prior three years. They credit their productivity to four factors: being a small team with minimal bureaucracy and meetings, treating building rather than decision-making as the real hard work, seeking feedback daily instead of hiding work until big reveals, and constant in-office collaboration—humorously dubbed 'one endless meeting'—where team members can immediately turn to each other to talk through problems.

Robin Rendle··Robin Rendle

Keyboard-first apps

AI 摘要The author discusses the appeal of keyboard-first apps, highlighting Godspeed, a todo list app with a 'hardcore mode' that disables the mouse to help users learn keyboard shortcuts faster. They also mention Retina Studio's apps, TextBuddy and Fastmarks, which follow a similar '100% keyboard-driven' design philosophy.

Andrew Kelley·

Redis Renamed to Redict

AI 摘要After Redis Labs changed Redis's license to the proprietary SSPL in March 2024, the project was forked as Redict under the stewardship of Drew DeVault, continuing under the original BSD-3 license. The author argues that Redict is the true spiritual successor to Redis, since the mature software requires only maintenance rather than profit-driven churn like Redis Labs' pivot to generative AI. Despite Drew DeVault's controversial reputation, the author defends him as a lifelong, uncompromising advocate of Free and Open Source Software who is well-suited to steward the project.

Bun Blog·

Bun v1.0.34

Fixes 7 bugs, bunx uses less memory, bun install gets faster on Docker & WSL, a conflicting devDependency hoisting bug is fixed, a cyclical CommonJS & ESM import crash is fixed, cross-mount fs.cp & fs.copyFile get 50% faster on Linux, and r