In this episode of Programming By Stealth, Bart Busschots as usual works through his solution to the challenge from last time, and as usual I learn a lot more about how to use jq to solve problems. He takes a bit of a detour to explain a fun email we got from Jill of Kent […]
Continue readingMore TagTag: json
CCATP #787 — Bart Busschots on PBS 161 — jq: Maths, Assignment & String Manipulation
In this week’s episode of Programming By Stealth, Bart continues to expand our knowledge on how to use jq to query and manipulate JSON files. We learn how to use mathematical operators on data in our JSON files along with fun functions like floor and absolute value. I even contributed some to the learning by […]
Continue readingMore TagCCATP #786 — Bart Busschots on PBS 160 of X — jq as a Programming Language
In this week’s installment of Programming By Stealth, Bart Busschots teaches us how to use jq as a programming language. Before we get into the new stuff, Bart takes us through his solution to the challenge, and I have to say I was pretty chuffed when he said my solution to the extra credit portion […]
Continue readingMore TagCCATP #784 — Bart Busschots on PBS 159 of X – jq: Building Data Structures
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 readingMore TagCCATP #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 readingMore TagCCATP #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 readingMore TagCCATP # 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 readingMore TagCCATP #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 readingMore TagCCATP #715 – Bart Busschots on PBS 135 of X – Introducing Jest (and re-Introducing Test Driven Development & Unit Testing)
In this week’s installment of Programming By Stealth, Bart takes us down memory lane to 102 episodes ago when he first introduced us to the concept of test-driven development. He explains why back then he taught us how to use QUnit for our TDD work, and why it’s no longer in favor with him. It’s […]
Continue readingMore TagCCATP #710 – Bart Busschots on PBS 132 of X — Managing JSDoc
In this final Programming By Stealth and final Chit Chat Across the Pond for 2021, Bart teaches us how to manage our documentation in JSDoc. As any good programmer, he insists on automating as much as he possibly can. He starts by showing us each step that we have to do at the command line, […]
Continue readingMore Tag