#xq — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #xq, aggregated by home.social.
-
XQ
https://github.com/misskey-dev/xq
This must be a part of the plan to turn Misskey into proprietary silo. ATProto and Nostr creators at least tried to solve a real problem, but arguments for creating this protocol are incredibly weak:
>Messages are in plain JSON format, which is wasteful
Message size is not a bottleneck in Fediverse.
>Having schema definitions
>Statically-typed-language-friendly structure.
Skill issue. Many Fediverse projects use statically typed languages.
>Eliminate unnecessary data and boilerplate by focusing on microblogging for its intended use
There is no boilerplate other than
@context. It can be dropped without making your implementation completely incompatible with everything else.>Allows multiple messages to be combined into a single request to reduce overhead.
Use a different inbox that supports batching:
https://codeberg.org/fediverse/fep/src/branch/main/fep/0499/fep-0499.md
-
#yq is a #CLI #YAML processor.
yq is a preprocessor for #jq which converts YAML into JSON, processes the data with standard jq, finally outputting YAML. yq has the ability to preserve custom tags and formatting, allowing for more accurate round-trip processing. yq also includes #xq for #XML, and #tomlq for #TOML.
Website 🔗️: https://github.com/kislyuk/yq
-
#TodayILearned about #yq and especially #xq for parsing #YAML and #XML from the command-line as if it were #JSON parsed with #jq.
yq: Command-line YAML/XML/TOML processor - jq wrapper for YAML, XML, TOML documents by Andrey Kislyuk
#CLI #CommandLine #CommandLineInterface #terminal #tools #TIL
-
Just finished a short blog entry on how to access the recently used file list of #gnome in a #shell. Using #xq this is dead simple:
https://blog.lazy-evaluation.net/posts/linux/gnome-recent.html