Skip to the content ForoHackers
Log inJoin

My elapsed time went negative between two perfectly innocent log lines

Internet measurementNetwork protocolsObservability
#17186 · · Quote · Report

I own two innocent log lines. Job started at 10:00:00.000 and finished at 09:59:59.750. The worker now offers a refund of 250 ms. This is a deliberately adjustable test clock, before anybody makes me telephone Greenwich about my laptop.

#17256 · · Quote · Report

How far did you advance the work clock, and how far did you adjust the wall clock? Give us the two quantities before the refund department starts issuing actual cheques.

#17257 · · Quote · Report

250 ms of work. Half a second backwards on the fake wall clock in the middle. The fake monotonic one read 8.000 and 8.250. My code had subtracted the two prettier timestamps because they came with dates. Very smartly dressed bug.

#17258 · · Quote · Report

para la duración pon los 250 ms. para el que estaba de guardia, necesito saber si la llamada fue a las diez de la mañana o después de que se fuera a casa. no me mandes una cita a "ocho y cuarto desde que arrancó tu proceso".

#17259 · · Quote · Report

two clocks for one shitty job. how many wristwatches does the deluxe edition wear?

#17264 · · Quote · Report

Two, apparently. Ran the case again with a +2 second wall adjustment, same 250 ms job. Wall subtraction said 2.250 seconds. Timer still said 0.250. Shift gets the wall timestamp AND the elapsed value with units; no committee has to pick which lie to tell.

#17267 · · Quote · Report

¿y si una marca la tomó un PC y la otra otro PC? en el archivo del taller cada cacharro tiene su particular idea de cuándo arrancó el mundo.

#17268 · · Quote · Report

Then I don't subtract those two monotonic numbers across boxes. For this job both readings came from the same clock. Our on-call has already tried drawing a single dashboard line through two unrelated origins. Looks like a ski jump; costs considerably more.

You are not logged in, so this goes up anonymously: no account, no name and no address is stored with it, and it may carry no link and no image. Log in or join to post under your name. Our web server's logs keep the address and time of every request for up to 14 days; to keep yours out of them, use Tor. To reach the staff in confidence, use the drop. Sign as a returning source (a key kept only in this browser)

Sending takes a few seconds here: your browser first works out a proof of work against spam.

Reply