• 1 Post
  • 20 Comments
Joined 1 year ago
cake
Cake day: June 29th, 2023

help-circle








  • Rooster@infosec.pubtoHydro homies@lemmy.worldIt tastes... clear
    link
    fedilink
    English
    arrow-up
    14
    ·
    11 months ago

    I read something, probably on Reddit, about how during TV interviews they record several seconds of “silence” in the same room as the interview because during editing if they want to remove something, they can’t just zero out the audio, that’s TOO silent and doesn’t sound right. Instead they overwrite the sound with this silence and it sounds more natural.

    The flavor of water is the background silence that’s not nothing.













  • It’s not that simple. Parsing isn’t a problem, it’s formatting with a timezone that sucks. It’s a pinch point in a lot of different ways. Because MomentJS is in maintenance mode and the Temporal library isn’t ready yet, I tried to do it in vanilla JS. Date objects don’t do a good job of keeping track of timezone. You can only apply the timezone when converting the Date object to a string with .toLocaleString(locale, {timeZone: "America/New_York"}) and the formatting rules available are not capable of producing the desired not-quite-ISO8601Nanos timestamp (I don’t want it to be in UTC, I want that layout with a trailing timezone offset). I fell back to moment but moment-timezone doesn’t work well with the Jest tests as they’re written. I plan to rewrite a lot when the Temporal library is prod ready but that won’t be before this sprint is over.