Awful lot of strings that should have been integers. It is JavaScript, though, so I guess that tracks.
Fitbit Clock Fade
Submitted 1 year ago by JPDev@programming.dev to programmer_humor@programming.dev
https://programming.dev/pictrs/image/4dfbbb6c-8a7d-4b78-8735-3f2c2247e5e1.webp
Comments
ilovededyoupiggy@sh.itjust.works 1 year ago
NegativeLookBehind@kbin.social 1 year ago
I prefer YAML please
verstra@programming.dev 1 year ago
Please, dont joke with things like this. Someone might take you seriously…
m12421k@iusearchlinux.fyi 1 year ago
here you dropped your whitespace 🤏
TxzK@lemmy.zip 1 year ago
yaml sucks. I’d like a toml oni
caseyweederman@lemmy.ca 1 year ago
I exclusively use YATL: Yet Another TomL.
Daxtron2@startrek.website 1 year ago
Everything’s a string 😢
Stoney_Logica1@lemmy.world 1 year ago
Hopefully that’s not a resting heart rate.
NightAuthor@lemmy.world 1 year ago
They’re just excited about posting this image online.
Cwilliams@beehaw.org 1 year ago
If only fitness apis were actually that easy
wreckedcarzz@lemmy.world 1 year ago
But a json file is used for storing settings and the like, not for providing real-time data, yeah?
felbane@lemmy.world 1 year ago
API calls often return json. It’s just a data format.
TexasDrunk@lemmy.world 1 year ago
Yep. I have a buddy who’s whole job is parsing that and displaying it on dashboards.
Winter8593@lemmy.world 1 year ago
I think:
- that’s the joke
- this is just a watchface template, not an actual file being updated constantly
Turun@feddit.de 1 year ago
/sys/
: am I some kind of joke to you?To be fair you won’t find Jason there. But plenty of files that provide real time information about the system!
Daxtron2@startrek.website 1 year ago
No it’s used for all types of data transfer and real time data as well.
A_Very_Big_Fan@lemmy.world 1 year ago
I mean, I’ve never used JSONs before but I imagine you could still write to them in realtime at least, as inefficient as that sounds lol. So you could probably get the same results on an actual text editor if you could modify it to update the text automatically when it detects a change instead of prompting the user
makuus@pawb.social 1 year ago
That’s something I think I’d like to use, but I don’t know if could get over the fact that neither the date nor the time are in ISO 8601 format.
SomeBoyo@feddit.de 1 year ago
This is great
blakeus12@hexbear.net 1 year ago
im confused as to why it doesn’t use variables? this is pretty interesting to see though
felbane@lemmy.world 1 year ago
I unironically love this and would use it as my watch face just to get a reaction from my coworkers. Link?
JPDev@programming.dev 1 year ago
Heres the link to it …fitbit.com/…/74a1aee7-457c-441e-9e93-ed17a18b01d…