Pr

Probly – a Python-like language for quick Monte Carlo simulation

Hacker News

Probly – a Python-like language for quick Monte Carlo simulation

Hello! I'm Tom and I've been working on Probly. It's a small language designed to make it easier to build simple Monte Carlo models. (There are four code examples at the link, ranging from about 10 lines to 100+ lines of code.) With this project, the hope is to make it feel less onerous to get started making calculations that incorporate uncertainty. Users don't need to learn powerful scientific computing libraries, and boilerplate code is reduced. Probly is much like Python, except that any variable can be a probability distribution. For example, `x = Normal(5 to 6)` would make `x` normally distributed with a 10th percentile of 5 and a 90th percentile of 6. Thereafter `x` can be treated as if it were a float (or numpy array), e.g. `y = x/2`. Probly may be especially beneficial (over other approaches) for simple exploratory models. However, it has no problem with more complex calculations (e.g. several hundred lines of code with loops, functions, dictionaries...). Probly is implemented in Go. It's a simple modification of Starlark (a subset of Python originally designed for use as a configuration language). By the way, most but not all of it could have been implemented in Python by overloading operators, etc.

Share card

Actual performance

3points
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Indie HackersFits the IH revenue-focused audience · Strong signals: started · Missing: supports, reddit linkedin, podcasting
85%85% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Product HuntOn track for Day 1 leaderboard · Strong signals: model, user, models · Missing: mac, agents, macos
71%71% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: io · Missing: https docs, excited, just released
64%64% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
TrustMRRFits verified-revenue profile · Strong signals: users, way · Missing: mobile apps, ios, personal
51%51% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Strong signals: users · Missing: plus, platform, intuitive
48%48% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Strong signals: arr · Missing: mrr, revenue, profit
16%16% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Incorrect prediction on native model

Similar products

Ph
Phorth – A Forth-like language on the Python VM67%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Phorth – A Forth-like language on the Python VM

Hacker News62
My
Mys – an attempt to create a statically typed Python-like language63%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Mys – an attempt to create a statically typed Python-like language

Hacker News50
La
Language Evolution Simulation55%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Language Evolution Simulation

Hacker News159
I
I wrote a multicopter simulation library in Python52%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

I wrote a multicopter simulation library in Python

Hacker News3
An
An individual-level pandemic simulation in Python61%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

An individual-level pandemic simulation in Python

Hacker News1
Se
Serve – like python -m SimpleHTTPServer, but with gzip and http266%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Serve – like python -m SimpleHTTPServer, but with gzip and http2

Hacker News18
Sh
Show HN; (Keycmd) a vim-like filemanager in python61%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Show HN; (Keycmd) a vim-like filemanager in python

Hacker News1
Sh
Show HN; (Keycmd) a vim-like filemanager in python61%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Show HN; (Keycmd) a vim-like filemanager in python

Hacker News1
Fo
ForIf – A C-like condition assignment syntax in python58%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

ForIf – A C-like condition assignment syntax in python

Hacker News2
Vy
Vy) A humble vim-like implementation in Python54%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Vy) A humble vim-like implementation in Python

Hacker News3