Re:Crokage: A New Way to Search Stack Overflow
by w-m on Wednesday August 14, 2019 @03:17PM
(#20698944)
It's hard competing with Google, the Crokerage answers to the example they use ("how to remove an element from an array" in Java) gives me
ArrayList<char> charList = new ArrayList<char>(0);
for (int i= 0; i < b.length; i++) {
if (b[i] == condition) {
charList.Add(b[i]);
}
}
charList.toArray();
in Crokerage and array = ArrayUtils.removeElement(array, element)
in Google/Stacksnippet.It'll be interesting to see how long it takes that Google have a way of determining the confidence in the answers and have some algorithm that is able to reliably give a code answer. I'm sure they'll immediately put this in their snippet then, removing the need to click the StackOverflow links any more.
Re:Crokage: A New Way to Search Stack Overflow
by marcmaia on Wednesday August 14, 2019 @02:28PM
(#20698489)
That is a great point to score the confidence the search mechanism has in the answers, either because it couldn't match the query adequately, or because the answers don't have high standard quality. If the confidence is not high, we could at least warn about that, or maybe help the user enhance the query.
I wonder if there is a way to have a confidence in the answers and to redirect you to the good old fashioned Google if there doesn't appear to be relevant info. I also understand this is among the most challenging problems facing Computer Science today.