veden.

Dakar → Paris, on the whiteboard · episode 10 of 10

Home

10Dakar → Paris, on the whiteboard · episode 10 of 10

Time, days and the review

The final episode. You would think the time of day is the simplest piece of data there is. Yet on our travel log, it produced some of the most stubborn errors: two different times for the same moment, and days that risked changing date.

We finish with the review: what the travel log contains, what it cost, what remains imperfect, and what we take away from it.

Three time zones meet in this project: the machines' UTC, the readers' Paris time, and the times spoken aloud. And a day of livestream does not end at midnight: it ends when the group falls asleep.

On the agenda: storing in UTC and converting for the reader, including in the request to the model; times without a time zone; detecting bedtime and waking up; frozen days; then the review in figures and the lessons of the series.

Independent Veden project, not affiliated with Nico, Ascend or their partners.

Dennys Salioski · 9 min

Move forward with the arrow → or the Next button. “Discovery / Technical”, at the top, changes the level of the text; “Listen” reads it aloud.

10Three times

13:24 or 15:24?

Our machines count time in universal time. Our readers, though, live on Paris time: two hours ahead in September. For a while, the same page of the travel log announced an arrival “around 15:00” in the summary, and placed it around 17:00 in the list just below.

The artificial intelligence had invented nothing: it had copied a correct time, but in a time zone the reader could not see. Now, to write the summaries, we give it Paris time directly, and tell it so.

The basic rule: store and compare everything in UTC, convert at display time. It breaks as soon as a time leaves the program, for example towards the text sent to a model. The day's summary was written from lines timestamped in UTC, while the list displayed below it was in Paris time: “around 15:00” on one side, 17:00 on the other.

The fix: in the requests that summarise a block of a few hours or a day, times are converted to Paris time, and the request says so explicitly (“Paris time”). For ten-minute slices, times stay in UTC, but the model is not allowed to write any in its titles and summaries. A time without a time zone in a request is as naive as a datetime without tzinfo, except that a model does not raise an exception: it guesses.

10Times without a time zone

A single entry point for times

A time written without specifying the time zone, such as “14:00” typed by hand, is ambiguous. For a program, it is even a source of failures: it refuses to compare it with a time that does specify its zone.

So we set a single rule: any time that enters the system without a time zone is treated as universal time, in one place in the code, once and for all.

In Python, a naive datetime (without tzinfo) cannot be compared with a timezone-aware datetime: TypeError. The error often surfaces far from its cause, for example when a time typed by hand in a settings file meets the system's times, on every hourly pass.

Every time coming from outside goes through a single entry point, which declares a time without a time zone to be UTC, by written convention. Paris time is computed with ZoneInfo("Europe/Paris"), which knows about clock changes; we never write “+2” by hand.

See the code: reading a time without crashing (simplified version)
from datetime import datetime, timezone
from zoneinfo import ZoneInfo

PARIS = ZoneInfo("Europe/Paris")

def lire_heure(s: str) -> datetime:
    """ISO time; without a time zone, it is taken as UTC (otherwise the first comparison crashes)."""
    t = datetime.fromisoformat(s.strip().replace("Z", "+00:00"))
    return t if t.tzinfo else t.replace(tzinfo=timezone.utc)

moment = lire_heure("2026-09-21T13:24")
print(f"{moment.astimezone(PARIS):%H:%M} (heure de Paris)")   # 15:24

10The announced time

A time spoken aloud

Sometimes, someone announces a time in the stream: “see you at 11:00”. Is it the time where they are, or Paris time, for the audience? Often, nothing says which.

Our conclusion: never convert it, and specify its time zone only if the context clearly says so. Better a time with no qualifier than a wrong one.

First rule: label any quoted time “(local time)”. Blind spot: a livestream addresses an audience, and an announced time, a meeting point for example, may be given in the audience's time. Labelling it “local time” brought back the two-hour gap, with misleading precision on top.

There is no reliable automatic conversion for a spoken sentence. Hence a rule of caution rather than conversion: an announced time must never be converted, nor labelled unless the context says so. The trap was spotted during a campaign to verify the texts (episode 9). To be honest: in the code, an older instruction, which adds “(local time)”, still has to be replaced.

10The days

A day ends when they fall asleep

A group that falls asleep at three in the morning has not lived two days that day. In our travel log, a day therefore does not stop at midnight: it stops when Nico, Byilhan and Flamby go quiet for good, at night.

The machine spots this long silence, with a nudge when someone says “good night” or when the chat starts wishing good night in large numbers. Waking up is when they really start talking again.

A slice is quiet if the three main voices speak fewer than 30 words in it. An hour of quiet starting between 20:00 and 08:00, Paris time, marks bedtime; 30 minutes are enough if a cue precedes it within 75 minutes or accompanies it (“good night”, “dodo”, “outro”, or at least 15 messages of that kind in the chat within ten minutes).

Waking up is the first slice, at least two hours after bedtime, in which the group speaks 150 words or more, provided the next one says as much. Bedtimes vary a lot: from 02:31 to 04:48 over the first five nights. In bedtime detection, the night window is the only calculation done in Paris time: “night” is a human notion.

10Freezing

A published day no longer moves

Once summarised and published, a day keeps its boundaries, its date and its number, even if the machine changes its mind later. A reader who comes back must find the same day.

One flaw was also fixed before it did any harm: a day risked taking the previous day's date if the group fell asleep before two in the morning. It now takes the date on which the group wakes up.

A day that has already been summarised keeps the boundaries written in its file: if detection changes (a setting, a redone transcription, a gap filled), the numbers and boundaries of published days do not move. To redo a day, you delete its file. A day can also be closed by hand.

Latent flaw fixed: a bedtime at 01:30, Paris time, is 23:30 UTC the day before; the day took the previous day's date and number. The date is now that of waking up, in Paris time, and the number comes from the splitting itself. 13 tests were written for this fix, 8 of which failed on the old code.

10The review

The travel log, in figures

At the end of the trip, the travel log counts 31 days, more than 12,000 moments narrated, more than 20,000 exact quotes, and nearly 12,000 clips placed under the right moment.

For the part that writes, the cost is about $300 at the public price of the artificial intelligence used. The listening, the image, the chat and the clips ran on our own machine.

The final travel log: 31 days, 12,392 moments, 20,524 quotes, 11,694 clips displayed, from 4,386 ten-minute slices written by the model, that is about 730 hours of livestream.

Cost of the writing: about $0.40 per hour of livestream at API prices, so in the order of $300 for the whole trip. This is an estimate: in production, the calls went through a subscription. The audio, the image, the chat and the clips ran locally, with no per-call cost.

the final travel log

12,392

moments narrated over 31 days, with 20,524 quotes.

10The lessons

What remains imperfect, and what we take away

The travel log is not perfect, and it says so on every page: an automatic reconstruction can be wrong. Three ten-minute slices stayed empty with no explanation. Some voices are not recognised.

What we take away: measure before hiding a problem, write down in black and white what we tolerate, prove every fix before and after, and say what remains wrong.

What remains imperfect: three unexplained empty slices; unknown or misattributed voices, which only a check by ear reveals; clips with titles too vague to be placed other than by the clock; audits that sometimes judge with the same tools as the fix.

What we would do from day one: a test bench of tricky cases checked by hand, time-zone handling thought through before the first display, tolerance thresholds written into every report, and a “what goes in, what comes out” check on every call to the model.

10End of the series

What to remember

  • A time only means something with its time zone: we give the artificial intelligence the reader's time.
  • A day ends when the group falls asleep, and a published day no longer moves.
  • The final travel log: 31 days, more than 12,000 moments, for about $300 of writing.
  • Measure, prove, and say what remains wrong: that is the thread running through the whole series.
  • Store in UTC, convert for the reader, including in requests to the model.
  • A single entry point for times without a time zone; never “+2” by hand.
  • Days split on the real rhythm, frozen once published, dated at waking up.
  • A test bench, written thresholds, proofs before and after: from day one.

An AI project to carry out with this rigour?

Summarising hours of recordings, attaching evidence, measuring what an AI lets through: that is Veden's trade. Write to me: we will look together at what is feasible.

Let's talk about your project