~/talk

Procedural Programming vs Data Flow

slides:none on file

Argument: Flink is a parallel dataflow engine where datasets are lazy datasets not values and cannot be nested; common procedural patterns must be reworked into scalable primitives. Concrete examples: mean computed by mapping each element to (value,1), reducing to (sum,count) and dividing; centering done by cross or by sending the one-element mean as a broadcast dataset (accessed in RichMap.open as a Java collection); least-squares done by mapping points to outer-product matrices, reducing their sum, then solving the small linear system locally. Uses Apache Flink Scala API, Flink ML (Breeze-backed vectors).

AI-written summary · about

  1. 0:00Introduction to Flink
  2. 6:43Procedural vs Data Flow
  3. 10:16Translating Python to Flink
  4. 14:28Centering Data in Flink
  5. 22:48Ordered vs Unordered Data
  6. 27:21Matrix Representation in Flink
  7. 29:06Scaling with Data Flow
  8. 30:30Q&A: Broadcast Variables
~/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.