~/talk

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

Talkat GoGaRuCo 2014 · 2014-09-19..09-20· [ruby, web-platform]
slides:none on file

Three hard problems: times, floats, and names. Ruby code shows NaN is not equal to itself and TZ-aware conversions need IANA tzdata and tzinfo to handle nonexistent or ambiguous local times (spring-forward and fall-back), with time zones changing since 1883. Floating point uses IEEE 754 binary64, so most real numbers can’t be represented exactly — inspect bits or use BigDecimal or Rational for exactness. Names break assumptions (Linda Callahan, HaHa Clinton‑Dix, “Number 16 Bus Shelter”); use a single unrestricted name field and avoid naive filters.

AI-written summary · about

  1. 0:00Introduction and assumptions
  2. 4:01The complexities of time
  3. 17:42Floating point pitfalls
  4. 25:56The realities of names
~/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.