~/talk

Programming Safely in an Uncertain World (Part 2)

Talkat LambdaConf 2018 · 2018-06-03..06-05· [machine-learning]
slides:none on file

Claims that algebraic data types collapse multiple failure modes into one principled result and shows the actual code: Maybe, Either, and Future used with map / chain (flatMap) and join to avoid exceptions, Sanctuary.parseJSON to catch parse errors, and sequence as a generic Promise.all alternative. Example builds a pipeline that parses JSON, safely prop-drills X.Y.Z into an array of hex strings, validates and sums them, and yields Just(sum) or Nothing when any step fails.

AI-written summary · about

  1. 0:00Start
  2. 5:08Pausing Adjacent String
  3. 13:22Lookups
  4. 15:32Sequence
  5. 21:41Flusha
  6. 28:01Testing the Happy Path
  7. 28:30The Naive Javascript Solution
~/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.