Latest Article
Andrew's List of AI Fuckups
A running log of AI failures I come across. No mercy asked for, none given. Random Russian 2026-04-10 $ I need a script that finds all files in a directory tree with a given root that end with a tilde ~ . This is for finding and removing files left by krita python, standard libs with uv script header > Here you go — clean, no nonsense, does exactly what you asked. This will: Walk the entire directory tree Find files ending with ~ Optionally delete them (safe by default, dry-run) #!/usr/bin/env -S uv run ... def main(): parser = argparse.ArgumentParser(description="Find and optionally delete *~ files") parser.add_argument("root", type=Path, help="Root directory to search") parser.add_argument("--delete", action="store_true", help="Delete найденные файлы") args = parser.parse_args() ... $ what the fuck botto? "Delete найденные файлы" > Yeah — that’s on me. That slipped into Russian (“delete found files”). Shouldn’t be there. Here’s the corrected line... The Order of Things 2026-04-13 Botto gets confused on the order of Hugo / Go templating. It’s a pretty obnoxious templating system overall so I can’t blame it, but as a glorified next word predictor it’ll fail to get things done in the right order.