~/talk

So who wants to be a Munger?

Talkat Lone Star Ruby Conference 2009 · 2009-08-27..08-29· [career-development]
name:Dana Grey
links:none on file
slides:none on file

A concrete workflow emerges: separate reader, munge, writer; build a Munger class that yields to a block; parse fixed‑width, repeated headers and hierarchical categories with unpack; drop human lines and subtotals, normalize "K" suffixes into integers and export via faster_csv into a database. The claim is practical and proven on a messy 58,000-line report, reducing manual Excel typing and automating reliable, repeatable imports.

AI-written summary · about

  1. 0:00Data munging in Ruby
  2. 1:45Rule of three in processing
  3. 3:10Separate reading from munging
  4. 6:04Flexible Munger class
  5. 7:06Structured vs unstructured data
  6. 8:10Messy data example
  7. 9:57Filter irrelevant report lines
  8. 11:21Unpack fixed-width data
  9. 13:29Parse repeating headers
  10. 14:57Track header sections
  11. 16:00Assoc for category lookups
  12. 17:44Reader output structure
  13. 18:47Write data with FasterCSV
  14. 19:33Munge transformed data
  15. 20:59Output to different formats
  16. 22:03Drop data into SQLite
  17. 23:08CSV into ActiveRecord
  18. 24:18Handle thousand abbreviations
  19. 25:43Regex anchors for matching
  20. 26:50Corporate data restrictions
  21. 28:14From typing to scripts
  22. 29:38Scripts to productivity
  23. 30:21Q&A
~/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.