Search Engine For Coders to Launch
karvind writes "According to Wired, 'Krugle' is set to next month. The search engine indexes programming code and documentation from open-source repositories like SourceForge, and includes corporate sites for programmers like the Sun Developer Network. The index will contain between 3 and 5 terabytes of code by the time the engine launches in March. According to article, Krugle also contains intelligence to help it parse code and to differentiate programming languages, so a PHP developer could search for a website-registration system written in PHP simply by typing 'PHP registration system.'" Update: 02/17 21:04 GMT by Z : Summary edited for accuracy.
Trolling is a art,
This sounds like a new company, not a product of Google.
There is already a pretty big repository that is easily searchable:
http://www.koders.com/
http://www.koders.com/
Never learn by your mistakes, if you do you may never dare to try again
This will make it so much easier for Sony's programmers ....
"We shall party like the Greeks of old! You know the ones I mean." - HedonismBot
Regexp searches would be great, but I imagine too much processing required? --- http://gmailskins.mozdev.org/
This is a spectacularly bad idea...
I estimate only three days before someone successfully compiles Krugle on a shiny new Mactelnix box and ushers in the Singularity overnight, and twenty years ahead of schedule.
"I'm sorry Sergey... I'm afraid I can't do that..."
Some other interesting features above and beyond simple searching could be:
- merge with semantic web work to be able to search on higher level concepts (e.g. if I type "bubble sort" it returns all bubble sorting code even if it doesn't explicitly say "bubble sort" anywhere).
- "community" features that allow developers to leave comments on code (no, not comments _in_ code, but on code, similar to epinions et al).
- if this index is available via api like the main google index, then people could do things like have automated lint type tools.
- code chain. If I search for some code, then it'd be nice to be able to then peruse that codes hierarchy within the search engine (vs having to download it or cvs over to it).
Koders does that for some times now.
No GNU has been Hurd during the making of this comment.
This could so seriously rock. Every time I need a library to do a specific function, I always have to do some searching to find all of the competing options. Invariably, at least a couple of options get missed as you sort through the excess nonsense and out of date information. (Sometimes it's the best solution that gets missed.) I can't count how many times I've wished there was a simpler way to get all the competing options.
:-)
And then there's the issue of missing modules that are referenced by other code. Usually you have to find them by trial and error. In a code search engine, (theoretically) it will simply come back with all instances of the constant I put in. Which means that I can locate the missing module faster than ever before!
If this works, Google will have seriously made the lives of thousands of programmers that much easier.
Javascript + Nintendo DSi = DSiCade
First off, it's not Google.
Secondly, I believe "PHP registration system", or the example given in the summary is a sufficient enough query for Google to return something relevant anyway.
I'll subscribe to Slashdot when I see a month without a dupe, a typo, or an article the "editors" didn't read.
Does this mean that in a few years we'll get the equivalent of SEO, search engine spamming in every program we can compile ? I don't want to see that.
Nowadays, websites are made for Google.. Their existence is justified by their PageRank.
I don't want SourceForge et al. to die the same death as Yahoo's old categories (did you notice that they completely disappeared ?).
Any idea on what this service will cost? I couldn't find it on the website.
Also, they really need the ability to search based on license. If I'm working on a GPL project, using it and finding Apache licensed code is only of minimum help. (I can base work off of it, but I can't just use it).
I still have more fans than freaks. WTF is wrong with you people?
They're also planning on releasing "kringle", a search engine for presents, but they're currently in litigation with a "Dr. Claus".
...till Microsoft, SAP, SCO (remember them?) etc start polluting this repository with proprietary code?
Jaysyn
There is a war going on for your mind.
What I've always wanted is to use Google properly, with full regex functionality, see Perl. Currently Google gives you ten terms (I call them words), allowing you to quote some, and use a single-level of AND and OR. And excludes, but these eat away at the ten word limit speedily.
.* and to be able to escape punctuation! It may look like a cartoon character swearing, but for those that can, it would give us way more power.
I want wildcards
When people use brand names to generically identify something, I find it more annoying than Scotch Tape in a Xerox machine. I get an Excedrin headache no Band-Aid can fix, and have to work off my stress by playing Nintendo.
Slashdot Burying Stories About Slashdot Media Owned
What I really want is a code engine that let's me type: "the misguided and hopeless project I'm working on" in the search box and then delivers the finished executable and documentation so I can email it to my boss and go home early.
Hexy - a strategy game for iPhone/iPod Touch
I hope you can add -buggy to your query to filter out all the buggy code.
org.slashdot.post.SignatureNotFoundException: ewg
This story never would've made it if it wasn't submitted as "Google launches"... now we're left with a slashvertisment for a rather ugly site desperately trying to be Web2.0-looking and that "is set to next month", a whole bunch of posts pointing out that it has nothing to do with Google that are unfortunately now getting modded off-topic, another bunch of posts linking to koders.com, and nothing of substance to talk about.
:) /take notes for when I'll need to generate "buzz" for a product launch
I love Slashdot
ClutterMe.com - easiest site creation on the Net. Just click and type.
For example, confidential Novell code. (In case that link doesn't work, search for "StopWatch" in "C#"; there are only two results.)
Will this new site perform such wonders?
Works well for me
A wider breadth of supported languages would be nice however.
That said if Krugle doesn't have the ability to filter on a per license basis, it will not be practical (or safe) for many.
Now I'll finally be able to find that Do What I Mean function I've been searching for.
http://www.codefetch.com/ is a search engine that searches a very useful collection of code: the source code from programming books.
Neither koders nor krugle cover that, plus codefetch searches the APIs of several languages, java, ruby, php, for example.
Finally, unlike koders, codefetch lets you do a true full-text search, just like in a text editor-- go ahead, search for "+=" and you can even use a few regular expressions.
It might not be BY google as a bunch of people have already repeated corrected, but this seems like a very logical company google would buy.
OK, that code exits dirty at EOF. Needs a small modification to pass exit status of read back through function return to main while loop:
ReadFields () {
local IFS=:
Host="#"
while [ `expr substr $Host 1 1` = "#" ]
do
read Host Key Interval Excludes Keep || return
done
}
Still ugly and inelegant, in my opinion, but at least it seems to work... and it has an explicit EOF return now, which is probably a good thing.
I was invited to see a live prelaunch demo of Krugle, which is named for Ken Krugler (co-founder and CTO). This site goes way beyond what is available in koders.com, since it pulls up tutorials, documentation, developer sites, and other relevant developer-related information. Thus, a search for PHP will give you php.net, but also lots of PHP-related sites, such as O'Reilly's OnLAMP, etc. They are planning to go live on March 8th, so you can check it out then. I was impressed.