Posts

Show HN: Py-SQL-cleaner – format SQL embedded in Python strings https://ift.tt/zOJlxU2

Show HN: Py-SQL-cleaner – format SQL embedded in Python strings Hi HN, I built py-sql-cleaner, a CLI for formatting SQL embedded in Python files. Python formatters handle Python syntax. They do not format SQL written inside Python code. On the other hand, SQL formatters usually target SQL files or raw SQL text, not SQL embedded inside a Python file. Still, I think it is not uncommon to find long SQL queries inside Python codebases. py-sql-cleaner detects embedded SQL inside Python files and works only on that SQL. The main things it can do are: find the SQL, format it in place, or extract it into a .sql file. It avoids rewriting SQL that depends on runtime values or template expansion. For example, SQL containing parameters like %s or :name, or Jinja-style template variables like {{ ds }}, is skipped by default. Try it with: uvx py-sql-cleaner list path/to/file.py uvx py-sql-cleaner format path/to/file.py --dry-run If you write Python, have run into this kind of SQL cle...

Show HN: TapToyPia https://ift.tt/x0YO56e

Show HN: TapToyPia My wife started playing Pokopia and told me it's the best game she's ever played. I watched her play for 10 minutes and thought that a simple demake inspired by Pokopia could be satisfying to play. TapToyPia is the result, playable in your web browser. In TapToyPia, you are an explorer sent on a one-way mission to a new planet. Your mission: build a settlement that can serve as a new home for humanity. While you explore, you discover flora and fauna to help you. The game mechanic is inspired by clicker games and maybe also Minesweeper though that wasn't a conscious influence. I tried to build a game that captures the zen of Pokopia's world rehabilitation and the building-up-to-greater-complexity of clicker games (such as my favorite, Universal Paperclips). As usual for projects aided by generative AI, I found myself building something more ambitious. The biggest example in this project is that you can zoom out from the 2D map to seamlessly transition ...

Show HN: Open-Source AI Racing Harness https://ift.tt/d4Uq05I

Show HN: Open-Source AI Racing Harness Hi I'm Dan from Elodin, making an open source real-time capable flight software simulation. For AI Grand Prix contestants, the wait for the Round 1 virtual qualifier simulation has been grueling. If you’re competing, check out our simulation harness to tide you over, built to match the published competition constraints and message format. It runs against real Betaflight, which we learned requires at least 1000 sensor samples per second to run real-time correctly. The competition warranted introducing a new feature to generate the camera sensor directly in the simulation loop. Typically people connect to Unreal or similar game engine to create a camera sensor, which works well but is very heavy. For the simple needs of this challenge, creating sample directly in the loop is very handy and easy to use. Happy to hear your feedback on this! While it's not fancy looking currently, it uses the Rust Bevy game engine, which should allow us to impr...

Show HN: Hodor – a 701KB native macOS prompt launcher for AI tools https://ift.tt/f3Fl8zQ

Show HN: Hodor – a 701KB native macOS prompt launcher for AI tools Hodor is a tiny macOS app that launches saved AI prompts into any text field — from the screen edge, keyboard shortcut, or keyword such as ;git. I work with different AI tools every day, and had prompts scattered across Raycast snippets, Apple Notes, and Notion — notes that kept getting longer and unmanageable. Raycast snippets are useful, but cumbersome to browse and edit. I wanted one local place to save and review them, and one click to paste them into whatever AI tool I'm using. The test I set was whether I could actually stop using Raycast snippets for this. I think I fulfilled my goal. Hodor has been my daily tool for 3 months now. The app is 701 KB — SwiftUI + SwiftData, no web views. Zero network requests anywhere in the code: no analytics, no telemetry, no update checks. You can verify - search the source for URLSession, it's not in code. Runs on macOS 15+, with native Liquid Glass on macOS 26+. Free an...

Show HN: I used AI to built static recompilers for 5 retro game systems https://ift.tt/G4epCQ9

Show HN: I used AI to built static recompilers for 5 retro game systems https://1379.tech/nes-snes-genesis-virtualboy-and-psx-a-journey-with-ai-and-recompilation/ May 26, 2026 at 11:08PM

Show HN: An LLM translator whose source is a single prompt https://ift.tt/ejWs4Qm

Show HN: An LLM translator whose source is a single prompt https://ift.tt/AMTEQeO May 26, 2026 at 11:53PM

Show HN: Cross-agent messaging and shared memory over the local filesystem https://ift.tt/IXw9Fpo

Show HN: Cross-agent messaging and shared memory over the local filesystem https://oacp.dev May 26, 2026 at 11:14PM