arch, to random
@arch@floofy.tech avatar

Diagramming out my website's CDN/gossip cache architecture a bit https://excalidraw.com/#json=Hr8UxEuLikFbmY9zzACdj,6tLXkMm0Ax-yREYXVR5vpw

lucassatabin, to random
@lucassatabin@fosstodon.org avatar

This has been a long dream of mine, since I added JSON support in -data. And it has never been so close to become true: the PR adding support for queries (think ) is ready! It allows for declarative streaming extraction and transformation of JSON data, emitting data as soon as some piece of output has been built, discarding input that has been consumed, on the go. I must admit, that I am super proud of this one! https://github.com/gnieh/fs2-data/pull/426

momo, to FFXIV

I'm not the best at (s) but here goes nothin ​:002blush:​

hoi, I'm mana, also known as momo. I'm an FC leader in and I play on Primal DC. I'm shy, but one of those people who won't shut up once you get to know me. I have a tendency to be introspective/keep to myself when I'm really depressed. I have and am . Also, I'm disabled from and and . Most days are good days, but the bad ones are pretty bad ​:blobcat_notlikethiscry:​

wow what a way to open ​:blobcat_nervous:​

umm...I really like indie games, esp. horror ones like , , , ...stuff like that. I'm a big fan of and , and I've read most of 's works.
I enjoy and am currently reading . I also really enjoyed . I like but I don't really watch it all that often these days, but there's still plenty on my to-watch list ​:ahrispin:​
I also like but rarely am in the mood to play them lately. some of my favorites have been the series and . I also really like anything by or / . and ;gate are favorites.

As far as regular video games go, I like , , & games. I have played almost every game ​:blobfoxlaughsweat:​ and my comfort game is

I like modding/coding games so I've been learning and to facilitate that. idk what else to say butt hi everyone, thanks for reading this if you did! let's be friends?​:sbahri_question:​

rysiek, to random
@rysiek@mstdn.social avatar

If you're implementing DNS-over-HTTP JSON client and wondering what Accept header media type to use… 👀

There's RFC8427, "Representing DNS Messages in JSON"; it defines the JSON structure. You can ignore it. No DoH JSON API provider I tested implements it.

It also defines the application/dns+json media type, registered with IANA. You can ignore it as well. Only CloudFlare cares about the media type — and insists on application/dns-json (yes, with a "-"). 🙄

zwecki, to Podcasts German
@zwecki@dresden.network avatar

Hab mich eben mal in das Thema "JSON Chapters Format" (https://github.com/Podcastindex-org/podcast-namespace/blob/main/chapters/jsonChapters.md#json-chapters-format) eingelesen. Bisher kannte ich Chapter-Marker für nur direkt eingebettet in die , aber der Ansatz mit entsprechender Angabe im gefällt mir, ehrlich gesagt, besser. Haben wir natürlich auch direkt für @rebootpolitics in Folge 1 eingebaut. Wird in Zukunft dann nach Möglichkeit immer direkt zum Release neuer Folgen dabei sein. :)

nurkiewicz, to Bash
@nurkiewicz@fosstodon.org avatar

I use this alias all the time to take from clipboard and put it back, formatted:

alias fmtjson='pbpaste | jq | pbcopy'

paulox, to django
@paulox@fosstodon.org avatar

I found my first bug in Django 5.0 after the feature freeze 🐛

It's related to GeneratedField and JSONField and maybe you can help to fix it 👇
https://code.djangoproject.com/ticket/34861

BartoszMilewski, to random
@BartoszMilewski@mathstodon.xyz avatar

As promised, a new blog post with the solution of an exercise from Mac Lane with lots of pictures (and a piggie at the end). https://bartoszmilewski.com/2023/09/19/exercise-in-coherence/

baptnz,
@baptnz@vis.social avatar

@BartoszMilewski BTW you might like https://math.preview.excalidraw.com/#json=a50iUBv9CKT5Jm-3-TY8_,oyTbBH58f0O-gPkn4JPYfg
it's an extension of excalidraw that supports mathjax

nanimal, to random

Imagine... but for :pika:

tripplehelix, to homeassistant
@tripplehelix@fosstodon.org avatar

I need some help with taking a file and turning it into two entities in

{"Ogre": 6.812777522016128, "Purple": 7.33304223580386, "N/A": 31.608346981282086}

That's the Json, I'd like 'Orgre' and 'Purple' to display as entities with the number being the data. Nothing I try seems to work. Is there a simple addon I can use from ?

sanjaymenon, to random
@sanjaymenon@mastodon.social avatar
hrefna, to random
@hrefna@hachyderm.io avatar

In which I think out loud for a bit about , it's place, and what compromises need to be made:

First, the vision of JSON-LD is essentially this (and yes I will use entirely references, this is me talking to myself after all :p ):

A request comes in to Handler Walter (HW) for a mission for C4-621 (Raven) to assault a dam and blow up some generators along with G4 and G5, troops under G1 Michigan, part of a squad called the "Red Guns"

G1 gives you the "lucky" callsign G13

1/

hrefna,
@hrefna@hachyderm.io avatar

Poor developers often choose one or more of:

  1. Deciding "frak it" and just parsing in
  2. Using a library that "does " and later discovering that some of these modern specs only sort of comply with the JSON-LD spec, or use subsets already, so you end up with a heavyweight library that's slow, memory inefficient, and difficult to use.

If such a library even exists on your platform.
3. Adding a set of directives that are sort of JSON-LDish on top of a JSON library.

9/

KevinGimbel, to random
@KevinGimbel@fosstodon.org avatar
katze, to ObsidianMD

Do you have a preferred (if that's the right term) type app on Windows 10? I'm currently toying with but I'm wondering if there's something better.

My planned use case is keeping track of a few (digital and physical) along with their purchase information etc.

Local storage in something readily exchanged, like , or is a must, preferably without needing a separate manual import/export step.

welcome!

ApiPlatform, to random
@ApiPlatform@fosstodon.org avatar

Thibaut Arnoud will give you to an overview of validation in API Platform. In his talk, we will see how it's possible to validate requests before deserialization, thanks to Schema.

Join us at the : https://api-platform.com/fr/con/2023

haskman, to random
@haskman@functional.cafe avatar

is a great configuration language. Yes, I'm not joking. It has a terrible syntax, and it hasn't been in vogue for many years, but semantically it's better suited than and for many tasks.

With YAML/JSON you have to choose between arrays (nesting) and maps (keys). XML gives you both nesting and keys for every single element in the config. It's a much cleaner abstraction since it's all nodes all the way down. But it's rather ugly!

Well solves the syntax part of XML!

It makes the config readable, formalises the grammar, and adds some minor features.

https://kdl.dev/

YurkshireLad, to Java
@YurkshireLad@mastodon.social avatar

I have a app that loads user created . I also have a JSON file that describes the content of this format, which I’m using to to validate the content of the user created JSON. This lets me determine if the user forgot to include some properties or if they’re of the wrong type or out of range. I can then display some errors accordingly.

Is there a library that would do this for me? I guess it’s the equivalent of and XSDs.

mate, to random French
@mate@3615.computer avatar

compare two JSONs with jq

"jq diff json"

https://gist.github.com
/ipan/e5e86d5495f16216e31fe12ebc9532a4

slink, (edited ) to random
@slink@fosstodon.org avatar

JSON formatting in pure VCL is a PITA.

Just released: A formatter for which sucks less.

https://gitlab.com/uplex/varnish/libvmod-j

Example from the README:

alternativeto, to random
@alternativeto@mas.to avatar

has released its latest version, 3.43, which includes new features such as support for Contentless-Delete FTS5 Indexes, performance upgrades for processing, and various other enhancements and bug fixes.
https://alternativeto.net/news/2023/8/sqlite-3-43-unveiled-with-new-features-and-json-performance-improvements/

webology, to random
@webology@mastodon.social avatar

🤔 Occasionally, I land on JSON Patch as the best way to solve a problem that has been bugging me for a while. Tonight, this plagued me again, and I'm really tempted. https://jsonpatch.com/

webology,
@webology@mastodon.social avatar

@onelson Ah, gotcha. JSON Pointer is part of the spec so I was assuming you used both. https://jsonpatch.com/#json-pointer

hrefna, to random
@hrefna@hachyderm.io avatar

It just really continues to feel like is trying push into everything and the kitchen sink… regardless of if it fits and doing a "beat to fit paint to match" when it doesn't, the JSON-LD working groups and such are busy trying to figure out how to do a , and the rest of us are trying to figure out how to do this practically in production in a way that doesn't ignore all of JSON-LD, or just doing "JSON + a weird context obj."

The situation feels untenable on a few levels.

hrefna,
@hrefna@hachyderm.io avatar

This also ties into the inherent disadvantage of the compared to centralized services: processing and cost.

If I have n servers the absolute minimum number of messages that will need to be exchanged is Θ(n), all of that is in a format that must be fully parsed and that is slow to parse even compared to other JSON formats. They each then need to store it individually.

A centralized social service doesn't need to do that and that is a big cost savings.

rmdes, (edited ) to random
@rmdes@mstdn.social avatar

to feed with with optional manipulation: https://blog.rmendes.net/2023/08/23/json-to-rss.html

wyri, to random
@wyri@haxim.us avatar

I swear I didn't commit the vendor/node_modules/yarn cache directory! It's just pretty printing :

skullvalanche, to programming
@skullvalanche@gladtech.social avatar

I kinda liked YAML until I read this. Good grief, what a nightmare.

https://ruudvanasseldonk.com/2023/01/11/the-yaml-document-from-hell

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • rosin
  • mdbf
  • osvaldo12
  • ethstaker
  • tacticalgear
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • modclub
  • Youngstown
  • everett
  • slotface
  • kavyap
  • megavids
  • GTA5RPClips
  • khanakhh
  • cisconetworking
  • tester
  • ngwrru68w68
  • normalnudes
  • Durango
  • InstantRegret
  • cubers
  • provamag3
  • anitta
  • Leos
  • lostlight
  • All magazines