Inscribed Spheres
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. That one dot product can rule out a polytope face before the O(N) support search. Box3D extends this to edges by projecting d onto each edge's Gauss map arc, using a branchless closed-form test to drop whole edges before the edge-pair stage. On 32-vertex hulls this culls 86% of face tests and 98% of edge pairs, cutting the Convex Pile narrow-phase time by 62%, and SAT becomes roughly competitive with GJK except on long, skinny shapes.
Related posts
- Open-Sourcing Rebalancer: A Generic, High-Performance Library for Solving Assignment Problems
Meta Engineering mediumAdeptMeta has open-sourced Rebalancer, an assignment-problem solver used for nine years to place hardware, services, tasks and traffic across its infrastructure. Problems are specified with objects, bins, dimensions, partitions, scopes and reusable specs (e.g. CapacitySpec, BalanceSpec), then compiled into an expression graph. That graph either drives a parallelized local search with an O(objects+bins) neighborhood or is translated into a MIP for Xpress, Gurobi or HiGHS, which shrinks models with variable aggregation and symmetry breaking but can still grow O(objects×bins). Rebalancer solves about 40 million problems a day, with a P99 of 12 seconds at 265k objects and 3.2k bins, and ships alongside Explorer, a Dockerized debugging UI.
- Introduction to 3D Gaussian Splatting
Hugging Face mediumAdept3D Gaussian Splatting renders photorealistic scenes in real time by rasterizing millions of gaussians, each with a position, covariance, color and alpha, instead of triangles. The pipeline runs Structure from Motion (e.g. COLMAP) to get a point cloud and turns each point into a gaussian. It then trains the parameters with SGD through a differentiable rasterizer that projects gaussians to 2D, depth-sorts them and alpha-blends front to back, splitting, cloning and pruning gaussians along the way. Tradeoffs include high VRAM use (4GB to view, 12GB to train), scene files of 1GB+, static scenes and incompatibility with existing pipelines. The main porting bottleneck is the CUDA-only CUB radix sort used to sort the gaussians.
- Protocol-Aware Deterministic Simulation Testing
TigerBeetle hardMasterTigerBeetle's deterministic simulator (the VOPR) has full visibility into each replica's consensus and storage state, so it can check invariants that black-box tools like Jepsen or Antithesis cannot see through user-facing APIs. For safety, it asserts that every committed WAL entry has matching checksums across replicas, that LSM manifest structure is consistent everywhere, and that replicas are byte-for-byte identical, which goes deeper than the cheaper production checks that crash a diverging backup. For liveness, it enforces per-replica invariants: a replica with an uncorrupted WAL must never need cluster coordination to recover, and missing blocks must be repaired from intact copies on other replicas whenever any copy still exists.
- Ribbon filter: Practically smaller than Bloom and Xor
Meta Engineering hardMasterRibbon filters are a static (immutable) alternative to Bloom filters that save roughly a third of memory, with space overhead as low as 1 percent above the information-theoretic bound versus Bloom's roughly 50 percent, while keeping O(1) queries. They are built by solving a GF(2) linear system over hashed keys using a near-band "ribbon" coefficient matrix from Dietzfelbinger and Walzer. A new on-the-fly Gaussian elimination solver (Rapid Incremental Boolean Banding ON the fly) works much like insertion into a linear-probed hash table, doing row reductions in registers. Like Bloom filters, Ribbon offers near-continuous configurability with no bit-alignment hazards, and Meta expects it to save several percent of RAM in major storage systems at a small CPU cost.
- Results from the ASIC puzzle
Jane Street Tech Blog hardMasterJane Street's puzzle chip, shipped as a bare GDS layout, turns out to be a hardware checker for an 11x11 Star Battle ("Two Not Touch") puzzle. It uses per-row, per-column and per-region 2-bit counters, a region ROM, a delay line for adjacency, and an LFSR-obfuscated output ROM, all built on SKY130 with LibreLane. Solvers extracted netlists with LVS in KLayout or Magic, or with custom tools, then simulated, traced logic back from the success signal, probed with impulse inputs, or used SAT solvers. One lesson stands out: a model that reproduces a sample waveform can still be wrong, so cross-checking independent implementations and building inputs that should fail is what catches the bugs.