frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: I built Kumi – a typed, array-oriented dataflow compiler in Ruby

https://kumi-play-web.fly.dev/
4•goldenCeasar•3h ago
Hi HN,

I'm the author of Kumi, a project I've been working on and would love to get your feedback on.

The Original Problem:

The original idea for Kumi came from a complex IAM problem I faced at a previous job. Provisioning a single employee meant applying dozens of interdependent rules (based on role, location, etc.) for every target system. The problem was deeper: even the data abstractions were rule-based. For instance, 'roles' for one system might just be a specific interpretation of Active Directory groups.

This logic was also highly volatile; writing the rules down became a discovery process, and admins needed to change them live. This was all on top of the underlying challenge of synchronizing data between systems. My solution back then was to handle some of this logic in a component called "Blueprints" that interpreted declarative rules and exposed this logic to other workflows.

The Evolution:

That "Blueprints" component stuck in my mind. About a year later, I decided to tackle the problem more fundamentally with Kumi. My first attempts were brittle—first runtime lambdas, then a series of interpreters. I knew what an AST was, but had to discover concepts like compilers, IRs, and formal type/shape representation. Each iteration revealed deeper problems.

The core issue was my AST representation wasn't expressive enough, forcing me into unverifiable 'runtime magic'. I realized the solution was to iteratively build a more expressive intermediate representation (IR). This wasn't a single step: I spent two months building and throwing away ~5 different IRs, tens of thousands of lines of code. That painful process forced me to learn what it truly meant to compile, represent complex shapes, normalize the dataflow, and verify logic. This journey is what led to static type-checking as a necessary outcome, not just an initial goal.

This was coupled with the core challenge: business logic is often about complex, nested, and ragged data (arrays, order items, etc.). If the DSL couldn't natively handle loops over this data, it was pointless. This required an IR expressive enough for optimizations like inlining and loop fusion, which are notoriously hard to reason about with vectorized data.

You can try a web-based demo here: https://kumi-play-web.fly.dev/

And the repo is here: https://github.com/amuta/kumi

South Korea's fishermen keep dying. Is climate change to blame?

https://www.bbc.com/news/articles/cvg924nrgd3o
1•blondie9x•3m ago•0 comments

Some Notes on Nix Flakes

https://jvns.ca/blog/2023/11/11/notes-on-nix-flakes/
1•n3t•4m ago•1 comments

Treasure Trove of Shipwrecks Along China's Coast

https://www.smithsonianmag.com/history/treasure-trove-of-shipwrecks-along-chinas-coast-reveals-ho...
1•Brajeshwar•9m ago•0 comments

Astronomers discover skyscraper-size asteroid hidden in sun's glare

https://www.livescience.com/space/asteroids/astronomers-discover-skyscraper-size-asteroid-hidden-...
1•Brajeshwar•10m ago•0 comments

AI is changing our understanding of earthquakes

https://knowablemagazine.org/content/article/physical-world/2025/ai-is-changing-understanding-of-...
1•Brajeshwar•10m ago•0 comments

Interest Survey: Copilot for Exchange Server (On-Premises)

https://techcommunity.microsoft.com/blog/exchange/interest-survey-copilot-for-exchange-server-on-...
1•asimops•13m ago•0 comments

If AI "slop" scares you, your PR reviews are broken

https://www.pcloadletter.dev/blog/pr-review-ai-slop/
1•ronbenton•18m ago•0 comments

Detection firm finds 82% of herbal remedy books on Amazon 'likely written' by AI

https://www.theguardian.com/books/2025/oct/22/detection-firm-finds-82-of-herbal-remedy-books-on-a...
2•pogue•19m ago•1 comments

Paternal exercise confers endurance to offspring through sperm microRNAs

https://www.cell.com/cell-metabolism/fulltext/S1550-4131(25)00388-2
3•PaulHoule•20m ago•0 comments

Blind User's Experience with Smart Glasses

https://abilitymagazine.com/meta-ray-bans-blind-users-experience-with-smart-glasses/
2•geox•22m ago•0 comments

Alaska Airlines, experiencing an IT outage, issues a ground stop

https://twitter.com/AlaskaAirNews/status/1981501224605405238
2•gnabgib•24m ago•1 comments

Unicode Footguns in Python

https://pythonkoans.substack.com/p/koan-15-the-invisible-ink
1•meander_water•24m ago•0 comments

Boa release v0.21 – a new release of Boa, a JavaScript engine written in Rust

https://boajs.dev/blog/2025/10/22/boa-release-21
1•birdculture•27m ago•0 comments

First Verifiable AI Architecture Analysis – Zero Source Files Read

https://github.com/mirzahusadzic/cogx
1•mirza_husadzic•28m ago•1 comments

Finding a Successor to the FHS

https://lwn.net/Articles/1032947/
2•baobun•29m ago•0 comments

Alaska Airlines issues temporary ground stop

https://mynorthwest.com/chokepoints/alaska-airlines-3/4146461
1•tobinfekkes•30m ago•0 comments

Against the Machine: On the Unmaking of Humanity – Paul Kingsnorth

https://www.newstatesman.com/culture/2025/10/the-prophecies-of-paul-kingsnorth
1•pseudolus•31m ago•0 comments

MAINdial – Find any landline instantly with GPS/AI

https://dial-wise-60854cc8.base44.app/
1•Conceiver•33m ago•0 comments

Two federal judges say use of AI led to errors in US court rulings

https://www.channelnewsasia.com/business/two-federal-judges-say-use-ai-led-errors-in-us-court-rul...
2•bbzjk7•34m ago•0 comments

Is Terminal Lucidity Real?

https://preservinghope.substack.com/p/is-terminal-lucidity-real
2•paulpauper•35m ago•0 comments

The System Skill Pattern

https://www.shruggingface.com/blog/the-system-skill-pattern
3•mercat•45m ago•1 comments

Counter-Strike's player economy is in a multi-billion dollar freefall

https://www.polygon.com/counter-strike-cs-player-economy-multi-billion-dollar-freefall/
17•perihelions•51m ago•1 comments

Emacs: Write to Minibuffer

https://stackoverflow.com/questions/36118899/inserting-text-into-an-active-minibuffer
3•gfalcao•54m ago•0 comments

Mario Creator Shigeru Miyamoto Might Be Right About the Future of Gaming

https://comicbook.com/gaming/feature/shigeru-miyamoto-gaming-future/
3•mikhael•55m ago•0 comments

Antidepressants: Physical side-effects vary depending on the drug type

https://theconversation.com/antidepressants-physical-side-effects-vary-depending-on-the-drug-type...
1•gmays•58m ago•0 comments

American e-waste is causing a 'hidden tsunami' in Southeast Asia, report says

https://www.nbcnews.com/world/asia/american-e-waste-causing-hidden-tsunami-southeast-asia-report-...
2•clumsysmurf•1h ago•1 comments

AI Sidebar Spoofing Puts ChatGPT Atlas, Perplexity Comet, Other Browsers at Risk

https://www.securityweek.com/ai-sidebar-spoofing-puts-chatgpt-atlas-perplexity-comet-and-other-br...
3•botanicals6•1h ago•0 comments

HekateForge Construct 8/8 entropy

https://hekateforge.com/
1•Compulytics•1h ago•0 comments

Israeli Arab Startup Haat Solves Big Food Delivery Problems

https://www.bloomberg.com/news/articles/2025-10-21/israeli-arab-startup-haat-solves-big-food-deli...
2•alephnerd•1h ago•0 comments

Psi+ 1.5.2125.0 Installer Has Been Released – Qt Jabber/XMPP Omemo/OTR E2EE

https://sourceforge.net/projects/psiplus/files/Windows/Personal-Builds/KukuRuzo/
2•neustradamus•1h ago•0 comments