~/talk

You Got Math In My Ruby! (You Got Ruby In My Math!)

Talkat Ruby on Ales 2014 · 2014-03-06..03-07· [ruby]
slides:none on file

Ruby's reduce/inject maps cleanly onto monoids: integers with +, strings and arrays with concatenation, and even Bloom filters (require same bit‑vector length and hash functions) combine by bitwise OR giving a valid identity of all zeros. Monoids let you fold streams incrementally, compose for mean/stddev (Knuth's one‑pass stable algorithm turns into a monoid) and exploit parallel folds for log n speedup in map‑reduce. Trace monoids model commuting operations to quantify available concurrency.

AI-written summary · about

  1. 0:00Intro
  2. 2:11The Problem
  3. 4:36Mathematical Creatures
  4. 6:06Reduce
  5. 6:57Plus
  6. 8:00Identity
  7. 10:27Group Operations
  8. 11:05Parallel Operations
  9. 13:21Standard Deviation
  10. 15:20Bloom Filters
  11. 16:53Combining Bloom Filters
  12. 18:35Advanced Data Structures
  13. 19:30An Alphabet
  14. 21:25Concurrent Computation
  15. 22:26Trace Mano
~/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.