-19 points

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

permalink
report
reply
34 points

I think:

  1. that’s the joke
  2. this is just a watchface template, not an actual file being updated constantly
permalink
report
parent
reply
72 points

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

permalink
report
parent
reply
7 points
Deleted by creator
permalink
report
parent
reply
9 points

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

permalink
report
parent
reply
11 points

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

permalink
report
parent
reply
8 points

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

permalink
report
parent
reply
2 points

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

permalink
report
parent
reply
182 points

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

permalink
report
reply
9 points

Yep. I switched. Doubt anyone will notice tho

permalink
report
parent
reply
59 points

I prefer YAML please

permalink
report
reply
80 points

Please, dont joke with things like this. Someone might take you seriously…

permalink
report
parent
reply
47 points

XML it is!

permalink
report
parent
reply
17 points

Let’s go back to binary blobs. Everything being xml and json is boring.

permalink
report
parent
reply
1 point
*

XML has a bad rap because people went a bit (ok a lot) overboard with it in the early years, pretty much like what happens with a lot of other technologies, but as far as structured and human-readable data formats with good schema and tooling support go, it’s pretty much unbeatable. Now that JSON is the New Good Tech and XML is the Old Bad Tech, too many developers use JSON where XML would absolutely make more sense, and then we end up with unholy abominations like Portable Text, which is JSON pretending to be XML, and is so incredibly verbose and monumentally stupid that it feels like some sort of joke esolang data format rather than something being used in a production system. But no, here we are, god is dead and JSON is XML.

XML is terrific for building eg. structured markup languages with more complex markup than what something like Markdown can provide, and have the resulting files be comparatively readable, at least in comparison to the JSON-based alternatives – compare HTML to Portable Text, for example. XML has such a bad reputation – partially deservedly – that people just automatically assume it’s not a valid tool for anything modern, even when the modern “NoSQL”, “structured and typed data is for nerds, suck it” JSON solution is a giant pile of shit compared to the XML alternative

permalink
report
parent
reply
8 points
*

yaml sucks. I’d like a toml one

permalink
report
parent
reply
11 points

I exclusively use YATL: Yet Another TomL.

permalink
report
parent
reply
46 points

here you dropped your whitespace 🤏

permalink
report
parent
reply
3 points

Sexpr master race!

permalink
report
parent
reply
2 points
Deleted by creator
permalink
report
parent
reply
17 points

If only fitness apis were actually that easy

permalink
report
reply
54 points

Everything’s a string 😢

permalink
report
reply
7 points

Everythings an object 😰

permalink
report
parent
reply
1 point

lua tables all the way down

permalink
report
parent
reply

Programmer Humor

!programmer_humor@programming.dev

Create post

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics

Community stats

  • 8K

    Monthly active users

  • 1.2K

    Posts

  • 41K

    Comments