frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

A Semioethical Framework for Artificial Intelligence

https://lyceum.institute/humanitas-technica/seppuai/
1•einhard•4m ago•0 comments

IRGC Claims It Destroyed Amazon's Bahrain Data Center

https://houseofsaud.com/irgc-claims-destroyed-amazon-bahrain-data-center/
1•thisislife2•6m ago•0 comments

Show HN: Transept: AI translation workspace that puts humans first

https://transept.ai
2•sithamet•6m ago•0 comments

Prebuilt, parameterized, interactive HTML widgets for MCP Apps

https://github.com/Techthos/gadget
1•alex20465•8m ago•0 comments

The Codex App Lied to Me About /Clear

https://samwize.com/2026/07/24/codex-app-lied-to-me-about-clear/
1•ingve•10m ago•0 comments

I'm So Tired of "Is This AI?"

https://www.trend-mill.com/p/im-so-tired-of-is-this-ai
2•moomoy•14m ago•0 comments

Show HN: A static, client-side tarot calculator for Brazilian Portuguese

https://meuarcanopessoal.net/
3•visiohex•19m ago•0 comments

Show HN: Maplike – Rust traits for operations on containers (get, set, push...)

https://github.com/mikwielgus/maplike
2•mikolajw•20m ago•0 comments

BookWyrm is a social network for tracking and sharing your reading

https://github.com/bookwyrm-social/bookwyrm
2•protomolecool•22m ago•0 comments

Image Resizer

https://img-resizer.github.io/
2•javatuts•23m ago•0 comments

Shape Up: Stop Running in Circles and Ship Work that Matters [pdf]

https://basecamp.com/shapeup/shape-up.pdf
2•saikatsg•25m ago•0 comments

Brief Observations on Life

http://unfuck.i.ng/art/science/life/
2•singingfish•26m ago•1 comments

Flux 3 X Mimic: The Next Generation of Video-Action Models

https://bfl.ai/blog/flux-3-mimic
13•kensai•27m ago•1 comments

Towards a Theory of Bugs: The Ruliology of the Unexpected

https://writings.stephenwolfram.com/2026/07/towards-a-theory-of-bugs-the-ruliology-of-the-unexpec...
2•nsoonhui•29m ago•0 comments

Future euro banknote design proposals

https://www.ecb.europa.eu/euro/banknotes/future_banknotes/html/design-proposals.en.html
17•robin_reala•29m ago•5 comments

Buz – A fork of Bun using modern Zig, with sub-1s incremental builds

https://ziggit.dev/t/buz-a-drop-in-replacement-for-bun-using-modern-zig-with-sub-1s-incremental-b...
3•kristoff_it•33m ago•0 comments

Stories from Tomorrow. Ministry of Defense (2023)

https://www.gov.uk/government/publications/stories-from-the-future-exploring-new-technology-throu...
2•AFF87•34m ago•0 comments

Hetzner is working on LLM Inference

https://sliplane.io/blog/hetzner-inference
7•jonas_scholz•34m ago•0 comments

Stable Diffusion in the Browser with WebNN and ONNX Runtime

https://scribbler.live/2026/04/02/Stable-Diffusion-in-the-Browser-with-WebNN-ONNX.html
2•gopisuvanam•34m ago•0 comments

BYD Launches the Denza Z9 GT EV in Europe and the UK at over 3X the Price

https://electrek.co/2026/07/23/byd-launches-denza-z9-gt-ev-europe-the-uk-3x-price/
5•ksec•40m ago•1 comments

PDF Reader – PDF Viewer

https://play.google.com/store/apps/details?id=com.pdfreader.pdfviewer.editor.officereader&hl=en_US
2•satyampromotion•44m ago•1 comments

Trump says nearly 200 firms signed pledge to protect from costs of datacenters

https://www.theguardian.com/us-news/2026/jul/23/trump-datacenter-costs-big-tech
3•beardyw•46m ago•1 comments

The government of India wants bitchat taken down

https://twitter.com/jack/status/2080565084586135773
3•temphnaccount•47m ago•1 comments

Grok muscles into Excel with an AI add-in of its own

https://www.theregister.com/ai-and-ml/2026/07/22/grok-muscles-into-excel-with-an-ai-add-in-of-its...
2•beardyw•49m ago•0 comments

Apertus 1.5

https://apertus-ai.org/articles/2026-07-apertus-1-5/
2•denysvitali•49m ago•0 comments

Nothing works and everyone is euphoric

https://ptrchm.com/posts/nothing-works-and-everyone-is-euphoric/
11•pchm•51m ago•5 comments

The day Steve Jobs dissed me in a keynote (2010)

https://sive.rs/itunes
24•downbad_•51m ago•1 comments

Building pi in a World of Slop [video]

https://www.youtube.com/watch?v=RjfbvDXpFls
2•ciconia•55m ago•0 comments

RTK and Claude Code Token Savings: A Closer Look

https://blog.jetbrains.com/ai/2026/07/rtk-claude-code-token-savings/
4•OyoKooN•58m ago•0 comments

Google Cloud is killing it

https://www.theregister.com/paas-and-iaas/2026/07/22/google-cloud-is-killing-it/5276632
4•beardyw•58m ago•0 comments
Open in hackernews

Show HN: filtersql – a dependency-free JSON-to-SQL compiler for LLMs and WebAPIs

https://github.com/fthiella/filtersql/
2•fthiella•1h ago

Comments

fthiella•1h ago
I'm Federico. I built filtersql (https://github.com/fthiella/filtersql), a lightweight Python library that takes a declarative JSON payload and compiles it into safe, parameterized SQL strings and values.

Years ago I tried to build a "Microsoft Access-style" web framework in Perl / HTML::Mason, with forms, dependent dropdowns and master-detail subtables that were entirely generated by declarative JSON configs. I love declarative configs and I still believe that the idea was good! But it was also too complex for a solo developer, especially the frontend, so I stopped the project.

Anyway, some of the components were good and I couldn't throw them away, and I have been using them for years.

In particular, the backend JSON-to-SQL compiler was somehow solid, so I decided to port it to Python, and kept using it internally for DataTables backends.

Recently, while building a custom enterprise RAG, I realized that LLMs are bad and insecure at generating SQL, but are amazing at generating declarative JSON.

My old engine was exactly what the AI needed to safely query Postgresql metadata before doing vector searches. Before open-sourcing it as a standalone library, I fixed it up, in particular I tried to make the JSON specs as elegant as possible.

  payload = {
    "action": "select",
    "source": "users",
    "filters": [
      {"field": "name", "operator": "icontains", "value": "john"}
    ]
  }

  query, values = filtersql(payload, dbms='Pg', placeholder='?')
compiles to:

  select * from "users" where "name" ilike '%' || ? || '%'
with values:

  ["john"]
I’d love to hear your feedback.

GitHub: https://github.com/fthiella/filtersql Docs: https://filtersql.org

Thanks, Federico