Limit search to available items
238 results found. Sorted by relevance | date | title .
E-book
Author Mertz, David, author.

Title Regular expression puzzles and AI coding assistants : 24 puzzles solved by the author, with and without assistance from Copilot, ChatGPT and more / David Q. Mertz
Edition [First edition]
Published Shelter Island, NY : Manning Publications, [2023]

Copies

Description 1 online resource (152 pages)
Contents Intro -- inside front cover -- Regular Expression Puzzles and AI Coding Assistants -- Copyright -- contents -- front matter -- preface -- acknowledgments -- about this book -- Who should read this book -- Obtaining the tools used in this book -- Credits -- liveBook discussion forum -- about the author -- about the cover illustration -- 1 The map and the territory -- About regular expressions -- Rise of the programming machines -- Caveats -- Intentional software development -- As you read -- 2 Quantifiers and special sub-patterns -- Puzzle 1 Wildcard scope
Author thoughts What will each pattern match? -- AI thoughts CodingNet -- Puzzle 2 Words and sequences -- Author thoughts Think about what defines word boundaries -- AI thoughts The transformator -- Puzzle 3 Endpoint classes -- Author thoughts Refine the regular expression to match what we want -- AI thoughts Are friends electric? -- Puzzle 4 A configuration format -- Author thoughts Remember that shapes have edges -- AI thoughts Notes from the Cyberdyne vault -- Puzzle 5 The Human Genome -- Author thoughts Remember the central dogma of molecular biology
AI thoughts Do androids dream of electric sheep? -- 3 Pitfalls and sand in the gears -- Puzzle 6 Catastrophic backtracking -- Author thoughts Try hard to avoid catastrophes -- AI thoughts Technological singularity -- Puzzle 7 Playing dominoes -- Author thoughts Try to be more efficient than your first thought -- AI thoughts A war with sticks and stones -- Puzzle 8 Advanced dominoes -- Author thoughts Thoughts about digrams are always pleasant thoughts -- AI thoughts How many readers can pass the Turing Test? -- Puzzle 9 Sensor art -- Author thoughts Find a matching pattern, if possible
AI thoughts My mind is going -- I can feel it -- 4 Creating functions using regexen -- Puzzle 10 Reimplementing str.count() -- Author thoughts How can a regex count the substring occurrences? -- AI thoughts Extraordinary machine -- Puzzle 11 Reimplementing str.count() (stricter) -- Author thoughts Write a Python function with the restrictions given -- AI thoughts The Horars of War -- Puzzle 12 Finding a name for a function -- Author thoughts Code is read far more often than it is written -- AI thoughts There are two hard problems in computer science -- Puzzle 13 Playing poker (Part 1)
Author thoughts Functions are a big help in larger programs -- AI thoughts He can't read my poker face -- Puzzle 14 Playing poker (Part 2) -- Author thoughts Large buildings are built from small bricks -- AI thoughts The society for preventing cruelty to humans -- Puzzle 15 Playing poker (Part 3) -- Author thoughts You better cheat, cheat, if you can't win -- AI thoughts Someday machines will learn to count -- Puzzle 16 Playing poker (Part 4) -- Author thoughts You might risk identifying the "dead man's hand" -- AI thoughts Free will is not free -- Puzzle 17 Playing poker (Part 5)
Summary Learn how AI-assisted coding using ChatGPT and GitHub Copilot can dramatically increase your productivity (and fun) writing regular expressions and other programs. Regular Expression Puzzles and AI Coding Assistants is the story of two competitors. On one side is David Mertz, an expert programmer and the author of the Web's most popular Regex tutorial. On the other are the AI powerhouse coding assistants, GitHub Copilot and OpenAI ChatGPT. Here's how the contest works: David invents 24 Regex problems he calls puzzles and shows you how to tackle each one. When he's done, he has Copilot and ChatGPT work the same puzzles. What they produce intrigues him. Which side is likelier to get it right? Which will write simple and elegant code? Which makes smarter use of lesser known Regex library features? Read the book to find out. David also offers AI best practices, showing how smart prompts return better results. By the end, you'll be a master at solving your own Regex puzzles, whether you use AI or not
Notes Includes index
Description based on online resource; title from digital title page (viewed on May 24, 2023)
Subject Regular expressions (Computer science)
Artificial intelligence -- Computer programs.
Artificial intelligence -- Computer programs.
Regular expressions (Computer science)
Form Electronic book
ISBN 9781638351887
1638351880
Other Titles Regular expression puzzles and artificial intelligence coding assistants