~/talk

Going the Distance

Talkat Rails Pacific 2014 · 2014-09-26..09-27· [ruby-on-rails, ruby]
slides:none on file

Starts with a naive character loop, then a recursive Levenshtein that returns 1,647 comparisons for Saturday→Sunday, then an optimized matrix version that drops to 48 iterations and yields the correct distance of 3. Shows runnable Ruby scripts on GitHub and uses Heroku for deployment, explains caching of substring costs, and mentions integrating a misspelling helper into Rails as PR 15497 that recommends generators when a name is typed wrong.

AI-written summary · about

  1. 0:00Introduction
  2. 3:05Rails contributions focus
  3. 5:14Algorithms are beautiful
  4. 6:41Hamming distance limits
  5. 9:57Levenshtein distance intro
  6. 13:35Recursive Levenshtein implementation
  7. 15:41Matrix-based Levenshtein optimization
  8. 21:38Rails generators application
  9. 25:05Google spellchecking algorithms
  10. 27:17Other distance algorithms
  11. 27:58Algorithm learning resources
  12. 29:21Value of deep algorithm understanding
~/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.