~/talk

Merged PRs: An Untapped Resource for Practice and Exploration

Talkat RailsConf 2023 · 2023-04-24..04-26· [ruby-on-rails]
slides:none on file

Argues that studying merged PRs from the Rails codebase gives repeatable, low‑stakes debugging practice: clone the repo, checkout the merge parent, run bundle and rails new --dev to recreate the pre‑fix app, then reproduce the bug with puts, rdbg/pry, web console, git bisect, flame graphs or StackProf and tests. Cites studies that developers spend ~35–50% (up to 70%) of time debugging and that almost 50 cents of every dollar goes to fixes. Small fixes (e.g. net 11 lines) make ideal exercises; larger PRs (531 lines) are possible but often too big.

AI-written summary · about

  1. 0:00Introduction
  2. 1:04Debugging theory
  3. 7:03Debugging competencies
  4. 11:44Becoming better debuggers
  5. 14:57Debugging with merged PRs
  6. 16:44Debugging practice setup
  7. 20:18Finding practice PRs
  8. 23:46Example debugging PRs
  9. 25:55Debugging tools overview
  10. 31:34Evaluating solutions
  11. 32:37Wrap-up
~/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.