Slashdot Mirror


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.

34 of 149 comments (clear)

  1. Works well already. by grub · · Score: 5, Funny

    Results <b>1 - 10</b> of about 893,795,000 for "/* I hate working at EA */"

    --
    Trolling is a art,
  2. Where does it say that Google is launching it? by frangipani · · Score: 3, Interesting

    This sounds like a new company, not a product of Google.

    1. Re:Where does it say that Google is launching it? by chaidawg · · Score: 2, Informative

      You're right, its not google. It is going to be the "google of code searching" not "code searching by google"

    2. Re:Where does it say that Google is launching it? by MatthewParker · · Score: 2, Funny
      Krugle beta

      it must be Google

    3. Re:Where does it say that Google is launching it? by Otter · · Score: 4, Insightful

      More accurately -- "the company about to get sued by Google". In fact, Zonk may have just given Google's lawyers Exhibit A on proving "confusingly similar".

  3. koders by andy314159pi · · Score: 5, Informative

    There is already a pretty big repository that is easily searchable:
    http://www.koders.com/

    1. Re:koders by NialScorva · · Score: 3, Funny

      I was going to make a smart-ass comment about it not having lame, but turns out that it does

    2. Re:koders by cosmo99 · · Score: 5, Informative

      http://www.codefetch.com/ searches a very useful collection of code: the source code from programming books.

      Neither koders nor krugle cover that, plus codefetch searches the api of several languages, java, ruby, php, for example.

  4. Already done by unixmaster · · Score: 3, Informative
    --
    Never learn by your mistakes, if you do you may never dare to try again
  5. Good for Sony! by Vinnie_333 · · Score: 3, Funny

    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
  6. Regexp? by MatthewParker · · Score: 2, Insightful

    Regexp searches would be great, but I imagine too much processing required? --- http://gmailskins.mozdev.org/

  7. Re:NOT google by Creosote · · Score: 2, Informative
    Krugle (created by Ken Krugler - notice the name?) is in no way, shape or form affiliated with Google.
    Which will delay Google's trademark infringement suit for, what, a few milliseconds?
  8. Uh oh... by gabecubbage · · Score: 3, Funny

    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..."

  9. Community? by binaryDigit · · Score: 4, Interesting

    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).

    1. Re:Community? by Ruberik · · Score: 2, Insightful
      - 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)
      And after that, you could search for "given the initial input, code that terminates"! That would be awesome.
  10. nothing new by Krunch · · Score: 3, Informative

    Koders does that for some times now.

    --
    No GNU has been Hurd during the making of this comment.
  11. Rock! by AKAImBatman · · Score: 2, Insightful

    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. :-)

  12. Kawahee's 2 cents by Kawahee · · Score: 2, Insightful

    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.
  13. Beware of SEO by GrAfFiT · · Score: 2, Insightful

    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 ?).

  14. Costs? by AuMatar · · Score: 2, Insightful

    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?
  15. Later in the year... by DrEldarion · · Score: 2, Funny

    They're also planning on releasing "kringle", a search engine for presents, but they're currently in litigation with a "Dr. Claus".

  16. So how long.... by Jaysyn · · Score: 2, Interesting

    ...till Microsoft, SAP, SCO (remember them?) etc start polluting this repository with proprietary code?

    Jaysyn

    --
    There is a war going on for your mind.
  17. What I'd like.. Google with regex by matt+me · · Score: 2, Insightful

    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.

    I want wildcards .* 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.

  18. Re:err, i don't think it's from google by Rob+T+Firefly · · Score: 2, Funny

    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.

  19. Bah. by BigZaphod · · Score: 2, Funny

    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.

  20. Filtering out buggy code by ewg · · Score: 4, Funny

    I hope you can add -buggy to your query to filter out all the buggy code.

    --
    org.slashdot.post.SignatureNotFoundException: ewg
  21. This is hilarious :) by Z0mb1eman · · Score: 2, Insightful

    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.

    I love Slashdot :) /take notes for when I'll need to generate "buzz" for a product launch

    --
    ClutterMe.com - easiest site creation on the Net. Just click and type.
  22. Access confidential code! by labreuer · · Score: 3, Insightful

    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?

  23. What does it have over koders dot com? by delire · · Score: 2, Informative



    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.

  24. DWIM() by EatHam · · Score: 4, Funny

    Now I'll finally be able to find that Do What I Mean function I've been searching for.

  25. www.codefetch.com is another resource by cosmo99 · · Score: 2, Informative

    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.

  26. Bet on a Buyout by moochfish · · Score: 2, Insightful

    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.

  27. Oops, small code bug by Medievalist · · Score: 2, Interesting

    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.

  28. Re: Already done (not) by twasserman · · Score: 2, Informative

    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.