~/talk

Unblocked

Talkat RubyConf 2010 · 2010-11-11..11-13· [ruby]
slides:none on file

Explores concrete tricks not theory: shows lambda-return indexing to make x[y] work by returning a closure that captures x and later accepts y, uses class body blocks via Class.new to generate audit-wrapped methods, implements a regex driven XML parser that builds dynamic classes and objects (then concedes Nokogiri is shorter), and assembles a tiny admin web UI by mapping URLs to methods with Method#to_proc and SimpleDelegator hooked to ActiveRecord backed by SQLite — it mostly works but relies on several deliberate dirty tricks.

AI-written summary · about

  1. 0:00Intro
  2. 0:11Gold Sponsors
  3. 0:30James Edward Gray II
  4. 5:25Scenario
  5. 6:36The Challenge: Bad Idea
  6. 8:10A Block Without a Block
  7. 8:55Closure Keeps us Sane
  8. 9:56The Other Duck Typing
  9. 10:42The Solution Explained
  10. 11:34Blocks, Blocks Everywhere
  11. 13:11Ruby Structure on the Fly
  12. 13:41Who Needs Nokogiri? (Me!)
  13. 14:51Sprinkle Details to Taste
  14. 15:10Event Based Parsing
  15. 15:50Just in Time Classes
  16. 16:57Programming Ruby With Ruby
  17. 17:31Building the Tree of Objects
  18. 18:10The Taste Test
  19. 20:39Eat Your Heart Out
  20. 22:25Land of Lamdas (Procs)
  21. 23:36Where for art Thou to_proco?
  22. 24:37How do we Abuse This?
  23. 24:59An Array as a Web Application
  24. 25:24Smoke and Mirrors
  25. 25:58Requirements
  26. 26:59A Dirty Trick
  27. 28:40Step 1: Reserve a URL Space
  28. 28:56Step 2: Map URL's to Models
  29. 29:59The Do Nothing Proxy
  30. 30:39The Magic Changing Model
~/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.