Episode 18
The Shared Minute
Duck has 1 booth (and 2 performances). First performance ends at 18:10. Second performance begins at 18:10.


















Episode transcript
One booth, two bookings
Duck is holding 2 Booth Booking Cards inside the monitor, next to a small demonstration stage. Robot is outside, looking at a time ruler.
Diagram values: [18:00,18:10); [18:10,18:20)
Duck: Do I need to split the booth?
Robot shows the time ruler: close start dots, open end circles. Duck is in between 2 booking strips.
Diagram values: START INCLUDED; END EXCLUDED
Robot: A reservation is active when it starts. It is not active when it ends.
Duck lines two strips of the bookings under the same time ruler. First strip is 18:00-18:10, and the second 18:10-18:20.
Diagram values: A [18:00,18:10); B [18:10,18:20)
Duck: First one's at 6. Second one's at 6 ten.
Robot moves pointer to 18:10. Both booking strips are visible. The answer for active booking is still not visible.
Diagram values: TIME18:10
Robot: What booking is valid at precisely six ten?
Look at the boundary
First booking, right now in this moment, is not active at 18:10 exactly.
Diagram values: A ENDS18:10; A INACTIVE
Robot: The first one does not include the end boundary.
The second reservation is just now active.
Diagram values: B STARTS18:10; B ACTIVE
Duck: The second reservation is just now active.
Robot shows A is inactive while B is active on the common border. Duck is on stage alone, not divided.
Diagram values: 18:10: B ONLY
Robot: Only the second is active though. They don't overlap.
Duck is balancing on one of his boots next to the untouched booth in the monitor.
Duck: Good. Because for both the boots, half a booth would be strange.
Robot moves from shortly before 18:10 (A is active) to 18:10 (B is active). The Duck picks the only one that is active.
Diagram values: BEFORE18:10: A; AT18:10: B
Robot: It's possible to belong to the next booking without belonging to both.
Test the middle minute
Duck sets time pointer to 18:20 next to open end circle of second interval. Robot leaves active holder covered.
Diagram values: TIME18:20
Duck: And at 6.20? Is the second booking still valid?
Then at 18:20 neither original booking is active.
Diagram values: 18:20: NEITHER
Robot: No.
The original reservations are next to each other. They don't overlap.
Diagram values: 18:10 ≤ TIME < 18:20
Duck: The first one does not include the end boundary. The second one includes the beginning boundary.
Robot puts HALF-OPEN beside those two marked strips.
Diagram values: [START,END)
Robot: Yes. It's a half-open interval.
A booking across the join
Duck shows third booking. This one starts at 18:09 and ends at 18:12 (not including the ending instant).
Diagram values: C [18:09,18:12)
Duck: New booking, six oh nine to six twelve. Conflict with either?
Duck looks at the one-minute band. It overlaps the first booking for one minute.
Diagram values: A ∩ C = [18:09,18:10); 1 MINUTE
Robot: It overlaps the first booking for one minute.
The duck marks the overlap in time between the third and second bookings. The duration is 2 mins.
Diagram values: B ∩ C = [18:10,18:12); 2 MINUTES
Duck: It overlaps the second booking for two minutes.
The old bookings touch at 18:10 but don't overlap.
Robot: It conflicts with both. It's just that the first two don't conflict.
Duck puts this third conflicting booking to reschedule aside. He stands with both red boots well inside the uninjured booth at the end.
Duck: That booking's gotta reschedule. I need the entire booth for my boots.
The lesson
A reservation is active when it starts. It is not active when it ends. First booking: start time 18:00, end time 18:10. Second booking: start time 18:10, end time 18:20. The original reservations are next to each other. They don't overlap.
Try it
Diagram values: FIRST [18:20,18:30); SECOND [18:30,18:40)
What booking is effective at 18:30? What booking is current at 18:40?
Answer
Diagram values: 18:30 SECOND ONLY; 18:40 NEITHER
At 18:30 only the second booking is active. The first one does not include the end boundary. The second one includes the beginning boundary. At 18:40 no booking is active.