Category: Code

  • You Ask, I Answer: Disclosure of Code by Programmers and AI?

    Summary In today's episode, I explain why programmers should disclose when they copy code from GitHub or generate it with AI. Here's what this means for you. You gain a practical framework for protecting yourself legally and security-wise by documenting the lineage of every piece of code in your projects. You'll also learn these concepts:…

    Continue reading →

  • So What? Solving data problems with Generative AI

    Summary In today's episode, I walk through a real-world example of using generative AI to solve a data problem — specifically, extracting page titles and summaries from a list of URLs in an Excel spreadsheet. Here's what this means for you. You gain a crucial mental model for knowing when generative AI will help you…

    Continue reading →

  • You Ask, I Answer: Favorite Tools for Automating Tasks?

    Summary In today's episode, I walk through the two main tools I rely on to automate tasks, the Z Shell and the R programming language, along with why the Unix design philosophy makes them so effective. Here's what this means for you. You can save enormous time by writing reusable code-based automation that runs itself,…

    Continue reading →

  • Saturday Night Data Party: Fixing Broken Outbound Links

    Summary In today's episode, I walk through how to find and fix thousands of broken outbound links on an aging WordPress blog using SEO crawlers and direct MySQL updates. Here's what this means for you. You'll get a repeatable, programmatic process for cleaning up dead links across your entire site so you stop sending visitors…

    Continue reading →

  • Saturday Night Data Party: Text Mining

    Summary In today's episode, I walk through text mining with R's Quanteda library to measure lexical diversity and analyze writing patterns. Here's what this means for you. You gain diagnostic techniques to spot repetitive language in your content and benchmark your writing against competitors. You'll also learn these concepts: how lexical diversity scores reveal the…

    Continue reading →

  • You Ask, I Answer: Teaching Kids to Code?

    Cleetus asks, “Should I teach my kids to code?” This has been a popular question over the past year as more people have learned about the power and potential drawbacks of artificial intelligence. Watch the video for one answer, with the disclaimer that I’m in no way a parenting expert. Ultimately, do what you think…

    Continue reading →

  • Friday fun: clean up with the document mover

    For a bit of fun, this shell script I keep on my Mac helps me to keep an otherwise cluttered documents folder on my Mac relatively organized. You’ll obviously need to change the paths at the top of the script to reflect where you keep all your documents, but this script provides a lot of…

    Continue reading →