A technical article exploring labeled regex matching and named entity recognition. The author demonstrates how regex patterns with labels can efficiently categorize text entities like dates, emails, and names, comparing this deterministic approach to neural network-based models like spaCy. The piece highlights regex's expressivity through practical patterns and boolean algebra techniques.
xcode-project-format is a Swift library for reading, writing, and manipulating Xcode's JSON-based project.xcproj format through typed value types. It provides a shared, accurate model so tools like generators and linters don't need to reverse-engineer the format independently. The package includes xcprojformatter, a CLI tool built on the library.
A programmer defends YAML against common criticisms, arguing that many complained-about issues stem from improper usage rather than the specification itself. The author shares experiences with YAML in projects like a Discord bot and Space Station 14, noting that explicit deserialization logic prevents problems like implicit type conversion.
This article explains how to write a Rust JSON parser and expose it to Python using PyO3 and Maturin. The process involves writing a Rust module, annotating it with PyO3 macros, compiling it into a shared library, and importing it as a Python package. The key insight is that converting Rust data structures to Python objects can be expensive and sometimes costs more than the parsing itself.