frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fluent, a tiny lang for differentiable tensors and reactive programming

https://github.com/mlajtos/fluent
3•mlajtos•2h ago
Hello,

I finally pushed myself to open-source Fluent, a differentiable array-oriented language I've been building for the New Kind of Paper project [1-5]. Demo is available at [0].

Few salient features:

1. Every operator is user-(re)definable. Don't like writing assignment with `:`, change it to whatever you like. Create new and whacky operators – experiment to the death with it.

2. Differentiability. Language is suitable for machine learning tasks using gradient descent.

3. Reactivity. Values can be reactive, so down-stream values are automatically recomputed as in spreadsheet.

4. Strict left-to-right order of operations. Evaluation and reading should be the same thing.

5. Words and glyphs are interchangeable. All are just names for something. Right?

6. (Pre,In,Post)-fix. You can choose style that suits you.

It has its own IDE with live evaluation and visualization of the values. The whole thing runs in browser (prefer Chrome), it definitely has ton of bugs, will crash your browser/computer/stock portfolio, so beware.

Some bait – linear regression (Ctrl+O, "linear-regression-compressed" or [6]):

    x: (0 :: 10),

    y: (x × 0.23 + 0.47),

    θ: ~([0, 0]),

    f: { x | x × (θ_0) + (θ_1) },

    L: { μ((y - f(x)) ^ 2) },

    minimize: adam(0.03),

    losses: $([]),

    (++): concat,

    { losses(losses() ++ [minimize(L)]), } ⟳ 400,

    (losses, θ)
pre-, in-, post- fix & name/glyph equivalence:

    1 + 2,

    1 add 2,

    add(1,2),

    +(1,2),

    (1,2) . +,

    (1,2) apply add,
---

[0]: https://mlajtos.github.io/fluent/?code=RG9jdW1lbnRhdGlvbg

[1]: https://mlajtos.mu/posts/new-kind-of-paper

[2]: https://mlajtos.mu/posts/new-kind-of-paper-2

[3]: https://mlajtos.mu/posts/new-kind-of-paper-3

[4]: https://mlajtos.mu/posts/new-kind-of-paper-4

[5]: https://mlajtos.mu/posts/new-kind-of-paper-5

[6]: https://mlajtos.github.io/fluent/?code=eDogKDAgOjogMTApLAp5O...

Show HN: 1Code – Open-source Cursor-like UI for Claude Code

https://github.com/21st-dev/1code
29•Bunas•1d ago•16 comments

Show HN: Contribute to GitHub Anonymously

https://github.com/livrasand/gitGost
3•livrasand•52m ago•4 comments

Show HN: mdto.page – Turn Markdown into a shareable webpage instantly

https://mdto.page
34•hjinco•7h ago•23 comments

Show HN: Routing with OSM, PgRouting and MapLibre

https://github.com/bytefish/PgRoutingExperiments
3•bytefish•1h ago•0 comments

Show HN: pgwire-replication - pure rust client for Postgres CDC

https://github.com/vnvo/pgwire-replication
37•sacs0ni•5d ago•6 comments

Show HN: CC TV remote plugin, pauses your binge-watching when Claude goes idle

https://github.com/HermannBjorgvin/claude-plugins/tree/main/tv-pauser
3•hermannbjorgvin•1h ago•1 comments

Show HN: Hc: an agentless, multi-tenant shell history sink

https://github.com/alessandrocarminati/hc
34•acarminati•12h ago•2 comments

Show HN: OpenWork – An open-source alternative to Claude Cowork

https://github.com/different-ai/openwork
215•ben_talent•2d ago•53 comments

Show HN: Web PWA unifying translate/FSRS Anki/conjugations

https://lekalearning.com/
7•watduyuwan•2h ago•0 comments

Show HN: Fluent, a tiny lang for differentiable tensors and reactive programming

https://github.com/mlajtos/fluent
3•mlajtos•2h ago•0 comments

Show HN: I built a text-based business simulator to replace video courses

https://www.core-mba.pro/
84•Core_Dev•18h ago•38 comments

Show HN: BGP Scout – BGP Network Browser

https://bgpscout.io/
24•hivedc•19h ago•11 comments

Show HN: TinyCity – A tiny city SIM for MicroPython (Thumby micro console)

https://github.com/chrisdiana/TinyCity
136•inflam52•1d ago•24 comments

Show HN: Gambit, an open-source agent harness for building reliable AI agents

https://github.com/bolt-foundry/gambit
85•randall•20h ago•16 comments

Show HN: Flag AI Slop in PRs

https://haystackeditor.com/slop-detector
5•yatvij•1h ago•0 comments

Show HN: Reversing YouTube’s “Most Replayed” Graph

https://priyavr.at/blog/reversing-most-replayed/
74•prvt•18h ago•21 comments

Show HN: Claude Code plugin for ecommerce development

https://github.com/medusajs/medusa-claude-plugins/tree/main/plugins/medusa-dev
3•sebrindom•4h ago•0 comments

Show HN: SkillRisk – Free security analyzer for AI agent skills

https://skillrisk.org/free-check
2•elevenapril•4h ago•6 comments

Show HN: Tabstack – Browser infrastructure for AI agents (by Mozilla)

121•MrTravisB•2d ago•22 comments

Show HN: Sparrow-1 – Audio-native model for human-level turn-taking without ASR

https://www.tavus.io/post/sparrow-1-human-level-conversational-timing-in-real-time-voice
120•code_brian•2d ago•47 comments

Show HN: Claude Quest – Pixel-art visualization for Claude Code sessions

https://github.com/Michaelliv/claude-quest
4•miclivs•5h ago•1 comments

Show HN: Webctl – Browser automation for agents based on CLI instead of MCP

https://github.com/cosinusalpha/webctl
131•cosinusalpha•2d ago•36 comments

Show HN: pubz: easy, conventional NPM publishing

https://github.com/mm-zacharydavison/pubz
3•billybat•5h ago•0 comments

Show HN: The Hessian of tall-skinny networks is easy to invert

https://github.com/a-rahimi/hessian
28•rahimiali•23h ago•23 comments

Show HN: Tusk Drift – Turn production traffic into API tests

https://github.com/Use-Tusk/tusk-drift-cli
22•jy-tan•1d ago•1 comments

Show HN: Timberlogs – Drop-in structured logging for TypeScript

11•enaboapps•3d ago•6 comments

Show HN: Tiny FOSS Compass and Navigation App (<2MB)

https://github.com/CompassMB/MBCompass
133•nativeforks•2d ago•46 comments

Show HN: Free AI Image Upscaler (100% local, private, and free)

https://freeaitoolforthat.com/ai-image-upscaler
5•tamnv•10h ago•5 comments

Show HN: A cross-platform toolkit to explore OS internals and capabilities

6•DenisDolya•4d ago•2 comments

Show HN: HyTags – HTML as a Programming Language

https://hytags.org
68•lassejansen•3d ago•33 comments