Sunday, August 3, 2014

Just some math


0 1 1 2 3 5 8 13 21 34 55 89 144 233 377 ....

For non programmers that is a Fibonacci sequence. Add previous two numbers to get the new one. Wow :) but how is that related to me writing a post on it ?

For a few days I spent a lot of browsing, watching videos, read blogs and other articles on the amazing sequence ever invented, by an Italian Mathematician Leonardo Pisano Bigollo in the year 1202. Yes, its that old. Though it first appeared in the books in 1202, it was way back appeared in Indian Mathematics in connection with Sanskrit Prosody. There's more in the history to mention so I prefer to google than mentioning here.

However the most amazing stuff about this sequence is the ratio that it defines after dividing a higher number by the lower number. The ratio remains constant after a particular range and the value is "1.6180339887...". The ratio 1.618 is defined as Golden Ratio and is denoted by a Greek Alphabet ϕ. A rectangle drawn with the fibonacci numbers looks like and followed by a spiral in the rectangle. It's called as a Golden Rectangle.

FibonacciBlocks.svg
Thats some maths till now, but how is the Fibonacci sequence still important topic to discuss ? Its time to look into the nature's stuff we are surrounded by, that implements it.


I am lazy to upload more pics here and I prefer writing than uploading pics. There are Spirals, Shells, Galaxies, Hurricane, Tornados, Sea Waves, Water Droplets, Human Body, Flower Petals, Seed heads, Pinecones, Tree branches, Animal bodies, Reproductive dynamics, The Uterus, DNA molecules, Rhythm in music .... all consists of a golden ratio pattern.

Quite amazing, isn't it ? Years later the sequence was invented, Leonardo Da Vinci has implemented this pattern in all his paintings. Mona Lisa, The Vitruvian Man, The Last Supper are based on a Sacred Geometry and resembles the golden ratio which is also said as a divine proportion (1.618).

The design patterns in building architecture is based on the golden ratio. Ancient Egyptians were the first to use the mathematics in art, Pyramids. Stonehenge, The Acropolis of Athens, Great Mosque, Romanesque, Taj Mahal, Eiffel Tower....

Company logos that we see daily is based on the golden ratio. Websites, Frameworks consists it too.



That's great thing to know, to me. We are living in a mathematical world. Things which were never taught. Invented thousands of years ago and still solving the mysteries lying in the ocean of knowledge.

For me a fibonacci sequence will never be a C program again :)


Courtesy -

Coldplay
NUMB3RS

Tuesday, April 15, 2014

Hard Rock Cafe Pune - Sucks


This should be the good place to share my experience on my recent visit to Hard Rock Cafe Pune.

I am a regular visitor of Hard Rock Cafe and have been to Mumbai, Bangalore, London HRC in past couple of years. Yesterday it was my second visit in HRC Pune, and hopefully the last one.

I went with one of my close friend (who is a frequent visitor of HRC too) had a very bad experience in HRC. We are Rock fans and wanted to chill out in HRC with some good rock songs. Having said that, I couldn't hear a single track except Sweet Child O' Mine.

I requested the DJ to play some Metallica, AC/DC, Pink Floyd songs (moreover the Rock Anthems, for which I always to go to HRC). But to my surprise he actually ignored the request. I have to write down on the piece of paper the band names that actually are played at other locations of HRC.

May be the DJ wasn't quite interesting to talk (coz he was playing all Bryan Adams and Adele and Robbie William songs). Well, I have to walk down to the entrance area to fill the feedback form just to make someone aware that "Dude ! It's Hard Rock Cafe" (Only place in the world where you can find Rock stuff from best bands in the world and can enjoy their music).

Well, I found someone near to Rock Shop with whom my friend was talking. He was good and was listening to us. We narrated him about us and our past experience in HRC. The DJ will play some rock he confirmed. Well there goes "Summer of 69" (good one). And then all of it started again and we felt to leave the place sooner we finish the beer. To express the feelings I did a thumbs down action. I didn't know the Pune HRC crew converts thumbs down to the middle finger action. And yes the worst story started then.

Never in my history of any Pub/Bar I have to talk to a bouncer. A group of 5 people (some where speaking in local language) surrounded us and started debating. One of the member initiated with a local slang which I don't want to mention. And yes first time in the history of my life I was thrown out of a Pub and I got scratched in my hand in that. The guards were insisting to call the local cops and to get me away.

I sadly have to say that "Love All, Serve All" doesn't make any sense in HRC Pune. I don't see any reason why HRC Pune is focussing on being commercial rather than maintaining what HRC really stands for. That is why they have the dance floor. And you can't dance on the Rock Songs, you can just bang your head.

I will continue visiting HRC but not in Pune and I will make sure none of my other friends should go to Pune HRC.

There are bit of other pubs one can think to visit, if they really want to go for Rock music

- Hidden Place
- Apache (sometimes it is better, but it sucks too)
- Blue Frog
- Miami