programming.dev

wreckedcarzz, to programmer_humor in Fitbit Clock Face
@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, to programmer_humor in Fitbit Clock Face

    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, to programmer_humor in Fitbit Clock Face

    If only fitness apis were actually that easy

    Daxtron2, to programmer_humor in Fitbit Clock Face

    Everything’s a string 😢

    lseif,

    Everythings an object 😰

    Daxtron2,

    lua tables all the way down

    ilovededyoupiggy, to programmer_humor in Fitbit Clock Face
    @ilovededyoupiggy@sh.itjust.works avatar

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

    blakeus12, to programmer_humor in Fitbit Clock Face
    @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, to programmer_humor in Fitbit Clock Face

    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, to programmer_humor in Fitbit Clock Face

    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

    topinambour_rex, to programmer_humor in My coding skill V/S My GitHub Repositories
    @topinambour_rex@lemmy.world avatar

    Why the “/” between VS ?

    emptyother,

    Seems like its a common mistake, maybe brought on by its use as a stylistic choice in entertainment. “Myguy vs/ Yourguy” became “MyGuy v⚡s Yourguy” became the abomination that is “v/s”. Probably. I’m no etymolog.

    dbx12, to programmer_humor in My coding skill V/S My GitHub Repositories

    And half of them are “curated list of X”

    UnRelatedBurner, to programmer_humor in Fitbit Clock Face

    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, to programmer_humor in Fitbit Clock Face
    @extratone@lemmy.world avatar

    Datestamp horror.

    victorz, to programmer_humor in Fitbit Clock Face

    It’s perfect 🥹

    jaybone, to programmer_humor in Fitbit Clock Face

    Clocky McClockface

    Use datatypes

    Dasnap, (edited ) to programmer_humor in Guys! Should I accept the offer? 😂
    @Dasnap@lemmy.world avatar

    This reminds me of heart4heart levels in LittleBigPlanet.

    prongs,

    I miss that game. Not much tickles the same creativity and playfulness that I’ve tried since then. I used to spend hours in the level creator doing dumb stuff.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #