~/talk

Wow code, such read!

Talkat RubyConf Colombia 2016 · 2016-09-02..09-03· [ruby, documentation]
github:k-w-w
slides:none on file

Goal is to read and change code to fix real behavior: slow ActiveRecord SQL traces don’t include EXPLAIN because queries arrive parameterized as $1 while the agent used execute. Solution is to switch to the adapter’s exec_query and pass the binds payload so EXPLAIN runs and returns plans; change ships in the gem version 3.15.2. Workflow uses a local clone of Rails, grep/git-blame, inserting puts/binding.pry, and Ruby introspection like caller and source_location.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 3:42Code archaeology approach
  3. 7:17Locally inspecting source code
  4. 10:07Clarifying questions while reading
  5. 12:15Pair programming benefits
  6. 18:23Recap of reading strategies
  7. 20:54Reading Ruby’s C source code
  8. 26:16Ruby source code navigation tips
  9. 27:20Resources for reading code
  10. 31:16Q&A and closing
~/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.