The Official Google Blog - Insights from Googlers into our products, technology and the Google culture

Google Friend Connect: now available

12/04/2008 11:48:00 AM
We're pleased to share that Google Friend Connect is now available in beta to any webmaster looking to add a "dash of social" to his or her site. This service lets webmasters add social features to their sites by simply copying and pasting a few snippets of code — no advanced coding or technical background required.

We know that people want to be social on the web, and Friend Connect makes it easy for anyone to sign in to a website, share a little bit about themselves through a personal profile, discover other people with similar interests, invite their contacts, and interact with friends. Even better, you don't have to deal with the hassle of creating yet another username and password — Friend Connect lets you log in using an existing account from Google, Yahoo, AOL, or OpenID. Similarly, you can choose to either establish a new profile or use profiles and friend sources from other social networks that have opened up their services, like Plaxo and orkut. To learn more, watch the video tour below:



We launched Friend Connect as a preview release in May, and since then we have been working closely with a handful of website owners, social networks, and application developers to improve its speed and scalability, ease of use, and customization capabilities. We've also expanded the features available to users with richer, more integrated profiles and new ways to discuss and share content, like including YouTube videos in your comments.

Friend Connect's goal is to facilitate an open social web. Using open standards like OpenID and OAuth, Friend Connect makes it simple for people to instantly interact with one another on the sites that they already love to visit. Additionally, websites that use Friend Connect become OpenSocial containers, capable of running applications created by the OpenSocial developer community.

In the coming months, we're excited to see more webmasters add Friend Connect to their sites, helping their visitors engage with each other across the web.

To learn more, please visit www.google.com/friendconnect.

Helping healthcare providers become more efficient

12/04/2008 07:56:00 AM
Healthcare professionals have always focused on reducing costs while still increasing the quality of the care they provide to patients — and this kind of efficiency becomes even more important in challenging economic times.

Fortunately, healthcare providers can turn to the web for a growing number of resources that help them achieve these goals. With our health initiatives and solutions for businesses of all kinds, Google is committed to helping bring exactly these kinds of productivity gains and cost reductions to healthcare providers. We're also committed to harnessing the power of the web to help people everywhere effectively manage their healthcare records and information in a private, secure online setting.

To learn about our latest innovations in this area, tune in to our free webinar scheduled for Wednesday, December 10, at 10:00 am PT.

The session will include a current look at Google Health, which empowers patients to securely organize and manage their health information online. For the full lineup of topics that will be covered, check out our post on the Enterprise blog.

We hope to see you there.

Holiday templates to keep you organized

12/03/2008 09:15:00 AM
The holidays are upon us, and there's much to do: Gifts to be wrapped, lights to be strung, candles to be lit, and a long list of tasks at the home and the office. A little creativity can come in handy at this time of year. You can save time and money with the Google Docs template gallery for documents, spreadsheets and presentations. Whether you're a small business owner or the chief holiday organizer, the gallery includes a few special templates designed to help you spread a little holiday cheer. Here are a few tips to help you get everything done on time:

1. Email friends, colleagues or customers this survey form to update your mailing list...


2. ...and then send them a holiday postcard.


3. Use fun mailing labels to save time when sending packages...


4. ...and these festive gift tags to personalize gifts.


5. If there's no time for snail mail, email a video card to send friends and colleagues warm wishes or to thank customers for their business.


It's easy to get started with any of these tips. In Google Docs, just click File -> New -> From Template to be taken to the main template gallery (it's worth a look!). Click the "Holiday" category to see just the holiday templates, or you can tab through to filter results by product. Pick the design you like and edit it for your needs. And you can always find help at the Google Docs Help Center.

We have more holiday ideas on our Enterprise Blog, along with other hints and tips to keep your workplace humming all through the year.

We hope you enjoy, and season's greetings!

Calling all musicians: Join YouTube's Symphony Orchestra

12/01/2008 07:46:00 PM
YouTube is offering musicians around the globe the opportunity to join a symphony orchestra via video through the world's first collaborative online orchestra. This is a chance to perform alongside world-renowned conductor Michael Tilson Thomas, learn from composer Tan Dun and many members of the London Symphony Orchestra, and consult with pianist Lang Lang. All video entries will be combined into the first-ever collaborative virtual performance, and people around the world will select their favorites to perform at New York's Carnegie Hall in April 2009.

If you're interested in auditioning, or would like more information about this program, head over to the YouTube Symphony Orchestra channel and the YouTube Blog.

Countdown to 2009

12/01/2008 05:15:00 PM
The end of the year is a wonderful time to reflect, celebrate, and look forward to new things to come. This is also a season when things tend to get a bit too hectic. So we wanted to share some tips that we hope will help make the best of your holidays and year-end celebrations.

We'll be counting down to 2009 with one new tip per day to get you through the holidays. We'll cover everything from today's tip on "Gift ideas and holiday savings" to checking out your flight status with Google Search. There will be much more to come throughout December, so check Google's Countdown to 2009 daily and add a countdown gadget to your iGoogle page.

We wish you a wonderful head start to the holiday season.

The Santa countdown begins...

12/01/2008 01:30:00 PM
I remember when I was 8 years old standing in the middle of our living room, gazing at our Christmas tree. I dared not blink, fearing that the twinkling tinsel, gleaming lights, and the pile of festively wrapped gifts would all be gone when I opened my eyes again. Once I finally hopped into bed, still wide-awake and staring at the ceiling, I listened to every gust of wind, every creak of the rafters, wondering if Santa had landed on our roof. “Where is Santa now?” I thought. “When will he be here?” Eventually, sheer mental exhaustion ushered me off to sleep.

The spirit of the season and a wondrous curiosity electrify many people's imaginations during the holidays, especially on Christmas Eve. That’s why Google has teamed up again this year with NORAD, the North American Aerospace Defense Command, to bring you the NORAD Santa Tracker.

NORAD provides aerospace warning and control for North America 365 days a year. On Christmas Eve, they turn their attention to Santa, tracking his yearly gift-delivering journey from the North Pole. The Santa Tracker itself goes live at 6am EST on December 24th. In the meantime, you will find the unique history of the Santa Tracker, holiday-themed games (a new one released each day) and updates from the North Pole at www.noradsanta.org, the official NORAD Tracks Santa website.

Check it out, and don’t forget to bookmark the site so you can come back often throughout the month. And, of course, be sure to visit on Christmas Eve to follow Santa as he makes his way toward your area. You can track him in both Google Maps and Google Earth, and can also view videos of his flights over several landmark cities, captured by special "Santa cams." Here are some highlights from last year's Santa Tracker:



(Visit www.noradsanta.org for more information.)

Happy holidays to all, and to Santa... a good flight!

Get holiday gift ideas and special savings

12/01/2008 09:10:00 AM
Today is Cyber Monday and we know many of you have holiday shopping on your mind. If you're not sure what to buy for that special someone, or if you're looking for ways to save on your holiday purchases, Google Product Search and Google Checkout can help.

Our Product Search team recently pored over millions of aggregated (and anonymous) search queries to put together some of the most popular products people are searching for. You can see the season's most-wanted gifts in various categories such as toys & games, cold weather apparel, and specialty foods. Someone you know just may have one of these items on their wish list.

With Google Checkout, you can shop quickly and easily with one login for hundreds of stores across the web. And now Checkout buyers can save $5, $10, $20 or more on their holiday shopping at over 600 participating stores, including StarbucksStore.com, the HBO Shop, J&R Electronics, and Petco.com. These exclusive discounts are available through December 17th.

To help you kick off the shopping season with ease, we've created a special site that brings these holiday savings and gift ideas together in one place. Enjoy your seasonal shopping!

Triple silken pumpkin pie takes the prize

11/26/2008 11:00:00 AM
What is the first thing that most people associate with Thanksgiving? Well, probably turkey, but pumpkin pie comes in a close second. As I am not a fan of the traditional pumpkin pie, I set out on a quest to find a delicious alternative this year. My search led me to a robust cookbook sitting on my kitchen shelves. Sheri Yard's Desserts by the Yard is an amazing compilation of a pastry chef's career spanning from coast to coast. What I found in that book turned out to be the most fluffy, decadent, flaky, scrumptious pie I have ever tasted. And apparently my officemates liked it just as much -- the triple silken pumpkin pie and I took home first place in last week's bake-off at our New York office! So if you're looking for a holiday-perfect pie, I encourage you to try out the recipe (PDF file). It takes a little time to make, but it's so worth it.

Happy baking, and happy Thanksgiving!



Sorting 1PB with MapReduce

11/21/2008 04:55:00 PM
At Google we are fanatical about organizing the world's information. As a result, we spend a lot of time finding better ways to sort information using MapReduce, a key component of our software infrastructure that allows us to run multiple processes simultaneously. MapReduce is a perfect solution for many of the computations we run daily, due in large part to its simplicity, applicability to a wide range of real-world computing tasks, and natural translation to highly scalable distributed implementations that harness the power of thousands of computers.

In our sorting experiments we have followed the rules of a standard terabyte (TB) sort benchmark. Standardized experiments help us understand and compare the benefits of various technologies and also add a competitive spirit. You can think of it as an Olympic event for computations. By pushing the boundaries of these types of programs, we learn about the limitations of current technologies as well as the lessons useful in designing next generation computing platforms. This, in turn, should help everyone have faster access to higher-quality information.

We are excited to announce we were able to sort 1TB (stored on the Google File System as 10 billion 100-byte records in uncompressed text files) on 1,000 computers in 68 seconds. By comparison, the previous 1TB sorting record is 209 seconds on 910 computers.

Sometimes you need to sort more than a terabyte, so we were curious to find out what happens when you sort more and gave one petabyte (PB) a try. One petabyte is a thousand terabytes, or, to put this amount in perspective, it is 12 times the amount of archived web data in the U.S. Library of Congress as of May 2008. In comparison, consider that the aggregate size of data processed by all instances of MapReduce at Google was on average 20PB per day in January 2008.

It took six hours and two minutes to sort 1PB (10 trillion 100-byte records) on 4,000 computers. We're not aware of any other sorting experiment at this scale and are obviously very excited to be able to process so much data so quickly.

An interesting question came up while running experiments at such a scale: Where do you put 1PB of sorted data? We were writing it to 48,000 hard drives (we did not use the full capacity of these disks, though), and every time we ran our sort, at least one of our disks managed to break (this is not surprising at all given the duration of the test, the number of disks involved, and the expected lifetime of hard disks). To make sure we kept our sorted petabyte safe, we asked the Google File System to write three copies of each file to three different disks.

Significantly improved handling of the so-called "stragglers" (parts of computation that run slower than expected) was a key software technique that helped sort 1PB. And of course, there are many other factors that contributed to the result. We'll be discussing all of this and more in an upcoming publication. And you can also check out the video from our recent Technology RoundTable Series.

Our international approach to search

11/21/2008 11:46:00 AM
In previous posts in this series, you have read about the challenges of building a world-class search engine. Our goal is to make Google’s search be relevant to all people, regardless of their language or country. As my colleague Amit Singhal described, we use statistical data as the basis for making sweeping algorithmic changes. Many of these changes can be rolled out across all languages we support, but in some cases the unique characteristics of each language require some algorithmic considerations and tuning. And to make things really interesting, there are cases where the same language is different across countries. Obvious examples are "color" in the U.S. vs. "colour" in the U.K., or "camião" in Portugal vs. "caminhão" in Brazil.

My name is Daphne Dembo, and my focus is improving Google's international search. This is a tough challenge, since Google search is used in many countries and languages where our engineers have little personal knowledge. Initially, the international search improvements were done by Search Quality engineers who were passionate about their languages and countries: Lina from Sweden improved our parsing of compound words in German and Swedish; Dimitra from Greece introduced diacritical support; Ishai from Israel worked on transliteration corrections for Hebrew and Arabic; Trystan from Australia created methods for identifying local search results and ranking them together with foreign ones from the same language; Alex, a bilingual Ukrainian and Russian, introduced morphological understanding of these languages. As the importance of our international search grew, we solicited help from Googlers in all our offices. Finally, we are leveraging an international network of search specialists who help us understand search within the unique combination of their language and country.

Our first step in providing search support for a language is to train our language model on a large collection of documents in that language. This ensures that our language model is more precise and comprehensive — for example, it incorporates names, idioms, colloquial usage, and newly coined words not often found in static dictionaries. For instance, we recently started identifying Swahili, and used pages such as this one for the Parliament of Tanzania to train our system with the language's nuances. Having a trained language model helps to categorize documents during crawling and indexing of the web and to parse the user's query. Once this stage was complete, we launched Swahili search in countries such as Tanzania and Kenya, enabling local searches for the "Dar es Salaam stock exchange" [Soko la hisa dar es salaam], and "cure for Malaria" [Tiba ya malaria]. (As always, we are using square brackets to denote a search query. For example, you can search for "soccer" in Hamburg, Germany by clicking on [fußball in hamburg]).

We learn some things from our users, so as people start using our search engine, we can improve the way we rank in that language. Here are few examples:
  • Spell corrections: We recently launched spell corrections in Estonian. If your Estonian is rusty, and you don't remember how to spell "smoke detector," we can suggest a spell correction for [suitsuantur], leading to better search results.
  • Diacritical marks: Many languages have diacritical marks, which alter pronunciation. Our algorithms are built to support them, and even help users who mis-type or completely ignore them. For example, if you're a resident of Quebec, Canada and would like to know the weather forecast in Quebec City, we'll serve good results whether you type with diacritical signs [Météo à Québec] or without [meteo quebec]. Czech users can read the same excellent results for a popular kids' cartoon by searching for [krtecek] and [krteček]. On the other hand, sometimes diacriticals change the meaning of the word and we have to use them correctly. For example, in Thai, [ข้าว] is "rice," with completely different results than [ข่าว], which is "news"; or in Slovakia, results for "child" [dieťa] are different than results for "diet" [diéta].
  • Synonyms: A general case of diacritical support is the handling of synonyms in different languages. Korean searches showed that "samsung" can be viewed as a synonym of "삼성", so that when users search for [samsung], they find results which have the company's name in Korean.
  • Compounding: Some languages allow compounding, which is the formation of new words by combining together existing words. You can see a nice example in Swedish, where we return documents about a Swedish credit card for both compounded [Visakort] and non-compounded [visa kort] queries.
  • Stemming: Google has developed morphological models that can receive compound words as queries, and return pages which contain their stem, possibly as part of a different compound. For example, when searching for cars in Saudi Arabia, you can search for [سيارة] and [سيارات] because both are variants of the same stem, and both return many common results. A Polish user can search for "movie" [film], and get back results that contain other variants of the stem, such as "filmów," "filmu," "filmie," "filmy." A user from Belarus will find results for all word forms of the capital, Minsk [Мінск]: "Мінску," "Мінска," "Мінскага."
In addition to these semantic factors, Google does even more to parse documents and queries. Understanding the details of language usage in a country is important. Notation of acronyms is different across languages: In Hebrew it is double quotes before the last (left-most) character, as in "prime minister" [רה"מ]; in Thai — a dot at the end of the word, as in police station [สน. ]; while in the U.S. — dots after each character, as in [I.B.M.]. Chinese users quote works of art with a "《", as in: [《手机》剧情], and denote dates with a "日", as in: [2006年1月13日].

Beyond the linguistic elements of a language, we consider how people enter a query. For example, some languages that do not have Latin scripts require keyboards with dual alphanumeric keys. The user can switch between language input modes by typing special keystrokes. In case the user forgets to type this sequence, the queries end up being gibberish. You can see correct handling of these mistakes in Arabic ([hgsuv] corrected to [السعر]) and ([حقثسهيثىفهشم ثممثؤفهخىس ] corrected to [presidential elections]), Hebrew ([vdrk, kuyu] corrected to [הגרלת לוטו]), and Cyrillic ([rehc ljkffhf] corrected to [курс доллара]).

Another way of avoiding the inconvenience of switching keyboard modes is by typing the phonetic sounds of the query in Latin characters. Recreating the correct query in the target language isn't trivial, since there might be many possibilities. We can see several such examples in which we suggest the same query in the intended language for Russian ([biskvitnyi rulet] to [бисквитный рулет]), "movies" in Chinese ([dianying] to [电影]), and "Bank of Attica" in Greek [trapeza attikhs] returns good results for "Τράπεζα Αττικής". Users of 8 Indic languages (such as Hindi, Gujarati, Telugu) can type the phonetic sound of the query, and choose the words in Hindi script:


Ease of typing and reading is also influenced by the language used. Since every Chinese word requires several keystrokes on a standard keyboard, we provide category browsing by Images and related searches so that people don't need to type as much. Similarly, we are now launching Google Suggest, or real-time completion of queries, in many languages.

So far I described how we improve the quality of search in a language. However, there is a strong effect of the location of the user, even if it is only approximated to the country, since in many cases local content is more relevant than global information. For example, searching for Spanish Yellow Pages [Páginas Amarillas] will result in several documents of global interest and several local results in Peru, Mexico, and Spain. Similar to that, searching for [Côte d'Or] in France will return results for that region, whereas searches in Belgium will return results about the chocolate maker.

Note that the display of information should conform to the standards in that country, so we display "," as a decimal notation for Croatian users who want to know how many millimeters are in an inch [inč u milimetrima], or for Italian users who are interested in currency exchange rates [50 euro in dollari]. Similarly, temperatures in Norway [Været i Oslo] will be displayed in Celsius, while in the U.S. — in Fahrenheit [weather Boston].

If everything else fails, we provide cross-language translations based upon Google's translation technology described in this blog post. We will translate your query to English, search English documents on the web, and translate the returned results from English back into the original query language. For example, Japanese users who are interested in viewing Halloween illustrations (Halloween is a holiday which originated in Ireland) can search for [ハロウィン イラスト]. You can then request a Japanese translation of the English pages (at the bottom of the page), which will bring up the translation page in the screenshot below. Similarly, Korean users can search for the latest on Harry Potter [해리 포터], and Arabic readers can search for the opening of the Sydney Opera house [افتتاح دار الاوبرا في سيدني]. (Click on the image to see a larger version.)



All in all, Google Search is being actively developed for more than 100 languages, in 150+ countries, with dozens of improvements launched each month. So far I've covered the basics of how international search works, but this is just the surface of all the international work we do. There are many other interesting topics that impact international markets like usability, homepage and results page layout, and connectivity. An understanding of real cultural and human factors is essential to creating a search engine that resonates with the people who use it. (Click on the image to see a larger version.)



(Update: Replaced example in the 4th bullet point.)