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.
Shouldn't that be kroogle?
This is not done by Google.
Read the article!
That is amazing new technology. If I type in a keyword that is a programming language, results are returned that are relevant to that search term? I wish if you typed in php into google, that it returned php related items but I guess I have to wait for this. Thanks for the explanation.
There is already a pretty big repository that is easily searchable:
http://www.koders.com/
This site has nothing to do with google...rfta folks.
Krugle is a sound-alike/llok-alike startup business with no apparent relationship with google.
- Despite popular opinion, I am not perfect.
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
Documentation would be more useful to me. If it only contains source code... well I can see lots of people using it for homework and copying and pasting. That or people who like to rip components from other applications for their app.
Regexp searches would be great, but I imagine too much processing required? --- http://gmailskins.mozdev.org/
You don't think our paranoia about Google taking over the world could be going a little too far??
Go ahead corporations....infect your code with the GPL....then it will be MINE. I mean Free!!!1one!!
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 ?).
The article did not mention that Google was launching this search engine. And looking at Krugle's website, it looks suspiciously spam-a-licious.
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?
So they get into another niche. This is troubling, let me explain.
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, or get into providing content while not having an affilaite network. Only fools advertise with google IMO. The money might be good now but be wary if you do too well.
2 years and no mod points. Join reddit. Because openness is good.
There's no "bash" or "bourne shell" listed in the drop-down box.
Which is unfortunate since I need a snippet to make my fielded read loop ignore comments and I'm lazy.
Ah, well.
They're also planning on releasing "kringle", a search engine for presents, but they're currently in litigation with a "Dr. Claus".
Don't use it! Its sponsored by SCO. An insider at Krugle leaked that SCO was sponsoring it to get people to post their software so SCO could find more copyright violations. Everyone knows that the Linux kernel contains lots of SCO code and this will help them find even more. SCO has an extensive library of tools to look for copyright violations (most of them run on Microsoft). They got them from their MIT consultant in 2003.
The Wired article title "Here Comes a Google for Coders" maybe caused the confusion. I guess the use of "a google" to mean "a search engine" was maybe a confusing choice.
Google, has NOTHING to do with this, the glorious editors of SLASHDOT had the article description wrong. As noted in the summary, this has now been corrected.
I imagine proprietary coders using this and IP lawyers doing research on this.
Hopefully, chaos won't ensue.
Except for ending slavery, the Nazis, communism, & securing American independence, war has never solved anything.
...till Microsoft, SAP, SCO (remember them?) etc start polluting this repository with proprietary code?
Jaysyn
There is a war going on for your mind.
Since it isn't at all Google, how soon until the real Google sues its soundalike search engine Krugle for infringement?
Slashdot Burying Stories About Slashdot Media Owned
Offtopic?? Did you even read the post, let alone the article?
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.
It would be great if they had a Top Ten to see which company is using it most. You know by IP. Just for Fun. Really.
Do you know koders.com ? It's a cool code search engine !
Bonjour !
InfoWorld had coverage of this a few days ago. The company and product were unveiled at the recent DEMO conference, which is a show where start-ups get to pitch their idea in front of a bunch of investors and venture capitalists. They envision two potential models: using advertising to sponsor the site, and also potentially selling their software to companies that do a lot of in-house development for use behind their own firewalls.
Breakfast served all day!
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
At last, a google repository that won't be dominated by porn and blog results*...
unless you count Google News, Froogle, Maps, Catalogs, and a few others... but really, who's counting!!!
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
Coder: Enter search string: bubble sort
Search Engine: Here are some Quick Sorts, only newbs use bubble sort!
Coder: Damn AI !!!!
I only look human.
My mother is a halfling and my dad is an ogre, so that makes me an Ogreling
Considering that this deals mostly with code from open-source hackers, it would more aptly be named KLUDGEL (or, I guess, KLUGEL, depending on the generation of hacker).
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.
Yeah, I'm having a deja vu with Mike Rowe, here.
This'll be a good test of Google's "evilness", though.
Endless arguments over trivial contradictions in books written by ignorant savages to explain thunder in the dark.
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?
Every time a new search engine appears automatically it compared with the best-there-is.
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)
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.
This page is not related to google as far as I can tell. Did a whois search and it doesn't even use google's name servers, not to mention different address info.
"brix_zx2, What is your sole purpose in this forum!?!?!"
"To do whatever you tell me MODERATOR!!!!"
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.
/krugle/we can't write a simple readable webpage/because we have web2.0/jammed up our ass/unnhnhnh
Krugle Privacy Page
Google Privacy Page
That's not what's going on here. The post (before it was 'edited for accuracy') claimed that google was launching krugle, not just that krugle was like google.
I also think that licensing terms might be a useful addition to self-documenting commenting schemes such as Javadoc...
Is it just me, or does a guy effectively begging for help with his student loans over the internet annoy anyone else? I mean, why should I send this guy money over everyone else? Does he think he's better than others, a more worth "investment"? What am I going to get out of it?
I'm sorry, but just cause he's a student with a student loan doesn't make him any different than the average street beggar in my opinion.
Why ? When we all end up just copy+paste'ing teh first one.
...to people that won't look at them.
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 (Digg, Infoworld, numerous blogs). Whoever runs Krugle's marketing program should get a raise. This is basically "PR 2.0" and we will, unfortunately, be subjected to it by many companies from now on.
AFAICT, the existing sites like this that are trying to make money seem to base everything on the idea that they can get programmers to click advertisements in the search results. But, there is no group in the world that is better at ignoring online advertisements than (open-source) programmers. Plus, some of the ads are really ridiculous. For example, on jdocs.com, the first ads I noticed were for _illegal street racing videos_ (no joke!). On the other hand, some of these sites have been around for a while, so perhaps the advertising model works better than I think.
Having said _that_, they still have to compete with Google. Just like google has google.com/linux, they could easily add google.com/code. Even the normal Google search is pretty effective at finding code (I mean, SEO companies rarely use keywords like GetNextFileName or SwingUtilities.invokeLater).
So, these code-search companies would have to have major value-added features. To be honest, what I've heard about Krugle makes me think that they have yet to come up with such compelling features. And, if they make you sign up to access them, then the value of their advertised features decreases significantly.
In fact, it will be interesting to see if anybody can come up with the features that I think would compel people to use and even _pay_ to use such a system. I can think of several such features that I would pay for access to. But, I am not sure that it is profitable for anybody to sell them to me at a price I will pay. Plus, there are quite a few political roadblocks to implementing them.
I agree, I have student loans too, but feel no need to humble myself to get the money. I work it off, it was an investment.
In addition, I have no sympathy for people who get a hundred credit cards in college and spend away. They deserve what they get. The same with people who don't bother to examine the terms of their loans.
Boo hoo, I spent more than I could afford... Bah.
We would finally have something useful.
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 useful documentation
Darn...Im dreaming.
What this world is coming to - is for you and me to decide.
make sure you save your code to a CD or DVD and mail it in to the Library of Congress, securing your copyright to it.
...
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.
-- Tigger warning: This post may contain tiggers! --
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.
A friend recently asked me about Python's thread.start_new_thread. Google is perfect for finding hundreds of examples. Try this query:
filetype:py thread.start_new_thread
. The syntactical portions come up in the results, and you can copy those to your clipboard to then find the exact thing you're looking for in context in the source. A similar search on Koders, a search engine supposedly specializing in source code search, returns useless results.
python -c "x='python -c %sx=%s; print x%%(chr(34),repr(x),chr(34))%s'; print x%(chr(34),repr(x),chr(34))"
no excuses for M$ this year!
A big thank you to you! I didn't know about the filetype: search modifier. It is extremely helpful.
Not really.
Evil or not, the law requires them to defend their trademark or risk losing it.
ND
This statement is forty-five characters long.
http://www.bigbold.com/snippets/ seems to be catching on a bit.
Meh.
http://www.codase.com/, currently available code search engine with 250M line of c/c++/java code, with very flexible query interfaces
I really wish Google would allow you to search for characters like +, ;, [], etc. It is virtually impossible to search for source because it simply drops all of your symbols.
I see the designers of Flock are up to their old tricks again...
Not really.
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.
Endless arguments over trivial contradictions in books written by ignorant savages to explain thunder in the dark.
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.
Phooeiy on all yoo Krygyl Kodders!
In Soviet Russia, our engine, powered by GOGOL® searches YOU !
There is only one thing I worry about with this, and it's the same problem as google:
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."
I could get 356314000 hits with the source code already when I type in an error message (instead of the much needed answer to "what do I do with this then?"). I don't need another search engine for that...
Google assigns 2 engineers on this subject. They extend their already well optimized tools to search code. Of course they integrate right into the search engine.
Both project die in 3 months.
I pronounce Krugle as "krug-ell". They might have a better case if their name was really "Gugel", "Gugle", or "Guggle" but they insisted on being called "goo-gull", or unless Mr. Krugler insists on calling his product "crew-gull".
(Hint: In most places, Krugler = "krug-ler", not "crew-gler".)
but does it cover COBOL?
If this were really happening, what would you think?
Just kidding. Seriously, calling in additional codebases unnecessarily is a bad idea - as Alan Robertson likes to say "complexity is the enemy of reliability". Why bulk up the memory footprint, CPU requirements, and total lines of source where bugs can occur if you don't really need to?
I'm toying with the idea of rewriting the whole thing in gawk. Compiled C would be even better, although that would be overkill (even for me).