Blog posts tagged "jq"
-
Balancing context size and callable tool metadata with CAP's MCP adapter
Some notes on both sides of the per_action_tool setting of CAP's MCP adapter plugin.
-
Point free coding and function composition
In this post I explore and show examples of the concepts of point free coding, of chains of functions through which data flows, and of function composition.
-
Migrating GitHub issue based URL bookmarks to wallabag
In this post I outline how I migrated my collection of reading list bookmarks, stored as issues in a GitHub repo, to wallabag which I'm now self-hosting.
-
reduce - the ur-function
Why I think of reduce as the ur-function, a primitive building block from which other functions like map and filter can be constructed.
-
Easily add an explicit cds.requires.db to your CAP project's package.json
Using jq to easily add an explicit cds.requires.db entry to a CAP project's package.json.
-
CAP, CDS, CDL, CSN and jq - finding associations
Using jq to parse association information from CSN, the internal representation of CDS definitions in CAP.
-
Curating a collection of jq functions
Curating a personal collection of jq functions and exploring how the jq module system works.
-
Quick conversion of multiple values using with_entries in jq
Demonstrating how jq's with_entries is a powerful combination of to_entries and from_entries for value conversion.
-
A simple jq REPL with tmux, bash, vim and entr
Building a simple jq REPL with tmux, Bash, Vim and entr for exploring JSON datasets.
-
Selecting the related endpoints from a GitHub API response using jq's with_entries
Using jq's with_entries to select the related API endpoints from a GitHub API response.
-
Improving my interactive jq workflow with ijq, bash and tmux
Improving my interactive jq workflow by capturing expressions from ijq for command line use.
-
More on the comma as generator, and streaming with select in jq
Exploring the subtleties of the comma as a generator and streaming with select in jq.
-
Recognising patterns and embracing the stream
Refactoring a jq implementation of an LED number display by recognising patterns and embracing the stream-oriented nature of the language.
-
Learning from community solutions on Exercism - part 3
Dwelling on more small details in jq solutions to Exercism exercises.
-
Learning from community solutions on Exercism - part 2
Continuing to learn from community solutions on Exercism's jq track.
-
Learning from community solutions on Exercism - part 1
Learning from community solutions on the jq track in Exercism, starting with some interesting patterns.
-
Learning from exploring a question on jq
Exploring different ways of achieving a simple JSON reformulation goal with jq and explaining my thinking.
-
Array push with autovivification in jq
Making a note about array push with autovivification in jq while working on Advent of Code.
-
Extracting blog post dates from URLs with jq
Using jq to extract and sort blog post dates embedded in URLs from a JSON array of GitHub issues.
-
More Untappd data explorations with jq - my top ranking beer types (part 3)
Wrapping up my Untappd data exploration with the final ranking of my favourite beer types.
-
More Untappd data explorations with jq - my top ranking beer types (part 2)
Continuing my Untappd data exploration to determine my top ranking beer types.
-
More Untappd data explorations with jq - my top ranking beer types (part 1)
Exploring my Untappd data to discover my top ranking beer types, starting with the data preparation.
-
Untappd data with jq - my top brewery countries
Exploring my Untappd checkin data with jq to find my top brewery countries.
-
Understanding jq's SQL style operators JOIN and INDEX
Exploring jq's JOIN and INDEX operators based on a Stack Overflow answer.
-
Summing and grouping values with jq
Here's yet another note-to-self on using jq, this time to transform a flat list of order totals and dates into a summary of total order values by year.
-
Reshaping data values using jq's with_entries
Exploring a JSON file of valid tutorial tags using jq's with_entries to reshape the data.
-
Multiple level filters in jq
Using jq to shape JSON representations of OData with filtering at two levels.
-
Products by supplier in OData and jq
Comparing OData resource requests with equivalent JSON shaping using jq.
-
Exploring JSON with interactive jq
Using ijq, the interactive jq wrapper, to explore JSON data with immediate visual feedback.
-
JSON object values into CSV with jq
I wanted to grab a CSV version of a JSON representation of an entityset in the Northwind OData service. Here's how I converted the JSON structure into CSV with jq, and along the way, I talk about arrays, objects, iterators, object indices, variables, identity, array construction and format strings.
-
Exploring GitHub repo name distribution with jq
Exploring the distribution of name prefixes for SAP-samples repositories on GitHub using jq.
-
Converting strings to objects with jq
Converting a list of fully qualified GitHub repository names into structured JSON objects with jq.
-
Some thoughts on jq and statelessness
Reflecting on jq's stateless nature after reading about zq as an alternative.
-
Understanding jq's reduce function
Understanding jq's reduce function by relating it to the equivalent in JavaScript.
-
Exercism and jq
Exploring what a jq track might look like on the Exercism learning platform.
-
Getting BTP resource GUIDs with the btp CLI – part 2 - JSON and jq
Exploring how the btp CLI supports JSON output and how to parse it with jq.
-
Embracing jq and JSON
Finding that exploring objects in a complex JSON structure is not as scary as I thought with jq.
-
Learning by rewriting - bash, jq and fzf details
One of the ways I learn is by reading and sometimes rewriting other people's scripts. Here I learn more about jq by rewriting a friend's password CLI script.
-
Producing JSON with jq for appending issue titles
Learning how to use jq to produce JSON while writing a script to enhance Thinking Aloud journal entry titles.
-
Mass deletion of GitHub Actions workflow runs
A simple cleanup script for mass-deleting GitHub Actions workflow runs using gh, jq, fzf and the GitHub API.
See all tags.