Chit Chat Across the Pond

CCATP #783 — Bart Busschots on PBS 158B - jq: More Advanced Queries


Listen Later

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, including leveling the audio, adding metadata to it, converting it to an MP3, and FTPing it to the server for the listeners to download. Auphonic has recently added AI-generated transcripts which we've had for a while with Programming By Stealth.

The NosillaCast has chapter marks you can use to jump to content in the audio file, but Chit Chat Across the Pond has never had that. Auphonic now adds auto-generated chapters based on the content in the audio file. These chapter marks are in the transcript, which allows you to jump to the text of where we cover a specific topic.

Not only that, these auto-generated chapters are in the audio file so in your podcatcher you can now jump to different sections instead of having to scroll through to find something Bart explained.

The chapter marks are not perfect, and we have no intention of editing them, but it should give you an easier way to find what you want to re-listen to or re-read. While Bart has spectacular tutorial shownotes, the transcript gives you the full flavor of the conversation we have while Bart is teaching me.

Now back to this week's show! In this week's episode, Bart explains two powerful commands for searching JSON files with jq, the `contains` and `inside` functions. In this context, he goes through testing for containment with strings, arrays, dictionaries and he tells us about default containment. Then he explains how the `inside` function does essentially the opposite of testing for containment. Finally, he shows us how to use regular expressions with the `test` function to get as granular as we like with our jq filters.

You can find Bart's fabulous tutorial shownotes at pbs.bartificer.net.

Read an unedited, auto-generated transcript: CCATP_2023_12_30

Join our Slack at podfeet.com/slack and look for the #pbs channel, and check out our pbs-student GitHub Organization. It's by invitation only but all you have to do is ask Allison!

...more
View all episodesView all episodes
Download on the App Store

Chit Chat Across the PondBy Allison Sheridan

  • 4.8
  • 4.8
  • 4.8
  • 4.8
  • 4.8

4.8

9 ratings


More shows like Chit Chat Across the Pond

View all
Mac Geek Gab — Apple Tips, Tricks, and Troubleshooting by Dave Hamilton, Pilot Pete & Adam Christianson

Mac Geek Gab — Apple Tips, Tricks, and Troubleshooting

826 Listeners

NosillaCast Apple Podcast by Technology with an EVER so slight Apple bias

NosillaCast Apple Podcast

158 Listeners

MacVoices by Chuck Joiner

MacVoices

33 Listeners

Mac OS Ken by Ken Ray

Mac OS Ken

891 Listeners

MacBreak Weekly (Audio) by TWiT

MacBreak Weekly (Audio)

2,013 Listeners

Mac Power Users by Relay

Mac Power Users

1,280 Listeners

The CultCast by America's favorite Apple Podcast

The CultCast

1,163 Listeners

Macworld Podcast by Foundry

Macworld Podcast

305 Listeners

Clockwise by Relay

Clockwise

249 Listeners

Upgrade by Relay

Upgrade

1,192 Listeners

AppleInsider Podcast by AppleInsider

AppleInsider Podcast

957 Listeners

Taming the Terminal by Bart Busschots & Allison Sheridan

Taming the Terminal

20 Listeners

The Checklist by SecureMac by SecureMac

The Checklist by SecureMac

67 Listeners

Programming By Stealth by Bart Busschots & Allison Sheridan

Programming By Stealth

14 Listeners

9to5Mac Daily by 9to5Mac

9to5Mac Daily

499 Listeners

Techmeme Ride Home by Brian McCullough

Techmeme Ride Home

942 Listeners