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.
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
Type in g. Then type o. Then type o again. And again. Keep typing o's... Look what happens :-)
Not mine. Worked like a charm. Version 3.3.2 on Gentoo Linux 64bit
...Steve
That when you enter "P", the first suggestion is "Paris Hilton"? I guess this just proves that porn really does drive every new technology ;-)
When I type "loose" it doesn't suggest "lose".
It does suggest "loose women".
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.
"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
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!
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]
Looks nice, but what happens when you type "the"?
"the incredibles"
Is anyone else seeing the advertising possibilities?
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).
I got a real kick out of some of the suggestions.
... hates you ... breath smells like cat food ... hates me ... is an alien
... is gay ... sucks ... cheated on me ... hates me ... dumped me
... gay
my cat:
my girlfried:
(No suggestions, obviously Google is run by a pack of lonely nerds).
my boyfriend:
(Okay, make that an apparently gay pack of lonely nerds).
darth vader is:
(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.