ProgrammerHumor

evenMyWatchUsesJson

evenMyWatchUsesJson
evenMyWatchUsesJson

Saw a post on PCmasterrace with a bios watch face so today I took a whack at Monkey C and decided to make a JSON watch face. I know its been done but mine is free.

https://www.reddit.com/gallery/1m0852z
Reddit

Discussion

dim13
:g::c::terraform:

r/ISO8601 gore

11 hours ago
fossilsforall OP

You dont use commas and abbreviated text names for your dates in json files? How odd

11 hours ago
saschaleib
:asm::cs::cp::c::j::js:

Definitely ISO, but preferably Unix timestamps plus offset data for your time zone.

We don’t want Joe from accounting looking at it and thinking he could understand any of this, right?

6 hours ago
RiceBroad4552
:s:

The problem with Unix timestamps is that they are as intuitively graspable as Star Trek star dates. There are for sure some people who can interpret them on the fly, but for average nerds it's just some opaque numbers.

6 hours ago
saschaleib
:asm::cs::cp::c::j::js:

I would argue that you should get your nerd-license revoked if you can't read Unix timestamps ;-)

(hey, this is r/ProgrammerHumor , don't take things too serious here!)

6 hours ago
RiceBroad4552
:s:

The point was, there are people who can tell you (roughly) the date when looking at a timestamp!

But I can't, and I guess most nerds, even the ones with license, can't either.

2 hours ago
Clen23

using "hr" on a watch for "heart rate" is diabolical

3 hours ago
fossilsforall OP

Wait why what you use instead lol

3 hours ago
Clen23

i'd use "heartrate" for simplicity and "bpm" for length, maybe there's better out there but i'm confident that "hr" can be confused with "hour" and is probably not the way to go.

it's mostly a personnal taste thing tbh, i mostly meant the comment above as a joke :)

3 hours ago
fossilsforall OP

Yeah after I reread your comment I got it. Every other watch face just uses an icon but I had to be different

3 hours ago
Trip-Trip-Trip

Who needs data types anyway. Strings for everything!

9 hours ago
max_208

Me trying to read time as a Unix timestamp on my watch

6 hours ago
jitty

As if JSON offers a breadth of types.

5 hours ago
ChalkyChalkson

True, we should make json more pure and drop the list and number options, dict and string are technically enough. Or what if we reduce it to just a string, we could do it if we had some kind of format to encode a dict to a string...

5 hours ago
jitty

You already have to do that with BigInt

5 hours ago
fossilsforall OP

Its a metaphor

8 hours ago
Trip-Trip-Trip

A meta for what?

7 hours ago
Simiouch

What's the link? :)

8 hours ago
fossilsforall OP

I haven't made it public yet but will update when I do:)

3 hours ago
ShredsGuitar

Looks cool. I wish apple watch had it too

11 hours ago
fossilsforall OP

There is solace in knowing android doesn't have it either

11 hours ago
prindacerk

Android has one.

https://play.google.com/store/apps/details?id=net.k3rnel.nowjson

11 hours ago
fossilsforall OP

But it doesn't have this one which i made myself

10 hours ago
prindacerk

Ofcourse. Hope you will publish it as a new release.

10 hours ago
--TYGER--

And one app with several watch faces:

https://play.google.com/store/apps/details?id=com.jeremysteckling.facerrel

6 hours ago
RiceBroad4552
:s:

Nothing against this here, it looks nice! But still:

I think I should post a "The world <insert: sci-fi utopia> if JSON wouldn't be used for everything" meme.

JSON is by far one of the most horrible data formats ever invented! It's actually not good for anything. Especially not for what it's usually used: It's complete trash for data serialization (only binary formats are valid for this use case), it's maximally shitty for configs (not even comments are allowed!), and it sucks also for human interaction as it doesn't come with any rich, unambiguous, and standardized data types (instead you have to interpret arbitrary strings), and is on top supper noisy.

6 hours ago
fossilsforall OP

I use json a lot when I dont have a websocket server set up but I need 2 things to share data. One machine writes and the other reads

3 hours ago
The-Tyler-Durden

This is so cool! Is it already on the garmin store? Will you add it? Or do I have to manually install it from github?

10 hours ago
fossilsforall OP

I'll probably put it on the Garmin store tomorrow :)

8 hours ago
saschaleib
:asm::cs::cp::c::j::js:

If you add the option to use Unix-timestamps instead of … this abomination … I’d definitely use that!

6 hours ago
JohnDoen86

Your watch is hilariously big for your wrist lol

4 hours ago
fossilsforall OP

I love my giant watch

3 hours ago
Clen23

I love how they put placeholders for all the values from `system` but `activity` is all set to 0 and the user is essentially in cardiac arrest.

3 hours ago
fossilsforall OP

Who's they? I built it lol and the heart rate shows 63bpm?

3 hours ago
Clen23

in the first screenshot it's "-- bpm"

3 hours ago
fossilsforall OP

Oh that's just the emulator for testing

3 hours ago
WrennReddit

"hr": "-- bpm"

RIP OP

2 hours ago