jovdg
Joined 11 years ago
Joined 11 years ago
Maybe the underlying technology is not really well explained: the code is generated "offline" and static. Nothing leaves your computer when you generated it. It can be used as often as you want, but will be for the same payment (amount, remittance, destination account). Many people can scan the same code to pay the same amount, or one person can scan the code on a recurring base (eg. you pay your internet invoice every month and it's a fixed price)
> 2/ the generated QR when read would translate into a payment order accepted by any online banking platform?
You need to scan the QR code with a "compatible" banking app. Not every bank app has support for this, and if they support it, they don't always support it equally. Many banks in Belgium (and at least all the bigger banks in this region of Europe) support it, but eg. the allowed characters in the remittance message varies...
I would be interested in knowing which banks do and don't support it, actually! One can have only so many accounts with different banks... In case it needs explaining, generating a code and scanning does not cost anything (except your time and electricity), unless you hit the "confirm" button on the payment dialog in your banking app...
I use an app called FitoTrack (also FOSS), which records my location while running. It stores my GPS position every few seconds. When I'm done, it auto-exports a GPX file to a folder on my phone, which is synced via syncthing. Then I (manually, for now) upload the file to my self-hosted workout tracker.
The GPX file contains some data per measurement point; this is the second point in some random GPX file:
<trkpt lat="x" lon="y">
<ele>56.72105575919558</ele>
<extensions>
<speed>1.8200000524520874</speed>
<wstxns2:TrackPointExtension xmlns:wstxns2="gpxtxp"/>
</extensions>
<time>2024-02-28T09:28:26Z</time>
</trkpt>
So it contains speed (average since previous point), elevation, location and time (offtopic: it took me a while to understand that this elevation is not the actual elevation above sea level; only yesterday I figured that out and fixed it in the code!).The Go GPX library some of this information, and some extras (like max and min elevation, max speed, total up and down, etc. over the whole track). Then I perform some more calculations (like putting the points in buckets per km and per minute), and calculate the estimated location using a geocoder library.
Then, finally, to estimate the difference between walking, running, or cycling, I take the average speed and guesstimate from there. This may be wrong some times for some people, and could be improved on. Or maybe I should include an AI here? (just kidding)