Thursday, February 28, 2013

The Shortest Google Search URL

What if you want to include a link to a Google search results page and the URL needs to be short? Instead of copying the URL from the address bar and including a lot of unnecessary parameters, you can manually build a simple URL:

http://www.google.com/search?q=test

Obviously, you should replace "test" with your query. If there are multiple keywords, replace space with "+" like this:

http://www.google.com/search?q=test+my+speed

You could drop "www." from the URL:

http://google.com/search?q=test

Google now uses AJAX to load search results, so you can replace "search?" with "#":

http://google.com/#q=test

You can even drop the slash after "google.com" and the URL works in most desktop browsers, but not in mobile browsers. You could also replace "google.com" with "google.ca" or other Google domains, but you'll get different results.

Fortunately, Google owns the googl.com domain and you can use this URL:

http://googl.com/#q=test

Upcoming Google Translate Features

Google Translate has some cool features that aren't yet publicly released. They're disabled, according to the source code of the page.

The text-to-speech feature will allow you to select the dialect for languages like English, Spanish, Portuguese and Chinese. It's nice to compare American English, British English and Australian English.


There's also a phrasebook feature that could help you learn some useful phrases and words in a variety of foreign languages. Another disabled feature is a dictionary view, but it's not clear if it only uses Google's dictionary data. Google could also monetize the service by including contextual ads.

Drag and Drop Links to Google Translate

Google Translate has a quick way to translate pages: just drag and drop links to the Google Translate page. You'll see a big yellow box at the bottom of the page when you're about to drop the link. Instead of copying the URL, pasting the URL and clicking "Translate", you can translate the page using a simple drag and drop.


This feature would be even more useful if you could drag and drop pages that are already loaded in a different tab. I've tried to do that in Firefox, Opera and Chrome, but it only worked well in Chrome. The other browsers added some new characters to the URL and Google had to translate error pages. Chrome is already integrated with Google Translate, so you don't have to use this feature.

You could also select some text from a page and drag it to the input box (ignore the yellow box this time). If instant translation is enabled, you don't even need to click "Translate".

Google Tests a New Navigation Interface

Google tests a new navigation menu that's more compact and includes fewer services. You need to click an icon that's placed next to the "sign in" button and you can access popular services like Google Maps, YouTube, Gmail, Google Drive and Google Calendar. For some reason, the menu includes a redundant icon for Google Search even when you're using Google's search engine.

The interface seems to be inspired by Chrome's app launcher, uses less space, but it's not very obvious. It's like a new version of the hidden navigation menu that was launched back in 2011 and removed after a few weeks.




{ Thanks, Maurice. }

Wednesday, February 27, 2013

Google Drive Video Embeds, Too Limited

If you thought that you can upload videos to Google Drive and embed them into your site just like you can do with YouTube videos, think again. I've uploaded a video to Google Drive, added the embed code to a blog post and after a few hundred views, the video stopped playing. Here's the Google Drive error message: "Unable to play this video at this time. The number of allowed playbacks has been exceeded. Please try again later."

As you can see, even the video player from Google Drive has been removed:


After deleting the embed code from the blog post, Google no longer displayed the error message and the video started to play again.

Chrome Shows Which Tab Is Making a Noise

If you've read the previous post about the animated YouTube favicon, you should know I was wrong. It's not a new YouTube feature, it's a new Chrome feature that tries to detect the tabs that are producing sounds and adds an animation to the favicons.

The feature is currently available in the Canary channel and the latest Chromium builds, so it's not yet ready for primetime. For example, Chrome animates the Google Music favicon even if there's no music playing, but the feature works well for YouTube videos.



While it's nice to be able to tell which tabs are noisy, the animated favicons are distracting and many people find them annoying. Why not add a widget that lets you control the volume for each tab or mute some of tabs?

{ Thanks, everyone. }

Gmail Attachments in Google Drive?

Jérôme Flipo spotted a new GDrive feature in an animated GIF file shared by the Google Drive team: a "Gmail attachments" section.


It turns out that there are many references to Gmail attachments in Google Drive's code, so this new feature is not yet enabled in the public version of Google Drive, but Google employees test it.



It's likely that you'll be able to manage Gmail attachments from Google Drive, find attachments and share them with other people. Google Drive is already the central file repository for most Google services.

Tuesday, February 26, 2013

A Disrupting Google Easter Egg

You might remember the [do a barrel roll] Easter Egg which rotates Google's search results page. The query is so popular that it's the first suggestion when you type "do a" and Google Instant automatically shows the results for [do a barrel roll] and triggers the Easter Egg.

"The issue is, if you search for just [do a] in Google with Google Instant on, it will show you the search results for [do a barrel roll] and just spin the screen before you can complete your query. So if you meant to search for [do a hop skip and a jump], good luck because before you know it, the search results will take an unexpected turn," reports Search Engine Roundtable.


Actually, you can continue entering the query and the Easter Egg will disappear, but few people will do that. This is an example of Easter Egg that disrupts the user experience and makes Google Search more difficult to use.

Google could trigger the Easter Egg only if you type the entire query or if you select the first suggestion. Another option is to delay the Easter Egg animation.

Hide Google's Navigation Bar

If you don't like Google's black navigation bar or you don't use, there's a simple way you to hide it: just bookmark this URL https://www.google.com/webhp?esrch=Agad::Public. It's used by the A Google a Day site, which shows daily puzzles you can solve using Google search. Unfortunately, this interface doesn't show very recent results (from the past week), so you can solve the puzzles on your own, without spoilers.


You can right-click the search box in Chrome, Opera and Firefox, select "Add as search engine", "Create search" or "Add a keyword for this search" and create a new search engine you can trigger using a keyword.


Tecno-Net reports that Google tests a new interface that hides the navigation bar on search results pages and only shows it when you visit the homepage.

1TB of Google Storage? Buy a Chromebook Pixel Instead

If you've ever wanted to buy 1TB of Google storage to upload all your documents, videos, photos and audio files to Google Drive and Google+ Photos, now it's cheaper to buy Google's Chromebook Pixel. When you pay $1300 for the ultrabook, Google also offers 1TB of storage for 3 years.

The regular price for 1TB of Google Drive storage is $50/month, so Google offers $1800 of storage for only $1300 and the hardware is "free". Obviously, there's a big difference between monthly payments and an upfront payment, not to mention that you may not need 1TB of storage right now and you can always upgrade later.


Google only offers 100GB of storage for 2 years when you buy any other current-generation Chromebook (Samsung Series 3, Samsung 550, Acer C7, HP Pavilion 14), so you only get $120 worth of storage. Chromebook Pixel users get 10 times more storage and an additional year for using it. And that's not the only "goody": "your Chromebook comes with 12 free [Gogo in-air internet] passes that you can use over 2 years on domestic US flights."

Thursday, February 21, 2013

Google's First Ultrabook

Chromebook Pixel is the first Chromebook designed by Google and the first premium Chromebook. Until now, Chromebooks used low-end CPUs, average displays and plastic chassis. Google decided to change all that and build "the best laptop possible" to inspire other manufacturers. It's like the first Nexus Chromebook.


But why is it called Pixel? It's the first Chromebook with a retina-like display, 3:2 aspect ratio and 2560x1700 resolution. Much like Apple's Retina MacBook Pro, Chromebook Pixel uses pixel doubling to make everything look sharp and crisp. The display has "the highest pixel density (239 pixels per inch) of any laptop screen on the market today" and it's a 12.85-inch IPS touchscreen with 400 nit brightness and 178° extra-wide viewing angles.


Pixel has an anodized aluminium body, glass touchpad, backlit keyboard, hidden vents, Intel i5 processor and 4GB of RAM. "The touchpad is made from etched glass, analyzed and honed using a laser microscope to ensure precise navigation. The Pixel also has powerful, full-range speakers for crisp sound, a 720p webcam for clear video, and a total of three microphones designed to cancel out surrounding noise," informs Google.

Google also includes 1TB of free Google Drive Storage for 3 years. You can also buy a special model with an integrated LTE modem for Verizon.

The Verge has some cool pictures. "There are subtle design touches throughout the machine that help add to the 'premium' feel that Google is going for. The fan vents out in the hinge, every edge is subtly bezeled to prevent sharp angles, the speakers are fairly loud despite being hidden underneath the keyboard, and Google even opted to not put labels next to the ports."

The downside is that Google's Chromebook is really expensive: $1300 (WiFi)/$1450 (WiFi+LTE). It's more expensive than Apple's MacBook Air and most ultrabooks. While it has a better display, Chrome OS is more limited than MacOS (or Windows) and it only became popular when Samsung and Acer started to offer $200-$250 Chromebooks. When you can buy tablets with high-resolution displays for $400 (Nexus 10) or $500 (iPad), the $1300 Chromebook Pixel feels out of place and overkill. After all, you can buy a Nexus 4, Nexus 7, Nexus 10 and a Samsung Chromebook for less than $1200. An ARM device would've been a lot cheaper, but less powerful.

"The Pixel will be available for purchase starting today on Google Play in the U.S. and U.K., and soon on BestBuy.com. The WiFi version ($1,299 U.S. and £1,049 U.K.) will start shipping next week and the LTE version ($1,449) will ship in the U.S. in April. If you're interested in a hands-on experience, you can visit select Best Buy (U.S.) and Currys PC World (U.K.) store locations."

Now Google has a good reason to open its own physical stores.

{ via Google Blog }

New Google Weather OneBox for Desktop

Google updated the weather OneBox from the desktop search interface to match the tablet interface. The new OneBox is huge, it includes more information and it's more interactive. While the old OneBox only displayed the weather forecast for 4 days, the new one has an hourly and an 8-day forecast for temperature, precipitation and wind.


Here's the old interface (I've managed to take this screenshot by pretending I'm using IE7 and changing the user-agent):



It's interesting that many search features are first added to the mobile/tablet interface and a few months later to the desktop UI.

{ Thanks, Mikhail. }

Google Drive's File Previews

Google Drive has a new feature that lets you preview files using an interface borrowed from Google+. This feature is not restricted to photos and videos, it also works for Google Docs documents, presentations, spreadsheets, forms, drawings, Microsoft Office files, PDF, PostScript and XPS files and TrueType fonts.


It's interesting that Google Drive shows the new previews if you click a file that's not associated with a web application. For examples, the previews don't show up if you click a Google Docs document, so you need to right-click the file and select "Preview".


"When previewing a file, it's easy to flip through nearby files by clicking the arrows on the left and right sides of the preview window. This is a great way to scan through a group of photos you've stored in your Drive," explains Google. You can also use the left and right arrow keys to navigate to the other files and up/down arrow keys to scroll up/down in documents. While the previews don't let you edit documents, you can select text, zoom in or out, find text (Ctrl+F), print the documents or share them with other people.


The feature is currently rolled out, so you may not see it yet in your account. Check back later or sign in to a different Google account.

{ via Google Drive Blog }

Monday, February 18, 2013

Chromebooks and Battery Life

There's something wrong about the latest Chromebooks: battery life. Cr-48, Google's prototype hardware, had a 63Wh battery that provided more than 8 hours per charge. Samsung's first Chromebook had a similar battery that provided "up to 8.5 hours of continuous use".


For some reason, a few months after introducing the Series 5 Chromebook, Samsung switched to a different battery: 41Wh and only 6.5 hours of use. The updated Series 5 Chromebook, which uses a Celeron processor, has a battery with a larger capacity: 51Wh, but the same battery life. Samsung's latest Chromebook, which uses a Cortex A15 chip, has a 30Wh battery and the same battery life because the ARM chip is more efficient.

What about the latest offerings from Acer, Lenovo and HP?

- Acer C7: 37Wh, 2.5Ah, 3.5 hours battery life
- HP Pavilion: 35Wh, 2.55Ah, 4.25 hours battery life
- Lenovo X131e: 6.5 hours battery life.

It's not clear why the latest Chromebooks no longer have a great battery life, but the new batteries are obviously cheaper and lighter. Google's Chromebook features page no longer mentions the word "battery", even if this was one of the main selling points for the first Chromebooks.

Google Docs Templates, Still Available

Google has recently updated the "Create" menu from Google Drive and removed the templates option from the menu. You can still find it if you visit this page.

Another workaround is to create a document, spreadsheet, form, drawing or presentation, click the "File" menu, select "New" and then "From template".


Maybe Google finds a way to integrate the templates section with the Google Drive apps, so that it doesn't open in a new tab.

Wednesday, February 13, 2013

Google OS, Developed in 2006?

Update: Peter Kasting, an engineer on the Chrome team, says that this story could be inaccurate: "I was skeptical of this story, and according to a fellow Chrome developer, there's no connection between Jeff's work and Chrome OS". Jeff Nelson has a patent for "Network based operating system across devices", but it's only vaguely related to Chrome OS. His LinkedIn page claims "Mr. Nelson invented Google Chrome OS while working at Google in 2006."

Was Chrome OS developed before Google Chrome? Jeff Nelson, a former Google engineer, says that he started working on a Google OS prototype in 2006. The goal was to make Firefox run faster, so he used this browser.

"It was a chopped down Linux distribution - as so many 'new' operating systems are, these days. I wrote the first version as early as July 2006 and showed it around to management. Instead of launching a project, the response was extremely tepid. My boss complained, 'You can't use it on an airplane.' Actually, you could as, under the covers, it was still a bare-bones Linux distribution and could execute any Linux program installed on it," Jeff explains. "The main priority when I started constructing the operating system was the need for speed - to create a super-fast operating system."

Jeff was developing web apps at Google and he had to restart the browser frequently. "Restarting the web browser was a particularly slow operation, often taking 30-45 seconds, whether IE or Firefox, Linux or Windows. However, even simple tasks such as displaying a directory in a file explorer were unreasonably slow operations, requiring several seconds for a task that should be nearly instantaneous. (...) The solution? Move the entire desktop operating system into RAM. By moving the entire operating system into RAM, that immediately took off the table the largest performance bottlenecks in the operating system: File I/O."

Most tasks were now completed almost instantly, Firefox restarted in 1 second and even the code compiled faster. The problem was that RAM is a volatile memory, so you could lose data if you didn't save it to the disk. He solved the problem by only using web apps and performing some backups to a local storage media. Web apps solved many other problems: avoiding software installation, using less storage, many apps weren't available for Linux.

"Thus, tracking down web apps to replace any and all functionality normally found on a desktop, became a priority. That's how the seeds of the webapps on the Chromium desktop, albeit originally written in HTML and running on Firefox, were planted," concludes Jeff.


Google released a lot of web apps in 2006: Google Chat, Google Page Creator, Google Calendar, Google Spreadsheets, Google Docs, Picasa Web Albums, Google Apps for Your Domain. Chrome was launched 2 years later and the first prototype Chromebook (Cr-48) was available in December 2010.

{ via Chrome Story}

WebM and Broken Promises

Two years ago, a surprising post from Chromium's blog announced that Google Chrome will drop support for H.264 HTML5 videos. "Though H.264 plays an important role in video, as our goal is to enable open innovation, support for the codec will be removed and our resources directed towards completely open codec technologies."

Nothing happened since then, so I assume that Google changed its mind. Mostly likely, Google hoped that this announcement will increase WebM's adoption, but that was wrong. Other than YouTube, few other sites converted their videos to WebM. Why spend time and money to convert videos when they could simply use a Flash player?

After all, Adobe Flash doesn't support WebM and that's the second broken promise: "As Kevin Lynch mentioned today at Google I/O, we are excited to include the VP8 video codec in Flash Player in an upcoming release, which will help provide users with seamless access to high quality video content on all of their Internet-connected devices," announced a blog post from 2010.

Adobe didn't support the VP8 codec, so Flash is still mostly H.264-only. And so are Internet Explorer, Safari, iOS, Windows Phone. WebM is mostly non-existent in the mobile space and that's where the future lies. Even if Android 2.3+ supports WebM, there aren't many devices with hardware acceleration for WebM.

Now Firefox's Windows nightly builds allow you to play H.264 HTML5 videos using the Windows Media Foundation backend. "That means if you're using a Windows computer that already has a licensed H.264 decoder installed, you'll be able to enjoy HTML5 video that's been encoded using MPEG LA's codec."

That means in the near future the most important browsers will support H.264 videos natively and WebM will matter even less. There's a VP8 successor that's more efficient, there's WebP for images and there's the WebRTC API for native video chat apps, but H.264 will continue to dominate web video. Those broken promises just made it more obvious.