Standard Library, Uncommon Uses
summary
Shows concrete tricks in Ruby's stdlib: uses GServer and Webrick to build working TCP (telnet) and HTTP servers in under a dozen lines, uses PStore atomic transactions for file-backed persistence, and uses DRb/Rinda distributed computation to split a Levenshtein-distance job across 62 machines to check ~2.5 million author pairs — finds real typos. Benchmarks reveal the stdlib Prime routine runs surprisingly slower than simple alternatives. Tools: PStore, SecureRandom, Ripper, GServer, DRb/Rinda.
AI-written summary · about
chapters (8)
- 0:00Start
- 5:41DISCLAIMERS
- 20:03SAME AUTHOR, DIFFERENT SPELLINGS
- 21:00LEVENSHTEIN DISTANCE
- 24:20NUMBER OF PAIRS
- 25:33LET'S DISTRIBUTE!
- 26:27DRB SERVER
- 37:18HOMEWORK








