Comments (5)
Is -v
/ --verbose
not a more standard way of implementing this functionality?
from hdt-cpp.
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.
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.
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.
Following up in #79.
from hdt-cpp.
Related Issues (20)
- Unused TABLESUM and coversizes in suffixtree
- Removed unneeded exception in BasicHDT
- Consolidate rdf2hdt Windows-specific implementation and base implementation
- Replace use of deprecated ftime() HOT 2
- Resolve "delete called on non-final" warnings.
- Test dumpDictionary not being called with an input HDT file
- Test case "properties" fails HOT 1
- Code formatting / beautifier needed. HOT 1
- Evaluate Parallel Hashmap for potential performance benefits HOT 2
- Add option to ignore error instead of throwing error HOT 5
- `make install` does not install triples/ directory -- hdt-it still active? HOT 1
- clang-format of libdcs [sic]
- hdt::QueryProcessor.searchJoin() gives incorrect results HOT 6
- Compile error on macOS with "make -j2" command HOT 2
- rdf2hdt stops without error message HOT 3
- Add encryption-at-rest to libraries HOT 1
- rdf2hdt produces invalid UTF8 values? HOT 1
- undefined reference to `hdt::HDTManager::mapHDT(char const*, hdt::ProgressListener*)'
- support for quads/named graphs HOT 3
- Memcpy to nullptr in CSD_HTFC::CSD_HTFC()
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hdt-cpp.