Coder Social home page Coder Social logo

Comments (5)

wouterbeek avatar wouterbeek commented on May 22, 2024 1

Is -v / --verbose not a more standard way of implementing this functionality?

from hdt-cpp.

mielvds avatar mielvds commented on May 22, 2024

now that we are on the subject, maybe the default should be this: http://www.ross.click/2011/02/creating-a-progress-bar-in-c-or-any-other-console-app/

from hdt-cpp.

LaurensRietveld avatar LaurensRietveld commented on May 22, 2024

Was thinking about that as well. Verbose would imply this being a larger task though (there are many many maaaany other statements that we'd need to hide/show depending on this flag).
Other than that, the user is not necessarily interested in both the debug msgs and the progress bar. If you look at rsync, that seems to have boththe --progress flag, and the -v flags.

w.r.t. the progress bar itself: yes, that's a very nice way of visualizing it. It shouldnt be that much work (given the implementation of the progressbar in HDT is well thought out). But guess something like that is better suited as a different issue for now.

from hdt-cpp.

drobilla avatar drobilla commented on May 22, 2024

I went with both in #79. The verbose implementation is shallow, but at least silences the output in typical runs of rdf2hdt and hdt2rdf. Doing this throughout the library would require real logging work and passing handles around and so on.

from hdt-cpp.

RubenVerborgh avatar RubenVerborgh commented on May 22, 2024

Following up in #79.

from hdt-cpp.

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.