home.social

#xq — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #xq, aggregated by home.social.

  1. I really appreciate this "small" peace of software called #jq Took me a while to understand the syntax rules but now it is pure joy whenever I have to use it. Other honorable mentions in this bag of enjoyable tools are #xq, #jless and the daily driver #curl. CLI ftw.

    jqlang.org/

  2. 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

    https://json-schema.org/

    >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

    #ActivityPub #XQ

  3. is a processor.

    yq is a preprocessor for 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 for , and for .

    Website 🔗️: github.com/kislyuk/yq

  4. 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:

    blog.lazy-evaluation.net/posts