Re:œ˜c2go

2017-11-08 Thread Hal Murray via devel
>> Yea, I have the same conclusions. Maybe just a toy NTP client that >> compared one peer or refclock to the sysclock? Then compare that to what >> the local ntpd thinks about the sysclock. > No, because, agauin, that's not far short of the real thing. There is a lot of wiggle room in "toy cl

Warnings from 32 bit FreeBSD

2017-11-08 Thread Hal Murray via devel
../../tests/ntpd/leapsec.c:581:3: warning: implicit conversion from 'long long' to 'time_t' (aka 'int') changes value from 2982009600 to -1312957696 [-Wconstant-conversion] ../../tests/ntpd/leapsec.c:582:3: warning: implicit conversion from 'long long' to 'time_t' (aka 'int') changes value from

Re: ?c2go

2017-11-08 Thread Eric S. Raymond via devel
Hal Murray : > > e...@thyrsus.com said: > > I still don't understand that suggestion at all. Would it be implementing > > the Byzantine time=sync algorithms? If so, howe is it simple? > > No. That's what makes it simple. > > > I guess I need to see something more like a functional spec for yo

Re: ✘c2go

2017-11-08 Thread Eric S. Raymond via devel
Gary E. Miller : > Yea, I have the same conclusions. Maybe just a toy NTP client that > compared one peer or refclock to the sysclock? Then compare that to what > the local ntpd thinks about the sysclock. > > No simple way forward... No, because, agauin, that's not far short of the real thing.

Re: ?c2go

2017-11-08 Thread Hal Murray via devel
e...@thyrsus.com said: > I still don't understand that suggestion at all. Would it be implementing > the Byzantine time=sync algorithms? If so, howe is it simple? No. That's what makes it simple. > I guess I need to see something more like a functional spec for your > concept. It sounds like

Re: ✘c2go

2017-11-08 Thread Gary E. Miller via devel
Yo Eric! On Wed, 8 Nov 2017 15:15:38 -0500 "Eric S. Raymond" wrote: > Gary E. Miller : > > You're the expert at this. I believe it might not be bad for you to > > do. But you would prolly like some help from others less expert. > > An easy task for non-experts would be porting tests. I'd h

Re: ?c2go

2017-11-08 Thread Eric S. Raymond via devel
Hal Murray via devel : > > eric said: > > Do you have any suggestions about a test target? I've been giving that some > > thought, and it's not easy to come up with anything that I think has close > > to the same near-realtime constraints as ntpd. > > How about the simple ntpd server I suggeste

Re:˜c2go

2017-11-08 Thread Hal Murray via devel
eric said: > Do you have any suggestions about a test target? I've been giving that some > thought, and it's not easy to come up with anything that I think has close > to the same near-realtime constraints as ntpd. How about the simple ntpd server I suggested a few days ago? Even if you can't

Re: ✘c2go

2017-11-08 Thread Eric S. Raymond via devel
Gary E. Miller : > You're the expert at this. I believe it might not be bad for you to > do. But you would prolly like some help from others less expert. An easy task for non-experts would be porting tests. > And I'd like to see something small converted first, something that > can allow us to

Re: ✘c2go

2017-11-08 Thread Gary E. Miller via devel
Yo Eric! On Wed, 8 Nov 2017 05:03:57 -0500 "Eric S. Raymond" wrote: > Gary E. Miller via devel : > > So then what? Any alternatives? Translating by hand would be a > > PITA and error prone. Rewriting from scratch even worse. > > I was assuming we'd do translation by hand with acript assist

Re: ✘c2go

2017-11-08 Thread John D. Bell via devel
On 11/07/2017 11:01 PM, Eric S. Raymond via devel wrote: > The problem is that the hard parts of language translation really need a > parser making an AST (Augmented Syntax Tree), then a transformation on the > AST generating a report in the target syntax. That's what you hit in the > last 15% - i

Re: ✘c2go

2017-11-08 Thread Eric S. Raymond via devel
Gary E. Miller via devel : > So then what? Any alternatives? Translating by hand would be a PITA and > error prone. Rewriting from scratch even worse. I was assuming we'd do translation by hand with acript assistence. But that's not as bad as you might think it would be. The reason is this: wh