~/talk

How to Turn an Abstract Task into an Optimization Problem: the KMP Collage Engine Case

TalkinRussianat Mobius 2026 Spring · 2026-05-12..05-13· [software-architecture]
links:none on file
slides:none on file

Describes converting a vague UI requirement (“must look neat”) for chat image collages into a concrete optimization problem using a KMP-compatible engine. Explains defining measurable penalties for visual defects, enforcing hard constraints, and globally selecting layouts; covers production concerns like search-space pruning, caching and quantization for speed, parameter tuning on datasets, and regression protection via invariants and tests. Notes the core is implemented as a dependency-free KMP module so the algorithm is portable and testable across platforms.

AI-written summary · about

  1. 0:00Introduction
  2. 1:01Product pain and requirements
  3. 3:50Collage solutions limitations
  4. 6:58Optimization problem formulation
  5. 8:47Geometry output
  6. 10:09Solution architecture
  7. 11:32Tile evaluation and cropping
  8. 13:38Extreme image handling
  9. 14:43Global vs greedy layout
  10. 16:07Dynamic programming for tail
  11. 17:53Row height selection
  12. 19:15Performance benchmarks
  13. 21:04Tuning defect weights
  14. 22:11Final results and UX
  15. 23:14When to implement solutions
  16. 25:41Knuth-Plass inspiration
  17. 26:46Open source release and future
  18. 27:47Q&A
  19. 28:08Greedy algorithm comparison
  20. 29:10ML for weight tuning
  21. 30:13Backend integration
  22. 32:17Future directions
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.