Scalar Motion

and a few stops along the way

Search Suggestions from Google

Posted by ScalarMotion on August 22, 2009

Last week I needed to find out how to perform a particular operation in Linux. I tried googling for it. As soon as I typed “how to” in the box, a list of auto-complete suggestions from Google dropped down. One of them read “how to get pregnant”, and I was like “no way that can be a popular search question”. So I dug around some more. I typed words like how/what/why/when/who to find out what common questions people were asking on the internet. I was in for some surprise. Look at these snapshots for some samples:


So, tying a tie has people in knots!


"How can I lose weight fast?" ... "How can I watch free movies online?"


"Why do men have nipples?" ... Proponents of intelligent design, please answer.


Hmm, why would things float ...


"Green"? Too much broccoli, may be?


Beer will indeed make hell a lot more tolerable.


"Who can I sue?" Are you really just looking for one?


Posted in People | Tagged: , , | 1 Comment »

Propeller Image Aliasing

Posted by ScalarMotion on March 15, 2009

Many people, who have tried taking a picture of a spinning airplane propeller with their cellphone cameras, have been surprised by the outcome. After all, they didn’t expect to see many ghostly propeller blades floating in the air without being totally detached to the airplane. Here is an example: a photograph of a rotating propeller taken by an iPhone.


If you click on the photograph, it’ll take you the forum where it was originally posted. Sure enough, you’ll also see the ususal cries of “photoshop”.

What really happens

The cameras on many cellphones are slow scanning digital cameras. When capturing an image, they  do not expose all the pixels at the same time. Rather they expose and capture one row of the sensor before moving onto the next. What this means is that different rows (or columns, depending on the orientation of the sensor) of the image are captured at different times. And during this interval the blades move appreciably. The entire thing is a bit difficult to visualize. So I have created a MATLAB simulation to demonstrate this effect in a slow-motion video. In the video below: a sensor is capturing the photograph of a spinning propeller by exposing one row at a time.

Simulation parameters: Propeller speed = 1800 RPM. Camera shutter speed = 1/15 s.

Notice the similarities between the simulation result and the propeller picture above?!

Posted in Photography, Science | Tagged: , , , , | 49 Comments »

“Omnibar” for Firefox Has Arrived

Posted by ScalarMotion on September 17, 2008


Few days ago I had blogged about how the address bar in Google Chrome was a brilliant new concept and that it beat everything else out there.

Now there is an extension, named Omnibar, that brings the same concept to Firefox. In fact, it goes a step ahead. It allows searching with multiple search engines in one go. It’s neatly done. Check it out, if you use Firefox.

This, as an example, shows how powerful the concept of extensions really is. I have read that developers will be allowed to build extensions for Chrome too. And I can’t wait to see what they will bring to the table.

UPDATE: To get the latest versions go to this page:

Posted in Technology | Tagged: , , , , , | 1 Comment »

User Review: Firefox 3.0 vs Chrome vs IE 8

Posted by ScalarMotion on September 5, 2008

This is an old review. All browsers have gotten major updates since this article was written.

I am an unloyal Firefox (FF) user. With so much buzz around Google Chrome and some around Internet Explorer 8, I just couldn’t resist them. Now, after spending a couple of days playing with the new browsers, getting surprised (not always pleasantly) and learning what I could do with them and what I couldn’t, I am going to summarize my observations here.

This is a user review and considers the things a typical user will likely encounter in the course of normal usage.

Browser Versions: All the up to date versions were used:

  • Firefox – 3.0.1.
  • Chrome Beta – (No, it’s not an IP address.)
  • Internet Explorer 8 Beta 2 – 8.0.6001.18241 (and, top that!)


Firefox is by far the fastest to download and install. Both Chrome and IE8 took a long time to download the installer. But Chrome’s installation went smoothly while IE8 had to “restart the computer” to finish the installation.

Startup Delay

I measured how long the browsers take to come up when I first launch them after a computer restart. Both IE8 and Chrome are very quick to start up. Firefox takes the longest time and embarrassingly so. On my Dell XPS M1710, with core 2 duo 2.16 GHz processor and 3 GB RAM, both Chrome and IE8 started up within 1.5 seconds. FF took about 7 seconds. Some of this delay might have been due to me having a number of add-ons installed in my FF. Reopening new browser windows, thereafter, was very quick for all of them.

Importing Settings

When I installed Chrome and IE8, I also chose to import my FF settings (bookmarks, passwords etc) to the new browsers. Of course.

It was a breeze in Chrome. All my bookmarks appeared exactly as they were in FF. Same order. Everything. Loved it.

But with IE8, it was a different story. A pain in the ass fingers. The bookmarks from my Firefox toolbar did not make it to the IE8 toolbar automatically. They were just copied in a folder under Favorites menu. I had to manually drag them one-by-one to the toolbar. One-by-one. The first, then the second, then the third, then – you get the idea. That’s not all. While moving them to the toolbar folder, I could not place them in the order I wanted. The item being moved to the toolbar folder always ended up going to the first position. Come last, stand first. Once an item was copied though, I could reorder it all I wanted. Then I clicked on a toolbar folder expecting to see the familiar list of my bookmarks. It didn’t seem familiar at all. Soon I saw that all my bookmarks under the folder were alphabetically arranged. Would have been useful if I was trying to form a dictionary! WTF! My bookmarks were not a random pile of junk that needed alphabetical reordering. I had an order there. They told a story. Like a novel. Now it’s like a dictionary. Lastly – IE8 also did not import the little icons that used to appear before my individual bookmarks. All my bookmarks were now marked by the IE icon – the ubiquitous encircled ‘e’. A dictionary full of IE icons! The icons will get updated over time as I visit the individual webpages. Pardon my having gone a bit over the top here, but IE8 should have treated my bookmarks with some more respect. I know that this is a “beta 2” version of IE8 and things might improve in later versions. But Chrome just worked. And Chrome isn’t even “beta 2”, is it? Oh well.


“Beauty is only skin deep.” How much deeper can it be on a 2-D computer screen anyways?

So I better keep to more objective stuff. But if you want a casual look, click on the image below for a 1:1 view of browser windows:

Title bar

Title bar (or “windows bar”) is the the thick blue bar at the very top of most windows, the bar that contains the title of the window and the minimize/maximize/close buttons. Apart from those buttons it usually is a huge waste of pixels on the computer screen. While both FF and IE stick to its usual placement, Chrome sets a new standard in how to use the windows title bar for browsers. It removes the title. Moves the tab listings over there. Leaves enough vacant space at the top to click it and drag the window around. Keeps its own minimize/maximize/close buttons. It is obvious that maximizing the useful space on the computer screen was high on Google’s agenda. This is further exemplified in how, when you maximize the window, it gets rid of the small vacant space at the top because you can’t drag the window anyways. Small but sensible stuff.

Status bar

Chrome has also done away with the traditional “status bar” – the gray bar appearing at the very bottom of a typical browser. In Chrome, it only appears when it has a useful information to provide, like when a page is loading or when you are pointing to a link. When there’s nothing interesting to display, the bar simply disappears. Nice. Here’s how it looks when it appears.

Both IE8 and FF allow you to hide the status bar altogether by modifying the settings in the ‘view’ menu, but that’s not dynamic like Chrome’s.

IE8 also provides a zoom control button on the status bar, a functionality that I like.

Overall, I like the appearance of Chrome the best. Two things that set it apart for me are the freshness and the uncluttered view it offers. Freshness is subjective and it may be subject to change with time. The uncluttered view comes from good uses of the title bar, a dynamic status bar, as well as the lack of some menu buttons. The lack of menu buttons may bother some users who are fond of customizing their browsers.

Address Bar

Both Firefox and IE8 have two boxes in the address bar – an address box and a search box. They both have auto-complete feature for the address box. As you start typing a URL, a list of possible suggestions drops down. Firefox has a more advanced implementation of this, as you can just need to type the keywords from a webpage title for it to appear in the suggestions list.

The search box has a drop-down list of search engines. Choose a search engine, type your search phrase, hit ‘enter’ and you get your search results. Both FF and IE8 allow you to add search engines to the drop-down list.

Chrome, on the other hand, presents a single unified box that can be used for typing URLs as well as search phrases. As you type a phrase, the browser shows suggestions for URLs as well as options to perform a search with the default search engine (which, of course, can be set by the user).

There is also a way to specify a search engine while typing the search phrase in Chrome. This is how it works. Each search engine is identified by a small nickname. To use a particular search engine, just type its nickname and hit tab button on the keyboard and voila! The address box transforms into a search box for that search engine. Type “dict”, hit tab and you are ready to use Dictionary Quicksearch.  Type “wp”, hit tab and it becomes a Wikipedia search box. Of course, “dict” and “wp” are the nicknames for and Wikipedia respectively. This is simple and powerful. Beautiful. I can’t think of a better way of doing this. You can add new search engines like Amazon or eBay to the browser. You can assign them nicknames you want. Adding a search engine is a bit cumbersome, but Google do have a decent help page to teach you how to do this here. I wish google had included a few more search engines with the browser by default, but you know, I’ll take it as it is. It beats everything else out there. Chrome blows away both Firefox and IE8 as far as the address bar is concerned.

I have read words like “omnibar” or “awesomebar” for google’s address bar. They are not exaggerations.

Tab Management

All browsers allow you to drag and reorder the tabs inside the window. The process is slightly more animated in Chrome – you can see a tab moving and displacing other tabs (in other browsers they would just exchange places). There are some more substantial differences as well:

  • A Chrome tab can be moved from one Chrome window to another. FF also supports this.
  • A Chrome tab can be opened as a new window by dragging it out of the current window.
  • Firefox doesn’t show above behavior. But a FF tab can sure be dragged out of the current window. The result of the action depends on what the user is trying to do.
    • You can drag it in a Chrome window to open it as a Chrome tab. Cool!
    • You can drag it on any bookmark toolbar – IE8, Chrome or FF – to bookmark the webpage. Way cool!
    • You can also drag it to a MS Word document or the likes to insert a link to the webpage.

IE8 beta 2 doesn’t let you mess around with its tabs. They are just plain ol’ tabs, for God’s sake. No magic.

Restoring Tabs

I like a feature in FF and IE8 that allows you to restore all the tabs you had open in your last browsing session. FF does this by asking the users if it should remember the tabs when they try to close a window with multiple tabs. IE8 asks nothing but always remembers. It has an option under ‘Tools’ menu that lets you restore the last browsing session. Chrome also has an option which will make it always start with the tabs from the last session. But in Chrome, it’s either always or never. You can’t decide this on the fly. If you have not chosen to start Chrome with the tabs from the last session, there is no easy way of getting them back. In fact as soon as you hit ‘close’ on the current window, all your tabs are history. Literally.

New Tabs

A new feature in Chrome is that when you open a new tab, it starts with thumbnail previews of your “most visited” webpages, a list of recently added bookmarks, a list of recently closed tabs and a search box for searching history. Here’s how it looks:

It’s nice looking. Sometimes, it is useful too. But people, who like their privacy, may find it uncomfortable to open a new tab in presence of other people. I think it’s gonna be an issue in office like environment. There is no obvious way to turn this off.

Closing Tabs

In all the three browsers you can close a tab by hitting a small ‘x’ button on the tab itself. But there is a problem with IE8. It shows the ‘x’ button only on the current tab. So in IE8 you can only close the tab you are currently looking at. You must “look before crossing closing.”

Bookmarks / Favorites

Chrome and Firefox call them bookmarks. IE calls them favorites. I’ll use the term bookmarks. They pretty much work the same way in all three. I have noted the following differences.

  1. Firefox does not allow you to rearrange bookmarks on the toolbar just by dragging them. You must go to “Organize Bookmarks …” menu to be able to do that. Chrome and IE8 allow you to just drag and reorder them right there on the toolbar.
  2. Firefox allows you to drag a tab directly into a bookmark folder and add it as a bookmark exactly where you want. This is a lot easier than using the bookmark button and then having to tell which bookmark folder to add it in.
  3. It’s quicker to open a bookmark in Firefox. It requires just one mouse click compared to two mouse clicks required in IE8 and Chrome. This is how you do it in Firefox: press down the mouse button on a bookmark folder, the folder expands to show the bookmarks, drag the mouse down to the bookmark you want to open and let go of the mouse button. All possible in one smooth motion. Whereas, in Chrome and IE8 you have to first click on the bookmark folder for it to expand and then you have to click on the bookmark you want to open. Not a big deal if you are not already addicted to the Firefox flow I mentioned above.

Porn Mode

Chrome allows you to browse in what it calls “Incognito window”. It’s supposed to not leave normal browsing history, search history or cookies. IE8 has a similar offering named “InPrivate Browsing”. In “Incognito window”, Google changes the appearance theme a little, so the user is aware of the current mode. IE8 uses a “InPrivate” label on the address bar to convey the same. Firefox doesn’t have any such modes. Not yet. The nothing-to-hide browser.

Add-ons / Extensions

I consider this huge. Long time ago, Firefox introduced the concept of extensions. An extension can add a new functionality to the browser, or can modify an existing functionality.  You want a new theme – there are numerous out there, change daily. You want to change how your tabs behave – sure thing.  Integrate Skype with your browser. StubleUpon, Facebook, You want something? An extension to do that probably exists. If it doesn’t, you have a brand new idea – Bravo!  IE8 also has given support of extensions and already has a fair number of them available.

Currently, there are so many FF extensions out there that if you are not using some of them, you are certainly missing out. My favorites include “Adblock Plus”. You guessed it –  it prevents advertisements from getting displayed on the webpage you are watching. Some people argue this is an unethical thing to do. But I would rather live with the guilt than set a sight on some websites without the Adblock filter. If you like looking at online photographs or online videos, checkout Cooliris, which also works on IE8.  There are other useful extensions that you can choose depending on your browsing habits. There is something for everything.  You have to explore for yourself what the extensions can do for you.

Unfortunately Chrome does not support any extensions yet. Bummer.

All said and done, here is my summary:

IE8 is simply not good enough to win me back from Firefox. Though it may convince a few people to not desert it for another browser.

Because of lack of extensions, Chrome cannot do for me what Firefox can. So even Chrome is not making me switch from FF. But it is only a few useful extensions away from doing so.

Posted in Technology | Tagged: , , , | 7 Comments »

Words that sound similar in different languages

Posted by ScalarMotion on August 23, 2008

I have always liked how some words, which when translated to an apparently totally different language, still sound or look similar. Take a look at some of these:

  • Name = ‘Naam’ in sanskrit/hindi/urdu
  • Path = ‘Path’: sanskrit, pronounced pəth
  • Mother = ‘Mata’: sanskrit, pronounced mätä
  • Serpent = ‘Sarp’: sanskrit
  • Man = ‘Manuj’: sanskrit
  • Saint = ‘Sant’: sanskrit
  • Bad = ‘bad’: urdu but it sounds slightly different and is used as a prefix
  • Star = ‘tara’ in hindi
  • Nose = ‘nasika’
  • Mouth = ‘mukh’
  • -ped- (suffix/prefix meaning foot, like in centipede, pedal) = ‘padh’: sanskrit
  • Divine = ‘divya’
  • Cruel = ‘krura’
  • Agnostic = Nastik (Nastik actually means athiest, but I’ll count it)
  • Saturday = ‘Shanivaar’ in Sanskrit. And ‘Shani’ means Saturn. ‘vaar’ is apparently ‘day’. Similarly, Sunday = ‘Ravivaar’ and ‘Ravi’ mean sun. Monday = ‘Somvaar’ and ‘Som’ means moon.
  • Cent (hundred) = ‘Shat’: pronounced shət with a soft ‘t’ at the end.
  • The counting number are also interesting. Though individually they do not sound very similar, but on the whole the similarities add up and become apparent. So, here is how one counts from 1 to 9 in sanskrit: (some of these gotten from this sanskrit website): Éka (one), Dvi (two), Trí (three), Catúr (four), pañcan (five), sás (six), saptán (seven), astan (eight), Návan (nine).

Cool, right?

Do you have some examples which beat these? Do mention them in the comments.

Posted in Languages | Tagged: , , | 19 Comments »