ternary-stream - A ternary stream: conditionally control the flow of stream data

  •        3

A ternary stream: conditionally control the flow of stream data

https://github.com/robrich/ternary-stream

Dependencies:

duplexify : ^3.5.0
fork-stream : ^0.0.4
merge-stream : ^1.0.0
through2 : ^2.0.1

Tags
Implementation
License
Platform

   




Related Projects

gulp-if - Conditionally run a task

  •    Javascript

A ternary gulp plugin: conditionally control the flow of vinyl objects. Note: Badly behaved plugins can often get worse when used with gulp-if. Typically the fix is not in gulp-if.

Pyramid

  •    DotNet

Pyramid is a software simulation (at the electronics level) of a computer system based on balanced ternary and trivalent logic. It's developed in c# for .NET 3.5.

tunguska

  •    C++

Tunguska is a ternary computer emulator. The goal is to provide a relatively easy-to-use platform, reminiscent of an early PC, for people who want to experience and experiment with ternary computing hands-on.

Ternary Search Trees

  •    

Ternary search tree stores keys in sorted order, which can be used as a symbol table. Searching operation is lightning fast, it is reported comparable with hashing table in most cases, and substantially faster than hashing for unsuccessful searches.

JaSpell - Java spelling checking package

  •    Java

JaSpell is a Java spelling checking package. It is of particular interest for developers, since it provides a set of APIs (Application Programming Interfaces) that allow one to add spelling checking to any Java Application easily. JaSpell is implemented with basis on the ternary search tree.


PJTernarySearchTree - Objective-C implementation of Ternary Search Tree for Mac OS X and iOS

  •    Objective-C

PJTernarySearchTree is an Objective-C implementation of Ternary Search Tree for Mac OS X and iOS. It was designed to be a data structure/tool for text autocompletion, however, you may use it as a simple in-memory database because it supports any objects(see the protocol). For iOS developers, PJTernarySearchTree is a great data source for HTAutocompleteTextField.

maybe - Maybe is a type that wraps optional values

  •    Javascript

Maybe is a type that wraps optional values. It can either be a Just (has some value) or a Nothing (has no value). In JavaScript, it is a better way of handling null and undefined. Instead of writing an if statement, ternary expression, or && shorthand to check if a value is present you can just map over it instead and assign the result of this expression or return it. You can also chain operations together, often leading to much cleaner code.

Stream-Framework - Stream Framework is a Python library, which allows you to build news feed, activity streams and notification systems using Cassandra and/or Redis

  •    Python

Stream Framework is a python library which allows you to build activity streams & newsfeeds using Cassandra and/or Redis. If you're not using python have a look at Stream, which supports Node, Ruby, PHP, Python, Go, Scala, Java and REST. Stream Framework's authors also offer a web service for building scalable newsfeeds & activity streams at Stream. It allows you to create your feeds by talking to a beautiful and easy to use REST API. There are clients available for Node, Ruby, PHP, Python, Go, Scala and Java. The Get Started page explains the API & concept in a few clicks. It's a lot easier to use, free up to 3 million feed updates and saves you the hassle of maintaining Cassandra, Redis, Faye, RabbitMQ and Celery workers.

concat-stream - writable stream that concatenates strings or data and calls a callback with the result

  •    Javascript

Writable stream that concatenates all the data from a stream and calls a callback with the result. Use this when you want to collect all the data from a stream into a single buffer.Streams emit many buffers. If you want to collect all of the buffers, and when the stream ends concatenate all of the buffers together and receive a single buffer then this is the module for you.

socket.io-stream - Stream for Socket.IO

  •    Javascript

This is the module for bidirectional binary data transfer with Stream API through Socket.IO. If you are not familiar with Stream API, be sure to check out the docs. I also recommend checking out the awesome Stream Handbook.

torrent-stream - The low level streaming torrent engine that peerflix uses

  •    Javascript

torrent-stream is a node module that allows you to access files inside a torrent as node streams.Per default no files are downloaded unless you create a stream to them. If you want to fetch a file without creating a stream you should use the file.select and file.deselect methods.

filed - Simplified file library.

  •    Javascript

Filed does a lazy stat call so you can actually open a file and begin writing to it and if the file isn't there it will just be created. The returned file object is a stream so you can do standard stream stuff to it. Based on what you do the object it will be a read stream, a write stream.

automi - A stream API for Go (alpha)

  •    Go

Automi abstracts away (not too far away) the gnarly details of using Go channels to create pipelined and staged processes. It exposes higher-level API to compose and integrate stream of data over Go channels for processing. This is still alpha work. The API is still evolving and changing rapidly with each commit (beware). Nevertheless, the core concepts are have been bolted onto the API. The following example shows how Automi could be used to compose a multi-stage pipeline to process stream of data from a csv file. The code implements stream processing based on the pipeline patterns. What is clearly absent, however, is the low level channel communication code to coordinate and synchronize goroutines. The programmer is provided a clean surface to express business code without the noisy channel infrastructure code. Underneath the cover however, Automi is using patterns similar to the pipeline patterns to create safe and concurrent structures to execute the processing of the data stream.

stream2es - Stream data into ES (Wikipedia, Twitter, stdin, or other ESes)

  •    Clojure

Standalone utility to stream different inputs into Elasticsearch.If you've just wandered here, first check out Logstash. It's a much more general tool, and one of our featured products. If for some reason it doesn't do something that's important to you, create an issue there. stream2es is a dev tool that originated before the author knew much about Logstash. That said, there are some important differences that are specific to Elasticsearch. stream2es supports bulks by byte-length (--bulk-bytes) instead of doc count, which is crucial with docs of varying size. It also supports exporting raw bulks via --tee-bulk to a hashed dir on the filesystem, and you can make the incoming stream finite with --max-docs.

simple-peer - 📡 Simple WebRTC video/voice and data channels

  •    Javascript

This module works in the browser with browserify.Note: If you're NOT using browserify, then use the included standalone file simplepeer.min.js. This exports a SimplePeer constructor on window.

casync - Content-Addressable Data Synchronization Tool

  •    C

Encoding: Let's take a large linear data stream, split it into variable-sized chunks (the size of each being a function of the chunk's contents), and store these chunks in individual, compressed files in some directory, each file named after a strong hash value of its contents, so that the hash value may be used to as key for retrieving the full chunk data. Let's call this directory a "chunk store". At the same time, generate a "chunk index" file that lists these chunk hash values plus their respective chunk sizes in a simple linear array. The chunking algorithm is supposed to create variable, but similarly sized chunks from the data stream, and do so in a way that the same data results in the same chunks even if placed at varying offsets. For more information see this blog story. Decoding: Let's take the chunk index file, and reassemble the large linear data stream by concatenating the uncompressed chunks retrieved from the chunk store, keyed by the listed chunk hash values.

Endoscope - Endoscope lets you to stream live video between android devices over Wi-Fi! 📱📲

  •    Java

Endoscope allows you to fast link two android devices and stream live video from camera one device to another. Video stream is over Wi-Fi. One device hosts live stream and another connect to it. To use Endscope the devices must be connect to the same wi-fi network. QR CODE - scan qr code to get ip address.

RxJava2Debug - RxJava 2.x extension to provide meaningful Stack Traces

  •    Java

A library to make StackTraces involving RxJava2 more meaningful (they will always point to your code!). If you use RxJava2, you know the pain of debugging exceptions generated somwhere across the stream, in another thread, in a nested stream, ... The StackTrace provided by RxJava2 will tell you almost nothing. Even more, if you are using systems like Crashlytics to collect reports for and Android app, most RxJava-related crashes will be reported as a single error instance (omg, no way to fix that).

stream-handbook - how to write node programs with streams

  •    Javascript

Now you will have a stream-handbook command that will open this readme file in your $PAGER. Otherwise, you may continue reading this document as you are presently doing.Streams come to us from the earliest days of unix and have proven themselves over the decades as a dependable way to compose large systems out of small components that do one thing well. In unix, streams are implemented by the shell with | pipes. In node, the built-in stream module is used by the core libraries and can also be used by user-space modules. Similar to unix, the node stream module's primary composition operator is called .pipe() and you get a backpressure mechanism for free to throttle writes for slow consumers.

stream-django - Django Client - Build Activity Feeds & Streams with GetStream.io

  •    Python

stream-django is a Django client for Stream, it supports Django from 1.5 up to and including 1.11 and Python 2.7 and 3.4+.You can sign up for a Stream account at https://getstream.io/get_started.