~/talk

Going the Distance

Talkat RubyConf 2014 · 2014-11-17..11-19· [ruby]

Demonstrates concrete implementations of Levenshtein distance and Hamming distance in Ruby, shows the dynamic programming matrix version that drops a recursive 1647 comparison blowup to 48 comparisons, and describes a Rails generator PR plus using Heroku and the did_you_mean gem as real deployments. Claims Levenshtein yields correct edits for Saturday→Sunday with cost three, contrasts wrong-fast Hamming, and shows caching and trie ideas Google uses for spelling suggestions and when each algorithm is actually practical.

AI-written summary · about

  1. 0:00Start
  2. 5:38Algorithms solve problems
  3. 8:08Hamming Distance
  4. 8:50Does not include: Insertion Deletion
  5. 10:21How do we calculate Distance?
  6. 11:43What about when characters match?
  7. 12:06Recursive Levenshtein Distance!
  8. 13:36"Recursive" took 1647 comparisons
  9. 14:50Matrix: Levenshtein Distance
  10. 22:20Machines don't understand tired
  11. 24:44Get edit distance between input and dictionary
  12. 27:13longest common subsequence Distance
  13. 29:00Give an algorithm talk
~/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.