~/talk

'Did you mean?' experience in Ruby and beyond

Talkat RedDotRuby 2015 · 2015-06-04..06-05· [ruby]
links:none on file
slides:none on file

Did_you_mean gem adds a Google‑like suggestion to Ruby and claims to turn NameError into helpful corrections; it uses a dictionary of symbols, computes Levenshtein and Jaro‑Winkler (yellow‑winkler) distances with a prefix bonus, and limits searches with context‑specific finders to avoid scanning ~20,000 symbols. An evaluated change raises accuracy from ~54% to about 80% by adding Jaro‑Winkler and heuristics. A shown attribute_name_finder pulls column names from ActiveRecord and successfully suggests likely attribute typos; emoji suggestions also work.

AI-written summary · about

  1. 0:00Introduction
  2. 2:07Digital mean experience
  3. 4:10What is a spell checker
  4. 11:48How many symbols are defined
  5. 14:35How accurate is it
  6. 16:34Mistypes
  7. 17:58Yellow Winkler Distance
  8. 18:28M and T
  9. 18:45Matching window
  10. 19:57Calculate distance
  11. 20:10Cultivate prefix bonus
  12. 21:42Misspell correction
  13. 22:38Evaluation
  14. 24:25Finding
  15. 27:18Whats next
  16. 28:32Emojis
  17. 28:49Questions
~/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.