A Survey of Surprisingly Difficult Things
summary
Practical survey of brittle real-world inputs with concrete numbers, tools and fixes: explains the timezone DB with 385 timezones and +14 offsets, warns to use Time.zone.now and Date.current in Rails, recommends store cents as integers for money, notes USPS quirks, zip codes crossing states, use of webhooks for card tokens, RuboCop to catch bad time code, and the messy rules for recurring events. Watch if you want actionable gotchas and fixes rather than vague advice.
AI-written summary · about
chapters (14)
- 0:00Start
- 2:04Motivation
- 3:19Timey Wimey Types
- 3:54Timezones
- 6:36tzdata (Release Notes)
- 10:59Timezone aware methods
- 21:27Validating Addresses
- 23:32Issues with DECIMALS
- 26:08Email Addresses
- 27:20Internationalization
- 28:42Payments & Credit Cards
- 29:57Recurring Events
- 31:42In Conclusion
- 32:17References
related talks
40mThe Date-ing Game
35mThe worst Ruby codes I've seen in my life
01h 10mCoding for everyone
29mUnreasonable Estimates and Improbable Goals
29mCommon Mistakes that make test cases flaky and how to avoid them
31mPanel Discussion
40mFour Diseases
09mMicrotalk:A House of Cards - The Perils of Maintaining a 7-Year-Old Codebase
