---
title: "Posts"
description: "Engineering blog posts from companies, open source projects, research labs and engineers, each with a summary, topics and a difficulty level."
url: "https://swe.quest/?tag=algorithms"
---

# Posts

Filtered by topics: Algorithms.

Posts 1–24 of 99, page 1 of 5, newest first.

## 2026-11-24

- [Lazy gas, hot gas, and a thousand robots](https://swe.quest/articles/lazy-gas-hot-gas-and-a-thousand-robots-6f7a6530e96fde6f.md): Amazon Science · 2026-11-24 · Hard · 6 min read · Algorithms, Scientific computing, Machine learning
  Anonymous multiagent pathfinding (MAPF) for warehouse robots can be solved to optimality in polynomial time by formulating it as multimarginal optimal transport (MMOT) whose constraint matrices stay totally unimodular.

## 2026-11-13

- [Advancing science & engineering with Antigravity’s /teamwork](https://swe.quest/articles/advancing-science-engineering-with-antigravity-s-teamwork-0e40d692e8fc9ab5.md): Google Research · 2026-11-13 · Easy · 14 min read · AI agents, LLMs, Formal methods, Algorithms
  Antigravity's /teamwork multi-agent harness pairs parallel exploration with independent falsifiers (Lean 4, unmodified test suites, simulators, hardware counters) and partitions context so each agent sees only the files and tools it needs, with critics and auditors verifying results from clean contexts.

## 2026-11-10

- [Complexity of Differentially Private Selection via Federated APIs](https://swe.quest/articles/complexity-of-differentially-private-selection-via-federated-apis-707081b57325b85a.md): Apple Machine Learning Research · 2026-11-10 · Hard · 1 min read · Privacy, Algorithms, Machine learning
  Private selection built only on the standard noisy-aggregation primitive used in federated differential privacy needs Ω(√d/ε) samples, which explains the utility gap against the central model.
- [Understanding Private Evolution as Learning-Augmented Clustering](https://swe.quest/articles/understanding-private-evolution-as-learning-augmented-clustering-58ac5a66449a6d2b.md): Apple Machine Learning Research · 2026-11-10 · Hard · 2 min read · Privacy, Machine learning, Algorithms
  Private Evolution (PE), a differentially private synthetic data generation algorithm, performs far better in practice than worst-case Wasserstein learning analyses predict, and recasting it as generative model-augmented Wasserstein learning explains why.
- [Toward a Theory of Evaluability](https://swe.quest/articles/toward-a-theory-of-evaluability-047f64965b8c9ea7.md): Apple Machine Learning Research · 2026-11-10 · Hard · 1 min read · Evaluation, Machine learning, Algorithms
  Formalizes 'evaluability': whether a black-box model can be accurately evaluated when test samples may have been seen during training, a held-out assumption that is hard to justify for large foundation models.

## 2026-11-07

- [JIT bitmap text rendering for microcontrollers](https://swe.quest/articles/jit-bitmap-text-rendering-for-microcontrollers-b2c91e4d8888665c.md): Linebender · 2026-11-07 · Hard · 13 min read · Compilers, Performance engineering, Hardware, Algorithms
  Proportionally spaced, kerned bitmap text on the RP2350 renders fast enough to race the beam by JIT-compiling each string into ARM Cortex-M33 code.

## 2026-11-05

- [Hamed Karimi wins ECML PKDD Test-of-Time Award](https://swe.quest/articles/hamed-karimi-wins-ecml-pkdd-test-of-time-award-8bfbbc2fdc0b0a0e.md): Amazon Science · 2026-11-05 · Hard · 5 min read · Machine learning, Algorithms, Model training
  Hamed Karimi, Julie Nutini and Mark Schmidt received the 2026 ECML PKDD Test-of-Time Award for their 2016 paper showing that the 1963 Polyak–Łojasiewicz (PL) inequality guarantees linear convergence of gradient descent without strong convexity.

## 2026-10-30

- [Splatting the Gaussians into Blender](https://swe.quest/articles/splatting-the-gaussians-into-blender-0308f3f0ecb77140.md): Blender Developers Blog · 2026-10-30 · Hard · 6 min read · Computer vision, Algorithms, Open source
  Blender 5.3 adds native 3D Gaussian splat support, importing .PLY, .SPZ and USD captures as a point cloud type with per-splat scaling, quaternion rotation and spherical-harmonic radiance attributes exposed to Geometry Nodes.

## 2026-10-28

- [The new cost-based join optimizer with reordering support for non-inner joins](https://swe.quest/articles/the-new-cost-based-join-optimizer-with-reordering-support-for-non-inner-joins-60f6c88dd7c8b7a9.md): ClickHouse · 2026-10-28 · Hard · 17 min read · Query engines, Algorithms, Analytics & OLAP, Performance engineering
  ClickHouse's new cost-based join optimizer uses an exhaustive DPsub dynamic-programming enumerator over table-subset bitmasks.

## 2026-10-20

- [Cross-store product clustering across millions of stores](https://swe.quest/articles/cross-store-product-clustering-across-millions-of-stores-c9b1fdcfbed466c6.md): Shopify Engineering · 2026-10-20 · Hard · 13 min read · Machine learning, E-commerce, Vector search, Algorithms, LLMs
  Shopify groups listings of the same product across millions of stores under a global Universal Product Identifier using a three-stage pipeline: embedding-based approximate nearest-neighbor retrieval to find candidate pairs, tiered pair scorers, and graph clustering.

## 2026-10-12

- [Contact Recycling](https://swe.quest/articles/contact-recycling-cff69228db371637.md): Box2D · 2026-10-12 · Hard · 9 min read · Games, Performance engineering, Algorithms, Scientific computing
  Contact recycling reuses one-shot contact manifolds across full time steps when two bodies have barely moved relative to each other, making narrow-phase contact generation nearly free for resting stacks or objects riding together.

## 2026-10-09

- [There are many themes, but this one is yours](https://swe.quest/articles/there-are-many-themes-but-this-one-is-yours-54d3fb5afa0c1ab8.md): Earendil · 2026-10-09 · Medium · 12 min read · Accessibility, Developer tools, Algorithms
  Pi's new default system theme queries the terminal for its foreground, background and 16 ANSI colors, keeps their hue and chroma, and recomputes lightness so that around 60 UI color roles meet per-surface contrast rules.

## 2026-10-07

- [What today's software owes to Bronze Age clocks](https://swe.quest/articles/what-today-s-software-owes-to-bronze-age-clocks-f1c84fb59510a8bf.md): PlanetScale · 2026-10-07 · Medium · 8 min read · Resilience, PostgreSQL, API design, Algorithms
  Leaky buckets, descended from Bronze Age water clocks, remain a cheap admission-control mechanism: a bucket stores only its last level and timestamp, so its current level can be computed lazily as max(0, level\_then − drain\_rate × elapsed).

## 2026-10-05

- [Unsupervised Topic Discovery with Text Embeddings](https://swe.quest/articles/unsupervised-topic-discovery-with-text-embeddings-b5e7da4e259352e1.md): Wealthfront Engineering · 2026-10-05 · Medium · 14 min read · Machine learning, LLMs, Python, Algorithms
  Wealthfront derives a hierarchical taxonomy of support-call topics from free-form representative notes by embedding each note with OpenAI's text-embedding-3-small, reducing dimensions with UMAP (to 25), and clustering with HDBSCAN into 89 top-level clusters, then re-running UMAP+HDBSCAN within each cluster to get sub-topics.
- [Scaling and benchmarking a critical message bus using a new indexing strategy](https://swe.quest/articles/scaling-and-benchmarking-a-critical-message-bus-using-a-new-indexing-strategy-b90c14ae394a3109.md): Jane Street Tech Blog · 2026-10-05 · Medium · 9 min read · Queues & messaging, Performance engineering, Data structures, Algorithms, Testing
  Aria, Jane Street's internal message bus, was burning CPU by linearly filtering its in-memory ring buffer whenever lagging clients recovered a subset of topics.

## 2026-09-29

- [Inscribed Spheres](https://swe.quest/articles/inscribed-spheres-119dd641a396418e.md): Box2D · 2026-09-29 · Hard · 14 min read · Games, Algorithms, Performance engineering, C & C++
  Inscribed spheres give a cheap upper bound on the separation achievable along any axis in the separating axis test (SAT): n·d − (rA + rB), where d joins the sphere centers.

## 2026-09-21

- [Open-Sourcing Rebalancer: A Generic, High-Performance Library for Solving Assignment Problems](https://swe.quest/articles/open-sourcing-rebalancer-a-generic-high-performance-library-for-solving-d79479af3daad1e0.md): Meta Engineering · 2026-09-21 · Medium · 8 min read · Algorithms, Scheduling, Open source, Datacenters, Performance engineering
  Meta has open-sourced Rebalancer, an assignment-problem solver used for nine years to place hardware, services, tasks and traffic across its infrastructure.
- [tokenizers v1: encode, decode and scaling, measured](https://swe.quest/articles/tokenizers-v1-encode-decode-and-scaling-measured-49d0c7f94c7739e1.md): Hugging Face · 2026-09-21 · Medium · 10 min read · Performance engineering, Rust, LLMs, Algorithms
  tokenizers v1 encodes text 3 to 30 times faster than v0.23 single-threaded on an Apple M4 Max and scales at 76% of linear across eight cores, while producing identical token IDs and keeping the same API.

## 2026-09-18

- [MilleMiglia: A realistic instance generator for middle-mile logistics](https://swe.quest/articles/millemiglia-a-realistic-instance-generator-for-middle-mile-logistics-6dcc1ed2fd92bea0.md): Google Research · 2026-09-18 · Easy · 8 min read · Algorithms, Scientific computing, C & C++, Open source
  MilleMiglia is an open-source C++ instance generator that produces realistic, privacy-preserving benchmarks for middle-mile logistics, where shipments are relayed across multiple vehicles between distribution centers over multi-day horizons.

## 2026-09-02

- [Interning at incident.io: rate limiting, resiliently](https://swe.quest/articles/interning-at-incident-io-rate-limiting-resiliently-703eb65d0ab42974.md): incident.io · 2026-09-02 · Medium · 10 min read · Resilience, Algorithms, Kubernetes, Engineering culture
  incident.io made its rate limiter keep working when its Valkey backing store (Google Cloud Memorystore) is unavailable, instead of failing open.

## 2026-08-31

- [Autoscaling Lakebase Postgres](https://swe.quest/articles/autoscaling-lakebase-postgres-63257ef0753db067.md): Neon · 2026-08-31 · Hard · 12 min read · PostgreSQL, Capacity planning, Virtualization, Algorithms, Kubernetes
  Neon's Lakebase Postgres resizes compute in place about once every 81 seconds by taking the maximum of three target sizes: CPU load (one-minute average kept under 90%), memory (polled every 100 ms by an in-VM monitor and kept under 75%), and the working set of the compute cache.

## 2026-08-25

- [Project Lighthouse — Part 3: Introducing project-lighthouse-anonymize](https://swe.quest/articles/project-lighthouse-part-3-introducing-project-lighthouse-anonymize-df592a142a535f24.md): Airbnb Engineering · 2026-08-25 · Easy · 4 min read · Privacy, Python, Open source, Algorithms
  Airbnb has open-sourced project-lighthouse-anonymize, the Python library behind Project Lighthouse's anonymization of perceived race data, alongside two new arXiv papers.

## 2026-08-17

- [Same Cluster, 33 Points More Utilization: What Changed Was the Order](https://swe.quest/articles/same-cluster-33-points-more-utilization-what-changed-was-the-order-b3fd7e12cbfd3ecc.md): Hugging Face · 2026-08-17 · Hard · 13 min read · Scheduling, ML platforms, Inference & serving, Capacity planning, Algorithms
  A constraint-aware GPU allocator beat a FIFO scheduler on identical hardware and workloads across seven scenarios, raising utilization by up to 33 percentage points and priority-weighted output by up to 105%.

## 2026-08-08

- [The mathematical beauty of hyperbezier curves](https://swe.quest/articles/the-mathematical-beauty-of-hyperbezier-curves-037511253fc852f1.md): Linebender · 2026-08-08 · Hard · 7 min read · Algorithms, Scientific computing
  The hyperbezier is a proposed curve family for 2D vector design, defined by the Cesàro equation κ(s) = (as+b)/(cs²+ds+1)^1.5, intended as a strict improvement on cubic Béziers.

[Next page](https://swe.quest/index.md?tag=algorithms&page=2)

Same list as RSS: [https://swe.quest/feed.xml?tag=algorithms](https://swe.quest/feed.xml?tag=algorithms). Lists take `?page=`, `?per=12|24|48|96` and, on the home page, `?tag=` (up to 3), `?source=`, `?difficulty=easy|medium|hard` and `?search=`.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
