Code Monkey home page Code Monkey logo

com.hypirion.io's People

Contributors

edwardbetts avatar hypirion avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

com.hypirion.io's Issues

Tests

Well, we don't love it, but certainly, having something that can prove that the race conditions doesn't appear would be nice.

IO should ship a copy of the EPL license in LICENSE

One requirement for licensing code under the EPL is that "a copy of this Agreement [the EPL] must be included with each copy of the Program." [0]. Unfortunately io does not comply with this requirement even though its project.clj claims that it is licensed under the EPL.

Additionally it would be nice if every source file could mention its license explicitly. That is it should include a statement of copyright and, for the EPL, a header such as:

THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC
LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM
CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.

Please fix this issue and release a new version of io as it is not legally distributable in its current form.

[0] http://www.eclipse.org/legal/epl-v10.html โ†’ 3. REQUIREMENTS

Add buffer for RevivableInputStream

RevivableInputStream is currently reading a single byte per read. Having the possibility for a buffer in this class should speed up reading lots of data.

Add pipes to the library

Pipes are a convenient way to handle data transfer from an InputStream to an OutputStream, and should be added in to the library. While large libraries like Apache Commons has some features like this, using a full-blown library full of convenience functions for just one method seems unnecessary. In addition, some features such as pausing, stopping and resuming such pipes aren't currently available there.

Add prefix-output stream + writer

There are many cases where you would love to wrap an output stream or writer, but want to tag each line in the output with some specific prefix. It seems easy at first, but many subtleties pop up: You have to take carriage-return into consideration, handle different system newlines, figure out what do to when .close or .flush is called, and so forth.

ClosingPipe should be baked into Pipe

There's no need to not have an option to the original Pipe class. Granted, a setClosing should only be invoked once (somehow), and that before starting the pipe. Such design issues should be considered before we start hacking on it.

Add some replacement for System.console()

Currently, System.console() relies on a self-designed reader which cannot be changed at all. Having the possibility the replace it at runtime would be nice, esp. if you replace System.in with a revivable input stream.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.