frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

We give every user SQL access to a shared ClickHouse cluster

https://trigger.dev/blog/how-trql-works
19•eallam•3d ago

Comments

senorrib•1h ago
Reasons 1-3 could very well be done with ClickHouse policies (RLS) and good data warehouse design. In fact, that’s more secure than a compiler adding a where to a query ran by an all mighty user.

Reason 4 is probably an improvement, but could probably be done with CH functions.

The problem with custom DSLs like this is that tradeoff a massive ecosystem for very little benefit.

efromvt•27m ago
As long as you don't deviate too much from ANSI, I think the 'light sql DSL' approach has a lot of pros when you control the UX. (so UIs, in particular, are fantastic for this approach - what they seem to be targeting with queryies and dashboards). It's more of a product experience; tables are a terrible product surface to manage.

Agreed with the ecosystem cons getting much heavier as you move outside the product surface area.

zie•1h ago
We do the same thing, every employee can access our main financial/back office SQL database, but we just use PostgreSQL with row level security[0]. We never bothered to complicate it like the post does.

0: https://www.postgresql.org/docs/18/ddl-rowsecurity.html

orf•1h ago
Back office, employee access is a completely different problem to what is described in the post.

How do you enforce tenant isolation with that method, or prevent unbounded table reads?

tossandthrow•36m ago
They likely don't need tenant isolation and unbound table reads can be mitigated using timeouts.

We do something similar for our backoffice - just with the difference that it is Claude that has full freedom to write queries.

jelder•24m ago
We did this with MotherDuck, and without introducing a new language. Every tenant has their own isolated storage and compute, so it’s trivial to grant internal users access to specific tenants as needed. DuckDB’s SQL dialect is mostly just Postgres’ with some nice ergonomic additions and a host of extra functionality.
raw_anon_1111•20m ago
This is explicitly not the problem they are trying to solve. In a single tenant database you don’t have to by definition worry about multi tenant databases
DangitBobby•7m ago
I guess the question then becomes, what problem does a multi-tenancy setup solve that an isolated database setup doesn't? Are they really not solving the same problem for a user perspective, or is it only from their own engineering perspective? And how do those decisions ultimately impact the product they can surface to users?
elnatro•5m ago
New to ClickHouse here. Would you thing this kind of database has a niche when compared to usual RDBMS like MySQL and PostgreSQL?

OpenCode – Open source AI coding agent

https://opencode.ai/
916•rbanffy•16h ago•435 comments

Mamba-3

https://www.together.ai/blog/mamba-3
171•matt_d•3d ago•24 comments

FFmpeg 101 (2024)

https://blogs.igalia.com/llepage/ffmpeg-101/
125•vinhnx•10h ago•3 comments

We give every user SQL access to a shared ClickHouse cluster

https://trigger.dev/blog/how-trql-works
19•eallam•3d ago•9 comments

Atuin v18.13 – better search, a PTY proxy, and AI for your shell

https://blog.atuin.sh/atuin-v18-13/
48•cenanozen•2h ago•19 comments

A Japanese glossary of chopsticks faux pas (2022)

https://www.nippon.com/en/japan-data/h01362/
315•cainxinth•16h ago•251 comments

Fujifilm X RAW STUDIO webapp clone

https://github.com/eggricesoy/filmkit
82•notcodingtoday•2d ago•32 comments

Molly Guard

https://bookofjoe2.blogspot.com/2026/02/molly-guard.html
132•surprisetalk•22h ago•56 comments

How BYD Got EV Chargers to Work Almost as Fast as Gas Pumps

https://www.wired.com/story/how-byds-ev-charger-got-even-faster-and-it-might-not-matter-as-much-a...
16•Brajeshwar•1h ago•9 comments

Blocking Internet Archive Won't Stop AI, but Will Erase Web's Historical Record

https://www.eff.org/deeplinks/2026/03/blocking-internet-archive-wont-stop-ai-it-will-erase-webs-h...
129•pabs3•5h ago•23 comments

Ghostling

https://github.com/ghostty-org/ghostling
242•bjornroberg•14h ago•45 comments

Padel Chess – tactical simulator for padel

https://www.padelchess.me/
46•AlexGerasim•3d ago•22 comments

Linux Applications Programming by Example: The Fundamental APIs (2nd Edition)

https://github.com/arnoldrobbins/LinuxByExample-2e
117•teleforce•13h ago•14 comments

We rewrote our Rust WASM parser in TypeScript and it got faster

https://www.openui.com/blog/rust-wasm-parser
237•zahlekhan•15h ago•146 comments

The Los Angeles Aqueduct Is Wild

https://practical.engineering/blog/2026/3/17/the-los-angeles-aqueduct-is-wild
374•michaefe•3d ago•181 comments

Meta's Omnilingual MT for 1,600 Languages

https://ai.meta.com/research/publications/omnilingual-mt-machine-translation-for-1600-languages/?...
14•j0e1•3d ago•0 comments

The Story of Marina Abramovic and Ulay (2020)

https://www.sydney-yaeko.com/artsandculture/marina-and-ulay
10•NaOH•2d ago•4 comments

Attention Residuals

https://github.com/MoonshotAI/Attention-Residuals
192•GaggiX•18h ago•25 comments

The worst volume control UI in the world (2017)

https://uxdesign.cc/the-worst-volume-control-ui-in-the-world-60713dc86950
158•andsoitis•3d ago•80 comments

Show HN: We built a terminal-only Bluesky / AT Proto client written in Fortran

https://github.com/FormerLab/fortransky
101•FormerLabFred•14h ago•50 comments

Cryptography in Home Entertainment (2004)

https://mathweb.ucsd.edu/~crypto/Projects/MarkBarry/
54•rvnx•2d ago•31 comments

The Ugliest Airplane: An Appreciation

https://www.smithsonianmag.com/air-space-magazine/ugliest-airplane-appreciation-180978708/
82•randycupertino•2d ago•45 comments

Turing Award Honors Bennett and Brassard for Quantum Information Science

https://amturing.acm.org
45•throw0101d•3d ago•0 comments

An industrial piping contractor on Claude Code [video]

https://twitter.com/toddsaunders/status/2034243420147859716
70•mighty-fine•2d ago•30 comments

France's aircraft carrier located in real time by Le Monde through fitness app

https://www.lemonde.fr/en/international/article/2026/03/20/stravaleaks-france-s-aircraft-carrier-...
583•MrDresden•1d ago•472 comments

VisiCalc Reconstructed

https://zserge.com/posts/visicalc/
212•ingve•4d ago•79 comments

Lent and Lisp

https://leancrew.com/all-this/2026/02/lent-and-lisp/
64•surprisetalk•3d ago•3 comments

ArXiv declares independence from Cornell

https://www.science.org/content/article/arxiv-pioneering-preprint-server-declares-independence-co...
766•bookstore-romeo•1d ago•267 comments

Our commitment to Windows quality

https://blogs.windows.com/windows-insider/2026/03/20/our-commitment-to-windows-quality/
559•hadrien01•17h ago•1002 comments

Entso-E final report on Iberian 2025 blackout

https://www.entsoe.eu/publications/blackout/28-april-2025-iberian-blackout/
204•Rygian•1d ago•99 comments