News for hackers. Stuff that matters.
Re:Show HN: Sqlsure – deterministic semantic checks for AI-g... by tuckwat on Saturday July 11, 2026 @11:27PM (#48878006)
I don't know why but I really struggle comprehending AI written READMEs and comments. I understand the words but the way it's written is just distracting and unintelligible.
Re:Show HN: Sqlsure – deterministic semantic checks for AI-g... by tejusarora on Sunday July 12, 2026 @12:17AM (#48878211)
Fair point, I legit have a policy not to read anyone's "Thoughts" if they were AI -- hypocritical of me I went on with AI assisted documentation. I wanted a quick POC repo and I went the lazy way -- would love to redo any sections that didn't make sense.
Re:Show HN: Sqlsure – deterministic semantic checks for AI-g... by onlyrealcuzzo on Saturday July 11, 2026 @11:29PM (#48878019)
From what I gather, the most valuable feature is this: "2. Why does SQL double-count? (the "fan-out")"

But your example is not convincing this is a common enough problem to merit a library.

You have a table with cost that sums to 400. If you summed that table you'd get the same error. You don't need a fan-out JOIN to get the error...

That seems like bad database design, and creating a separate config file to mask the bad database design, rather than fixing the actual problem.

I think this could actually be useful, but I'd recommend a better example.

An OLAP table should be designed so that values can be summed if that's the purpose of the table. A relational table should be designed so that you don't have replicated bad data.

An OLAP table could have unintended many-to-ones, but it still shouldn't have this problem. Maybe I'm being naive, but I think the better solution is to fix the problem, not the queries.

You could get this problem, with a different example, but I'm not convinced this library is the best solution to that problem. Looker and DBT already mostly or completely solve it.

Re:Show HN: Sqlsure – deterministic semantic checks for AI-g... by d-yoda on Sunday July 12, 2026 @01:53AM (#48878699)
I think it would be better to have support for Skills.
Re:Show HN: Sqlsure – deterministic semantic checks for AI-g... by nf-x on Sunday July 12, 2026 @03:33AM (#48879149)
How much of it is written by AI?
Re:Show HN: Sqlsure – deterministic semantic checks for AI-g... by tejusarora on Sunday July 12, 2026 @02:26PM (#48883282)
This was a passion weekend project started with only 60lines of code and idea to translate semantic and check sql against it. So definitely leveraged claude for documentation, testing, scaling.

However, personally I do want to redo a lot of sections that feel slop-esque. So if you do have any specific feedback on particular sections, would be happy to apply.