A lightweight TypeScript library for probabilistic branching and random selection, powered by the Mersenne Twister algorithm.
A JavaScript model of a Gaussian distribution
Degenerate distribution probability density function (PDF).
Beta distribution probability density function (PDF).
Normal distribution probability density function (PDF).
Degenerate distribution logarithm of probability density function (logPDF).
Gamma distribution logarithm of probability density function (PDF).
Chi-squared distribution probability density function (PDF).
Gamma distribution probability density function (PDF).
Natural logarithm of the probability density function (PDF) for a chi-squared distribution.
Binomial distribution probability mass function (PMF).
Test if a value is a probability.
Test if a double-precision floating-point number is a probability.
Statistical routines and probability distributions.
Degenerate distribution probability mass function (PMF).
Poisson distribution probability mass function (PMF).
Beta distribution logarithm of probability density function (PDF).
Natural logarithm of the probability density function (PDF) for a normal distribution.
Composite samplers for OpenTelemetry tracing
Natural logarithm of the probability density function (PDF) for an inverse gamma distribution.
Inverse gamma distribution probability density function (PDF).
Test if a value is an array of probabilities that sum to one.
Inverse chi-squared cumulative distribution function
Generate random variables from a variety of probability distributions. Includes tools to shuffle an array or sample from it.
Models, Controllers, and Views common to Watermark Church apps
# ImageBuilder A gem to build operating system images for various platforms. At initial release, this gem supports building images using packer to build images for the AWS platform ## Installation Add this line to your application's Gemfile: gem 'image_builder' And then execute: $ bundle Or install it yourself as: $ gem install image_builder ## Usage This is how you use the gem, should probably write something useful here. But since it's just a library gem that basically just wraps the packer utility, read this code, and the packer documentation to figure out what to do ## Contributing 1. Fork it ( https://github.com/[my-github-username]/image_builder/fork ) 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create a new Pull Request
Cashew, a collection of conveniently encapsulated caching constructions.
This is an experimental branch that implements a connection pool of Net::HTTP objects instead of a connection/thread. C/T is fine if you're only using your http threads to make connections but if you use them in child threads then I suspect you will have a thread memory leak. Also, I want to see if I get less connection resets if the most recently used connection is always returned. Also added a :force_retry option that if set to true will retry POST requests as well as idempotent requests. This branch is currently incompatible with the master branch in the following ways: * It doesn't allow you to recreate the Net::HTTP::Persistent object on the fly. This is possible in the master version since all the data is kept in thread local storage. For this version, you should probably create a class instance of the object and use that in your instance methods. * It uses a hash in the initialize method. This was easier for me as I use a HashWithIndifferentAccess created from a YAML file to define my options. This should probably be modified to check the arguments to achieve backwards compatibility. * The method shutdown is unimplemented as I wasn't sure how I should implement it and I don't need it as I do a graceful shutdown from nginx to finish up my connections. For connection issues, I completely recreate a new Net::HTTP instance. I was running into an issue which I suspect is a JRuby bug where an SSL connection that times out would leave the ssl context in a frozen state which would then make that connection unusable so each time that thread handled a connection a 500 error with the exception "TypeError: can't modify frozen". I think Joseph West's fork resolves this issue but I'm paranoid so I recreate the object. Compatibility with the master version could probably be achieved by creating a Strategy wrapper class for GenePool and a separate strategy class with the connection/thread implementation.
Gem that encapsulates the NMI Direct Post API in an ActiveRecord-like syntax
Send SMS messages using the OpenMarket API
Send SMS messages using the CellForce API
Validate the phone number and content of an SMS Message. This gem does not send SMS messages. It just makes sure the arguments are valid.