~/talk

Functional streams for factorians

links:none on file
slides:none on file

Implements a mini Factorio factory using FS2 (Functional Streams for Scala) and a bounded Queue via Cats Effect, composing drill -> belt -> furnace -> assembler streams. Shows concrete tuning: prefetchN = 50 input buffers, chunkN(3) to batch three cables, two furnaces per miner because smelting takes ~2× mining time, first electronic circuit appears around 8s. Demonstrates merge, parZip, evalMap, concurrent background streams, and a real deadlock case when downstream .take(2) starves a queue — code runs but needs careful buffer management.

AI-written summary · about

  1. 0:00Introduction and me
  2. 2:53Back pressure in Factorio
  3. 3:14Simple mining drill demo
  4. 6:01Smelting iron ore
  5. 9:56Transfer belt with queues
  6. 14:06Assembly machines
  7. 19:43Splitters and filtering
  8. 24:54Conclusion and resources
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.