Posts
-
PettingZoo
Gym for multi-agent reinforcement learning
PettingZoo includes the following families of environments:
- Atari: Multi-player Atari 2600 games (cooperative, competitive and mixed sum)
- Butterfly: Cooperative graphical games developed by us, requiring a high degree of coordination
- Classic: Classical games including card games, board games, etc.
- MAgent: Configurable environments with massive numbers of particle agents, originally from https://github.com/geek-ai/MAgent
- MPE: A set of simple nongraphical communication tasks, originally from https://github.com/openai/multiagent-particle-envs
- SISL: 3 cooperative environments, originally from https://github.com/sisl/MADRL
To install the pettingzoo base library, use
pip install pettingzoo.This does not include dependencies for all families of environments (there’s a massive number, and some can be problematic to install on certain systems). You can install these dependencies for one family like
pip install pettingzoo[atari]or usepip install pettingzoo[all]to install all dependencies.We support Python 3.6, 3.7, 3.8 and 3.9 on Linux and macOS. We will accept PRs related to Windows, but do not officially support it.
Tags: #python
-
seafox
A blazing fast 100% spec compliant, self-hosted javascript parser written in Typescript
- Conforms to the standard ECMAScript® 2021 (ECMA-262 11th Edition) language specification
- Support for additional ECMAScript features for Web Browsers
- Optionally track syntactic node locations
- Emits an ESTree-compatible abstract syntax tree
- Lexical analysis
- No backtracking
- Low memory usage
- Insane performance both on desktop computers and handheld devices
- Twice as fast as other Javascript parsers
- Very well tested (~33 000 unit tests with full code coverage)
- Lightweight - ~84 KB minified
Tags: #typescript • javascript • parser
-
riteway
Simple, readable, helpful unit tests.
Simple, readable, helpful unit tests.
- Readable
- Isolated/Integrated
- Thorough
- Explicit
RITEway forces you to write Readable, Isolated, and Explicit tests, because that’s the only way you can use the API. It also makes it easier to be thorough by making test assertions so simple that you’ll want to write more of them.
There are 5 questions every unit test must answer. RITEWay forces you to answer them.
- What is the unit under test (module, function, class, whatever)?
- What should it do? (Prose description)
- What was the actual output?
- What was the expected output?
- How do you reproduce the failure?
Tags: #javascript
-
quantum
Hybrid Quantum-Classical Machine Learning in TensorFlow
Quantum computing at Google has hit an exciting milestone with the achievement of Quantum Supremacy. In the wake of this demonstration, Google is now turning its attention to developing and implementing new algorithms to run on its Quantum Computer that have real world applications.
To provide users with the tools they need to program and simulate a quantum computer, Google is working on Cirq. Cirq is designed for quantum computing researchers who are interested in running and designing algorithms that leverage existing (imperfect) quantum computers.
TensorFlow Quantum provides users with the tools they need to interleave quantum algorithms and logic designed in Cirq with the powerful and performant ML tools from TensorFlow. With this connection we hope to unlock new and exciting paths for Quantum Computing research that would not have otherwise been possible.
Tags: #python
-
XmlToJson
Android Library for converting XML to JSON and JSON to XML
XML to JSON is an Android Studio Library which converts easily XML to JSON and JSON to XML.
It is fully configurable so that you can change for example attribute names.
It is easy to integrate with gradle.
Tags: #java
-
material-refresh
Google Material Design swipe(pull) to refresh by using JavaScript and CSS3.
High Performance
Mobile only
Google Material Design swipe (pull) to refresh.
It uses CSS3 and JavaScript depend on Zepto or jQuery.
Actually, it’s easy to convert the dependent js library or just use the vanilla JavaScript.
It’s high performancenot which not impact the structure of sites.
Tags: #javascript
-
resque-scheduler
A light-weight job scheduling system built on top of Resque
Resque-scheduler is an extension to Resque that adds support for queueing items in the future.
Job scheduling is supported in two different ways: Recurring (scheduled) and Delayed.
Scheduled jobs are like cron jobs, recurring on a regular basis. Delayed jobs are resque jobs that you want to run at some point in the future. The syntax is pretty explanatory:
Resque.enqueue_in(5.days, SendFollowupEmail, argument) # runs a job in 5 days, calling SendFollowupEmail.perform(argument) # or Resque.enqueue_at(5.days.from_now, SomeJob, argument) # runs a job at a specific time, calling SomeJob.perform(argument)Tags: #ruby
-
loghouse
Ready to use log management solution for Kubernetes storing data in ClickHouse and providing web UI.
- Collecting and storing logs from all Kubernetes pods efficiently:
- Fluentd processes upto 10,000 log entries per second consuming 300 MB of RAM (installed at each K8s node).
- ClickHouse makes disk space usage minimal. Examples of logs stored in our production deployments: 3.7 million entries require 1.2 GB, 300m — 13 GB, 5,35 billion — 54 GB.
- Simple query language: Easy to select entries by exact keys values or regular expressions, multiple conditions are supported with AND/OR. Learn more in query language docs.
- Selecting entries based on additional containers’ data available in Kubernetes API (pod’s and container’s names, host, namespace, labels, etc).
- Quickly & straightforward deployable to Kubernetes via Dockerfiles and Helm chart.
- Web UI made cosy and powerful:
- Papertrail-like user experience.
- Customizable time frames: from date to date / from now till given period (last hour, last day, etc) / seek to specific time and show logs around it.
- Infinite scrolling of older log entries.
- Save your queries to use in future.
- Basic permissions (limiting entries shown for users by specifying Kubernetes namespaces).
- Exporting current query’s results to CSV (more formats will be supported).
- fluentd monitoring via Prometheus with Grafana dashboards for ClickHouse and fluentd.
Tags: #ruby • kubernetes • clickhouse
- Collecting and storing logs from all Kubernetes pods efficiently:
-
rabl-rails
Rails 4.2 & 5 templating system with JSON, XML and Plist support.
rabl-railsis a ruby templating system for rendering your objects in different format (JSON, XML, PLIST).This gem aims for speed and little memory footprint while letting you build complex response with a very intuitive DSL.
rabl-railstargets Rails 4.2/5/6 application and have been testing with MRI and jRuby.Tags: #ruby • rabl-template • rails
-
resium
React components for 🌏 Cesium
If you want to contribute, see documentation.
Tags: #typescript • react • cesium
subscribe via RSS