最新文章

今日新增 402 篇 · 共 7,360 篇 · 来自 241 个博客

Lil'Log·

Evolution Strategies

AI 摘要While stochastic gradient descent is the standard method for optimizing deep learning models, black-box optimization algorithms offer an alternative approach. These methods can optimize a target function even when its analytic form is unknown, meaning gradients and the Hessian matrix cannot be computed. Examples of black-box optimization methods include Simulated Annealing, Hill Climbing, and the Nelder-Mead method.

brandur.org··Brandur Leach

Doubling the Sorting Speed of Postgres Network Types with Abbreviated Keys

AI 摘要The article describes a recently committed Postgres patch that adds SortSupport to the inet and cidr network address types, roughly doubling their sorting speed by generating abbreviated keys that fit into a pointer-sized datum. It explains the structure and sorting rules of network types—including IP family, network bits, netmask size, and subnet—and how the abbreviated key design packs these components into the available bits while preserving correct comparison semantics. Finally, it walks through the C implementation, using bitwise operations such as bitmasking to efficiently encode each part of the key.

Without Boats·

Notes on a smaller Rust

AI 摘要The author observes that many Rust users who like but don't love the language believe there should be a smaller, simpler variant of Rust that sacrifices some power for ease of use. While the author agrees such a smaller Rust is possible, they argue that people are almost always wrong about what would actually need to change. The article therefore offers notes on where to begin creating that smaller Rust.

Andrew Kelley·

Why I'm donating $150/month (10% of my income) to the musl libc project

AI 摘要The author, creator of the Zig programming language, announces he is donating $150/month (10% of his income) to the musl libc project, which Zig relies on for mentorship, cross-compilation support, and much of its standard library. Motivated by the recent V language controversy involving misleading marketing, he frames the donation as an honest marketing stunt to prove that open-source funding is not a zero-sum game. The experiment succeeded, with readers pledging an additional $178.65 toward musl.

Lil'Log·

Meta Reinforcement Learning

In my earlier post on meta-learning, the problem is mainly defined in the context of few-shot classification. Here I would like to explore more into cases when we try to “meta-learn” Reinforcement Learning (RL) tasks by developing an agent