TopicTracker
From johndcook.comView original
TranslationTranslation

Set intersection and difference at the command line

The comm utility performs set operations like intersection and difference on sorted lists at the command line, though its syntax can be hard to remember. It requires input files to be sorted for proper operation.

Related stories

  • The article critiques query-based compilers, which are currently popular, by highlighting potential pitfalls and challenges in their implementation. It aims to provide a balanced perspective on this trending approach to compiler design.

  • The author created three design documents for the same open-source web app: one written manually over 16 hours, one generated by Claude Opus 4.6 with medium effort, and one by GPT-5.4 with high effort. The AI versions were produced in minutes using prompts that included design documentation guidelines and a skeleton structure.

  • User data is confined within software applications, with visibility limited to what the program's developers choose to expose. This creates a controlled environment where users can only access information through predetermined interfaces.