Chit Chat Across the Pond

CCATP #787 — Bart Busschots on PBS 161 — jq: Maths, Assignment & String Manipulation


Listen Later

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 the plain assignment `=` vs the ability to update a value using ` |=` is is actually huge and has lots of subtleties.

I think one of my favorite parts was when Bart took us back to our JavaScript lessons and reminded us of how weird it is on one concept but how jq is much more in line with modern programming languages. I felt like a seasoned programmer because I knew the history of what we'd learned. Finally we learned how you can actually divide strings. I know, weird, right? Ok, that's enough spoilers.

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

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

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