wreckedcarzz,
@wreckedcarzz@lemmy.world avatar

But a json file is used for storing settings and the like, not for providing real-time data, yeah?

felbane,

API calls often return json. It’s just a data format.

TexasDrunk,

deleted_by_author

  • Loading...
  • aniki,

    You mean programming an ingestion routine to process json, surely, right?

    eerongal,
    @eerongal@ttrpg.network avatar

    That’s friend’s name? Jason Parsor

    A_Very_Big_Fan,

    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

    Winter8593,

    I think:

    1. that’s the joke
    2. this is just a watchface template, not an actual file being updated constantly
    Daxtron2,

    No it’s used for all types of data transfer and real time data as well.

    felbane,

    I unironically love this and would use it as my watch face just to get a reaction from my coworkers. Link?

    Landless2029,

    Yep. I switched. Doubt anyone will notice tho

    JPDev, (edited )
    Cwilliams,

    If only fitness apis were actually that easy

    Daxtron2,

    Everything’s a string 😢

    lseif,

    Everythings an object 😰

    Daxtron2,

    lua tables all the way down

    ilovededyoupiggy,
    @ilovededyoupiggy@sh.itjust.works avatar

    Awful lot of strings that should have been integers. It is JavaScript, though, so I guess that tracks.

    blakeus12,
    @blakeus12@hexbear.net avatar

    im confused as to why it doesn’t use variables? this is pretty interesting to see though

    settoloki,

    In JSON the value on the left would be the variable name the value in the right of the pair is the value.

    Stoney_Logica1,

    Hopefully that’s not a resting heart rate.

    NightAuthor,

    They’re just excited about posting this image online.

    bane_killgrind,

    If this is a photo for a bug report, it might have made his week.

    xenoclast,

    I’m sure it isn’t… but you’d be surprised how much resting hr goes up with age.

    makuus,

    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.

    dep,
    @dep@lemmy.world avatar

    Lol I came here to say this

    spader312,

    The date format isn’t even human readable (at least in American). It should be Sun, Jan 14th

    TheGrandNagus, (edited )

    Considering it uses day then month, 24hr clock, and distance in km, I’m guessing the reason why it’s not “human readable in American” is because it’s intended to be “human readable for pretty much everybody else”

    The date format isn’t incorrect at all

    neutron,

    I still think YYYY-MM-DD should be more apt for an international release.

    MystikIncarnate,

    IMO, that format is best for all releases.

    You want to talk about sorting releases, ISO 8601 works with sorting and it’s still human readable.

    My homies all start their date time stamped files with ISO 8601.

    spader312,

    I always start my files with iso8601, except on s3 it doesn’t like the colon. Gotta replace the colons lol

    tgxn,
    @tgxn@lemmy.tgxn.net avatar

    They should put it as Unix epoch instead!

    dejected_warp_core,

    I once worked in a software shop where all release packages had the Unix epoch timestamp in the filename. Yes, these sorted brilliantly making it trivial to find the last one. But good luck finding a build from a specific date/time.

    datelmd5sum,

    just wildcard for n digits

    UnRelatedBurner,

    what does the last 4 mean under stats?

    xanu, (edited )

    distance: how far you’ve traveled if you put all the steps in a line (may also be gps tracked too)

    azm: active zone minutes or how many minutes you’ve spent with your heart rate in the “active zone” where you burn more calories

    floors: how many flights of stairs you’ve climbed

    calories: estimate of how many calories you’ve burnt based on all the other stats

    UnRelatedBurner,

    nice, thx

    extratone,
    @extratone@lemmy.world avatar

    Datestamp horror.

    victorz,

    It’s perfect 🥹

    jaybone,

    Clocky McClockface

    Use datatypes

    ironcrotch,

    My god it’s all strings.

    petersr, (edited )

    Always has been

    datelmd5sum,

    disgusting

    Strawberry,

    not uncommon for data to be displayed on UI

    some_guy,

    You’ve got the hour hand and the minute hand… they’re right there. What’s wrong? /s

    AnActOfCreation, (edited )
    @AnActOfCreation@programming.dev avatar
  • All
  • Subscribed
  • Moderated
  • Favorites
  • programmer_humor@programming.dev
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #