Sunday, May 31, 2026

Show HN: UN Condemnation Statistics https://ift.tt/g0ElkMI

Show HN: UN Condemnation Statistics https://boxed.github.io/UN-condemns/ May 30, 2026 at 10:27PM

Show HN: Ego lite – why our browser agent writes JavaScript not CLI commands https://ift.tt/myFpx06

Show HN: Ego lite – why our browser agent writes JavaScript not CLI commands https://ift.tt/HFwqCv8 May 30, 2026 at 09:33PM

Saturday, May 30, 2026

Friday, May 29, 2026

Show HN: Scrolodex – A super simple window switcher for macOS https://ift.tt/sFkMC4a

Show HN: Scrolodex – A super simple window switcher for macOS I built scrolodex to scratch my own itch of having a quick and simple way to switch between the currently open windows under my cursor. Simply hold ⌥ + scroll to cycle through windows under your cursor. Release to focus. Also includes triggers for scrolling through all windows, dock app's windows, or switching between desktop spaces. Configurable hotkeys, themes and overlays. Completely free and OSS. brew install --cask jaydenfyi/tap/scrolodex Website/demo: https://scrolodex.app/ GitHub: https://ift.tt/YetCVvi https://scrolodex.app/ May 29, 2026 at 01:32AM

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

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 cleanup problem, or are just curious, I’d be happy if you take a look. https://ift.tt/6E9KdUm May 28, 2026 at 11:00PM

Thursday, May 28, 2026

Show HN: An update to our long-turn FreeCiv experience https://ift.tt/7xDvkQ1

Show HN: An update to our long-turn FreeCiv experience So we have had quiet the journey here. So 70 days ago (aka 73 turns ago) I posted on HN sharing our FreeCiv deployment ( https://ift.tt/TKdnPhR ). FreeCiv is a great game, the clients is very buggy however. I'm using the GTK4 version, but a few others have opted for the QT variant. At some point, we might turn our focus to contributing to improving the client based on our experiences playing the game. We've since added a lot of little fun features: - The editor: you can write to the newspaper Editor and they /might/ publish what you write, quote you, or decide you're full of it and write an opinion piece slamming your reputation. The editor will also reach out to a few players, each turn, and ask for their input on current game matters. - The Intelligence Dashboard. People were forgetting what they were up to, so we added a dashboard showing the timeline of what happens per turn for your player. - beta the online map viewer: I wanted a way to view the map without loading the client, so we started working on a beta map viewer that is HTML based. - The Chronicle (The newspaper) has also grown a bit. Maybe too much? We'll see. The crossword is fun. Some other 'fun' things that happened: my brother in law stopped speaking to me because of in game banter that was taken way too seriously. My friends invaded my wifes territory, and well, she didn't like that either. I'm currently in the lead, but theres still a long way to go from 475BC. https://ift.tt/yrqf2ut May 28, 2026 at 05:54AM

Show HN: UN Condemnation Statistics https://ift.tt/g0ElkMI

Show HN: UN Condemnation Statistics https://boxed.github.io/UN-condemns/ May 30, 2026 at 10:27PM