In this very meaty episode of Programming By Stealth, Bart Busschots teaches us how to build data structures using jq with JSON files. We’re not just querying existing data, we’re rebuilding the data the way we want to see it. We learn how to build strings with interpolation, which I find is a very odd […]
Continue readingCategory: Programming by Stealth
CCATP #783 — Bart Busschots on PBS 158B – jq More Advanced Queries
Two weeks ago, Bart Busschots and I recorded a Programming By Stealth episode covering more queries using the jq language on our JSON files. We spent so much time working through the challenges from the previous installment that we only made it halfway through his tutorial shownotes. So this week we’re back with the second […]
Continue readingCCATP #782 — Bart Busschots on PBS 158A – jq More Queries
In Programming By Stealth this week, Bart Busschots and I start off by going through the challenges from our previous installment. Remember how I said I was really digging jq and querying JSON files because at heart I’m a data nerd? Well, I failed completely at accomplishing the homework. It was not for lack of […]
Continue readingCCATP #781 — Bart Busschots on PBS 157 of X — jq: Querying JSON with `jq`
In this week’s episode of Programming By Stealth, Bart Busschots continues his instruction on learning more about how to use the jq language to query JSON files. We get into the thick of it as Bart teaches us three important jq concepts: filter chaining, operators, and functions. To get there we learn about the literal […]
Continue readingCCATP # 779 — Bart Busschots on PBS 156 of X — Extracting Data with `jq`
After the last episode of Programming By Stealth where Bart gave us an intro to jq and the problems it can solve, this week we start to get our feet wet by learning how to extract data from JSON files. We learn how to descend into dictionaries and arrays, and how to slice arrays. Learn […]
Continue readingCCATP #778 — Bart Busschots on PBS 155 – Introducing JSON Processing from the Shell with `jq`
After our annual break from Programming By Stealth that happens at an unknown time for an unknown length every single year, Bart and I are back with a new episode of Programming By Stealth. Bart introduces us to a language called jq and a terminal command called jq which together are used to help query […]
Continue readingCCATP #775 — Bart Busschots on PBS 154 — Bash: Expansions & Brackets Redux
Bart Busschots joins us for Programming By Stealth with the final installment of our miniseries on Bash. He explains a few new concepts, but the real value of this installment and especially his fabulous tutorial shownotes is that he compiles a lot of info into some tables for us to use as reference for the […]
Continue readingCCATP #774 — Bart Busschots on PBS 153 – Bash: Functions & Scope
In Programming By Stealth, we’ve come to the end of our journey with Bash. I’ll be sad to have it complete because as I tell Bart in this episode, I’ve really enjoyed it. Next time he will do a final bow-tying episode where he brings everything we learned together in one set of notes as […]
Continue readingCCATP #773 — Bart Busschots on PBS 152B — Bash: xargs & Easier Arithmetic
In Programming By Stealth 152A Bart and I decided to hold off on the middle of the lesson he’d written up. That middle bit where he said to “put a pin in it” was about the use of xargs. I’m really glad we did skip it in the last installment. It’s a pretty useful concept […]
Continue readingCCATP #771 — Bart Busschots on PBS 152A — Bash: xargs & Easier Arithmetic
I don’t always make the time to pre-read the shownotes for Programming By Stealth but I never regret when I do make the time. That was especially true this week. In this installment, Bart Busschots takes us through his solution to the challenge from PBS 151, which was to print a “pretty” multiplication table using […]
Continue reading