最新文章

今日新增 428 篇 · 共 7,421 篇 · 来自 241 个博客

Eugene Wei··Eugene Wei

My Favorite Movies of 2021

AI 摘要The author reflects on their favorite films of 2021 while arguing that machine learning struggles to recommend movies because film generates far less feedback signal than short-form media like music or TikTok videos. They champion Letterboxd's community-driven reviews over aggregated scores, critique Hollywood's outdated theatrical release windowing that leaves indie films inaccessible outside major cities, and argue studios should embrace aesthetic abundance by making all films available on demand. Finally, they lament the exhausting, tribalistic social media 'Discourse' exemplified by debates like Scorsese versus the MCU, likening it to a runaway reply-all email that is best ignored.

Svelte Blog·

What’s new in Svelte: March 2022

AI 摘要This March 2022 Svelte update announces the Svelte Summit Spring virtual conference on April 30, 2022, and highlights new SvelteKit features such as page endpoints that reduce boilerplate for data loading, searchable multipage docs, app versioning support, and automatic Playwright setup. It also details recent breaking changes and language tools improvements, followed by a community showcase of apps, learning resources, and libraries built with Svelte.

Marc Brooker·

Fixing retries with token buckets and circuit breakers

AI 摘要The article compares retry strategies for clients calling a failing service: no retries, N retries, adaptive retries using a token bucket, and retry circuit breakers, evaluating them through reasoning and an event-driven simulation. It finds that the token bucket approach behaves like N retries at low failure rates while smoothly reducing retries at higher rates, whereas the circuit breaker avoids extra load at high failure rates but can trip early because each client only has a local estimate of the failure rate, an effect amplified with many small clients. The best choice depends on the goal: the adaptive token bucket performs better at low failure rates without modality, while circuit breakers eliminate extra load at high failure rates.

Lil'Log·

Learning with not Enough Data Part 2: Active Learning

This is part 2 of what to do when facing a limited amount of labeled data for supervised learning tasks. This time we will get some amount of human labeling work involved, but within a budget limit, and therefore we need to be smart when se

Marc Brooker·

Will circuit breakers solve my problems?

AI 摘要The article argues that circuit breakers, often proposed as a fix for overload-induced failures in distributed systems, struggle with the partial failures that sharded and cell-based architectures are designed to handle. Because a breaker can't reliably predict whether a specific call will succeed when only part of a service is overloaded, tripping it can turn a partial failure into a complete outage. The author concludes that circuit breakers may defeat modern fault-tolerance mechanisms, so engineers should think carefully before deploying them.

Baby Steps·

Dare to ask for more #rust2024

AI 摘要The author reflects that Rust 2021's modest changes, such as precise closure captures and simplified inline format strings, noticeably improved day-to-day usability, just as NLL and the 2018 module system did before. Looking ahead to Rust 2024, the author urges the community to be ambitious and dare to aim for even more meaningful improvements.