PBS 163 of X – jq: Lookups & Records
Podfeet Podcasts | Programming By Stealth
by Bart Busschots & Allison Sheridan
1M ago
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 in which she explained the vast number of headaches you'll run into when trying to alphabetize names no matter the language. Then we buckle down and learn about how to make tradeoffs between speed and efficiency of resources, and how jq lookups can help us. Bart also helps us understand _when_ lookups can help us with queryin ..read more
Visit website
PBS 162 of X — jq: Altering Arrays & Dictionaries
Podfeet Podcasts | Programming By Stealth
by Bart Busschots & Allison Sheridan
1M ago
Bart Busschots is back to teach us how to alter arrays and dictionaries in JSON files using jq. Bart went through his challenge solution on cleaning up the Nobel Prize database and I learned a lot from it. Maybe he'd already taught all of it to us before but I sure wouldn't have been able to put the pieces together. For the new content, we learned how to alter arrays. We mastered sorting and reversing, how to add and remove elements, how to deduplicate the values within, and how to flatten even nested arrays. From there we learned how to manipulate dictionaries by adding and removing keys. It ..read more
Visit website
PBS 161 of X — jq: Maths, Assignment & String Manipulation
Podfeet Podcasts | Programming By Stealth
by Bart Busschots & Allison Sheridan
2M ago
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 showing examples of how `ceil` (for ceiling), `floor`, and `round` produce curiously different results when operating on negative decimal numbers. We move onto learning about both plain assignment and update assignment. It seems like a small deal but the ability to set a parameter using th ..read more
Visit website
PBS 160 of X — jq as a Programming Language
Podfeet Podcasts | Programming By Stealth
by Bart Busschots & Allison Sheridan
2M ago
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 was more elegant than his. To be fair, it took a buddy programming session with him for me to get the _first_ part of the challenge figured out. When we got into the programming language part of the lesson, there were so many times that I said, "I needed this last week!" I think finding out these op ..read more
Visit website
CCATP #784 — Bart Busschots on PBS 159 of X - jq: Building Data Structures
Podfeet Podcasts | Programming By Stealth
by Bart Busschots & Allison Sheridan
3M ago
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 word to describe the process. It's really like concatenation in Excel, but maybe that's just me. We build arrays using jq, and even convert between strings and arrays with the `split` and `join` commands. We build dictionaries in a syntax that is simple and elegant. We also build dictionaries fr ..read more
Visit website
PBS 158B - jq More Advanced Queries
Podfeet Podcasts | Programming By Stealth
by Bart Busschots & Allison Sheridan
3M ago
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 half of that episode, Programming By Stealth 158B. Before we got started learning, I alerted the audience to a significant enhancement to the material we create for this show. I use a service called Auphonic to do a lot of things with the audio file when we're done recording ..read more
Visit website
PBS 158A – jq: More Queries
Podfeet Podcasts | Programming By Stealth
by Bart Busschots & Allison Sheridan
4M ago
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 trying though - I worked about 4 hours on just the first challenge. Because of a fundamental building block that wasn't properly in place in my brain, I was never going to succeed. That means that this episode is almost half about the challenges and Bart carefully re-explaining the piec ..read more
Visit website
PBS 156 of X — Extracting Data with `jq`
Podfeet Podcasts | Programming By Stealth
by Bart Busschots & Allison Sheridan
5M ago
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 how jq will output sarcasm about "Bart Busschots" if you don't learn how to ask it for raw output. We even learn how to extract data from multiple files at once and how to extract multiple values from our JSON files. Finally, we learn about exploding arrays and how to suppress errors. I think I really love data ..read more
Visit website
PBS 155 – Introducing JSON Processing from the Shell with `jq`
Podfeet Podcasts | Programming By Stealth
by Bart Busschots & Allison Sheridan
5M ago
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 JSON files, see "pretty versions of them, and also to manipulate them. We don't learn a lot of commands but Bart walks us through a few examples to help illustrate why we care, or shall I say, "the problem to be solved"? I'm sold on the idea having just mucked about in a config files for hom ..read more
Visit website
PBS 154 — Bash: Expansions & Brackets Redux
Podfeet Podcasts | Programming By Stealth
by Bart Busschots & Allison Sheridan
8M ago
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 future. As with all good programming, Bart is scratching his own itch - he wanted a single place to go to know which brackets mean which and which ones do you have to cuddle vs. not cuddle. He also wanted a table of the order in which Bash processes the seven distinct expansions. We're clos ..read more
Visit website

Follow Podfeet Podcasts | Programming By Stealth on FeedSpot

Continue with Google
Continue with Apple
OR