Hacker News

Probabilistic language

by @xinu2020

- https://probl.dev: A "probabilistic" programming language where we can do things like `if 45% { x } else { y }`. It works by creating many weighted worlds, that are then merged when identical. Operators like `observe` can remove possibilities. There is also a sampling mode that instead run many simulations to get an approximate result. - https://github.com/garlab/gloss | `brew install garlab/tap/gloss`: render markdown, sources, images, chess and go (game) records in the terminal. It's built for libghostty but fallback on other terms.

Discover more builders

Builderlust is an endless, joyful scroll of real projects people are shipping right now. Get the app to keep finding your next spark of inspiration.

📱 Coming soon to iOS & AndroidOpen in the app