Muhammad al khowarizmi

Muhammad al-Khowarizmi, from a 1983 USSR commemorative stamp scanned by Donald Knuth

The word "algebra" is a shortened misspelled transliteration of an Arabic title al-jebr w'al-muqabalah (circa 825) by the Persian mathematician known as al-Khowarismi. The al-jebr part means "reunion of broken parts", the second part al-muqabalah translates as "to place in front of, to balance, to oppose, to set equal." Together they describe symbol manipulations common in algebra: combining like terms, moving a term to the other side of an equation, etc.

The pasta theory of design

The pasta theory of design:

* Spaghetti: each piece of code interacts with every other piece of code [can be implemented with GOTO, functions, objects]

* Lasagna: code has carefully designed layers. Each layer is, in theory independent. However low-level layers usually cannot be used easily, and high-level layers depend on low-level layers.

* Ravioli: each part of the code is useful by itself. There is a thin layer of interfaces between various parts [the sauce]. Each part can be usefully be used elsewhere.

* ...but sometimes, the user just wants to order "Ravioli", so one coarse-grain easily definable layer of abstraction on top of it all can be useful.

An application design using Twisted's Aspect Oriented Programming Design is that special Ravioli.

Prisoner's dilemma

The cops have caught two prisoners and do not have sufficient evidence. They decide to put them in seperate cells and give the choice to either betray the other person and be free or be silent.

Case Prisoner 1 Prisoner 2

1) Betray (go Free) Silent (10 year Jail)

2) Silent(10 year Jail) Betray (go Free)

3) Silent(6 month Jail) Silent (6 month Jail)

4) Betray(5 year Jail) Betray (5 year Jail)

What would you do? 

Game theory deals with this topic nicely.

Good Quote - On Life

"We will be better and braver if we engage and inquire than if we indulge in

the idle fancy that we already know -- or that it is of no use seeking to

know what we do not know."

    -- Plato</p></body></html>



People who are dedicated to the truth are more likely to fail fast, learn, and try again.

"So the secret to good self-esteem is to lower your expectations to the point where they're already met?" - Calvin

Good Quote

Today's scientists have substituted mathematics for experiments, and they wander off through equation after equation, and eventually build a structure which has no relation to reality.

  • Nikola Tesla

Paid 300 as bribe to a policewala

That was near the corporation circle where the vehicles and people are generally crowded. I missed the signal and I realized only when people crossing the road that I had missed it. Got caught by the police and with the routine checks, I noticed that I did not have emission certificate with me.

My bad, 2 offenses. 1) Not stopping at Signal and 2) Not having emission certificate for my vehicle.

But the Police guy wanted to add another offense as 3) dangerous driving. When pleaded and argued that I was not driving dangerous, he just reminded that it is his decision to inform that was I dangerous driving or not and wanted to put fine as Rs.800/- with dangerous driving fine as Rs.500/-.

With lot of requests and conversations and he pulled in two of his friends and to settle the matter, was happy if I pay him Rs.300/-. I did not think much, thought it was okay, just giving him money for his himself and house, rather than lasting it further and gave Rs.300/- as bribe and came back.

Today morning as I recollect it, I think I did wrong.

1) Have my papers ready and be ready to pay the fine would have been more appropriate.

2) Unnecessary talking could have been avoided.

But in the instance when wrongly charged all I wanted to was escape and Rs.300/- for that escape was bit costly.

Previously, near the Indiranagar to Koramangala flyover, when the cop caught me, I had emission certificate but not insurance. So just checked the emission certificate and for the lack of insurance instead of fining Rs.300/-, he just gave Rs.100/- back and pocketed Rs.200/-. I did not say anything then either, thought Rs.100/- saved.