Code Monkey home page Code Monkey logo

Comments (4)

Hasimir avatar Hasimir commented on July 21, 2024

I'd need to double-check the spec, but I'm pretty sure UCI only deals with STDIN and STDOUT, not STDERR (possibly short-sighted, but not likely to be changed). In which case it may be necessary for errors to go to stdout as a result.

from tb.

rpdelaney avatar rpdelaney commented on July 21, 2024

That's a bummer. There are some possible hacks to work-around both standards, such as reading environment variables or parameters that instruct the script to implement non-standard behavior (in either direction). For example TB_USE_STDERR if non-zero would print errors to STDERR only, and TB_USE_ALL if non-zero would print errors to both STDOUT and STDERR. Default behaviors (if neither is set) would be to print all output to STDOUT.

But would it be necessary for the tb generation scripts to follow the UCI protocols in their output? I would think that would not be a concern in any way, unless there are GUI applications that invoke them to generate tablebases expecting a UCI interface...?

from tb.

Hasimir avatar Hasimir commented on July 21, 2024

One of the reasons UCI has gained popularity in recent years is that it is a very simple and easy to understand interface. It's just text input and output which is, more or less, in plain English. It's not a massive protocol either , you should be able to read through the whole thing in under an hour.

from tb.

syzygy1 avatar syzygy1 commented on July 21, 2024

Fixed.

from tb.

Related Issues (20)

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.