There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

programmer_humor

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

TxzK , in git commit -m "minor fixes" +26858 -69429

Commit messages of my personal projects are filled with just “fix”. Life is too short to write a proper commit message

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

Why the “/” between VS ?

emptyother ,
@emptyother@programming.dev avatar

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.

MonkderZweite , in My coding skill V/S My GitHub Repositories

For me it’s the other way around. Do i do something wrong?

jaybone , in Fitbit Clock Face

Clocky McClockface

Use datatypes

UnRelatedBurner , in Fitbit Clock Face

what does the last 4 mean under stats?

xanu ,

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

blakeus12 , 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.

MonkderZweite ,

Guess this is a printout for humans, not to feed to the watch.

victorz , in Fitbit Clock Face

It’s perfect 🥹

extratone , in Fitbit Clock Face
@extratone@lemmy.world avatar

Datestamp horror.

0x4E4F , in Revisiting code I wrote last year
@0x4E4F@sh.itjust.works avatar

I was once like “🤨… what drugs was I on when I wrote this 🤨”. Comments didn’t help, I must’ve been under the influence of something, it didn’t make any sense.

The weird thing is, it works 😂.

fidodo ,

You gotta comment what drugs you were on when you wrote the code

0x4E4F ,
@0x4E4F@sh.itjust.works avatar

Darn, forgot to do that.

felbane , 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?

JPDev OP ,
Landless2029 ,

Yep. I switched. Doubt anyone will notice tho

Stoney_Logica1 , 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.

wreckedcarzz , 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?

Winter8593 ,

I think:

  1. that’s the joke
  2. this is just a watchface template, not an actual file being updated constantly
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

    Turun ,

    /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 ,

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

    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

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

    And half of them are “curated list of X”

    SomeBoyo , in Fitbit Clock Face

    This is great

    Cwilliams , in Fitbit Clock Face

    If only fitness apis were actually that easy

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines