monnoroch / golfstream Goto Github PK
View Code? Open in Web Editor NEWA library, written in Go, for manipulating streams of data
License: MIT License
A library, written in Go, for manipulating streams of data
License: MIT License
Structure errors.Ex contains an error and a stack trace, but when created with errors.AsEx(err) the stack trace has an additional last line inside AsEx() which should be cut off.
Now you can only print list of event's fields and can't print whole events.
Right now sprintf is good enough, but it prints in Go internal format. Would be better to create a separate to_json function to act like sprintf but dump to json.
In addition to http remote implementations we need jsonrpc (+ws as in http).
Basically, the idea is to add new streams.Run(map[string]stream.Stream, ...). Then you can provide multiple inputs and name them. This function will then just create the same initial context as the current one like this: https://github.com/Monnoroch/golfstream/blob/master/stream/build.go#L14, but with multiple entries and custom names.
https://github.com/Monnoroch/golfstream/blob/master/service.go#L116.
If a stream is 1:N, then we have to call it N times here, is a stream is N:1 like RollingMaxBy, then we loop infinitely in it's Next() since self.val.evt is always the same forever in that loop.
Some streams.Stream instances may break if an error occure. They return an error and after that calling Next() method is unsafe. This should be fixed: a stream that returned an error needs to ignore the problem internally and maintein consistent state, so that it's safe to call Next() again until EOI.
Would be very helpful to just write:
{"save": ["tmp", {"lua": [{"load": "events"}, "function(evt) return evt, nil end"]}]}
With any code in lua.
ACHTUNG: need to disable filesystem and shell access.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.