Monday, March 16, 2015

Ghalib's observations of Hydrogen Bonding

Ghalib's observations of Hydrogen Bonding



Ghalib (1797-1869) in one of his most famous ghazals says:

بسکہ ہوں غالب اسیری میں بھی آتش زیر پا
موے آتش دیدہ ہے حلقہ میری زنجیر کا

This verse can be roughly translated as follows: I am restless in captivity as if there were a fire under my feet. It is this fire that has caused steel to curl to form the links of the chain around my ankles much like a hair that coils when exposed to heat!

I know hairs are proteins and like a good proteins person, I am, at this time, more interested in knowing why does a hair curl when exposed to heat? Just to verify Ghalib's observation, I took out a hair and exposed it to heat to see it curl.

I have been looking on the Internet and have found the following explanation of this phenomenon.

A hair is a composed of keratin protein fibers. Keratin has a coiled coil structure (http://proteopedia.org/wiki/index.php/Keratins). The keratin in the hair is held together by hydrogen bonds. These hydrogen bonds act as glue and can change due to heat or water. On the application of heat, the hydrogen bond structure is disrupted which causes the hair to change its shape. This is the principle on which curling irons are based! However, the hair can recover its shape after some time especially with the addition of water if the amount of the initially applied heat is small!

However, the coiled coil protein structure of keratin is stabilized by hydrophobic interactions. I wonder what role these might play in the change in the shape of the hair when heat is applied.



Wednesday, February 18, 2015

Memory, History and Immortality

"Something lives only as long as the last person who remembers it. My people have come to trust memory over history. Memory, like fire, is radiant and immutable while history serves only those who seek to control it, those who douse the flame of memory in order to put out the dangerous fire of truth. Beware these men for they are dangerous themselves and unwise. Their false history is written in the blood of those who might remember and of those who seek the truth."

Navajo Saying in the X-Files.

Tuesday, November 4, 2014

غالب ندیم دوست سے آتی ہے بوےِ دوست
مسغول  حق ہوں بندگیِ بو تراب میں 

Tuesday, October 7, 2014

Ada jaffery

ہونٹوں پہ کبھی ان کے میرا نام ہی آئے
آئے تو سہی بر سرِ الزام ہی آئے

حیران ہیں، لب بستہ ہیں، دلگِیر ہیں غنچے
خوشبو کی زبانی تیرا پیغام ہی آئے

لمحاتِ مسرت ہیں تصوّر سے گریزاں
یاد آئے ہیں جب بھی غم و آلام ہی آئے

تاروں سے سجالیں گے رہِ شہرِ تمنا
مقدور نہیں صبح، چلو شام ہی آئے

کیا راہ بدلنے کا گِلہ ہم سفروں سے
جِس رہ سے چلے تیرے درو بام ہی آئے

تھک ہار کے بیٹھے ہیں سرِ کُوئے تمنا
کام آئے تو پھر جذبئہِ ناکام ہی آئے

باقی نہ رہے ساکھ، ادا, دشتِ جنوں کی
دل میں اگر اندیشئہِ انجام ہی آئے

Sunday, October 5, 2014

A poem by Shahzad Nayyer

ﺗﻮ ﺑﻨﺎ ﮐﮯ ﭘﮭﺮ ﺳﮯ ﺑﮕﺎﮌ ﺩﮮ ، ﻣﺠﮭﮯ ﭼﺎﮎ ﺳﮯ ﻧﮧ ﺍُﺗﺎﺭﻧﺎ
ﺭﮨﻮﮞ ﮐﻮ ﺯﮦ ﮔﺮ ﺗﺮﮮ ﺳﺎﻣﻨﮯ، ﻣﺠﮭﮯ ﭼﺎﮎ ﺳﮯ ﻧﮧ ﺍُﺗﺎﺭﻧﺎ
ﺗﺮﯼ ” ﭼﻮﺏِ ﭼﺎﮎ “ ﮐﯽ ﮔﺮﺩﺷﯿﮟ ﻣﺮﮮ ﺁﺏ ﻭﮔِﻞ ﻣﯿﮟ ﺍُﺗﺮ ﮔﺌﯿﮟ
ﻣﺮﮮ ﭘﺎﺅﮞ ﮈﻭﺭﯼ ﺳﮯ ﮐﺎﭦ ﮐﮯ ﻣﺠﮭﮯ ﭼﺎﮎ ﺳﮯ ﻧﮧ ﺍُﺗﺎﺭﻧﺎ
ﺗﺮﯼ ﺍُﻧﮕﻠﯿﺎﮞ ﻣﺮﮮ ﺟﺴﻢ ﻣﯿﮟ ﯾﻮﻧﮩﯽ ﻟﻤﺲ ﺑﻦ ﮐﮯ ﮔﮍﯼ ﺭﮨﯿﮟ
ﮐﻒِ ﮐﻮﺯﮦ ﮔﺮ ﻣﺮﯼ ﻣﺎﻥ ﻟﮯ ﻣﺠﮭﮯ ﭼﺎﮎ ﺳﮯ ﻧﮧ ﺍُﺗﺎﺭﻧﺎ
ﻣﺠﮭﮯ ﺭﮐﺘﺎ ﺩﯾﮑﮫ ﮐﮯ ﮐﺮﺏ ﻣﯿﮟ ﮐﮩﯿﮟ ﻭﮦ ﺑﮭﯽ ﺭﻗﺺ ﻧﮧ ﭼﮭﻮﮌ ﺩﮮ
ﮐﺴﯽ ﮔﺮﺩﺑﺎﺩ ﮐﮯ ﺳﺎﻣﻨﮯ، ﻣﺠﮭﮯ ﭼﺎﮎ ﺳﮯ ﻧﮧ ﺍُﺗﺎﺭﻧﺎ
ﺗﺮﺍ ﺯﻋﻢ ﻓﻦ ﺑﮭﯽ ﻋﺰﯾﺰ ﮨﮯ، ﺑﮍﮮ ﺷﻮﻕ ﺳﮯ ﺗُﻮ ﺳﻨﻮﺍﺭ ﻟﮯ
ﻣﺮﮮ ﭘﯿﭻ ﻭ ﺧﻢ ، ﻣﺮﮮ ﺯﺍﻭﯾﮯ ، ﻣﺠﮭﮯ ﭼﺎﮎ ﺳﮯ ﻧﮧ ﺍُﺗﺎﺭﻧﺎ
ﺗﺮﮮ "ﺳﻨﮓِ ﭼﺎﮎ " ﭘﮧ ﻧﺮﻡ ﮨﮯ ﻣﺮﯼ ﺧﺎﮎِ ﻧﻢ، ﺍِﺳﮯ ﭼُﮭﻮﺗﺎ ﺭﮦ
ﮐﺴﯽ ﺍﯾﮏ ﺷﮑﻞ ﻣﯿﮟ ﮈﮬﺎﻝ ﮐﮯ ﻣﺠﮭﮯ ﭼﺎﮎ ﺳﮯ ﻧﮧ ﺍُﺗﺎﺭﻧﺎ
ﻣﺠﮭﮯ ﮔﻮﻧﺪﮬﻨﮯ ﻣﯿﮟ ﺟﻮ ﮔُﻢ ﮨﻮﺋﮯ ﺗﺮﮮ ﮨﺎﺗﮫ، ﺍِﻥ ﮐﺎ ﺑﺪﻝ ﮐﮩﺎﮞ
ﮐﺒﮭﯽ ﺩﺳﺖِ ﻏﯿﺮ ﮐﮯ ﻭﺍﺳﻄﮯ ﻣﺠﮭﮯ ﭼﺎﮎ ﺳﮯ ﻧﮧ ﺍﺗﺎﺭﻧﺎ
ﺗﺮﺍ ﮔﯿﻼ ﮨﺎﺗﮫ ﺟﻮ ﮨﭧ ﮔﯿﺎ ﻣﺮﮮ ﺑﮭﯿﮕﮯ ﺑﮭﯿﮕﮯ ﻭﺟﻮﺩ ﺳﮯ
ﻣﺠﮭﮯ ﮈﮬﺎﻧﭗ ﻟﯿﻨﺎ ﮨﮯ ﺁﮒ ﻧﮯ، ﻣﺠﮭﮯ ﭼﺎﮎ ﺳﮯ ﻧﮧ ﺍﺗﺎﺭﻧﺎ

Thursday, October 2, 2014

Work and love

Work is love made visible.
And if you cannot work with love but only with distaste, it is better that you should leave your work and sit at the gate of the temple and take alms of those who work with joy.
For if you bake bread with indifference, you bake a bitter bread that feeds but half man's hunger.
And if you grudge the crushing of the grapes, your grudge distils a poison in the wine.
And if you sing though as angels, and love not the singing, you muffle man's ears to the voices of the day and the voices of the night.

(Khalil Gibran)

Saturday, September 27, 2014

Machine intelligence

The Turing test will classify something as intelligent if a human cannot distinguish between answers from that something and a human. This test is flawed because you can cheat and design a system aimed at getting it past this test without having any real intelligence. The Lovelace test on the other hand declares a machine intelligent if it can come up with an idea or solution in a domain in which it was not designed to work.
Original idea from here.

Some interesting suff I came across while surfing about this:
Self taught machine learning: ICML Paper , https://plus.google.com/u/0/+ResearchatGoogle/posts/EMyhnBetd2F, http://googleblog.blogspot.ca/2012/06/using-large-scale-brain-simulations-for.html
It learned to classify cats on its own.
Photoshopping images automatically