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 readingTag: programming
CCATP #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 #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 readingNC #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 readingCCATP #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 readingCCATP #759 — Bart Busschots on PBS 145 of X — Shell Conditionals
Bart continues his miniseries on shell scripting by teaching us conditionals in the shell. In order to explain why conditionals are a bit odd in shell scripting, Bart first walks us through how it was originally done and then shows us the evolution to a much better method. It’s still weird, and many things are […]
Continue readingCCATP #758 – Bart Busschots on Programming By Stealth 144
This week our guest is Bart Busschots with Programming By Stealth 144. When last we recorded, Bart started teaching us the basics of shell scripting using Bash. We learned how to collect terminal commands into a reusable shell script, but we didn’t learn how to accept any kind of input. In this installment, we learn […]
Continue readingCCATP #757 Bart Busschots on PBS 143 — Shell Script Basics
In this week’s episode of Programming By Stealth, Bart Busschots starts building out one more tool in our toolbox: shell scripts. Bart starts with the basics explaining how to tell our little scripts which shell to run using the shebang line, the structure of shell scripts, commenting, assigning, and using variables, and how to write […]
Continue readingCCATP #751 — Bart Busschots on PBS 140 of X — UML Class Diagrams
Bart and I are back from summer vacation to kick back into gear on Programming By Stealth. As you may remember, we’ve been learning all of the tools we’ll need to rewrite, test, and document Bart’s password generation library xkpasswd from perl to JavaScript. In order to start the rewrite, we need to understand the […]
Continue readingCCATP #738 – Bart Busschots on PBS 138 – Bundling a Web App/Site with Webpack (Part 1)
We’re back in the saddle after a summer of “PBS Adjacent” installments. Our last real PBS was learning how to use Webpack to bundle a JavaScript library for sharing with the world. That was cool, but a lot of us want to use Webpack to bundle a web app we’ve written ourselves to include all […]
Continue reading