~/talk

Why We Can't Have Nice Things: Unicode, Dates, and Names

Talkat Cascadia Ruby 2014 · 2014-08-11..08-12· [ruby, web-platform]
slides:none on file

Concrete Ruby gotchas and fixes, not philosophy: shows Noël combining diacritic breaking length/reverse, demonstrates timezone pitfalls like 1:30am Nov 2 2014 nonexistent time, points out tzdata ≈ 1MB of historical offsets and the limits of Time/Date/DateTime vs ActiveSupport advance, and catalogs name-edge cases with surprising counts (820,000 Chinese name / 46,000 John Smith). Watch for runnable examples, Ruby code, and concrete rules; skip if only seeking high-level theory.

AI-written summary · about

  1. 0:00Start
  2. 9:10Comparing times
  3. 20:43Assign character sets to "code pages"
  4. 25:43Conclusion just because you think a character should be atomic perform Unicode string transformations at your peril be aware of what assumptions your library is making
  5. 26:02Names are hard
  6. 26:29Fundamental problem
  7. 27:25Linda Callahan
  8. 28:58Bad assumptions
  9. 29:18Legal names don't change without going through a court
  10. 29:51People have a single canonical name for legal or financial purposes
  11. 30:34Names don't contain numbers Number 16 Bus Shelter
  12. 31:19Conclusion don't filter inputs for the name of anything that is a real world name for a person, place, or thing probably should just have name as a single unrestricted field
~/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.