Comments (5)
Interesting... Since we are already running experiments with the old hash function, I'd like to see what we can do to make the existing method work for JS and Lua. I don't know much about Lua, but in JS, shouldn't it be simple enough to just use the 'long' npm module? Are you planning on porting PlanOut to JavaScript or Lua?
from planout.
Also, + @akalicki , who might have ported some of PlanOut to JS already... :)
from planout.
Yeah -- I'm specifically looking at in-browser client side applications, which are sadly limited to no node modules, and where it would be great to minimize dependencies as strictly as possible.
from planout.
Not sure what the problem with using npm in a client-side apps is -- the only (public) javascript app I wrote, the PlanOut editor, uses of npm to build the dependencies (see https://github.com/facebook/planout/tree/master/planout-editor). Also, long is only one javascript file that is 8k when minified, https://github.com/dcodeIO/Long.js, so it seems reasonable to use it even if you are not using npm to compile your package. Also, of you do end up porting PlanOut to JS, I'd be happy to provide feedback and review intermediate versions.
from planout.
I'm closing out this task because it's very straightforward to implement the hashing procedure in JS using the 'long' module (in conjunction with the 'sha1' module). IMO, the most straightforward way to port PlanOut to JS is to to use long, sha1, and an ES6 transpiler, running on npm. Feel free to open up another task if you decide to run with the port and could use some feedback.
from planout.
Related Issues (20)
- Alpha ruby implementation HOT 4
- Inconsistencies for dictionaries
- Pausing an experiment HOT 1
- Log analysis
- Logging solutions for larger experiments?
- If PlanOut is deterministic, why I see different result from the tech talk video
- Namspaces
- error on running node planout.js with demo .planout file.
- Extending the Interpreter to Use Sqrt and Exp Operator. HOT 1
- Python 3.6 support HOT 1
- Update link to Golang interpreter under alpha submodule HOT 3
- Link to typescript version
- Add Swift implementation to alpha.
- There is a vulnerability in Flask 0.10.0 ,upgrade recommended
- There is a vulnerability in Werkzeug 0.9.6,upgrade recommended
- Issue with Webpack v5 HOT 1
- Code mentioned in installation instruction is of older Python version.
- Experiment Ramp Up
- Running experiments with different units of analysis in a common namespace. HOT 1
- Ruby implementation maintenance
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from planout.