Rubyana Gems and the Ractorous Rubetta Stones!
summary
ThoughtBot releases two gems, Top Secret and Michelle, that anonymize structured text before sending it to LLMs (JSON placeholders) and then rehydrate responses; a substitution‑cipher breaker is implemented in Ruby using Ractors, quadgram scoring and simulated “freeze ray” pauses (rotations twice/sec slowed to 5s) to decrypt five rotating ciphers within 60s. Ractors initially run slower than single thread; success comes after using varied starting keys, staggered cooling schedules, and about seven ractors on a 10‑core laptop; Ractors remain experimental in Ruby 4.
AI-written summary · about
chapters (18)
- 0:00Introduction and setup
- 2:23About ThoughtBot gems
- 5:10Introducing Top Secret gems
- 8:05Challenge with Reetta Stones
- 10:14Understanding Ractors basics
- 13:03Single Ractor example
- 15:28Multiple Ractors with select
- 17:21Streaming Ractor demo
- 18:49Conditional Ractor work
- 19:33Ractor pipeline example
- 21:58Common Ractor errors
- 22:46Cryptography and ciphers
- 28:25Optimizing Ractors for decryption
- 31:38Demo setup and expectations
- 32:42Live decryption attempt
- 35:31Final keystone reveal
- 36:43Closing thoughts on Ractors
- 37:48Q&A session
