frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Dux, distributed DuckDB-backed dataframes on the Beam

https://github.com/elixir-dux/dux
3•cigrainger•1h ago
Hey all! I wrote Explorer[1] a good few years ago now with the dream of fast dataframes with a dplyr-like API in a really powerful, ergonomic language (Elixir). It's proved pretty successful. Explorer is used in production at my company, and it's my go-to for quick data analysis.

But maintaining it became a true albatross. Polars is an amazing project, but the development process is fast and a lot is very focused on the Python lib. We found that trying to maintain Explorer against Polars was a maintenance nightmare and eventually hit points where we had to give up features and found it extremely difficult to update to the latest.

We also tried distributing Explorer and only got so far. A reasonable alternative to Spark was always what I wanted, and I could (tantalisingly, frustratingly) see the pieces there in dataframes and the BEAM, but couldn't make it happen.

We also always knew that the right direction was to be 'lazy by default', accumulating ops and only executing when the dataframe needs to be realised. But this was very difficult with Polars's Series API and eager/lazy split.

Enter DuckDB. A few weeks ago, I made a duckdb backend for Explorer. But in doing so I saw that DuckDB would allow us to realise the lazy-by-default and distributed vision. So I went for it.

And here we are. Dux as in ducks as in multiple ducks. Plus an 'x' in the name because, you know, it's Elixir.

It's faster than Explorer on a single node. It has a simple, dataframe only API. It distributes arbitrarily on Erlang clusters on the BEAM. Startup is faster than Spark and for many use cases it's simpler and faster. DuckDB functions are all transparently available, as are custom SQL macros. We have a full graph API, as in GraphX/NetworkX. You can install and use any duckdb extensions, including in distribution. And on the maintenance side, it doesn't use a NIF (it depends on the ADBC library[2] and a DuckDB driver) -- the API is primarily about compiling to SQL.

DuckDB is incredible for OLAP on out of memory data. Distribution enables fast exploration of in-memory data and real-time applications. The BEAM gives us battle-hardened distribution almost for free.

Give it a shot! I'd love feedback and of course PRs are welcome. Oh, I also made a webpage for it[3].

[1] https://github.com/elixir-explorer/explorer

[2] https://github.com/livebook-dev/adbc

[3] https://dux.now

Project Ternary Shadow: US Military is lagging [pdf]

https://files.catbox.moe/nzgvd0.pdf
2•sans_souse•1m ago•0 comments

Show HN: BitTorrent DHT Proxy – hiding your IP from DHT and trackers

https://www.janhouse.lv/blog/it/dht-proxy-hiding-ip-from-bittorrent-dht-trackers
2•Jnr•2m ago•0 comments

Iran Threatens to Start Attacking Major US Tech Firms on April 1

https://www.wired.com/story/iran-threatens-to-start-attacking-major-us-tech-firms-on-april-1/
2•jumploops•5m ago•1 comments

Start naming your useEffect functions, you will thank me later

https://neciudan.dev/name-your-effects
1•nnx•14m ago•0 comments

Autoscaling CI for Gitea in Rust

https://rustunit.com/blog/2026/03-30-gitea-ci-autoscaler/
1•y1n0•15m ago•0 comments

DreamLite: Lightweight On-Device Unified Model for Image Generation and Editing

https://carlofkl.github.io/dreamlite/
2•smusamashah•17m ago•0 comments

Uno-reverse: Who is gaslighting who now?

https://abscondita.com/blog/uno-reverse-who-is-gaslighting-who
2•_vaporwave_•17m ago•0 comments

How to Turn a Chicken Egg into a Drug Factory

https://www.nytimes.com/2026/03/26/science/biotechnology-pharmaceuticals-eggs.html
1•lxm•20m ago•0 comments

How do I turn on the Do Not Track feature?

https://support.mozilla.org/en-US/kb/how-do-i-turn-do-not-track-feature
1•greyface-•23m ago•0 comments

Claude Code Interactive Architecture

https://brandonrc.github.io/journey-through-claude-code/
2•bsgeraci•27m ago•1 comments

MIT 9.35 Perception, Spring 2024 [video]

https://www.youtube.com/watch?v=IPJC8loEmd4
1•mdp2021•27m ago•0 comments

Turn any idea into a printable coloring page with AI

https://coloringpage.live
1•jiruitao•27m ago•1 comments

Humans, Trust, and AI Job Replacement

https://hooda.xyz/blog/humans-trust-and-ai-job-replacement/
2•hooda•30m ago•0 comments

Precision Proactivity: Measuring Cognitive Load in Real-World AI-Assisted Work

https://arxiv.org/abs/2505.10742
1•wslh•31m ago•0 comments

Codey-V2 is out – stable release

https://github.com/Ishabdullah/Codey-v2
1•Ishymoto•32m ago•0 comments

Pretext's most interesting use cases have no DOM at all

https://cyrusradfar.com/thoughts/pretext-beyond-the-browser
2•cyrusradfar•36m ago•0 comments

Microsoft plans to build 100% native apps for Windows

https://www.windowslatest.com/2026/03/28/microsoft-plans-to-build-100-native-apps-for-windows-11-...
2•kbelder•38m ago•1 comments

Reverse engineering GTA San Andreas with autonomous LLM agents [video]

https://www.youtube.com/watch?v=zBQJYMKmwAs
2•LelouBil•39m ago•0 comments

Mission Control for AI Agents – Cyberpunk dashboard, zero deps, one HTML file

https://github.com/Audazia/solar-system-agentsIbuiltSolarSystemAgentsbecauseIwanted:1.Adashboardt...
1•AUDAZIA•39m ago•1 comments

(Quasi)auto-canonization is the greatest short-term challenge for AI

https://xcancel.com/AlexKontorovich/status/2038810855110742310#m
1•vi_sextus_vi•40m ago•0 comments

Microsoft in Talks with Chevron, Engine No. 1 over $7B Texas Power Plant

https://www.bloomberg.com/news/articles/2026-03-31/microsoft-in-talks-with-chevron-engine-no-1-ov...
2•mfiguiere•43m ago•0 comments

Show HN: macOS app to ensure package managers only allow packages 1+ week old

https://github.com/harryob2/ShieldGuard
1•haaz•44m ago•0 comments

Large-scale BTU study shows: solar panels last longer than previously thought

https://www.b-tu.de/en/news/article/31103-grossangelegte-btu-studie-zeigt-solaranlagen-halten-lae...
1•jbm•46m ago•0 comments

Australia readies social media court action citing teen ban breaches

https://www.reuters.com/sustainability/society-equity/australia-investigates-tech-giants-over-soc...
1•jnord•48m ago•0 comments

TK Solver: Comprehensive Mathematical Software Tool for Engineers

https://www.uts.com/Products/TKSolver
1•teleforce•48m ago•0 comments

Veo 3.1 Lite – Veo 3.1 Lite – Turn Any Idea into AI Videos Instantly

https://veo31lite.com
2•sarkory•52m ago•0 comments

GitHub has DMCA'd nearly all forks of the official Claude-code repo

https://github.com/anthropics/claude-code/forks
2•cg505•53m ago•2 comments

BCG's Data Warehouse Hacked – 3.17T Rows, Zero Authentication

https://codewall.ai/blog/how-we-hacked-bcgs-data-warehouse-3-17-trillion-rows-zero-authentication
1•theolivenbaum•55m ago•0 comments

Has GitLab Felt into the Enshittification?

https://gitlab.com/gitlab-org/gitlab/-/work_items/590689
1•sixthDot•58m ago•1 comments

North Korea-Nexus Threat Actor Compromises Widely Used Axios NPM Package

https://cloud.google.com/blog/topics/threat-intelligence/north-korea-threat-actor-targets-axios-n...
1•nettlin•59m ago•1 comments