Comments (3)
I'm not sure if modifying language is the way to go.
Why isn't a stderr debug print good enough?
from ursadb.
Two reasons:
-
Adding an ad-hoc debug print every time and removing it before the commit sounds tedious. That's pretty common (for me) when writing a new commands.
-
While parsing is pretty low level (I've chosen it, because it's the easiest debug command I could think of), I have more use cases for this. For example
debug querygraph [query]
which will return a query graph produced from the input. In the future maybe evendebug queryplan [query]
. -
Of course these can all be solved with enough debug prints, but if we continue making new releases and changing the parsers, we may need to debug a compiled ursadb instance, and understanding the querygraph used may be a blessing.
What do you think? 🤔
from ursadb.
Since @chivay 's not a fan of this change, I don't have a lot of spare time to work on this, and it really is not overly important, we can probably scrap this issue. I don't forsee adding a lot of new commands in the coming months anyway (I expect working on querygraphs, but I can begrudgingly accept debug prints for this).
from ursadb.
Related Issues (20)
- [META] Release v1.5: Watch Your Language
- Investigate github pages build fails HOT 1
- Update contact information in readme HOT 1
- Computer resources consuming HOT 1
- Outdated Dockerbuild HOT 1
- Improve startup error messages for corrupted state
- Investigate random test failure HOT 1
- Improve the command line interface - parameters
- Bump the Catch version HOT 1
- [META] Ursadb performance improvements HOT 1
- Add a performance counter for unique ngram reads
- Panic when a query is attempted on dataset removed from disk
- Consider (optionally?) compacting in the background
- Implement (optional?) query timeouts
- Implement a GC for iterators
- Automate releases
- Improve query performance during indexing HOT 2
- Add information about locks to the API
- Question/bug(?): multithreading in indexing operation HOT 2
- Remove files without rebuilding datasets HOT 4
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 ursadb.