frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Lexega Turns SQL into Signals

https://lexega.com/blog/how-lexega-turns-sql-into-signals
8•whoami4041•2h ago

Comments

beart•1h ago
Using the term "signals" was a bit confusing to me. But this looks like a SQL linting tool?

Seems like it's doing something similar to sqlfluff lint, even supporting the same dialects.

Also the GitHub link in the docs section leads to a 404.

whoami4041•1h ago
Great question! sqlfluff catches real things like "= NULL" bugs, implicit cross joins, unused CTEs, and SELECT *. It's a genuinely useful code quality tool. The dialect coverage of sqlfluff is also extensive. Lexega's dialect implementations focus on depth over breadth.

Lexega is asking a different question though. sqlfluff asks "is this SQL well-written?", while Lexega asks "is this SQL dangerous?". It parses into a full AST and emits signals (categorized AST components) that can be matched against YAML rules to block PRs or execution in agent runtime mode. DELETE without WHERE, GRANT to PUBLIC, PII exposure without masking, DDL that drops tables in production pipelines. The output isn't "fix your style", it's "this query violates an organizational risk policy and shouldn't be allowed to hit production".

Think code quality vs. risk analysis. Both useful, different jobs.

Good call on the GitHub link - I need to fix that.

mattdeboard•22m ago
did you use AI to write this response? Why?
lmeyerov•20m ago
Interesting, a lot of this is consistent with our experience!

We've been adding linters, including semantic analysis, in various ai talk2db connectors in loiue.ai that help steer better than normal thin MCPs enable. We've been having to hand roll for making it easy for folks to use splunk, kusto, etc better, so cool to see something like this for sql - we were hoping for precisely that! Our semantic analysis is driven by what's in the DB (schema, ..) x policy controls configurable by team admins, which this does out of the box for SQL.

whoami4041•13m ago
That's exactly the use case I built agent runtime mode for: AI agents generating SQL need a policy layer between intention and execution. The rules engine is designed to be extensible for precisely that reason and can be enhanced with DB metadata via the catalog integration.

Would love to compare notes on how you're handling the non-SQL side. Feel free to reach out!

hello@lexega.com.

mattdeboard•18m ago
Interesting note about left join in the CTE being converted into an inner join. Didn't know that
whoami4041•6m ago
Yeah, it's one of those things that is hard to catch unless you've been bit by it before and know to look for it. Analytics teams at scale are at a much higher risk of this sneaking in, which is where automatic blocking with Lexega is helpful. No one wants to have to explain to their leadership why their dashboards were wrong from such a subtle SQL bug months down the road.

Keep Android Open

https://f-droid.org/2026/02/20/twif.html
1092•LorenDB•8h ago•424 comments

Turn Dependabot Off

https://words.filippo.io/dependabot/
275•todsacerdoti•5h ago•76 comments

CERN rebuilt the original browser from 1989

https://worldwideweb.cern.ch
84•tylerdane•3h ago•28 comments

I found a Vulnerability. They found a Lawyer

https://dixken.de/blog/i-found-a-vulnerability-they-found-a-lawyer
349•toomuchtodo•7h ago•169 comments

Facebook is cooked

https://pilk.website/3/facebook-is-absolutely-cooked
737•npilk•8h ago•438 comments

Ggml.ai joins Hugging Face to ensure the long-term progress of Local AI

https://github.com/ggml-org/llama.cpp/discussions/19759
669•lairv•12h ago•166 comments

Wikipedia deprecates Archive.today, starts removing archive links

https://arstechnica.com/tech-policy/2026/02/wikipedia-bans-archive-today-after-site-executed-ddos...
300•nobody9999•7h ago•173 comments

Cord: Coordinating Trees of AI Agents

https://www.june.kim/cord
16•gfortaine•58m ago•2 comments

OpenScan

https://openscan.eu/pages/scan-gallery
94•joebig•5h ago•3 comments

Show HN: Mines.fyi – all the mines in the US in a leaflet visualization

https://mines.fyi/
53•irasigman•5h ago•33 comments

What Is OAuth?

https://leaflet.pub/p/did:plc:3vdrgzr2zybocs45yfhcr6ur/3mfd2oxx5v22b
10•cratermoon•52m ago•0 comments

Claude Code's compaction discards data that's still on disk

https://github.com/anthropics/claude-code/issues/26771
9•aciccarelli2•1h ago•4 comments

Every company building your AI assistant is now an ad company

https://juno-labs.com/blogs/every-company-building-your-ai-assistant-is-an-ad-company
98•ajuhasz•7h ago•44 comments

Blue light filters don't work – controlling total luminance is a better bet

https://www.neuroai.science/p/blue-light-filters-dont-work
120•pminimax•8h ago•154 comments

Don't create .gitkeep files, use .gitignore instead

https://adamj.eu/tech/2023/09/18/git-dont-create-gitkeep/
35•frou_dh•3h ago•19 comments

Index, Count, Offset, Size

https://tigerbeetle.com/blog/2026-02-16-index-count-offset-size/
11•ingve•2d ago•0 comments

Across the US, people are dismantling and destroying Flock surveillance cameras

https://www.bloodinthemachine.com/p/across-the-us-people-are-dismantling
140•latexr•3h ago•40 comments

The true story behind the Toronto mystery tunnel

https://macleans.ca/society/elton-mcdonald-and-the-incredible-true-story-behind-the-toronto-myste...
31•mhb•3d ago•8 comments

Trump's global tariffs struck down by US Supreme Court

https://www.bbc.com/news/live/c0l9r67drg7t
1246•blackguardx•10h ago•1013 comments

Uncovering insiders and alpha on Polymarket with AI

https://twitter.com/peterjliu/status/2024901585806225723
80•somerandomness•8h ago•54 comments

The path to ubiquitous AI (17k tokens/sec)

https://taalas.com/the-path-to-ubiquitous-ai/
669•sidnarsipur•15h ago•383 comments

Lil' Fun Langs

https://taylor.town/scrapscript-000
94•surprisetalk•8h ago•11 comments

Lexega Turns SQL into Signals

https://lexega.com/blog/how-lexega-turns-sql-into-signals
8•whoami4041•2h ago•7 comments

Building a model that visualizes strategic golf

https://golfcoursewiki.substack.com/p/i-spent-the-last-month-and-a-half
37•scoofy•4d ago•14 comments

Legion Health (YC) Is Hiring Cracked SWEs for Autonomous Mental Health

https://jobs.ashbyhq.com/legionhealth/ffdd2b52-eb21-489e-b124-3c0804231424
1•ympatel•9h ago

Show HN: A native macOS client for Hacker News, built with SwiftUI

https://github.com/IronsideXXVI/Hacker-News
173•IronsideXXVI•12h ago•136 comments

How to Review an AUR Package

https://bertptrs.nl/2026/01/30/how-to-review-an-aur-package.html
55•exploraz•3d ago•7 comments

Be wary of Bluesky

https://kevinak.se/blog/be-wary-of-bluesky
86•kevinak•2h ago•62 comments

I found a useful Git one liner buried in leaked CIA developer docs

https://spencer.wtf/2026/02/20/cleaning-up-merged-git-branches-a-one-liner-from-the-cias-leaked-d...
613•spencerldixon•12h ago•216 comments

Making frontier cybersecurity capabilities available to defenders

https://www.anthropic.com/news/claude-code-security
95•surprisetalk•8h ago•50 comments