nomnoml
Wonderful online text to UML editor, also available as javascript library
Tag: javascript
XGBoost-Node is the first port of XGBoost to run existing XGBoost model with Node.js.
XGBoost is a library from DMLC. It is designed and optimized for boosted trees. The underlying algorithm of XGBoost is an extension of the classic gbm algorithm. With multi-threads and regularization, XGBoost is able to utilize more computational power and get a more accurate prediction.
Use full GM set of musical instruments to play MIDI and single sounds or effects. Support for reverberation and equaliser. No plugins, no Flash. Pure HTML5 implementation compatible with desktop and mobile browser.
mljs/random-forest: Random forest for classification and regression.
Random forest for classification and regression.
Parenscript is a translator from an extended subset of Common Lisp to JavaScript. Parenscript code can run almost identically on both the browser (as JavaScript) and server (as Common Lisp).
Parenscript code is treated the same way as Common Lisp code, making the full power of Lisp macros available for JavaScript. This provides a web development environment that is unmatched in its ability to reduce code duplication and provide advanced metaprogramming facilities to web developers.
GitHub – FormidableLabs/react-music: Make beats with React!
Make beats with React!
Music composing the react way 🙂
a strict superset of JSON, relaxing strictness of valilla JSON. Valid, vanilla JSON will not be changed by RJSON.transform. But there are few additional features helping writing JSON by hand.
Comments are stripped : // foo and /* bar */ →      . Comments are converted into whitespace, so your formatting is preserved.
Trailing comma is allowed : [1, 2, 3, ] → [1, 2, 3]. Works also in objects { “foo”: “bar”, } → { “foo”: “bar” }.
Identifiers are transformed into strings : { foo: bar } → { “foo”: “bar” }.
Single quoted strings are allowed : ‘say “Hello”‘ → “say “Hello””.
More different characters is supported in identifiers: foo-bar → “foo-bar”.
cranium for Node.js – Pincer.io
The amount of data you need to build a good classifier increases with the number of features you have, so out of memory errors become a problem when dealing with thousands of features. For example, Weka fails to perform logistic regression with more than a couple thousand features on a 5mb dataset. Cranium never assumes that your instances can fit in memory, so you can use it on terabytes of data.
Cranium works with node streams, so you have a lot of flexibility with your input. Using streams sacrifies speed for memory efficiency — Cranium uses a constant amount of memory that is typically below 100mb. The speed penalty is significant: Cranium runs about 500x slower than LearnKit. If your dataset can fit in memory, Cranium is probably not right for you.
Algebrite is a library for symbolic mathematics keeping the code as simple as possible in order to be comprehensible and easily extensible.
Deep learning library for node.js. (Includes Logistic-Regression, MLP, RBM, DBN, CRBM, CDBN)
REINFORCEjs: Gridworld with Dynamic Programming
REINFORCEjs is a Reinforcement Learning library that implements several common RL algorithms supported with fun web demos, and is currently maintained by @karpathy.
A flexible scheduler for tasks, work items, reservations, meetings, etc.
The easiest way to schedule work items with complex dependencies across developers that all have different work schedules. Or reserve elevators in an apartment building. Or schedule the company ping pong tournament. Works in Node and in the browser.
GitHub – mdaines/viz.js: A hack to put Graphviz on the web.
This project is a Makefile for building Graphviz with Emscripten and a simple wrapper for using it in the browser
Passwordless – A node.js/express module for token-based logins
Passwords are broken. Passwordless is an open source framework for token-based one-time password (OTPW) authentication, which is faster to deploy, better for your users, and more secure.
I was getting lots of errors in my Express-based REST API due to invalid Json payloads being posted to my endpoint.
Express just throws an exception, but it doesn’t give you the raw payload to see what is causing the error.
I dug into the source code of the body parser and it revealed this simple trick to get the raw payload in req.rawBody:
app.use(express.bodyParser({
verify: function(req, res, buf, encoding) {
req.rawBody = buf.toString(encoding);
}
}));
JsonSchema.net is a tool that automatically generates JSON schema from JSON according to the IETF JSON Schema Internet Draft Version 4.
How to split a Swagger spec into smaller files
Actually a general way to use YAML configs with $ref references to external files in nodejs
A high performance, highly available and scalable, message bus and queueing system for node.js. Message queues are backed by Redis, a high performance, in-memory key/value store.
adding multi language support to a node + express project
Rate-limit any operation, backed by Redis