Search Engine For Coders to Launch 149
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.
Works well already. (Score:5, Funny)
Where does it say that Google is launching it? (Score:3, Interesting)
Re:Where does it say that Google is launching it? (Score:2, Informative)
Re:Where does it say that Google is launching it? (Score:5, Insightful)
Re:Where does it say that Google is launching it? (Score:2)
Re:Where does it say that Google is launching it? (Score:2)
Re:Where does it say that Google is launching it? (Score:2)
Re:Where does it say that Google is launching it? (Score:1)
Re:Where does it say that Google is launching it? (Score:2)
Re:Where does it say that Google is launching it? (Score:2, Funny)
it must be Google
Re:Where does it say that Google is launching it? (Score:2)
Re:Where does it say that Google is launching it? (Score:1)
How many Krugles would a Google Krugle if a Google could Google Krugle?
Repeats of this joke, and more spastic jokes can be expected if Krugle becomes a hit like Google.
Re:Where does it say that Google is launching it? (Score:2)
I believe you meant to say: "How many Krugles would a Google Google if a Google could Google Krugle?"
Repeats of this nitpicking, and more annoying nitpicking can be expected if Krugle becomes a hit like Google.
koders (Score:5, Informative)
http://www.koders.com/ [koders.com]
Re:koders (Score:2)
Re:koders (Score:4, Funny)
Re:koders (Score:2)
Yup, and we at RubyForge got together with them to add some searching capabilities [rubyforge.org] for the projects in RubyForge. Pretty cool stuff.
getindi [getindi.com]!
Re:koders (Score:5, Informative)
Neither koders nor krugle cover that, plus codefetch searches the api of several languages, java, ruby, php, for example.
Re:koders (Score:1)
Nothing to do with Google (Score:1, Redundant)
Re:Nothing to do with Google (Score:2)
Already done (Score:4, Informative)
Re: Already done (not) (Score:2, Informative)
Good for Sony! (Score:4, Funny)
Regexp? (Score:2, Insightful)
Good one slashdot..... (Score:1)
You don't think our paranoia about Google taking over the world could be going a little too far??
Uh oh... (Score:3, Funny)
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..."
Community? (Score:5, Interesting)
- 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).
No AI !!! (Score:2)
Search Engine: Here are some Quick Sorts, only newbs use bubble sort!
Coder: Damn AI !!!!
Re:No AI !!! (Score:2)
*Caution: The precise number is variable depending on what is built into the language that you are using...it is predicated on the amount of set-up & tear-down used by more generally efficient methods.
Re:No AI !!! (Score:1)
Re:No AI !!! (Score:2)
Re:No AI !!! (Score:2)
The canonical example is time-stamped data coming in from a lot of sources, with the usual delays in delivery time. If you want the data sorted into strict time order, a short pipeline through a bubble sorted is quite efficient. Sometimes you may have to add a second pass later that looks fo
Re:No AI !!! (Score:2)
Re:Community? (Score:2, Insightful)
Re:Community? (Score:1)
Imagine searching for "if( x == 5 )". It would be useless to search code. Searching comments and returning code as a results would probably be better, since something like "bubble sort" would then have a chance of bringing up what you want.
Also seems like it's a program, not a website. Not sure whether that's good or bad. I could go either way, I suppose.
nothing new (Score:3, Informative)
Re:nothing new (Score:2)
Re:nothing new (Score:2)
Rock! (Score:3, Insightful)
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.
Re:Rock! (Score:1, Troll)
If this works, Google will have seriously made the lives of thousands of programmers that much easier.
Should be.
If this works, Krugle will have seriously made the lives of thousands of programmers that much easier.
Unfortunately, now that I know it's not actually Google launching this, my hopes are no longer especially high for a successful product.
Kawahee's 2 cents (Score:3, Insightful)
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.
Beware of SEO (Score:3, Insightful)
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 ?).
Re:Beware of SEO (Score:2)
Re:Beware of SEO (Score:2)
Nowadays, people tend to go to subpages from Google and read snippets instead of going through the main page the way the author intended to. Imagine people copy-pasting code without even reading the project page!
Correction (Score:1)
Costs? (Score:3, Insightful)
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).
Business model not figured out yet (Score:2)
Google doing a lot, too much? (Score:2)
Let's say I have a website that allows for searching of source code and I display google ads. Google looks at the traffic and revenue then decides to compete with me using their own service. So the question is, why do people display google ads? The money's good now but google could very well get into your business and wipe you out if it does too well and they notice.
IMO, they should either do advertising and stick with that and nothing else,
Re:Google doing a lot, too much? (Score:2)
Re:Google doing a lot, too much? (Score:1)
Re:Google doing a lot, too much? (Score:2)
Re:Google doing a lot, too much? (Score:2)
Google only makes money by advertising at the moment, and they cant hardly give it up. They certianly cannot go to all ad
Limited languages at present (Score:2)
Which is unfortunate since I need a snippet to make my fielded read loop ignore comments and I'm lazy.
Ah, well.
Re:Limited languages at present (Score:1)
Codefetch lets you know how much material it can search for a language and you can see by the single dot that it doesn't have a lot for bash but it still should have enough to help you.
Re:Limited languages at present (Score:1)
The examples it pulled up for me all used sed, though, and I've already got a somewhat lame method [slashdot.org] that doesn't require anything but bash.
I always try to minimise my use of external calls, regardless of language, in order to keep my code as portable as possible. Obviously there are limits, I use Graham Barr's LDAP perl modules rather than try to write my own LDAP routines for every perl hack I might need! But for this job I'd rather not call sed, gawk, grep, and friends unless i
Re:Limited languages at present (Score:1)
ReadFields () {
local IFS=:
Host="#"
while [ `expr substr $Host 1 1` = "#" ]
do
read Host Key Interval Excludes Keep
done
}
while ReadFields
do
(stuff gets done to each host)
done $ConfigFile
This method restricts commenting to lines with a first character of "#" and it reads a series
Oops, small code bug (Score:2, Interesting)
ReadFields () {
local IFS=:
Host="#"
while [ `expr substr $Host 1 1` = "#" ]
do
read Host Key Interval Excludes Keep || return
done
}
Still ugly and ine
Comment removed (Score:3, Funny)
err, i don't think it's from google (Score:2)
Re:err, i don't think it's from google (Score:3, Funny)
Re:err, i don't think it's from google (Score:2)
"a Google-like search engine".
Well, at least IP lawyers will be happy (Score:1)
Hopefully, chaos won't ensue.
So how long.... (Score:2, Interesting)
Jaysyn
Lawsuit! (Score:2)
Never... (Score:1)
koders.com (Score:1)
What I'd like.. Google with regex (Score:3, Insightful)
I want wildcards
Re:What I'd like.. Google with regex (Score:1)
Its not Google, but it does search a lot of good code from published books.
finally... (Score:2)
unless you count Google News, Froogle, Maps, Catalogs, and a few others... but really, who's counting!!!
Bah. (Score:3, Funny)
Filtering out buggy code (Score:5, Funny)
Re:Filtering out buggy code (Score:2)
Suggestions:
This is hilarious :) (Score:3, Insightful)
I love Slashdot
Access confidential code! (Score:3, Insightful)
For example, confidential Novell code [koders.com]. (In case that link doesn't work, search for "StopWatch" in "C#"; there are only two results.)
Will this new site perform such wonders?
What does it have over koders dot com? (Score:3, Informative)
Works well for me [koders.com]
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.
DWIM() (Score:5, Funny)
www.codefetch.com is another resource (Score:2, Informative)
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.
Re:www.codefetch.com is another resource (Score:1)
Bet on a Buyout (Score:2, Insightful)
"Borrowed" text from Google Privacy Policy (Score:1)
Krugle Privacy Page [krugle.com]
Google Privacy Page [google.com]
Can you specify License type in search? (Score:2)
I also think that licensing terms might be a useful addition to self-documenting commenting schemes such as Javadoc...
"Please retype your email" Registrations (Score:1)
$1,500,000 in funding to show ads... (Score:1, Interesting)
I have thought about this a lot because I have some detailed plans for implementing a superficially similar system. I have looked at a list of similar existing sites, like Koders, CodeFetch, jdocs, etc. I haven't looked at Krugle yet because they only grant access to people that think will help them in their extensive pre-launch publicity campaign. Krugle-related announcements, all with basically the same rehashed non-information, have appeared all over the internet (Dig
Re:$1,500,000 in funding to show ads... (Score:2)
incredibly meaningful characters in code like: # / % $ ; , & |
Now...if only more where brave like this... (Score:2)
Biggest problem today such as I see it - is the garbage you have to fight with Google. I am not a scientist per see, but an avid hobbyist that loves information, and when I do my experiments as the neighbourhood mad-wannabee-scientist, I have to sift trough gazillions of annoying websites that "wants" to be no.1 for everything.
What I want is:
- A SPAM free search engine (Spam = pr0n ads, ads, look-ma-its-me-on-the-web) etc.
- An research search engine with ONLY us
Before pubbing on Krugle (Score:1)
Or copyleft it.
But even though your right of copyright remains with the author by creation, never assume unregistered code won't be stolen by someone like Gill B at Microsnuff who believes all code is his
Let's be careful out there.
Re: (Score:2)
microsoft (Score:1)
How about this library of code snippets... (Score:1)
Google (Score:2)
First impression (Score:2)
Only one Concern (Score:1)
Horribly
Outdated
Code
"Hey look guys, Krugle says that 5.0.4 has been announced."
"...that happened 6 months ago, not to mention came out."
So what's new? (Score:1)
Re:NOT google (Score:3, Informative)
Re:NOT google (Score:2)
This'll be a good test of Google's "evilness", though.
Re:NOT google (Score:1)
Evil or not, the law requires them to defend their trademark or risk losing it.
ND
Re:NOT google (Score:2)
The law doesn't require a company to go after each and every last thing that could possibly, no matter how weird, sound slightly similar to its name.
You can't seriously believe Microsoft would lose their corporate trademark because a guy named Mike Rowe also makes software. If vague soundalikes meant you lost your trademark, every company with the name 'soft' (and there are thousands of them) would all lose their trademarks tomorrow.
Re:Google launches? (Score:1, Redundant)
According to Wired, Google is going to launch Krugle next month.
No. Wired does not say that. Krugle does not say that. I read the krugle site, I searched the krugle blog. It's just not true.
To be fair, it's clear that the poster didn't read the article either.
Re:Google launches? (Score:1)
When google started it was compared with yahoo!
If it looks like a duck (google) , quacks like a duck and walks like a duck (behaves like a search engine), then it is a duck.
Wrong....
this is not duck-typing, this is real world, where a new search engine is just a new search engine (and not a google duck)