Kamis, 20 Desember 2007

Post Blogger Comments Using Your Own Domain

Blogger has recently added support for posting comments by authenticating with OpenID. The integration is now live for all Blogger blogs and that means you no longer have to show your identity by using a Google account. You already have an OpenID if you have an account at AOL, WordPress, LiveJournal or at one of the other OpenID providers. You can be your own OpenID provider, but this is a little more complicated.

A simple way to use your own domain as an OpenID is to delegate it to another OpenID provider. That means you should get an OpenID from a site like MyOpenID and add these two lines in the head section of your homepage (you should replace http://NAME.myopenid.com with the real OpenID):

<link rel="openid.server" href="http://www.myopenid.com/server" />
<link rel="openid.delegate" href="http://NAME.myopenid.com/" />

Now you can use your domain or subdomain everywhere you're allowed to enter an OpenID. To post a Blogger comment, select "Any OpenID" from the drop-down and enter your URL. You'll be redirected to the OpenID provider to enter your password.



Google removed the option to enter your URL when you don't sign up with a Google account, but you can still show the URL if you use OpenID.

Update: Blogger brought back the option to enter a URL when post unauthenticated comments.

Google Gears Wants to Upgrade the Web



"A gear is a component within a transmission device that transmits rotational force to another gear or device." (Wikipedia)


Most people think that Google Gears is a way to make web applications work offline, but it's much more than. Google Gears addresses many limitations from today's browsers and wants to make the browsers more powerful.

Here's a list of features that could be included in the next releases, but you can find more in Google Gears wiki:

* image manipulation - "a module to give Javascript a way to resize, crop and compose images together on the client side. This will allow, for example, images to be resized into a web-friendly format before being uploaded to a photo album. Another use is for composition of images together as an efficient alternative to server-side composition or CSS layering. Yet another use is for basic photo editing - a user can edit a photo with instantly applied changes before uploading it to the server."

* location - "an abstraction for the various LBS APIs that currently exist on mobile platforms (GPS-based, network/cellid-based). The API consists of the Location class, which encapsulates various location attributes (latitude, longitude, etc), and also provides the means to query the platform for a location fix." This suggests that Google Gears will be available for some mobile phones.

* desktop shortcuts for web applications that lets you click on an icon from your desktop and open the "application" in your browser. This could make the transition from the desktop to the browser easier, even if some people could find it confusing. Mozilla Prism is a similar initiative.

Google's Dion Almaer describes Gears in a very plastic way. "We get to drive a few makes of cars (browsers) on the (information) highway. When we want new features, we have to wait for a new model to come out, and recently it feels like Cuba. The top selling car is a 1950’s Chevy. As drivers that are passionate about the driving experience, the Gears team is trying give everyone a foundation to replace the engine, even as you drive."

Google Gears is still in an early phase of development and it could include many other features, but it will be interesting to see how Google intends to push its adoption. The Gears-enabled services could ask the users if they want offline access or other fancy features, Google could also include it in the toolbar or distribute it with popular applications from third-parties. For now, Google Reader, Remember the Milk and Zoho Writer are the most important applications that use Gears, but next year most Google services will use Gears.

Rabu, 19 Desember 2007

Who Are My Gmail Contacts?



Google has an awkward way of dealing with contacts in its communication apps. In Gmail, your contact list includes all the people you've ever replied, but you can also add other contacts manually.

"Email addresses are automatically added to your Contacts list each time you use the Reply, Reply to all, or Forward functions to send messages to addresses not previously stored in your Contacts list," according to the help center. While this should save you some time and effort, your contact list will include a lot of people you wouldn't have normally added. For example, if somebody sends me a tip for this blog and I reply to thank him, my contact list includes that person. Gmail doesn't have an option to turn off this feature, so all you can do is to either ignore your contact list or create a group that contains only your real contacts.

By default, if your conversation with someone includes more than 2-3 replies, that person is automatically added to your list of Google Talk friends. To chat with someone you normally need to ask for permission, but this feature bypasses the annoying question because Google assumes you really know that person. Fortunately, you can disable it in Gmail's settings and Google Talk, but not many people will do this. "If there are other Gmail users whom you frequently email, you'll be able to chat and see each other online without having to send an invitation. Gmail automatically determines which contacts you'll be able to talk to without having to invite each other." (Gmail help center)

So the rules are simple:

Rule #1:
if you reply to someone's email, that person is added to your Gmail contact list.
(Error #1: you may not know that person)

Rule #2 (opt-out):
if you reply to someone's messages more than 2-3 times, that person is added to the list of Google Talk friends.
(Error #2: see error #1. Also that person may not be your friend.)

So it's quite likely that your Gmail contact list and Google Talk friends list include people you don't know. Now that we have these two lists (obviously, Google Talk friends are also Gmail contacts), you may wonder where you could use them.

In Google Shared Stuff, a rather obscure social bookmarking site, all the web pages you bookmark are public, but there's also a page with "stuff from people you know". That page shows the most recent bookmarks from your Gmail contacts, but many of these contacts are people I don't know.

Google Reader added a feature that shows shared items from your Google Talk friends. Here's how it was introduced:
One of my favorite uses for Reader is to share interesting stuff with my friends. I click "Share" whenever I find an interesting item, be it hilarious or serious. This way, all my friends can subscribe to my shared items (and I to theirs), and we can easily see if a friend has found something interesting. This can be inconvenient, as I have to distribute my shared items link to my friends and vice-versa. So, we've linked up Reader with Google Talk (also known as chat in Gmail) to make your shared items visible to your friends from Google Talk.

Except that, according to the rule #2, my Google Talk friends aren't necessarily my friends.

Google will probably continue to use your contact list for other services, so at some point your Gmail contacts or Google Talk friends might see your public documents, photo albums, notebooks, personalized maps, blog posts. All of these public actions dynamically generate a news feed (the way you know it from Facebook) and your contacts should be entitled to find things about you. The main problem is that your contact list has been generated automatically and has little to do with you. Those people aren't necessarily your friends, your family, your co-workers, they're just some people you happened to email at some point.

Before using theses random lists of people to broadcast information about you, Google should clearly define their purpose and let you manage them. The problem with creating a social layer over Google's web apps is that Google is not a social network and your contacts are not your friends and not even people you know.

Translation Service for Google Talk

Google launched translation bots for a lot of language pairs, even more than the ones available at Google Translate. To use them in Google Talk or in any other IM client that supports Jabber, you need to add one of the bots as a friend, start a conversation with the bot and enter the text you want to translate. Google's bots have a simple format for addresses:

[original_language]2[destination_language]@bot.talk.google.com

For example, if you want to translate text from English to French, you need to add en2fr@bot.talk.google.com. To translate Chinese text in English, add zh2en@bot.talk.google.com. Here's the list of languages pairs and you'll notice many new pairs, displayed in bold below (some of the language pairs were subsequently added in June 2008):

ar2en, en2ar (Arabic<->English)
bg2en, en2bg (Bulgarian<->English)
cs2en, en2cs (Czech <-> English)
da2en, en2da (Danish<->English)
de2en, en2de (German<->English)
de2fr, fr2de (German<->French)
el2en, en2el (Greek<->English)
es2en, en2es (Spanish<->English)
fi2en, en2fi (Finnish<->English)
fr2en, en2fr (French<->English)
hi2en, en2hi (Hindi<->English)
hr2en, en2hr (Croatian<->English)
it2en, en2it (Italian<->English)
ja2en, en2ja (Japanese<->English)
ko2en, en2ko (Korean<->English)
nl2en, en2nl (Dutch<->English)
no2en, en2no (Norwegian<->English)
pl2en, en2pl (Polish<->English)
pt2en, en2pt (Portuguese<->English)
ro2en,en2ro (Romanian<->English)
ru2en, en2ru (Russian<->English)
sv2en, en2sv (Swedish<->English)
zh2en, en2zh (Chinese<->English)
zh-hant2en, en2zh-hant (Traditional Chinese<->English)
zh-hant2zh, zh2zh-hant (Traditional Chinese<->Simplified Chinese)


While this is a great interface for translating short texts (you can access Google Talk from Gmail, from google.com/talk or in many other ways), you can also use the bots to translate conversations in real-time. You need to invite the two corresponding bots in a group chat, so this doesn't work in the desktop client, which still does not support group chats. For some reason, when I invited one of the bots, it was offline, but it still translated my messages.

It would be great if Google adds this as a standard feature of Google Talk and you only need to enter your native language, but the translation quality is not that great and it could cause problems in some situations. The good news is that Google's statistical translation system advances really quickly and you'll see more and more languages pairs in the future.

Selasa, 18 Desember 2007

Holiday Village, the New Winter Theme for iGoogle

There's a new winter theme in iGoogle: Holiday Village. This mysterious theme has appeared and disappeared for almost a week and many people wondered why Google doesn't release it for everyone. Apparently, Google realized that Christmas isn't far away and the theme should be available in your iGoogle pages.

Here's the description: "watch the snowflakes fall and the lights twinkle in this cozy and quaint alpine village."

If you can't see the theme, you might try to copy this code in your address bar while visiting iGoogle and then press Enter. It seems that not all computers can access the theme's files, so this code could reset the theme to the default one.

javascript:_dlsetp('preview_skin=skins/holidayvillage.xml');



You can see more images in this slideshow.

Related:
The previous winter theme

Senin, 17 Desember 2007

Slowly Transitioning to Online Software

New York Times has a long article about the differences between Google and Microsoft in terms of vision. "The growing confrontation between Google and Microsoft promises to be an epic business battle. It is likely to shape the prosperity and progress of both companies, and also inform how consumers and corporations work, shop, communicate and go about their digital lives. Google sees all of this happening on remote servers in faraway data centers, accessible over the Web by an array of wired and wireless devices — a setup known as cloud computing. Microsoft sees a Web future as well, but one whose center of gravity remains firmly tethered to its desktop PC software."

Eric Schmidt, Google's CEO, envisions that 90% of today's computing tasks can be moved online. "To explain, Mr. Schmidt steps up to a white board. He draws a rectangle and rattles off a list of things that can be done in the Web-based cloud, and he notes that this list is expanding as Internet connection speeds become faster and Internet software improves. In a sliver of the rectangle, about 10 percent, he marks off what can't be done in the cloud, like high-end graphics processing." (my emphasis)

Google also thinks that people don't use all the features that are available in many desktop applications. "If you're creating a complex document like an annual report, you want Word, and if you're making a sophisticated financial model, you want Excel. That's what the Microsoft products are great at. But less and less work is like that," said Google's Dave Girouard.

And for Google, things are going in the right direction: more people have access to fast Internet connection, users don't want to keep their data on a single computer as they found the advantages of sharing and collaborating online. There's also the advantage of a much lower price for storage and computing. Google's "vast data centers are designed by Google engineers for efficiency, speed and low cost, giving the company an edge in computing firepower and allowing it to add offerings inexpensively."

For now, 2.000 companies start to use Google Apps every day (most try the free version), Google Docs had 1.6 million US users last month (source:Compete.com), Gmail doubled its US users to 20.1 million in November (source:comScore).

Related:
Replacing desktop software with web applications

Minggu, 16 Desember 2007

Google Is All About Large Amounts of Data


In a very interesting interview from October, Google's VP Marissa Mayer confessed that having access to large amounts of data is in many instances more important than creating great algorithms.
Right now Google is really good with keywords, and that's a limitation we think the search engine should be able to overcome with time. People should be able to ask questions, and we should understand their meaning, or they should be able to talk about things at a conceptual level. We see a lot of concept-based questions -- not about what words will appear on the page but more like "what is this about?" A lot of people will turn to things like the semantic Web as a possible answer to that. But what we're seeing actually is that with a lot of data, you ultimately see things that seem intelligent even though they're done through brute force.

When you type in "GM" into Google, we know it's "General Motors." If you type in "GM foods" we answer with "genetically modified foods." Because we're processing so much data, we have a lot of context around things like acronyms. Suddenly, the search engine seems smart like it achieved that semantic understanding, but it hasn't really. It has to do with brute force. That said, I think the best algorithm for search is a mix of both brute-force computation and sheer comprehensiveness and also the qualitative human component.

Marissa Mayer admitted that the main reason why Google launched the free 411 service is to get a lot of data necessary for training speech recognition algorithms.
You may have heard about our [directory assistance] 1-800-GOOG-411 service. Whether or not free-411 is a profitable business unto itself is yet to be seen. I myself am somewhat skeptical. The reason we really did it is because we need to build a great speech-to-text model ... that we can use for all kinds of different things, including video search.

The speech recognition experts that we have say: If you want us to build a really robust speech model, we need a lot of phonemes, which is a syllable as spoken by a particular voice with a particular intonation. So we need a lot of people talking, saying things so that we can ultimately train off of that. ... So 1-800-GOOG-411 is about that: Getting a bunch of different speech samples so that when you call up or we're trying to get the voice out of video, we can do it with high accuracy.

Peter Norvig, director of research at Google, seems to agree. "I have always believed (well, at least for the past 15 years) that the way to get better understanding of text is through statistics rather than through hand-crafted grammars and lexicons. The statistical approach is cheaper, faster, more robust, easier to internationalize, and so far more effective." Google uses statistics for machine translation, question answering, spell checking and more, as you can see in this video. The same video explains that the more data you have, the better your AI algorithm will perform, even if it isn't the best.

Peter Norvig says that Google developed its own speech recognition technology. "We wanted speech technology that could serve as an interface for phones and also index audio text. After looking at the existing technology, we decided to build our own. We thought that, having the data and computational resources that we do, we could help advance the field. Currently, we are up to state-of-the-art with what we built on our own, and we have the computational infrastructure to improve further. As we get more data from more interaction with users and from uploaded videos, our systems will improve because the data trains the algorithms over time."

Google is in the privileged position to gain access to large amounts of data that could be used to improve other services.