openmc
PokerMonteCarloAPI
openmc | PokerMonteCarloAPI | |
---|---|---|
4 | 1 | |
745 | 1 | |
2.1% | - | |
9.5 | 5.1 | |
5 days ago | over 1 year ago | |
Python | C# | |
GNU General Public License v3.0 or later | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
openmc
-
The Law of Large Numbers, or Why It Is a Bad Idea to Go to the Casino
It was actually invented for this.
Open source radiation transport Monte Carlo code here if you'd like to play around:
https://github.com/openmc-dev/openmc
- Ask HN: Has anyone worked at the US National Labs before?
-
The art of solving problems with Monte Carlo simulations
Even given their nuclear weapons origin, we lowly civil nuclear power engineers still use Monte Carlo methods all day every day. We all make our employers buy big supercomputers or get us access to the national lab leadership class HPC to just pound the hell out of our reactor design problems with random particle transport chains. Sure there are (dramatically) faster deterministic methods that are generally good enough, but Monte Carlo allows you to use exact geometry and not bother too much with the pesky art of computing average nuclear interaction probabilities.
Heck, my buddy at MIT made an open-source Monte Carlo code called OpenMC that's now run by Argonne National Lab [1]. Now everyone can do truly legit reactor design with Monte Carlo!
[1] https://github.com/openmc-dev/openmc
-
What is the difference between std::bad_alloc and std::out_of_range
openmc source code
PokerMonteCarloAPI
-
The Law of Large Numbers, or Why It Is a Bad Idea to Go to the Casino
I haven't completed or deployed it yet but I wrote a C# API to calculate your chance of winning a hand of poker based on all known cards at the table.
All unknown cards are randomly assigned and it just loops a bunch, reasonably easy to implement and actually is reasonably fast.
https://github.com/JohnFarrellDev/PokerMonteCarloAPI/
With the amount of possible outcomes Bayesian statistics just didn't seem reasonable to implement.
Goes without saying this tool is still fairly basic, it shouldn't be used to inform how much to bet or when to fold as it doesn't take into account information such as how much your opponents are betting.
What are some alternatives?
monteCarlo - Finding Areas Using the Monte Carlo Method
TexasSolver - 🚀 A very efficient Texas Holdem GTO solver :spades::hearts::clubs::diamonds:
awesome-nuclear - A curated list of open source projects used in nuclear science and engineering
poker - Poker hand evaluation and simulation
simsopt - Simons Stellarator Optimizer Code
pytudes - Python programs, usually short, of considerable difficulty, to perfect particular skills.
MCandPython - Lecture sessions for Python and Monte Carlo techniques
Svelte - Cybernetically enhanced web apps
Monopoly_Simulation - Simulating games of Monopoly.