Feed aggregator

Layoffs at Block

Hacker News - Thu, 02/26/2026 - 4:17pm
Categories: Hacker News

Show HN: Duck-UI Embed – SQL-Powered React Dashboard Components with DuckDB-WASM

Hacker News - Thu, 02/26/2026 - 4:16pm

Hi HN,

I built @duck_ui/embed — a set of React components that turn SQL queries into interactive dashboards, powered by DuckDB-WASM running entirely in the browser.

`npm install @duck_ui/embed @duckdb/duckdb-wasm` The idea: pass your data (arrays, CSV, Parquet, JSON, or a fetch callback), write SQL, and get charts, tables, KPIs, and filters — no backend required. What's under the hood:

- DuckDB-WASM boots in the browser, data loads into in-memory tables - SQL queries run against real DuckDB (full SQL support, window functions, CTEs) - Parquet files use HTTP range requests — only fetches needed row groups - FilterBar auto-detects column types and injects WHERE clauses via subquery wrapping - Connection pool (max 4), LRU query cache (100 entries, 5min TTL) - ~95KB bundled (ESM), tree-shakeable

Components: Chart (line/bar/area/scatter/pie), DataTable (paginated, sortable, resizable columns), KPICard (with sparkline + comparison), FilterBar (auto or manual config), Dashboard (responsive grid layout), ExportButton (CSV/JSON).

For connecting to external databases (Postgres, MySQL, etc.), there's a "gateway pattern" — your backend runs the SQL and returns JSON, the embed renders it via a fetch callback.

Built with: React 18+, DuckDB-WASM, uPlot, @tanstack/react-table, Zustand. Apache-2.0 licensed.

Live playground: https://duckui.com/play Docs: https://duckui.com/embed/docs npm: https://www.npmjs.com/package/@duck_ui/embed

This is part of the Duck-UI project (https://github.com/ibero-data/duck-ui), a browser-based SQL IDE for DuckDB with 525+ stars. The embed SDK lets you take the same DuckDB-powered analytics and drop them into any React app.

Would love feedback on the API design and what components/features you'd want next.

Comments URL: https://news.ycombinator.com/item?id=47172109

Points: 1

# Comments: 0

Categories: Hacker News

Best VPN for Mac for 2026: Improve Your Privacy for Web Browsing, Streaming and Gaming

CNET Feed - Thu, 02/26/2026 - 4:15pm
Keep your web browsing activity hidden, mask your torrenting activity and unblock geo-protected streaming content with the best VPNs for Mac.
Categories: CNET

This AI Agent Is Designed to Not Go Rogue

Wired Security - Thu, 02/26/2026 - 3:54pm
The new open source project IronCurtain uses a unique method to secure and constrain AI assistant agents before they flip your digital life upside down.
Categories: Wired Security

Are GitHub Copilot code suggestions useful enough?

Hacker News - Thu, 02/26/2026 - 3:26pm

I have seen a fair amount of suggestions by Copilot and this one crossed a boundary for me:

"The variable name `huge` is somewhat informal. Consider a more descriptive name like exceeds-size-limit? or too-large? to better convey the intent and follow the pattern of boolean variable names like skippable seen elsewhere in the codebase."

I downvoted and commented with:

"Dear copilot, I don't wish to impose on your sense of propriety but your suggestion seems to hail from outside of the Clojure ecosystem, demands unnecessary verbosity and, strangely, explicit formality. It would be helpful not to let Java and Objective-C codebases influence your suggestions for Clojure. Question mark suffixed vars and bindings, while common in Clojure codebases, are not used in clojure.core as they are for functions, and some Clojurists prefer not to extend the convention. And why not `huge?`? Most important, such a killjoy suggestion (particularly when the adjective selected for the binding was succinct and apt: epitomizing Clojure's compact elegance) which attempts to sanitize our codebase of lightness and mirth, is unwelcome. It stands as further evidence that your design and configuration is often overreaching and distracting with the ultimate effect of cheapening your review value reputation. With repetition of marginal output, your suggestions become noise to users and we may ignore high quality insights amidst the AI slop."

Comments URL: https://news.ycombinator.com/item?id=47171565

Points: 1

# Comments: 0

Categories: Hacker News

Show HN: Compliance-as-Code for Cloud Infra

Hacker News - Thu, 02/26/2026 - 3:26pm

Launch real-world environments with built-in security controls for ISO 27001, PCI DSS, NIST, SOC2 & more. Compliance that actually runs in your infrastructure, not just in documents.

Comments URL: https://news.ycombinator.com/item?id=47171557

Points: 1

# Comments: 0

Categories: Hacker News

The Little Red Dot

Hacker News - Thu, 02/26/2026 - 3:24pm
Categories: Hacker News

Pages