brunty, to random
@brunty@brunty.social avatar

Deployed a tool for a personal / thing recently and it was configured using

There was much rejoicing, no , no !

david_megginson,
@david_megginson@mstdn.ca avatar

@brunty I think they all have their place. Coders love #JSON because it looks like code (non-coders hate it for the same reason). #YAML is great for config files, but gets awkward for more-advanced data. Nobody loves #XML, but I find that non-coders hate it slightly less than JSON, just because it looks a bit like HTML (many more people know HTML than know how to write code) and handles mixed content elegantly.

Still, complex data is complex, regardless of the representation.

david_megginson,
@david_megginson@mstdn.ca avatar

@brunty OK, I'll admit, I love too: I wrote two books about it and was a member of the original XML WG and chaired the XML Core WG afterwards. 🙂

But all the same, when I was chairing XML 2007, I did invite @douglascrockford to give a closing keynote about , just to remind the aficionados that there was more to than XML.

khalidabuhakmeh, to random
@khalidabuhakmeh@mastodon.social avatar

Spent the morning answering a #JetBrains #dotnet blog reader's question about filtering on a #JSON collection using #EFCore and #sql

Any folks have some thoughts? It turns out this is such a new use case that there isn't query support yet for arrays through LINQ.

https://blog.jetbrains.com/dotnet/2023/02/14/getting-started-entity-framework-core-7-json-support/#remark42__comment-db104e2f-baec-4801-9b33-334fe2586753

ctietze, to random
@ctietze@mastodon.social avatar

Is it at all possible to use jq to replace JSON values with the output of a custom command?

Example: parse the value as a date, then add 3 days, then make this a string; replace the old value with this one.

The replacing itself with #jq is simple, but I can't figure out how to "pipe" values

ctietze,
@ctietze@mastodon.social avatar

Maybe this is a case for #jq to pretty-print the #JSON, then #sed/#awk to replace values?

codidact, to programming

A community member is looking for #codereview on a #JSON log formatter for #Python. Is this approach sound? You can post an answer addressing some or all of the (small) body of code shown; this isn't conventional Q&A where you need to have "the answer". Can you help? https://software.codidact.com/posts/288091

bagder, to random
@bagder@mastodon.social avatar

All existing #curl CVEs are now available as #JSON: https://curl.se/docs/vuln.json

All individual issues are also available as JSON, like for example CVE-2023-27538 like this: https://curl.se/docs/CVE-2023-27538.json

Enjoy!

patrick_h_lauke, to random
@patrick_h_lauke@mastodon.social avatar

whenever somebody talks about #json my mind goes to this...

backupbear, to random

Diving back into #Perl after a couple of years away from code and because I'm a masochist I'm finally tackling #JSON with it.

qmacro, to random
@qmacro@hachyderm.io avatar

New post: Improving my interactive #jq workflow with ijq, #bash and #tmux.

I'm a big fan of ijq and how it allows me to explore #JSON data interactively with jq expressions. With a small script I have improved my workflow by being able to capture the jq expression from ijq and use it easily on the command line.

https://qmacro.org/blog/posts/2023/04/27/improving-my-interactive-jq-workflow-with-ijq-bash-and-tmux/

Share & enjoy!

maartenballiauw, to random
@maartenballiauw@mastodon.online avatar

What do you do when you need to inspect HTML, XML, JSON, or a JWT while debugging? 🐞
.
.
.
👀
.
.
.
Use Rider 2023.1's new debugger visualizers of course!

Find out more in this post by @khalidabuhakmeh https://blog.jetbrains.com/dotnet/2023/04/27/html-xml-json-and-jwt-visualizers-in-rider-2023-1/ #dotnet #jwt #json

oraclebase, to random
@oraclebase@techhub.social avatar
rafaelcaricio, to random
@rafaelcaricio@fosstodon.org avatar

Someone knows where I could download #WikiData in #NTriples format using #BitTorrent? I can only see a fairly recent torrent for #JSON format.

@wikidata any idea?

jdecool, to random
@jdecool@phpc.social avatar

RT @brunoborges
#JSON

  • Allows shitty formatting
  • No comments
  • Poor schema support
  • Poor IDE support

#YAML

  • Formatting's like shitty white men on Twitter
  • Supports comments
  • No schema
  • No IDE usability

#XML

  • Just works
  • Great IDE usability
  • Comments
  • Any formatting

Pick your markup

mjgardner, (edited ) to programming
@mjgardner@social.sdf.org avatar

This is hilarious. A #Google engineer invented #zx to make command line scripting easier with #NodeJS, because at a certain point #shell scripts get too complicated and you need a Real #Programming Language.

https://github.com/google/zx/

This is exactly #Perl’s use case from thirty-six years ago. But the kids want #JavaScript everywhere and would rather it take more work to convert their ascended #Bash scripts to a vastly different syntax.

https://github.com/google/zx/issues/581#issuecomment-1516573139

#Unix #Linux #ProgrammingLanguages

mjgardner,
@mjgardner@social.sdf.org avatar

@ndw Reading your bio. I’m almost reluctant to point out that the same “worse is better” cycle applies to languages. was a reaction to , was a reaction to , and both have since acquired layers to add back what they threw away.

to3k, to mastodon Polish
@blog.tomaszdunia.pl avatar

🇵🇱 Nowy wpis na blogu! / 🇬🇧 New blog post!

Mastodon API – followers and following list [ENG 🇬🇧]

#api #curl #geekonerd #github #header #json #mastodon #opensource #osint #pagination #php

Autor: @to3k

https://blog.tomaszdunia.pl/mastodon-api-followers-following-eng/

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