Re: Request for code & logic review

2016-11-26 Thread Achim Gratz
Daniel Franke writes: > You have a couple things mixed up here. Thanks for the clarification. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptations for Waldorf Q V3.00R3 and Q+ V3.54R2: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada

Re: Request for code & logic review

2016-11-25 Thread Daniel Franke
On 11/25/16, Achim Gratz wrote: > Daniel Franke writes: >> The reference timestamp isn't really used for anything > > The server is supposed to return this value unchanged, so one of the BSD > implementations of the ntp client uses this field to send random data in > order to weed out replay and f

Re: Request for code & logic review

2016-11-25 Thread Achim Gratz
Daniel Franke writes: > The reference timestamp isn't really used for anything The server is supposed to return this value unchanged, so one of the BSD implementations of the ntp client uses this field to send random data in order to weed out replay and fake packets. Checking for out-of-order rep

Re: Request for code & logic review

2016-11-24 Thread Daniel Franke
On 11/24/16, Eric S. Raymond wrote: > Daniel Franke : >> t_1, the origin timestamp, is the time according to the client at >> which the request was sent. >> t_2, the transmit timestamp, is the time according to the server at >> which the request was received. >> t_3, the receive timestamp, is the

Re: Request for code & logic review

2016-11-24 Thread Eric S. Raymond
Daniel Franke : > t_1, the origin timestamp, is the time according to the client at > which the request was sent. > t_2, the transmit timestamp, is the time according to the server at > which the request was received. > t_3, the receive timestamp, is the time according to the server at > which the

Re: Request for code & logic review

2016-11-24 Thread Daniel Franke
On 11/24/16, Eric S. Raymond wrote: > The Python port of ntpdig is almost ready to land. But there is one last > little bit of it I'm not sure I understand correctly. I'm requesting > review > of my code and assumptions. > > Presently the adjustment and synch distance are calculated this way: >

Request for code & logic review

2016-11-24 Thread Eric S. Raymond
The Python port of ntpdig is almost ready to land. But there is one last little bit of it I'm not sure I understand correctly. I'm requesting review of my code and assumptions. Presently the adjustment and synch distance are calculated this way: def delta(self): return self.root_del