Programming By Stealth

PBS 166 of X — jq: Processing Arrays & Dictionaries sans Explosion


Listen Later

In this penultimate jq episode of Programming By Stealth, Bart introduces us to three new ways to process arrays and dictionaries without exploding them first. I know that sounds crazy – we've always exploded our arrays first. He teaches us how to use the `reduce` operator which lets us take an entire array or dictionary and reduce it down to one thing. The `map` function lets us process every element in an array (or or values in a dictionary) and return a new array. Finally, `map_values` lets us apply a function against all of the values in a dictionary (or an array).

It was a bitter sweet ending to the primary series on `jq` for Bart, but next time he'll do the epilogue where he'll introduce us to some rarely needed but still very useful things you can do with jq.

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

Read an unedited, auto-generated transcript with chapter marks: CCATP_2024_05_25

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

Programming By StealthBy Bart Busschots & Allison Sheridan

  • 5
  • 5
  • 5
  • 5
  • 5

5

14 ratings


More shows like Programming By Stealth

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

829 Listeners

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

NosillaCast Apple Podcast

158 Listeners

Wait Wait... Don't Tell Me! by NPR

Wait Wait... Don't Tell Me!

38,649 Listeners

SANS Internet Stormcenter Daily Cyber Security Podcast (Stormcast) by Johannes B. Ullrich

SANS Internet Stormcenter Daily Cyber Security Podcast (Stormcast)

626 Listeners

The Joe Rogan Experience by Joe Rogan

The Joe Rogan Experience

226,088 Listeners

iOS Today (Audio) by TWiT

iOS Today (Audio)

543 Listeners

The Vergecast by The Verge

The Vergecast

3,667 Listeners

Mac Power Users by Relay

Mac Power Users

1,287 Listeners

Macworld Podcast by Foundry

Macworld Podcast

305 Listeners

AppleInsider Podcast by AppleInsider

AppleInsider Podcast

964 Listeners

Taming the Terminal by Bart Busschots & Allison Sheridan

Taming the Terminal

20 Listeners

Chit Chat Across the Pond by Allison Sheridan

Chit Chat Across the Pond

9 Listeners

The Daily by The New York Times

The Daily

111,785 Listeners

AppStories by Federico Viticci, John Voorhees

AppStories

508 Listeners

The Indicator from Planet Money by NPR

The Indicator from Planet Money

9,555 Listeners