gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-dev] gpsd rolls back to 1999


From: Eric S. Raymond
Subject: Re: [gpsd-dev] gpsd rolls back to 1999
Date: Fri, 28 Jun 2019 15:55:04 -0400
User-agent: Mutt/1.10.1 (2018-07-13)

Hal Murray <address@hidden>:
> 
> > It does this: Look a half-era ahead.  If that's still less than a reference
> > date, shift the time stamp forward N cycles for the minimum N that will take
> > it past the reference date.
> 
> > I'm not certain what the reference date is, because the context doesn't
> > exactly match anything in our code.  If it were me writing the code it would
> > be the build date of the instance. 
> 
> I don't understand the 1/2 part.  If you have the build date, why throw away 
> 1/2 the range?

Good question. The main reason I've never tried to fix the wraparound problem
myself is tha the moere I look at code like this and Perly's black magic,
the less sure I am that I understand anything.
-- 
                <a href="http://www.catb.org/~esr/";>Eric S. Raymond</a>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]