David Mertz

David Q. Mertz is founder of KDM Training, a partnership dedicated to educating developers and data scientists in machine learning and scientific computing. He created the data science training program for Anaconda Inc. and was a senior trainer for them. With the advent of deep neural networks he has turned to training our robot overlords as well.

He was honored to work for eight years with D. E. Shaw Research, who have built the world’s fastest, highly specialized (down to the ASICs and network layer), supercomputer for performing molecular dynamics.

David was a Director of the PSF for six years, and remains co-chair of its Trademarks Committee and of its Scientific Python Working Group. His columns, Charming Python and XML Matters, written in the 2000s, were the most widely read articles in the Python world.

He has written previous books for Packt, O’Reilly and Addison-Wesley, and has given keynote addresses at numerous international programming conferences. His 2021 book Cleaning Data for Effective Data Science: Doing the Other 80% of the Work addresses a notable lacuna in other books about data science.

books by David Mertz

Regular Expression Puzzles and AI Coding Assistants

  • February 2023
  • ISBN 9781633437814
  • 152 pages
  • printed in black & white
  • Available translations: Simplified Chinese

Regular Expression Puzzles and AI Coding Assistants is the perfect starting point for programmers of any experience level who want to understand the capabilities—and the limitations—of these exciting new tools. Author David Mertz presents 24 challenging regex puzzles, their traditional human-made solutions, and the fascinating answers given by popular AI assistants. Alongside these eye-opening puzzles you’ll learn how to write prompts, integrate AI-generated coding suggestions, and interact with the assistant to get the results you want. By the end of the book, you'll have a clear understanding of where AI assistants can reliably write code for you and where you’ll still need a human touch. Plus, you’ll learn a lot about regular expressions!