~/talk

Killing Fibonacci

Talkat Wicked Good Ruby 2013 · 2013-10-12..10-13· [ruby, testing]
name:Dan Sharp
links:none on file
slides:none on file

Builds a Ruby TDD pipeline: a four fib methods Fibonacci calculator (recursion, iteration, array, matrix) and an injected stock‑price retracement predictor that computes retracement = (high − low) × iterations / fib(iterations). Measures show recursion is unusable, iteration ≈2s for fib(250k), array ≈5s, matrix <1s and fib of a million 86,784 digits computes in ~0.5s. Tests drive refactors, reveal the domain vs implementation split, and the predictor reproduces plausible Apple retracement numbers (≈426, 452).

AI-written summary · about

  1. 0:00Fibonacci journey intro
  2. 1:55Stock picker app challenge
  3. 3:38Courage to conquer fear
  4. 4:41Baby steps for peace
  5. 6:52Do the minimum
  6. 10:01Stay focused minimize red time
  7. 13:15Listen to your tests
  8. 15:00Know your domain
  9. 16:23Refactor from green
  10. 17:05Behavior over implementation
  11. 18:47Tenacity stick-to-it-ness
  12. 24:22Code versus software
  13. 31:28Live demo results
  14. 33:1310 lessons summary
~/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.