Gro-Tsen Profile picture
Sep 18, 2020 8 tweets 2 min read Read on X
Does the value 252 seconds (or 1/2400 week) ring a bell for anyone in the context of GPS? I'm trying to reverse-engineer data written by a GPS device, I was able to make sense of most of the fields, but there's something which seems to be a counter wrapping every 252s. 🤨 •1/8
Context on what I'm trying to do is here: — but not really important here. What's relevant is that I have data from a GPS device and I'm trying to understand its format. I was able to decode most of it (date, time, lat, lon, speed, bearing…), … •2/8
… but a few fields still escape me. Irritatingly, there doesn't seem to be a sub-second timestamp in my data. On the other hand, there's this weird set of values, time counters of sorts, which I'll call: a (4 bytes), b (1 byte) and c (2 bytes) — in this order: … •3/8
… the value b is incremented every second, mod 252, i.e., it wraps around every 252s. (At least over short time periods: over longer ranges its period doesn't seem to be exactly 252s.) WHY 252s? I have no idea. This is 1/2400 week, but this doesn't really help. •4/8
(I mean, I know weeks are used by GPS, but I don't know about 1/2400 week, and I wasn't able to find anything which goes up to 2400.) As for the value c, it is incremented every time b wraps from 251 to 0, so it keeps count of 252s increments. •5/8
But c seems to wrap to 0 every day or so (not every week which would sort of have made sense), at approximately but not exactly 20:00 UTC, and not even exactly the same time each day. This makes absolutely no sense to me. •6/8
As for a, it seems to count days, except not really. I would like to think that a is incremented when c wraps back to 0, but I don't have proof. Over short periods, a seems to increment every day, but over more than a year, it increased by more than it should have. •7/8
The whole thing is extremely weird, and I have no idea why anyone would want to include a 252s counter in GPS data but not include a subsecond timestamp. (OTOH, I also wonder why anyone would want to XOR the entire record with a seemingly random byte. Makes no sense!) •8/8

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Gro-Tsen

Gro-Tsen Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @gro_tsen

Nov 26, 2023
Let me say a few things about “random” versus “generic” sequences (binary sequences, say). A random sequence of 0's and 1's everyone has some idea of what that looks like: take a fair coin and flip it repeatedly. But what in the world is a “generic” sequence? 🤔🧵⤵️ •1/21
There are many flavors of randomness and correspondingly many flavors of genericity, but the overall theme seems to be that a random object is one that doesn't belong to any “easily explicitly described” set of measure zero, … •2/21
… whereas a generic object is one that doesn't belong to any “easily explicitly described” meager set. What does all of this mean? Well, “easily explicitly described” depends on the flavor we're talking about: but clearly we need some kind of restriction, … •3/21
Read 21 tweets
Oct 5, 2023
Tiens, je ne sais plus si j'avais raconté l'anecdote(?) suivante au sujet de la phrase

«L'œil était dans la tombe et regardait Caïn.»

(Dernier vers du chapitre II, “La Conscience” de “La Légende des siècles” de Victor Hugo.)

… •1/6
L'édition (Livre de Poche / “Classiques de Poche”) que j'avais achetée de “La Légende des siècles” comportait la note suivante sur cette phrase:

«Reprise telle quelle d'un vers du psaume CXXXIX dans la traduction de Sacy de la Bible, que Hugo avait en sa possession.»

… •2/6
Bon alors le psaume 139, qui est en fait numéroté 138 dans la bible de Sacy (=Port-Royal) est ici: — et on voit que s'il ressemble vaguement dans l'esprit au vers cité de Hugo, ce dernier n'est certainement pas une reprise “telle quelle”! … •3/6fr.wikisource.org/wiki/Bible_Sac…
Read 6 tweets
Sep 6, 2023
This made-up map actually seems to have an interesting history: there is indeed a 1973 paper by Stewart W. Hindley & Albert Damon in ‘Am. J. Phys. Anthropol.’ but it's on mid-phalangeal hair of Solomon Island populations. •1/7 onlinelibrary.wiley.com/doi/abs/10.100…
It does give “hairiness” data (again, mid-phalangeal!) on p. 192 for various populations taken from other sources in the scientific literature, but clearly not enough to make a map, let alone of “male androgenic hair” in general. •2/7 Screenshot of an excerpt of the cited paper by Hindley & Damon in ‘Am. J. Phys. Anthropol.’, citing the percentage of mid-phalangeal hair in various populations
The interest in mid-digit hair is explained in the page “Mid-digital hair: The myth” by evolutionary geneticist John H. McDonald of U. Delaware. Basically it is/was hoped it was controlled by a single allele, making it useful to study populations. •3/7udel.edu/~mcdonald/myth…
Read 7 tweets
Jun 6, 2023
Je vois souvent passer l'argument «si on taxe X, cela fera fuir X hors de France». Il y a certainement des cas où cet argument est plausible, mais il ne peut pas être universellement valable, sinon tout impôt progressif serait impossible et inexistant.
(Je veux dire, si le but est d'attirer des richesses dans le pays, avec le raisonnement simpliste et inconditionnel ci-dessus, c'est facile: au lieu de taxer les riches, taxons les pauvres, ils partiront ailleurs, et le pays sera plus riche.)
Un argument sérieux consisterait certainement à étudier la mobilité de X, et aussi l'utilité relative de la présence de X dans le pays par rapport à celle de la taxation de X. C'est forcément complexe, et il y a beaucoup d'inconnues. En aucun cas ça ne peut tenir en un tweet.
Read 4 tweets
May 24, 2023
This 🔽 is perhaps what baffles me most about flat earth conspiracy theories: never mind that they can't explain something as basic as sunrise and sunset, what makes even less sense is whyever anyone would want to keep the shape of the Earth a secret.
Some seem to believe (or claim to believe…) that it's because there's something hidden behind the Great Ice Wall that takes the place of the south pole in their theories. But why not just claim there's nothing behind that wall but the edge of the world, or something?
Still not sure whether most flat earthers really believe in what they claim to believe, or whether they're just trying to get attention: you have to admit that “globe conspiracy” is an attention-grabber (as: “they can't possibly be that stupid can they?”).
Read 4 tweets
May 24, 2023
Quelques remarques sur la rédaction d'une demande d'accès aux documents administratifs: le problème est que chaque tournure peut être problématique dans certaines conditions.
Si on demande «tous les documents relatifs à X», on risque de faire face à une interprétation minimaliste, donc incomplète, de X. Mais si on précise «notamment X1, X2, X3…», il y a un risque que X1, X2, X3 n'existent pas, …
… mais si on cherche une formulation pour dire «absolument tout ce qui concerne X de près ou de loin», il y a un risque que la demande soit jugée abusive. Bref, il faut jongler avec ces différentes possibilités, faire un pari sur ce qui marchera le mieux.
Read 6 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us!

:(