Slashdot Mirror


Google Suggest

Cristiano writes "As you type into the search box, Google Suggest guesses what you're typing and offers suggestions in real time. This is similar to Google's 'Did you mean?' feature that offers alternative spellings for your query after you search, except that it works in real time." It crashes Konqueror, but works nicely on Mozilla. Update: 12/11 by J : The engineer who thought of it, then built it in his "20% time," blogs about the process.

96 of 655 comments (clear)

  1. /. Spelling by Zorilla · · Score: 3, Funny

    > loose

    Google
    ------
    Did you mean: lose?


    Yeah, Slashdot needs this badly.

    --

    It would be cool if it didn't suck.
    1. Re:/. Spelling by MillionthMonkey · · Score: 4, Funny

      When I type "loose" it doesn't suggest "lose".

      It does suggest "loose women".

    2. Re:/. Spelling by RobertB-DC · · Score: 4, Funny

      When I type "loose" it doesn't suggest "lose".

      It does suggest "loose women".


      It also suggests "loose weight". I can't believe how many web sites there are devoted to loosing weight. I guess that's the origin of the term, "to throw your weight around" -- so many people loosing it, and throwing weight will certainly loose it. What a bunch of loosers.

      (and looking at that paragraph long enough makes me wonder if I've loosed it, myself)

      --
      Stressed? Me? Of course not. Stress is what a rubber band feels before it breaks, silly.
    3. Re:/. Spelling by Tatarize · · Score: 2, Interesting

      I was going for "Pretty" but after I got "pret" in there it started suggesting preteen girls and such.

      I'd hate to see it if it wasn't striking down entries. For example "sex" comes up with total blanks. No "sex addition" or anything, so its obviously removing stuff but apparently not flawlessly.

      Reminds me a great google game. Turn strict search filtering on on google images and try and find porn using single word. My record is 2nd image with "cameltoe".

      --

      It is no longer uncommon to be uncommon.
  2. Cool! Just like form AutoComplete by GillBates0 · · Score: 4, Insightful
    but with a HUGE database/archive of possible candidates at it's disposal.

    Wonder how it'll hold up when it gets out Beta though...it's bound to be pretty computationally intensive.

    --
    An Indian-American Hindu committed to non-violent thought/speech/action alarmed by the global explosion of radical Islam
    1. Re:Cool! Just like form AutoComplete by Anonymous Coward · · Score: 2, Interesting

      I wonder how long before spammers use this maliciously to create word lists to direct traffic.

    2. Re:Cool! Just like form AutoComplete by mdf356 · · Score: 5, Funny

      It's surviving a slashdotting. What more do you want?

      Cheers,
      Matt

      --
      Terrorist, bomb, al Qaeda, nuclear, yellowcake, kill, assassinate. Carnivore is dead... long live Echelon.
    3. Re:Cool! Just like form AutoComplete by dustinbarbour · · Score: 4, Informative

      Yes, it would be intensive for their server should everyone decide to use it in place of standrd Google search. However, the algorithm behind their "Did you mean" runs in O(n^2) worst case and O(n) best case. Not too shabby.. The algorithm is what makes it possible.

    4. Re:Cool! Just like form AutoComplete by ciroknight · · Score: 3, Interesting

      This is why Google is such an awesome concept.

      Instant access to any piece of human knowledge, and it now can guess what you are looking for right as you can type. The only next improvement I can think of is if it did related searches to the term you searched for, but I'm not sure how you would represent all of that data at once. Leave it to the Google geniuses ;)

      --
      "Victory means exit strategy, and it's important for the President to explain to us what the exit strategy is." G.W.Bush
    5. Re:Cool! Just like form AutoComplete by eln · · Score: 3, Informative

      big-O notation

      (definition)

      Definition: A theoretical measure of the execution of an algorithm, usually the time or memory needed, given the problem size n, which is usually the number of items. Informally, saying some equation f(n) = O(g(n)) means it is less than some constant multiple of g(n). The notation is read, "f of n is big oh of g of n".

      Strangely enough, I got this definition from a Google search.

    6. Re:Cool! Just like form AutoComplete by Chris+Mattern · · Score: 3, Interesting

      Nice, but not answering his question. He didn't ask what O(n) was, he asked what n is, and that's a legitimate question. What *is* n? What is the determining factor of problem size for this algorithm? The number of characters the user has typed? The size of the database of terms Google will search? What?

      Chris Mattern

    7. Re:Cool! Just like form AutoComplete by TheRaven64 · · Score: 2, Insightful
      Of course, if you're trying to decide between two search algorithms using the same dataset and one algorithm is O(n log n) and the other is O(n^2) then the Big-Oh comparison actually means something.

      Not always. Big-Oh only means the worst case. Quicksort is O(n^2), but the worst case is so rare that it usually performs better than many O(n log n) algorithms.

      --
      I am TheRaven on Soylent News
    8. Re:Cool! Just like form AutoComplete by JabberWokky · · Score: 2, Insightful
      If it makes you feel any better about Slashdot, there are plenty of people who knew exactly what you're asking and haven't responded because they know enough to know that they don't know the answer. Thus you're only getting responses from people who didn't understand the question.

      I'd guess that n will vary between now and when they release as they grow their database.

      Interestingly, they seem to clamp down on search phrases that are synonyms and start with the same beginning. For instance, the search for "Rocky Horror" is more common than "Rocky Horror Picture Show", but only the latter is listed. In this case, for reasons that are specific to the search, using RHPS over Rocky Horror can cause problems as it eliminates "Rocky Horror Show", which is the stage production, and often swapped by the public for RHPS.

      --
      Evan

      --
      "$30 for the One True Ring. $10 each additional ring!" -- JRR "Bob" Tolkien
    9. Re:Cool! Just like form AutoComplete by Anonymous Coward · · Score: 2, Insightful

      Yes, that is, as they say, trivially obvious.

      However, it is not trivially obvious what "n" is counting is this case. For instance, I can give you an O(1) algorithm for a search of an arbitrarily large database, as long as I'm measuring complexity by w.r.t. "the number of servers used in processing the query." Adding servers will not increase the processing time, therefore there is a constant upper bound (with respect to the number of servers being used), therefore it is a constant time (or less) algorithm.

      This is a stupid and intentionally misleading example, but it should show that O(f(n)) can be an utter lie if you don't know what n is. Oranges? Turtles? Pigeons? WTF?

    10. Re:Cool! Just like form AutoComplete by nacturation · · Score: 2, Informative

      In your rush to point out you know more than the above poster, did you stop to consider that he might not be asking about the notation? I don't understand what n is supposed to be either. Do you? If you do, why don't you clue us in, instead of your smug arrogance. In case you are still missing it, I do know how O(n) notation works. So does the poster above.

      Big O notation refers to the efficiency of the algorithm. If you really understand the notation, you wouldn't be asking what 'n' means. The original post stated that the "Did you mean..." algorithm is O(n) efficient. If it stated that the algorithm is O(1) efficient, would you ask what the 1 represents?

      --
      Want to improve your Karma? Instead of "Post Anonymously", try the "Post Humously" option.
    11. Re:Cool! Just like form AutoComplete by pigscanfly.ca · · Score: 2, Interesting

      You seem to be abusing big O notation a bit my friend.
      You cant say O(n) best case , since it O(n) is a bounding above by a function. What your looking to say is that the algorithm is O(n^2) and Omega(n)

    12. Re:Cool! Just like form AutoComplete by BorgCopyeditor · · Score: 2, Insightful
      Instant access to any piece of human knowledge

      I'm no Luddite, but might it not be significantly more exact to add the qualification "that can be found on the Internet"?

      --
      Shop as usual. And avoid panic buying.
    13. Re:Cool! Just like form AutoComplete by downbad · · Score: 2, Interesting

      i find it amusing that this is faster than Mozilla's autocomplete on my system.

    14. Re:Cool! Just like form AutoComplete by Have+Blue · · Score: 2, Interesting

      Or better, "can be found on the Internet in text form". The image search is nowhere near as comprehensive or accurate, and not even Google is attempting sound or video search yet.

    15. Re:Cool! Just like form AutoComplete by Herbmaster · · Score: 2, Informative

      Not always. Big-Oh only means the worst case. Quicksort is O(n^2), but the worst case is so rare that it usually performs better than many O(n log n) algorithms.

      Furthermore, Big-Oh only means an upper limit on the worst case. Quicksort is O(n^4), and O(n^5), and O(n^6). It also happens to be O(n^2), which is a much more useful statement. For some reason people like to talk about Big-Oh even if they really mean Big-Theta.

      --
      I'm not a smorgasbord.
  3. Try this: by elid · · Score: 5, Interesting

    Type in g. Then type o. Then type o again. And again. Keep typing o's... Look what happens :-)

    1. Re:Try this: by darth_MALL · · Score: 2, Funny

      Try typing "mi". (saw this in an article)
      Top 4 results:
      Microsoft
      miniclip
      Michael Moore
      miserable failure

    2. Re:Try this: by kzinti · · Score: 3, Interesting

      So why is it that goooooooooooooooogle, with 16 o's, has over 23000 hits, while strings with one more or one fewer o have only hundreds of hits?

      gooooooooooooooogle 618
      goooooooooooooooogle 23,300
      gooooooooooooooooogle 198

      I thought maybe it was a power-of-two thing, but other such disparities happen at non 2^n transitions. Interesting.

    3. Re:Try this: by damgx · · Score: 2, Funny

      Hum, the scary part is a search like this: goooooogle

      Gives:
      Did you mean: goooooooogle

      Yes, that is it. Google is spelled with 8 O's silly me.

      --
      I only read slash. for the articles...
    4. Re:Try this: by Underholdning · · Score: 2, Informative

      Three words: Ads by goooooooooooooooogle

  4. Great.. by BossMC · · Score: 2, Funny

    [ Niagra Falls ]
    [Google Search] [I'm Feeling Lucky]

    Did you mean viagra?

    1. Re:Great.. by APDent · · Score: 2, Interesting

      Except, if you actually watch the drop-down list as you're typing, once you've typed "nia", it's already suggesting "niagara falls" with the correct spelling and 3,090,000 results. True, "niagra falls" (incorrectly spelled) is also in the list, but since it only has 129,000 results, it's probably clear which one you're actually looking for if you're not trying to make a joke about Viagra.

      This is pretty amazing, really.

  5. Crashes Konqeuror? by Shaman · · Score: 5, Informative

    Not mine. Worked like a charm. Version 3.3.2 on Gentoo Linux 64bit

    --
    ...Steve
    1. Re:Crashes Konqeuror? by Espectr0 · · Score: 2, Informative

      Also, safari works fine

  6. Is it any coincidence by Moth7 · · Score: 4, Funny

    That when you enter "P", the first suggestion is "Paris Hilton"? I guess this just proves that porn really does drive every new technology ;-)

    1. Re:Is it any coincidence by IdleTime · · Score: 3, Funny

      No, it just means that you are a porn freak!

      Their suggestions is ofcourse based on earlier interests shown from your ip. So when you type capital P, google knows that you are not intereste in Paris, France but Paris Hilton and no, it's not a hotel!

      --
      If you mod me down, I *will* introduce you to my sister!
    2. Re:Is it any coincidence by SlayerofGods · · Score: 2, Funny
      did it ever occure to you that it is possible that she has so many results there because she is a beautiful, clever, smart, and funny girl?
      Nope
      --

      Technology, the cause of and solution to all of life's problems.
    3. Re:Is it any coincidence by Haydn+Fenton · · Score: 2, Interesting

      Haha. What's also cool is 'f' gives 'Firefox' as the first suggestion, it must be making a big impact.

    4. Re:Is it any coincidence by oiarbovnb · · Score: 2, Interesting

      amazon best buy cnn dictionary ebay firefox games hotmail ikea jokes kazaa lyrics mapquest news online dictionary paris hilton quotes recipes spybot tara reid (who is that?) ups verizon weather xbox yahoo zipcodes

    5. Re:Is it any coincidence by kzinti · · Score: 2, Interesting

      There are some other interesting first-suggestions in the alphabet: h suggests "hotmail", and x suggests "x-box" (not, as I was expecting, a porn term). d suggests "dictionary", and o suggests "online dictionary". Most surprising: f suggests "firefox", where the top hit is mozilla.org.

    6. Re:Is it any coincidence by Anonymous Coward · · Score: 2, Funny

      It's a rather sad commentary on the state of human affairs, if yuo ask me.

      ... says the guy with the "penile percentile" signature ...

    7. Re:Is it any coincidence by rizawbone · · Score: 2, Funny
      tara reid (who is that?)

      Usually people would reply to this qustion by saying 'google it'. The fact you were one click away from knowing everything about Tara Reid, imdb listing to botched boob job photos, puts you into a new class of laziness that can probably be detected from space.

      Congrats.

  7. Suggest failed by SunPin · · Score: 2, Funny

    I typed "tits" and it drew a blank.

    --
    Laws are for people with no friends.
    1. Re:Suggest failed by pete-classic · · Score: 2, Funny

      Is English your second language? We, confusingly enough, put adjectives before the nouns they refer to.

      For example, the first suggestion for "pendulous" is "breasts."

      -Peter

  8. All I want is SEX.... by ilikeitraw · · Score: 2, Funny

    ... and I get SEARS !? SEARS is not sexy. It is probably the extreme opposite.
    Google needs to open there eyes and know that some people (mostly male I assume) need extremely quick "relevant" results when they are out of passwords, and ... eh... need extremely "quick" results.

  9. Advertising potential by Anonymous Coward · · Score: 3, Insightful

    I wonder how long it will take before companies are able to pay for their 'suggestions' to show up at the top of the list.

  10. No good... by Omicron32 · · Score: 2, Funny

    Hmmm....

    p -> paris hilton
    po -> poems
    por -> porsche

    I'd say it's pretty obvious what I intend to search for. This thing is utterly useless. (Although, in it's favour, I must say the Paris Hilton first link was pretty good.) :)

  11. Notes by parmadil · · Score: 2, Interesting

    * It works on KHTML-based Safari, so it the crash must be a Konq-specific problem.

    * It ignores, um, non-work-safe input.

    * It works fine on moderately esoteric topics -- I started typing n-s-a-r and it found NSArray, NSArrayController, NSArchiver, etc.

  12. How is it so FAST!? by topham · · Score: 3, Interesting


    It is blazingly fast. I expected it to be slowwwww.
    Can somebody outline how it works?

    1. Re:How is it so FAST!? by mbyte · · Score: 2, Informative

      hmm, i think it loads the search results in the background. When i type in some text and look at my squid logs i see several of the following queries:

      http://www.google.com/complete/search?

      So, basicly they use some javascript to handle on keypress event, send the data to google and back, and display them .. but i'm also amazed how fast it is ! (one point can be that the search pages result about 500-1000 bytes ..)

    2. Re:How is it so FAST!? by loconet · · Score: 5, Interesting

      Everytime you type a letter, it requests a special modified version of the search tool which only returns the necessary javascript data.

      check itout

      Impressive

      --
      [alk]
    3. Re:How is it so FAST!? by nacturation · · Score: 3, Informative

      Type livesearch into the box and hit I'm feeling lucky. You'll then find the details of what I'm positive inspired this. Essentially, as you type it passes data via an XMLHttpRequest control to the server which then returns a list of the top 10 elements and the page gets updated.

      --
      Want to improve your Karma? Instead of "Post Anonymously", try the "Post Humously" option.
  13. google whacks by manganese4 · · Score: 2, Interesting

    Well it definitely makes it easier to look for google whacks

    --
    I make my face look like this and concerned words come out.
  14. Privacy? by Frisky070802 · · Score: 2, Insightful
    I'm surprised no one has commented on privacy yet. It looks to me like it uses past queries to suggest future ones, because as soon as I zoomed in on an unusual name, it offered a couple of bizarre queries that could only have been typos (one was a two-word query, so it wasn't simply every word indexed -- unless they know every pair of words that quickly?).

    I don't mind Google knowing what I ask, but I'm not sure I want the world to see them.

    --
    Mencken had it right. So glad that's old news.
    1. Re:Privacy? by tyler_larson · · Score: 2, Informative
      I'm surprised no one has commented on privacy yet.

      You wouldn't have been so surprised if you had done what the rest of use did and READ THE FAQ!

      http://labs.google.com/suggest/faq.html

      You would have found it if you had clicked the "Learn More" link prominantly displayed on the page.

      Your own previous searches are not used at all in determining results. The results you see are exactly the same results everyone else will see. You're sending the same information to Google that you send in a normal search (i.e. your query). Google is sending the same information back to you that they normally send (the results). The only things that's different is that they send each of the little pieces of it as you type them.

      No one has commented on privacy yet because privacy is irrelevant. No one has commented on terrorism yet either, does that surprise you?

      --
      "With sufficient thrust, pigs fly just fine. However, this is not necessarily a good idea...."
      RFC 1925
  15. I can see it now by Timesprout · · Score: 4, Funny

    "It looks like you are searching for lesbian porn, would you like some help with that?"

    "It looks like you are searching for lesbian porn again, do you remember what I showed you last time?"

    "I know, I know, Lesbian porn,and can you rate these pages so I can update my page index?"

    "Hello freak, try these"

    --
    Do not try to read the dupe, thats impossible. Instead, only try to realize the truth
    What truth?
    There is no dupe
  16. The ABCs of Google Complete by Hatta · · Score: 5, Interesting

    A is for Amazon
    B is for Best Buy
    C is for CNN
    D is for Dictionary
    E is for Ebay
    F is for Firefox (yay!)
    G is for Games
    H is for Hotmail
    I is for Ikea
    J is for Jokes
    K is for Kazaa
    L is for Lyrics
    M is for Mapquest
    N is for News
    O is for Online dictionary
    P is for Paris Hilton (wtf?!)
    Q is for Quotes
    R is for Recipes
    S is for Spybot
    T is for Tara Reid
    U is for Ups
    V is for Verizon
    W is for Weather
    X is for Xbox
    Y is for Yahoo
    Z is for Zip Codes

    --
    Give me Classic Slashdot or give me death!
    1. Re:The ABCs of Google Complete by dwvanstone · · Score: 5, Interesting

      Just to add to the list:

      1 is for 1
      2 is for 2004 election
      3 is for 3m
      4 is for 411
      5 is for 50 cent
      6 is for 60 minutes
      7 is for 7th heaven
      8 is for 89.com (as bad as Paris Hilton!!)
      9 is for 911

    2. Re:The ABCs of Google Complete by Zorilla · · Score: 2, Funny

      Quick! Somebody do Kanji now!

      --

      It would be cool if it didn't suck.
    3. Re:The ABCs of Google Complete by Anonymous Coward · · Score: 5, Interesting

      Explain THIS though:
      x : xbox
      xx: xxl
      xxx:

      p: paris hilton
      po: poems
      por: porsche
      porn:

      s: spybot
      se: sears
      sex:

      Somehow, I don't think these are based purely on search requests :)

    4. Re:The ABCs of Google Complete by witcomb · · Score: 2, Informative

      That is based on alphabetics ordering, I think it would make more sense to sort based on rating. That has a little more significance when it comes to google.

      A is amazon
      B is for BBC
      C is for cars
      D is for Dell
      E is for Ebay
      G is for games
      H is for http
      I is for index
      J is for jobs
      K is for kelkoo
      L is for love
      M is for music
      N is for news
      O is for online games
      P is for pubmed
      Q is for quotes
      R is for ringtones
      S is for s (that is weird)
      T is for target
      U is for UPS
      V is for virgin
      W is for weather
      X is for xbox
      Y is for Yahoo
      Z is for zdnet

    5. Re:The ABCs of Google Complete by kzinti · · Score: 3, Insightful

      That is based on alphabetics ordering, I think it would make more sense to sort based on rating.

      Google is ranking these suggestions so that the ones you're most likely to search for are higher. So even though 's' has more hits than 'spybot', Google thinks you're more likely to search for 'spybot'. That makes sense - the terms people search for most often are not necessarily the pages with the most search results (or the highest Pagerank).

    6. Re:The ABCs of Google Complete by geekguy · · Score: 2, Informative

      They seem to have linked it all under pr0n, that brings up lots of choices.

      --
      -- Any comments seen here are not mine, but a mixture of alchohol and lack of sleep.
    7. Re:The ABCs of Google Complete by h4ter · · Score: 2, Informative

      'porn' isn't there, but 'pr0n' is.

  17. I wonder... by Lizard_King · · Score: 2, Interesting

    ... how they prioritize the suggestions in the list. It's definitely not by the number of results per suggestion. Are there any revenue opportunities here for GOOG?

    --
    "My mother never saw the irony in calling me a son-of-a-bitch." - Jack Nicholson
  18. Google suggests wrong spelling as well by witcomb · · Score: 2, Interesting

    I figured I would look up mountain biking. However, in my quick typing I entered mountian instead and it continued and accepted that. It gave me many valid searches, which I probably wouldn't have found if I entered the search string properly. Of course, it did indicate that mountain was spelled incorrectly as normal.

    I figured this could be a useful feature as you probably don't make an effort to misspell your entries, yet many items on the web could have useful information with the misspelled word. So, I entered mount to see the completion, and no mountian, just correctly spelled words.

    I guess we'll just have to continue to misspell everything.

  19. Browser Wars by alva_edison · · Score: 2, Informative

    Before more people complain that their browser doesn't work, here's [labs.google.com]what google specifies as the browser requirements.

    --
    He effected a bored affect.
  20. Didn't Microsdoft patent this? by jaal · · Score: 2, Interesting

    I remember long back, one thread on slashdot where it was discussed how microsoft patented the idea of showing the options as the user types in. I am not sure though.

  21. What Google needs is Lexis-Nexis and Journal tabs by F34nor · · Score: 3, Insightful

    What Google really needs is a for pay LexisNexis tab so you can find real information from real sources in real time. That and a tab that indexes full text medical and science journals. Those damn journals! I love em but I don't have hundreds of dollars a year for each Psych. journal I want to read and hate going to libraries if I just want to see what's shaking in the world of science. With full text periodicals and full test journal search Google would become a singularity of information.

  22. Hmm. Does interfere with FireFox autocomplete by DollyTheSheep · · Score: 2, Informative

    I have a list of queries, which I repeat every day or week or so. FireFox has now gathered them in its own form autocomplete. Now google interferes that with queries, I don't want to submit.

  23. Not like this? by oliverthered · · Score: 2, Interesting

    Konq 3.3.2.
    Try using it for a while and you'll get.

    Using host libthread_db library "/lib/libthread_db.so.1".
    [KCrash handler]
    #7 0x409cfe74 in av_ () from /usr/kde/3.3/lib/libkdecore.so.4
    #8 0x41b6df56 in KJS::XMLHttpRequest::abort ()
    from /usr/kde/3.3/lib/libkhtml.so.4
    #9 0x41b6f333 in KJS::XMLHttpRequestProtoFunc::tryCall ()
    from /usr/kde/3.3/lib/libkhtml.so.4
    #10 0x41aeef77 in KJS::DOMFunction::call () from /usr/kde/3.3/lib/libkhtml.so.4
    #11 0x41c7332b in KJS::Object::call () from /usr/kde/3.3/lib/libkjs.so.1
    #12 0x41c3b09d in KJS::FunctionCallNode::evaluate ()
    from /usr/kde/3.3/lib/libkjs.so.1
    #13 0x41c3f54a in KJS::ExprStatementNode::execute ()
    from /usr/kde/3.3/lib/libkjs.so.1
    #14 0x41c45c16 in KJS::SourceElementsNode::execute ()
    from /usr/kde/3.3/lib/libkjs.so.1
    #15 0x41c3f36d in KJS::BlockNode::execute () from /usr/kde/3.3/lib/libkjs.so.1
    #16 0x41c3f8ce in KJS::IfNode::execute () from /usr/kde/3.3/lib/libkjs.so.1
    #17 0x41c45c16 in KJS::SourceElementsNode::execute ()
    from /usr/kde/3.3/lib/libkjs.so.1
    #18 0x41c3f36d in KJS::BlockNode::execute () from /usr/kde/3.3/lib/libkjs.so.1
    #19 0x41c45143 in KJS::FunctionBodyNode::execute ()
    from /usr/kde/3.3/lib/libkjs.so.1
    #20 0x41c6de0c in KJS::DeclaredFunctionImp::execute ()
    from /usr/kde/3.3/lib/libkjs.so.1
    #21 0x41c6d1bc in KJS::FunctionImp::call () from /usr/kde/3.3/lib/libkjs.so.1
    #22 0x41c7332b in KJS::Object::call () from /usr/kde/3.3/lib/libkjs.so.1
    #23 0x41c3b09d in KJS::FunctionCallNode::evaluate ()
    from /usr/kde/3.3/lib/libkjs.so.1
    #24 0x41c3f54a in KJS::ExprStatementNode::execute ()
    from /usr/kde/3.3/lib/libkjs.so.1
    #25 0x41c45c16 in KJS::SourceElementsNode::execute ()
    from /usr/kde/3.3/lib/libkjs.so.1
    #26 0x41c3f36d in KJS::BlockNode::execute () from /usr/kde/3.3/lib/libkjs.so.1
    #27 0x41c3f8ce in KJS::IfNode::execute () from /usr/kde/3.3/lib/libkjs.so.1
    #28 0x41c45c8c in KJS::SourceElementsNode::execute ()
    from /usr/kde/3.3/lib/libkjs.so.1
    #29 0x41c3f36d in KJS::BlockNode::execute () from /usr/kde/3.3/lib/libkjs.so.1
    #30 0x41c3f8aa in KJS::IfNode::execute () from /usr/kde/3.3/lib/libkjs.so.1
    #31 0x41c45c8c in KJS::SourceElementsNode::execute ()
    from /usr/kde/3.3/lib/libkjs.so.1
    #32 0x41c3f36d in KJS::BlockNode::execute () from /usr/kde/3.3/lib/libkjs.so.1
    #33 0x41c3f8ce in KJS::IfNode::execute () from /usr/kde/3.3/lib/libkjs.so.1
    #34 0x41c45c16 in KJS::SourceElementsNode::execute ()
    from /usr/kde/3.3/lib/libkjs.so.1
    #35 0x41c3f36d in KJS::BlockNode::execute () from /usr/kde/3.3/lib/libkjs.so.1
    #36 0x41c3f8ce in KJS::IfNode::execute () from /usr/kde/3.3/lib/libkjs.so.1
    #37 0x41c45c16 in KJS::SourceElementsNode::execute ()
    from /usr/kde/3.3/lib/libkjs.so.1
    #38 0x41c3f36d in KJS::BlockNode::execute () from /usr/kde/3.3/lib/libkjs.so.1
    #39 0x41c45143 in KJS::FunctionBodyNode::execute ()
    from /usr/kde/3.3/lib/libkjs.so.1
    #40 0x41c6de0c in KJS::DeclaredFunctionImp::execute ()
    from /usr/kde/3.3/lib/libkjs.so.1
    #41 0x41c6d1bc in KJS::FunctionImp::call () from /usr/kde/3.3/lib/libkjs.so.1
    #42 0x41c7332b in KJS::Object::call () from /usr/kde/3.3/lib/libkjs.so.1
    #43 0x41c3b09d in KJS::FunctionCallNode::evaluate ()
    from /usr/kde/3.3/lib/libkjs.so.1
    #44 0x41c3f54a in

    --
    thank God the internet isn't a human right.
  24. Re:Wow by Freexe · · Score: 3, Interesting

    Its javascript, using the XMLHTTP object to communicate with the server directly

    You can see it http://www.google.com/ac.js cant say i understand it, Gmail using the same thing but way more advanced.

    --
    "In a time of universal deceit - telling the truth is a revolutionary act." - George Orwell
  25. Interesting Political Uses by ravenspear · · Score: 2, Funny

    This was mentioned in another story last night but I thought it was funny.

    If you go to the page and type "George Bush is a" you get some interesting suggestions. ;)

    1. Re:Interesting Political Uses by Skeezix · · Score: 2, Informative

      Also works for "Kerry is a" and "michael moore is a"

  26. Re:What Google needs is Lexis-Nexis and Journal ta by brokenwndw · · Score: 2, Informative

    You mean like scholar.google.com? Or something more where you could pay to get the full text? I definitely wish I could click on Google Scholar's results and get the full text right there with a uniform interface and without having to log in or pay other people.

  27. Re:The ABCs of Google Complete - The 123s by highway40 · · Score: 2, Informative

    0 is for 02
    1 is for 1
    2 is for 2004 Election
    3 is for 3m
    4 is for 411
    5 is for 50 cent
    6 is for 60 minutes
    7 is for 7th heaven
    8 is for 89.com
    9 is for 911

    --
    Incoming fire has the right of way. Have a nice day.
  28. Advertising potential? by gavint · · Score: 5, Interesting

    Looks nice, but what happens when you type "the"?

    "the incredibles"

    Is anyone else seeing the advertising possibilities?

  29. Implementation details by JavaRob · · Score: 4, Informative

    The source for the page is quite simple; most of the work happens in a condensed JavaScript library. Not easy reading (note the word "condensed" above, meaning function and variable names are 1 or 2 chars, and all extra whitespace was removed...), but it's actually pretty straightforward.

    It disables your browser's autocomplete on that textfield (for obvious reasons). Then it basically just defines a hidden div for that auto-complete dropdown (variations on this depending on browser... frickin' incompatibilities).

    Each time you type a character, it populates that div body with the results of a quick, tiny query back to Google. It's NOT running the search for you; it's hitting (I assume) a simple, probably totally in-memory list of the most popular searches and number of results. That's how it can be so quick a response -- the lookup on their end is super-minimal, and the data to be transferred is probably less than 1k each time.

    Cool. Nice concept, nice execution. And one of those nice "only obvious in hindsight" additions.

    Even cooler -- it looks like (from the js file) they are supporting multiple languages here, not just English. Anyone using want to test this out for me? I think even Chinese is supported (or maybe that's the one that isn't.. I don't want to take the time to parse this properly).

    1. Re:Implementation details by K-Man · · Score: 2, Interesting
      Here's the url it uses to populate the drop-down:

      http://www.google.com/complete/search?hl=en&js=tru e&qu=chicken.

      You can substitute any string for "chicken", and hl is the language.

      --
      ---- "If we have to go on with these damned quantum jumps, then I'm sorry that I ever got involved" - Erwin Schrodinger
    2. Re:Implementation details by starrsoft · · Score: 2, Informative
      No it doesn't support other languages... yet. Google Suggest FAQ:

      When will you support other languages?
      We're not sure yet. But we're always interested in expanding our products into more languages, and hope to be able to offer you such services soon!

      --
      Read my blog: HansMast.com
  30. Obfuscated Javascript by jdludlow · · Score: 3, Interesting

    http://www.google.com/ac.js

    The Javascript is ripped to shreds as far as readability goes, but buried in there somewhere is the key to making your own app based on this. If you were so inclined to piggy-back on top of this technology. Not that I'd advocate such things.

    // Copyright 2004 and onwards Google Inc.

    var w="";var pa=false;var ta="";var da=false;var g="";var G="";var m="";var j=-1;var h=null;var Z=-1;var za=null;var Ca=5;var q="";var Lb="div";var Bb="span";var la=null;var a=null;var b=null;var Xa=null;var mb=null;var X=null;var ha=null;var ra=false;var kc=null;var hc=null;var Ua=new Object();var ca=1;var Aa=1;var Y=false;var na=-1;var Va=(new Date()).getTime();var Q=false;var k=null;var sa=null;var E=null;var B=null;var aa=null;var Ba=false;var Ka=false;var p=60;var ia=null;var ya=null;var W=0;InstallAC=function(frm,fld,sb,pn,rl,hd,sm,ufn) {la=frm;a=fld;Xa=sb;if(!pn)pn="search";ia=pn;var Kb="en|";var Jb="zh-CN|zh-TW|ja|ko|vi|";if(!rl||Kb.indexOf(rl+" |")==-1)rl="en";ha=nb(rl);if(Jb.indexOf(ha+"|")==- 1){X=true;Y=false;Ba=false}else{X=false;if(ha.inde xOf("zh")==0)Y=false;else Y=true;Ba=true}if(!hd)hd=false;ya=hd;if(!sm)sm="qu ery";w=sm;mb=ufn;ac()}
    ;function Yb(){ra=true;a.blur();setTimeout("sfi();",10);retu rn}
    function Fb(){if(document.createEventObject){var y=document.createEventObject();y.ctrlKey=true;y.ke yCode=70;document.fireEvent("onkeydown",y)}}
    func tion nc(vb){var y=document.createEventObject();y.ctrlKey=true;y.ke yCode=vb;document.fireEvent("onkeydown",y)}
    funct ion gc(event){}
    function ic(event){}
    function Pb(event){if(!event&&window.event)event=window.eve nt;if(event)na=event.keyCode;if(event&&event.keyCo de==8){if(X&&(a.createTextRange&&(event.srcElement ==a&&(bb(a)==0&&lb(a)==0)))){cc(a);event.cancelBub ble=true;event.returnValue=false;return false}}}
    function mc(){}
    function Db(){if(w=="url"){Ha()}ba()}
    function ba(){if(b){b.style.left=ob(a)+"px";b.style.top=Qb( a)+a.offsetHeight-1+"px";b.style.width=Ja()+"px"}}
    function Ja(){if(navigator&&navigator.userAgent.toLowerCase ().indexOf("msie")==-1){return a.offsetWidth-ca*2}else{return a.offsetWidth}}
    function ac(){if(jb()){Q=true}else{Q=false}if(pa)E="complet e";else E="/complete/"+ia;sa=E+"?hl="+ha;if(!Q){qa("qu","" ,0,E,null,null)}la.onsubmit=Fa;a.autocomplete="off ";a.onblur=Ob;if(a.createTextRange)a.onkeyup=new Function("return okuh(event); ");else a.onkeyup=okuh;a.onsubmit=Fa;g=a.value;ta=g;b=docu ment.createElement("DIV");b.id="completeDiv";ca=1; Aa=1;b.style.borderRight="black "+ca+"px solid";b.style.borderLeft="black "+ca+"px solid";b.style.borderTop="black "+Aa+"px solid";b.style.borderBottom="black "+Aa+"px solid";b.style.zIndex="1";b.style.paddingRight="0" ;b.style.paddingLeft="0";b.style.paddingTop="0";b. style.paddingBottom="0";ba();b.style.visibility="h idden";b.style.position="absolute";b.style.backgro undColor="white";document.body.appendChild(b);Ma(" ",new Array(),new Array());Gb(b);var s=document.createElement("DIV");s.style.visibility ="hidden";s.style.position="absolute";s.style.left ="-10000";s.style.top="-10000";s.style.width="0";s .style.height="0";var M=document.createElement("IFRAME");M.completeDiv=b ;M.name="completionFrame";M.id="complet

    1. Re:Obfuscated Javascript by nacturation · · Score: 2, Informative

      Why not grab a legal version from the LiveSearch wiki page, which is given away under the Apache license?

      --
      Want to improve your Karma? Instead of "Post Anonymously", try the "Post Humously" option.
    2. Re:Obfuscated Javascript by Jugalator · · Score: 2, Insightful

      I don't think they obfuscated it to obfuscate it, but to save bandwidth with a minimum of cost in CPU time. Take 1 byte and multiply that with however many visitors per second they're getting ;-)

      --
      Beware: In C++, your friends can see your privates!
  31. Re:What Google needs is Lexis-Nexis and Journal ta by calibanDNS · · Score: 2, Informative

    See Google Scholar for a service that might do just that one day. It was previously covered on Slashdot here.

  32. Slash... by fishbulb- · · Score: 2, Funny

    5 letters into 'slashdot' --- here I am reading slash fanfiction. This is just diverting me from my original goal. I - ooh, Kirk & Spock?! brb...

  33. Re:Google starts to suck by diamondsw · · Score: 3, Interesting

    So they screwed up Groups. What does that have to do with Suggest, which looks like a classic "awesome! why didn't anyone else do it that way?" Google feature?

    --
    I don't know what kind of crack I was on, but I suspect it was decaf.
  34. What is n? by MasterVidBoi · · Score: 2, Insightful

    I'll try this myself: What does n represent in this case? The number of pages in google's database, the number of words or phrases in their database? The length of the search string?

    I would really like to know where you came across this. Can point us to a discription of the algorithm?

  35. Yippee! A new source of amusement! by slcdb · · Score: 4, Funny

    I got a real kick out of some of the suggestions.

    my cat: ... hates you ... breath smells like cat food ... hates me ... is an alien

    my girlfried:
    (No suggestions, obviously Google is run by a pack of lonely nerds).

    my boyfriend: ... is gay ... sucks ... cheated on me ... hates me ... dumped me
    (Okay, make that an apparently gay pack of lonely nerds).

    darth vader is: ... gay
    (A delusional pack of gay nerds?)

    Oh, the fun I'll have with this new toy when I'm bored at work.

    --
    Despite what EULAs say, most software is sold, not licensed.
    1. Re:Yippee! A new source of amusement! by Redshift · · Score: 2, Funny

      This really ....

      sucks (2,010,000)
      works (19,000,000)

      Proof that it's an upbeat world out there!

    2. Re:Yippee! A new source of amusement! by mldqj · · Score: 3, Funny
      my girlfried:
      (No suggestions, obviously Google is run by a pack of lonely nerds).

      No, it's just because you misspelled girlfriend.

  36. Re:Google starts to suck by tesmako · · Score: 2, Interesting
    Take for instance Microsoft. Ten years ago it was the icon of geekhood, they made a really good compiler, assembler and whatnot.

    What? Are you trying to rewrite history in some way? I would say that the acceptance of Microsoft products have never really been higher than it is today. All OS's they had before 2k were disgraces. XP is popular and far from the resource hog slashdotters like to pretend that it is (have a look at any other desktop environment), in fact the system requirement leap between 2k and XP was far smaller than many jumps before when factoring in the progress of hardware. I don't see anything wrong with the current development tools that Microsoft has either (in fact, they too sure seem to be better today than they have ever before been).

    Really, the last five years of Microsoft products have done a lot to convince me that MS knows what they are doing, Linux seems further from being able to conquer the desktop market today than it did in 1999.

  37. No sex by petteri_666 · · Score: 2, Interesting

    Try searching with sex, porn etc. no results. It is in some safety mode or what?

  38. Re:URL is same, with ?complete=1? by Deag · · Score: 2, Informative

    It does go back to the server, load the page and kill your internet - it will no longer work.

  39. Re:Google starts to suck by That's+Unpossible! · · Score: 2, Insightful

    Yes, Google is testing one of the coolest features I've ever seen on a website...

    They sure are starting to suck.

    --
    Ironically, the word ironically is often used incorrectly.
  40. Re:I call foul: CENSORSHIP by recursiv · · Score: 3, Funny

    I agree with your conclusion, but I just had to stop and point out that you don't condone one-handed sex searching. Hilarious!

    Careful though, some pervs our there might think you were talking about wanking, jagging, or otherwise masturbating. (Horrors!) They might not get your true message about amputees.

    I keed, I keed. I was just very amused with puritanical way you approached the subject, and that you went the extra step not to condone it.

    --
    I used to bulls-eye womp-rats in my pants
  41. Re:URL is same, with ?complete=1? by Wiseleo · · Score: 3, Informative

    In the IE version, here is the function (for those curious how it all works, download www.google.com/ac.js)

    function jb(){var A=null;
    try{A=new ActiveXObject("Msxml2.XMLHTTP")}catch(e){try{A=new ActiveXObject("Microsoft.XMLHTTP")}catch(oc){A=nul l}}if(!A&&typeof XMLHttpRequest!="undefined"){A=new XMLHttpRequest()}return A}

    This function is obviously copyright google, inc., but being presented here for educational purposes only.

    --
    Leonid S. Knyshov
    Find me on Quora :)
  42. In a later report..... by ARRRLovin · · Score: 2, Funny

    ...Google suggestion is renamed to "Skynet" by the company that acquired Google, Cyberdyne systems. Skynet is said to be fully operational. Soon it will become "aware".

    --
    -Randy
  43. Try this: by AEton · · Score: 3, Funny

    Type in g. Then type o. Then type a. Then type t. Aiyeee! I just wanted goat feeding instructions!

    --
    We recently had heard in the office over one of the Yellow Machine that's made by Anthology Solutions.
  44. Re:URL is same, with ?complete=1? by samrolken · · Score: 3, Informative

    This is the same mechanism by which the Gmail application receives its data. It seems like Google has become a big fan of this XMLHTTP object and its Mozilla cousin. It's a great way to give web applications access to live data without requiring a page refresh.

    --
    samrolken
  45. Re:Why they probably block searches containing "se by 5n3ak3rp1mp · · Score: 2, Funny

    I just posted that from work. I'm such an idiot

  46. One more thing.. by Egorn · · Score: 2, Informative

    Ohh! One more thing I just found, check it:

    http://www.google.com/complete/search?hl=en&js=tru e&qu=natalie%20portman - The results in a nice pretty array!

    --

    Movie News - "Entertainment news, bitch!"