Look out for the second 2019 GPS week number rollover
rachelbythebay.com
rachelbythebay.com
Reminds me of how NASA wouldn't fly the Shuttle over New Year's day to avoid rollover issues: https://www.newscientist.com/article/dn10459-y2k-like-fears-...
"On the downside this will take 40 minutes to tell us where we are, on the upside trampeltier feels better about it"
Also your driver probably doesn't use 500MB of RAM, more likely it wants 500MB of address space, and address space is basically free on 64-bit systems anyway so who cares?
Source: Figure 20-1 in https://www.gps.gov/technical/icwg/IS-GPS-200K.pdf
Your argument that the space is sparse is true though in the new protocol which has still a message of 300 bytes but no reserved space any more: https://i.imgur.com/xyxCxIi.png
Source: https://www.gps.gov/technical/icwg/IS-GPS-705F.pdf
It gives 13 bit to the message at least, making the counters roll over every 157 years instead of every 20. It's still a bit too little IMO. Date counters should either be so short that engineers must design rollovers into the devices (e.g. 1 year) or longer than human lifespans by several orders of magnitude (e.g. 1000 years).
Any sources? What is an OFFSET WEEK? Why do you call it "GPS week number rollover" when it is affecting LTE chipsets?
The Qualcomm® 9205 LTE modem is our next-generation ...
Qualcomm 9205 uses the latest generation (gen9) Qualcomm® GNSS engine ...
Location
Satellite Systems Support: GPS, GLONASS, Beidou, Galileo ...
The coordinates will still be correct.
All the satellites have the exact same time. But deviations in the timestamps when received (because the speed of signal is constant) help the receiver calculate it's own position.
Apparently there's no good way to do this other than pick a date that's far enough out in the future.
A stackover answer gave an example setting it for 10 years. I thought I would be defensive and set it to 20 years.
But then it will immediately break because 32 bit dates wrap around in 2038!
The Jurassic Park quote comes to mind: "Your scientists were so preoccupied with whether or not they could, they didn't stop to think if they should."
Why would that wrap around in 2038? Are you assuming that browsers handle this incorrectly?
I only thought about it because I was also saving the expiration in a session table in mysql and my expires column is a `timestamp` which is 4bytes. I was using a language that uses more than 32 bits for dates, so you're right, it probably would've sent out the right cookie.
Do modern browsers still use 32 bit timestamps internally?
Regardless, it's probably not a good idea to rely on the browser saving cookies forever.
Of course I don't expect everybody will be able to support those configurations. There are currently unknown security holes someplace in out old equipment so nobody sane will connect our old stuff to the public internet. Thus most developers are safe depending on users having something fairly new. However a few will target behind the firewall customers and they will be stuck supporting whatever that old machines supports.
No solution is in sight, but things are getting better.