~/talk

Which Time Is It?

Talkat RubyConf 2023 · 2023-11-13..11-15· [ruby]

Clear taxonomy: moments, durations, time of day and concrete rules for operators so adding two timestamps is flagged as nonsense while Time - Time yields a duration. Demos include ActiveSupport’s one.day vs 1.day.ago distinction, designing a time-of-day class as a single counter (microseconds since midnight), and a sync project that aligns Unix millisecond timestamps with video seconds revealing unit bugs and how fixes export correct segments. Watch if those concrete fixes matter.

AI-written summary · about

  1. 0:00Introduction
  2. 1:07Time meanings in programming
  3. 3:14Ruby's time classes
  4. 7:11Math operations on time
  5. 8:14Plus operator for time
  6. 12:08Minus operator duality
  7. 16:04Time algebra: moments and durations
  8. 17:47Time of day introduction
  9. 20:16Gems for time of day
  10. 23:48Time representation pitfalls
  11. 26:20Storing time as counter
  12. 28:50Time of day in Ruby
  13. 30:55Time sync project
  14. 34:09Key takeaways
~/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.