In this installment of Programming By Stealth, Bart explains why jq is uniquely designed not to need variables (most of the time) and then explains how to use them in the few instances when there’s no other way. It’s really a fairly straightforward lesson as Bart sets up some clear examples and solves them with […]
Continue readingMore TagTag: programming
CCATP #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 #785 — Helma van der Linden on Porting XKPASSWD from Perl to JavaScript
Helma Visiting Steve & Me from The Netherlands This week’s Chit Chat Across the Pond Lite is a stretch to the word “Lite”. I’d call it a crossover episode of Lite and Programming By Stealth. Helma van der Linden joins me to tell the story of how she has successfully started the new version of […]
Continue readingMore TagCCATP #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 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 # 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 #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 readingMore TagCCATP #765 — Bart Busschots on PBS 149 of X — Better Arguments with POSIX Special Variables and Options
In this rather mind-bendy episode of Programming By Stealth, Bart Busschots takes into the weird world of POSIX special variables and options. He refers to some of them as being like handling nuclear power, at one point he suggests mind-altering drugs must have been involved in the design, and he even compares one of our […]
Continue readingMore TagNC #933 Programming By Stealth Student Organization, Awarewolf All Terrain Cane, Bodie Grimm on Affordable EVs
Hi, this is Allison Sheridan of the NosillaCast Apple Podcast, hosted at Podfeet.com, a technology geek podcast with an EVER so slight Apple bias. Today is Sunday, March 26, 2023, and this is show number 933. mp3 download CCATP #763 — Bart Busschots on PBS 148 – A Bash Potpourri (Subshells, Relative Paths & More) […]
Continue readingMore TagCCATP #761 — Bart Busschots on PBS 146 of X – Shell Loops
As Bart continues our education in shell scripting, he explains the simplicity of looping. He explains the four types of loops: while, until, for, and select, along with the simple syntax of do/done within a loop. He walks us through a lot of examples that illustrate how each one of these loops work. He ends […]
Continue readingMore Tag