Awful lot of strings that should have been integers. It is JavaScript, though, so I guess that tracks.
Fitbit Clock Fade
Submitted 9 months 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 9 months ago
NegativeLookBehind@kbin.social 9 months ago
I prefer YAML please
verstra@programming.dev 9 months ago
Please, dont joke with things like this. Someone might take you seriously…
m12421k@iusearchlinux.fyi 9 months ago
here you dropped your whitespace 🤏
TxzK@lemmy.zip 9 months ago
yaml sucks. I’d like a toml oni
caseyweederman@lemmy.ca 9 months ago
I exclusively use YATL: Yet Another TomL.
Daxtron2@startrek.website 9 months ago
Everything’s a string 😢
Stoney_Logica1@lemmy.world 9 months ago
Hopefully that’s not a resting heart rate.
NightAuthor@lemmy.world 9 months ago
They’re just excited about posting this image online.
Cwilliams@beehaw.org 9 months ago
If only fitness apis were actually that easy
wreckedcarzz@lemmy.world 9 months ago
But a json file is used for storing settings and the like, not for providing real-time data, yeah?
felbane@lemmy.world 9 months ago
API calls often return json. It’s just a data format.
TexasDrunk@lemmy.world 9 months ago
Yep. I have a buddy who’s whole job is parsing that and displaying it on dashboards.
Winter8593@lemmy.world 9 months ago
I think:
- that’s the joke
- this is just a watchface template, not an actual file being updated constantly
Turun@feddit.de 9 months 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 9 months ago
No it’s used for all types of data transfer and real time data as well.
A_Very_Big_Fan@lemmy.world 9 months 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 9 months 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 9 months ago
This is great
blakeus12@hexbear.net 9 months ago
im confused as to why it doesn’t use variables? this is pretty interesting to see though
felbane@lemmy.world 9 months 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 9 months ago
Heres the link to it …fitbit.com/…/74a1aee7-457c-441e-9e93-ed17a18b01d…