227 points · by dll · 5y ago · 68 comments
Side note, DCRainMaker is an incredible resource, and has dictated every one of my fitness device purchases for the last... 5 years? It's awesome they're so plugged in to the device landscape that they have a root cause for this bug, while not working directly on the fix.
Agreed. His thorough reveivews have allowed me to make technical purchases with confidence. Most recently in a new power meter for my bicycle.
Wouldn't be surprised
On a positive note, this is the first year in a row of 4 where I didn't see CI errors related to the year currently being 2021 but the 'week-year' still being 2020.
(Did find one recent test that hardcoded 2020 instead of just taking the current year though, but at least that doesn't take any further investigation)
Which begs the question: what on Earth week numbering system the en-US locale was using? I am not aware of any US-specific week numbering system, so it would seem logical for the en-US locale to use the ISO system.
https://www.navcen.uscg.gov/?pageName=gpsAlmanacs
So it's more likely to be something related to the software implementation rather than the data.
Strava seems to have a similar problem. When I pull up leaderboard data for a segment I've just done, "this month" and "this year" and "all time" show my result but "this week" doesn't. Checking now for three segments, each "this week" only includes the part of the week that was in December.
BTW, for any other Strava users here, be aware that it's also pretty stupid about years in which you go from one age group to another (in my case from 45-54 to 55-64). AFAICT only your annual CR gets considered for leaderboards, and if that's before your birthday then it'll act as though you've never even done that segment in your new age group.
I have a Garmin 645 Music and wouldn't get anything bigger to replace it.
https://twitter.com/suunto/status/1213128281253392387?lang=e...
Normally, an initial GPS fix takes some time if the device does not know about the precise arrangement of satellites at that time. It can take up to 15 minutes in case there is no almanac data.
Most devices use data obtained from internet for faster GPS fixes. They should function properly offline too.
Phase 2: Someone comes up with smart idea to use internet to optimize initial fix. Performance get faster.
Phase 3: PM thinks that offline scenario is not worth optimizing for since most users have internet anyway, performance and features degrades.
Phase 4: Some developer forget that offline is even a valid scenario, device becomes useless without connection.
Phase 5: Company servers broken. Device useless.
We've seen this happen to multiple products. We would like to believe that things top at phase 2 but here again i think we reached all the way to 5. Useless might be an overstatement since it still points somewhat in the vicinity but it certainly not working as intended. Do they have some kind of meter showing how good accuracy it has so you know when it's inaccurate or not?
Frankly, I think you're way off base here.
* First:
In an offline cold-start scenario, it is literally impossible to compute a first fix in less time than it takes for the satellite to send the relevant parts of the navigation message.
For Navstar's (the US brand of GPS) L1 C/A (civilian) signals specifically, that means you must receive an entire frame, which is transmitted once every 30 seconds. So 30 seconds is the lower bound, assuming you receive it correctly the first time. And L2 doesn't contain any ECC, so you'd want to receive it at least twice and take a majority vote for each bit...
The story is the same for the new L2-CNAV and L1C CNAV-2 signals (which have ECC, so once is enough), except that the repetition rate is every 12 and 18 seconds, respectively (but they have lower S/N ratio). If you want the entire GPS almanac, that takes a minimum of 12.5 minutes of airtime for exactly the same reason.
So, the idea that GPS chip manufacturers have already forgot how to do offline cold starts is a bit silly.
* Second:
Devices already use cell tower and wifi AP locations to make fast, low-accuracy, low-energy position estimates. GPS is used specifically in the scenarios where internet connectivity is not available and/or when more accuracy is needed. I've met a lot of dumb PMs, but I'm having trouble imagining a PM who wouldn't understand that not having cell towers available for a gross position is one of the prime scenarios for powering up the GPS chip.
* Third:
GPS absolutely requires up to date orbital parameters for each satellite it's using. Who is going to constantly ping the server for up to date ephemerides every 30 seconds when the GPS chip can give you them for free? Bandwidth is cheap, but it's not free, especially when you have millions of devices in the field. The problem with this approach would be immediately obvious in testing, the first time a device tries to roam across wifi networks.
It takes 12.5 minutes for the almanac to get propagated. Not sure how much of the almanac you really need or if you can download multiple at the same time. But from practical experience 12.5 minutes seems about right with the devices I've used.
They didn't have maps - you had to use coordinates on the screen to look up your location on a paper map... Everyone thought they were kinda pointless, because why not just triangulate off some hilltops which would take 5 mins rather than waiting an hour...
I have a little clip-on geotracker I bought in 2010 that I use for cross-country train trips. It takes at least 10 minutes to lock on, and since it can only be either "on" or "charging," but not both, there are long gaps in the tracks on the maps.
A quick way to check: buy a brand new one, plug it in, and see if it starts offering (low-quality) fixes for Shenzhen or wherever it was QAd. Unfortunately some receivers won't actually provide NMEA sentences until the quality flag goes on, so it's not quite this obvious, but I just recently bought an industrial cellular modem with onboard GPS and experienced a 30 minute or so wait before the quality flag came on and I started getting NMEA sentences. Presumably it was busy discovering it wasn't in Kansas any more.
That sounds terrible and unacceptable these days. Correct is often more important than fast. This bug resulted in incorrect location and apparently didn't correct itself over an entire journey. That's poor design.
Someone more knowledgeable than can correct me though.
Most systems behave as expected:
$ date +%G.%V --date="03 Jan 2021 00:00:15"
2020.53
$ date +%G.%V --date="04 Jan 2021 00:00:15"
2021.01So, it can happen.
* https://arstechnica.com/information-technology/2013/07/profe...
The USN has brought back celestial navigation (sextants) as a backup mechanism in recent years:
* https://www.npr.org/2016/02/22/467210492/u-s-navy-brings-bac...
US is examining backup systems for GPS/GNSS, including bringing back (e)LORAN:
* https://www.defenseone.com/ideas/2020/12/we-need-backup-gps-...
Now that the UK has been kicked out of Galileo, perhaps the government might think about reinstating eLORAN, it would be a good use for some the Longwave AM broadcast infrastructure that will be surplus in the next 10 years or so.
* https://www.trinityhouse.co.uk/notice-to-mariners/27-15-enha...
* https://www.maritime-executive.com/article/europe-gives-up-o...
South Korea is having a go at it:
* http://www.digitaljournal.com/tech-and-science/technology/sh...
A government or three (NATO?) have to decide on a system (eLORAN or other), publish standards, and buy a bunch of equipment (transmit and receivers) to kick start things.