It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
can tell me what programming language to use to search for the one billion text documents.
txt file size is 3 kilobytes.What about C++/Java?The search will be carried out only by the names of txt files.
Thank you all for your answers, I decided to use C + +
A specific language probably isn't the right criterion to use here.
There are many search tools that do wonderful jobs of searching large datasets, which can be utilised by many different programming languages.
Sphinx is one example, which is a search server. You can utilize its indexes in a variety of languages, such as Ruby with ThinkingSphinx. Lucene from Apache is another search technology which lends itself to applications written in Java (however there are .NET and Ruby ports of it).
Assuming you mean searching for a single document out of a billion, you could use nearly every programming language available. Easy choices might be python and java. A more accessible way to do it might just be to use a shell to search, and run a bash command like sudo find / -name "filename".
Related
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
As the question suggests I would like to know what all the differences in the way unix systems and windows systems see and format paths. I write a lot of code that needs to run on both platforms and problems with paths crop up often. Just out of interest I am also planning on writing my own converter.
I realize this question: Difference between windows and unix paths exists but its been solved and the focus was solving the dudes actual problem.
This wiki link will help you figure out the differences: https://en.wikipedia.org/wiki/PATH_(variable)
In short the Paths on both Unix and Windows are used for locating executables with two notable difference among these two:
Superuser on Unix systems don't add current directory as a rule, this is as mentioned to stop accidental execution of commands from current directory.
On Windows some graphical programs don't show up on command line as they are supposed to be run from a GUI.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I need to test a software stability for one month under linux. Obviously, one month is too long . I am wondering, is there a tool that can accelerate this process, like if using this tool for 30 hours just like running this machine for one month (30 days)? Please be notice this tool should support linux. Thanks any reply in advance.
Li
The way to do this kind of testing is to estimate the workload, and to increase it.
Eg, heat and cool the system in extreme conditions, perhaps use a wind tunnel, or a heat source, whatever is needed to simulate "one month" of use.
On a more serious note, what kind of load are you expecting? Eg, will you have a person sit and use the program each day, and therefore need to worry about changing dates while the application is still in use?
Or will you expect 50,000 customers over the span of one month?
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I am implementing a virtual file system. As part of it, i am trying to add the content based search feature to it.
Basically content based search feature allows user to search for a "word" and the system returns all the file names which contain the "word" in their content.
In my view trie would serve my purpose. But it is not space efficient and while constructing it, it seems i need to populate wit with all the words from the entire content.
Please suggest me with a better get around solution.
Patricia tries could be a little more space efficient than the normal tries. Check if they might serve your purpose although I am not very sure.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 12 years ago.
Assuming you have basic to intermediate knowledge of a particular language, how can you become an expert in that language in a short amount of time?
Refer to this 21 Days by Peter Norvig
Pull all your information sources together - such as:
The official language documentation,
Best practice books,
Google around for tutorial sites,
Get used to searching and finding what you need quickly
The obvious reply would be: Practice makes perfect.
Try to work with the language on daily basis and push yourself out of your comfort zone in using it. Joining a user group is also a good option.
But at the end of the day, I must agree with Rozuur and concede that becoming an expert in something usually requires experience and experience requires time.
I think,
Passion: to explore and learn, and then
Dedication: to learn different aspects of that programming language, finally,
Patience: to design a project and apply all that one has learned into it.
Note:The programming languages these days have grown too big to implement above strategy.
However, I would still believe that passion is the key to all learning!
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 12 years ago.
In this programming world of ours we see C sharp and Java on the top. But these have rich library of thousand classes and function which become more richer with their new editions. Can we have a programming language which can give us more creativity and innovation inspite of this ever increasing library based languages ?
There are plenty of such languages: Ruby, Python, JavaScript, Erlang and plenty of others. You just need to stop trolling and do your homework.
Assembly. Can't get much more free then that.
In fact any decent library or framework is a language itself. A domain specific language. Of course you could have all the same functionality in form of a variety of "proper" DSLs, but it won't be that much different from the current state.