← Sun, Nov 15 digest

Semicircle Packing

read article ↗ hn thread ↗

An engineer shares their experience tackling a Paradigm puzzle to pack 15 semicircles, building a custom visualization tool and using AI agents to reach the top-three leaderboard.

summary is enough It is an entertaining and visually pleasing write-up, but the actual solution relies more on LLM brute-force optimization than deep mathematical insights.

summary

The author attempts a semicircle packing puzzle from venture firm Paradigm, aiming to fit 15 identical semicircles into the smallest enclosing circle. After initial manual sketches and noticing a lack of academic literature on odd semicircle packings, they partnered with Codex to build a custom web visualization tool. By implementing both symmetrical and relaxed asymmetrical modes, they used various AI coding agents to hill-climb their way to a top-three leaderboard spot with a radius of 2.94853.

key points

  1. The puzzle challenges participants to pack 15 identical semicircles to minimize the radius of an enclosing circle.
  2. Finding little existing research on odd semicircle packings, the author built a custom visualization tool using Codex.
  3. Iterative AI-assisted hill-climbing and asymmetrical adjustments ultimately yielded a top-three leaderboard submission of 2.94853.

who should read it

Software developers and puzzle enthusiasts interested in algorithmic challenges and AI-assisted programming.

discussion positive

consensus

Commenters generally enjoyed the lighthearted narrative, interactive graphics, and intellectual meandering of the write-up.

pushback

A minority view criticized the post for relying on LLM brute-forcing rather than discovering clever mathematical shortcuts.

best comment by Pastookh ↗

Did your best solution (radius 2.94853) evolve from one of your original symmetric layouts, or did it emerge from a completely different starting point? I'm curious whether your manual visual exploration actually helped the optimization algorithm find better solutions, or whether starting from random arrangements would have worked just as well.

It questions whether the author's manual visual exploration actually helped the optimization algorithm or if random starting points would have yielded the same result.

Generated by an LLM from the article and thread. Check the sources before relying on it.