Monthly Archive for January, 2008

Our three legged pooch at TIFR

Life at TIFR is cushy for some of the strays that have made their home there. Its a collegiate environment…low noise levels, the sea crashing nearby, clean air, huge lawns, cool corridors and kind humans. The pooches seem to be having a lovely time. Its funny to see them sleep the day, everyday, while experimentalists, string theorists and number theorists ponder on the mysteries of the universe just a few feet away. These dogs seem to mock the humans.

Scientist: Learn! Learn! Learn! Discover! Discover! Discover! Quantum!! Quantum!! String!! String!! Prime!!! Prime!! Prime!! Reimannian Manifold, Tensor Algebra, Quantum Collapse, Quantum Revival, Big Bang!! Cosmic Inflation…

TIFR Pooches: Yaaawn! Its all too difficult and pointless…lets sleep. Maybe we’ll chase a rat or a cat later. Or maybe meet up with our friends in the neighborhood. If we are feeling too tired we can always chat long distance (bow-wows). Chilax!

__

Anyways lets get to the point: the title of blog refers to a three legged TIFR dog (See below). I’m naming him Scotty. Maybe its my imagination but he seems to be the ring leader of “A” Block. I’ve seen him quite vocal on many occasions. Whats his story? How did he loose his hand?

Scotty doing what he knows best…

Three Legged Dog TIFR 1

Scotty up close…

Three Legged Dog TIFR 2

Bharat Ratna for Dr. Manmohan Singh!

Bharat Ratna, India’s highest civilian award has become a political football this season. It all seems to have started when Jyoti Basu was proposed by the communists (and agreed to by the Congress) for the award. Then the BJP pitched in with a demand for A. B. Vajpayee. Pretty soon every party started demanding one for their own leader. Some pretty obscure names have been put forward.

Its safe to say we won’t have a Bharat Ratna awardee this year because of the political controversy. Ditto for the last seven years.

I’d like to nominate someone for the Bharat Ratna myself: Dr. Manmohan Singh.

Manmohan Singh (Wikipedia Photo)

It was Manmohan Singh who almost singlehandedly unleashed India in the early 1990s by undertaking economic reforms. He abolished industrial licensing, brought down taxes and duties and tamed the bureacracy (somewhat). The energy, enthusiasm and change that we see today is because Indians can conduct business without government inspectors getting in at every point. That is Manmohan Singh’s legacy. The seeds of 9%+ annual GDP growth rate that we see today were sown while Manmohan Singh was finance minister in the Narasimha Rao government of the 1990s.

I think Dr. Manmohan Singh is far more deserving of the award than many on the current rooster. Many got the award purely because they happened to be born in the right family or had the right politico-religious-caste credentials. Their contribution to India has been quite minimal.

Its unlikely that a sitting prime-minister would get the award. So I propose that he gets the award a year or two after he retires!

What do you think?

Profound…

xkcd

I agree with the thrust of the comic. However, it seems to imply “Let them believe what they want to believe cause we are right.” Thats are dangerous approach. What happens if you want to recruit the next generation of scientists and no one is available because their mindsĀ  are closed by religion?

Its important to propagate views on science and rationalism lest we be overrun by the hordes of obscurantism and religion.

We must recruit more people to science, logic and rationalism because “they” are recruiting too.

Use LaTeX in your Wordpress blog!

If you are a scientist you will frequently want to write an equation in your blog. The methods that are commonly used are quite inelegant. In this article I talk about a wonderful new way to write equations in Wordpress through the use of LaTeXMathML. Actually this method will work for any webpage, not only Wordpress blogs.

Typically, you will use a plugin that allows you to write LaTeX in your blog. The plugin will translate LaTeX to images of the equation when your blog is viewed in a browser. That can be a problem when you have many equations (pages with a gif for every equation is definitely not cool).

Philosophically you might also ask: Why should math be treated on a different footing? Text for everything else but images for equations? You may also be worried about the loss of semantic meaning. Text can be understood by search engines but images (of equations) cannot. If equations could be understood by search engines it would allow all kinds of applications like searching for particular equations and so on in the future. Enter MathML. MathML is a markup language like HTML used to display mathematical expressions. Currently MathML is understood only by Firefox. Internet Explorer understands it but you need to install the MathType plugin.

So how do you go about using LaTeX in your Wordpress Blog? The simplest way is to install a link to Javascript code that dynamically converts all your LaTeX code between two successive dollar signs into MathML. Sample:

\$\omega = \omega_0 + \sum_{i=0}^{30} n^2\$

gets converted to:

$\omega = \omega_0 + \sum_{i=0}^{30} n^2 + \int_{0}^{\infty} \frac{\sin x}{x} dx$

Note that this will only work on Firefox. Whats cool that the above math snippet is not an image…you can select parts of it with your cursor. Go ahead and try it out!

To get this working on your blog enter the following HTML code in your Wordpress header. Go to Presentation->Themes. Edit the header code. Insert the following:

<script type="text/javascript"

src="http://www.maths.nottingham.ac.uk/personal/drw/LaTeXMathML.js">

</script>

You enter LaTeX as and when you require it in your blog post by putting it between two dollar signs. The Javascript dynamically converts LaTeX to MathML when page is accessed using the Firefox browser. It doesn’t seem to work in Internet Explorer yet…though in theory it should work with the MathPlayer plugin installed.

To learn more, check out LaTeXMathML. Happy LaTeXing!