Author Archive
Effect created by credits & debits on different account types
by Prasad on Aug.16, 2010, under Finance & Accounting
I’ve spent quite a bit of time trying to understand how transactions affect accounts. One should remember that the effects of Debit (dr) & Credit (cr) depend on the accounting you are dealing with. For example, receiving money into a bank account, i.e. debiting it, will increase its balance. Whereas, sale of goods, or crediting the sales account, increases its balance. Hope this illustration helps!
Jargon: Disruptive Innovation
by Prasad on Aug.09, 2010, under Marketing
Disruptive innovation describe innovations that tend to get competitors jump out of their seats. This is something - highly desirable - that the market has never seen before. Wikipedia gives the example of lowering price, but undercutting is a relatively common phenomenon. However, ‘designing for a different set of consumers’ is quite apt.
It is every product manager’s dream to conceptualize a product, or at least a feature that does creates such a wave in the market! And if you ever happen to be at the receiving end of a product demo - like the one that I usually deliver - this is the best compliment you would give. Cheers!
Converting CSV/Excel data to Doctrine YAML fixtures
by Prasad on Aug.05, 2010, under Data & Information
I had done some research on this topic and found that some script was available in Python. With no knowledge of Python execution, I sought help from stackoverflow & got the answer there pointed to the same Python script
I decided I had to do something on my own! Ensuring the right no of spaces in the YAML could be a real pain - I haven’t found the error messages to be very friendly.
My challenge was to be able to generate a YAML for a table/schema using the nested-set behaviour in Doctrine. Instead of losing my mind on devising a human-readable format, I reverse engineered. I checked the resulting schema in the database and used that as the base for my CSV. Following this I wrote a simple macro that will output in the required format. This has evolved over a week or so, and has been thoroughly tested. I am sharing this file with 2 examples: one for the JobeetJob schema & other from the Hierarchical Data page on Doctrine.
Let me know if this helps! Vote for the answer on StackOverflow.
To start using:
- Download the ZIP file CSV/Excel to YAML Generator v2 & unzip it.
- Change the model name (continue reading…)
And the busy man has found time for his lost love
by Prasad on Jul.31, 2010, under The World Around Me, Thoughts, What's Happening?
Apologies! I know that I have been away for quite some time now - but there are reasons! Work being the major sucker
followed by personal interests. Moreover, my boss paid a visit
I tried hard to spare time, then reversed some - but nothing worked! Anyway, the good news is that I’m back.
I did miss writing all this time & kept noting them as they happened. To begin with, I hope you are aware about Census 2011. Most state & central government employees have to compulsorily participate in this, over & above their routine responsibilities (pl note 0+1=1). The lady who was doing it in our area was an innovator! Instead of visiting each house & collecting data, she took an iterative, outsourcing model. She took the lift to the first floor, and walked down distributing a form in Marathi to each house. She very calmly told people that the form was very simple (I don’t know of a single govt form that is simple) & that one didn’t need to know Marathi to fill it (I don’t know how Bengalis & Malayalis bought this idea?) Suddenly people realized the importance of Maharashtrian neighbours, and fortunately each floor had one. After putting people to the job, she again took the elevator up to start collecting filled forms. I’m sure with this trick she managed to get home in time for lunch, which otherwise she would’ve had to couple with dinner. Just to note, that innovation is not necessarily rocket science.
Two notable things happened in the near past, both of which have affected our lives in one way or the other. The first thing: revised auto-fares. As Shubhojit said, this is one thing that makes you feel real poor. What I used to spend both way is what the 3-Tyre boogie now takes away one way. All thanks to the revision graced by skilled instrumentation engineers at garages.
The other thing - the symbol that our national currency got - actually makes me feel very proud. It is the symbol of globalization, equality & finally a distinguishing factor from other currencies with the same name. Some websites, like Burrp, picked up the symbol in no time. I’m just waiting for it to show up on currency.
![20 ft high marble elephant statues [Courtesy: Telegraph, UK] Ambedkar Memorial, U.P.](http://i.telegraph.co.uk/telegraph/multimedia/archive/01249/elephant-statues_1249165i.jpg)
Ambedkar Memorial, U.P.
After news about the symbol hit the stands, people questioned the kind of money that must have gone into its making. But I say, what’s wrong? If someone can spend tons of money raising statues in a city where people don’t have enough, (continue reading…)
Bhutan Diaries - Day 5: The Tiger’s Nest
by Prasad on May.22, 2010, under Travel
Day 05:
As instructed by Kinley, we were ready to leave the hotel for Taktsang – The Tiger’s Nest – by 8am. Breakfast again was typical; only bread, butter, jam, omlette, porridge for Indians. From the point we began trekking, we could see the Tiger’s nest right in front. But to get up there, we had to take a long & winding road up the mountains. You can rent a horse for Rs.500 for a return trip, and also buy a stick for support. At some points the path really gets narrow and with the horse’s tendency to walk at the edges, you’d be convinced to not take a horse ride. We were instructed to move towards the inner-side as soon as we saw a horse.No one is allowed to a take a ride on the way down; the horses come down empty, charging like bulls – almost without any control.
At half-way, there is a government built cafeteria that offers a clean view of the monastery. You will be served tea/coffee with amazing cream-cracker-like biscuits, and on the way back can also choose to have lunch here (not recommended for Indians). The journey from this point gets a little difficult: first you have to walk up a steep path, then walk down 500 steps and finally climb another 200 to get to the temple. With some motivation from Chibu & Kinley, I agreed to go. Some of the photos taken on the way are perhaps the best ones from the trek. Most of the steps have no railings, so you really need to be careful. Before you descend the 500 steps, you are at a point that is right opposite the monastery; they could have a bridge. In fact, several people have suggested, volunteered and even contributed to building a rope-way to get up there. But the Bhutanese love Bollywood, and totally believe in ‘kuch pane ke liye kuch khona padta hai’. They believe that nothing comes easy, and that the pleasure of visiting such a holy & refreshing place and getting close to God, should only come after some effort.
As you begin to climb again, you pass-by a very scenic bridge behind which is a waterfall; I even climbed the rocks there. In fact, the way up wasn’t as difficult as the hype created. Chibu went all the way up and I got a distant picture of him. Kinley told us that coming down (starting with climbing 500 steps) was going to be quick and easy. To our surprise, despite of stopping-by at several places to take pictures, we reached only 40mins after our parents. They had waited at the cafeteria for a while, and then started to walk down. Another Japanese couple, the man who closely resembled Mohan kaka, had passed by at the point where the 500 step descend starts, and only gone half-way down since. All in all it was fun. We really didn’t get short of oxygen, neither was it too cold at the top. The key to enjoying this trek is to go ‘slow-and-steady’.
We drove back to town where we had a decent Indian meal. We also confirmed our return tickets at the Druk air office which spans just 2 leased buildings. Kinley stopped by at the range to catch-up a game of archery which is Bhutan’s national sport. On a Wednesday afternoon, there were four teams and a hundred spectators watching it. One of the persons approached me and asked where I was from, in good Hindi. He asked if I had seen any movie stars in Mumbai – every other Bhutanese will ask you this if you say you’re from Mumbai. He was upset with Kareena for not finding a Hindu guy for her, and was abusing Sania for her Pakistani act. As we drove back to hotel, Kinley very sadly informed us that our tour was over!
Our Bhutan trip from Kolkata & back was (well-)managed by Mystic Bliss Tours & Travel.
Bhutan Diaries - Day 4: Heading for Paro
by Prasad on May.20, 2010, under Travel
Day 04:
We started our day with a brief trek to the temple of the divine mad man. The one thing you will see everywhere close to the temple is phalluses drawn on walls. The ‘divine madman’ was believed to have a huge phallus and made love to the most beautiful girl in every village he went. He’s called mad because he had sex with his own mother, but only to purify her - and divine for his wisdom. He is known to scare-off daemonesses with his phallus. That is the reason we saw wooden phalluses at the handicrafts museum in Thimpu. Besides paintings, tiny wooden replicas are hand-crafted and worn in the necks of new-born children. Stories like these come from the near past in Bhutan - the 16th century - the same time Shivaji maharaj was building a navy to ward-off the English.
At the temple, Kinley picked a name for his new born daughter by pulling a string-tied page from a book of names; all names come either with Kinley (name of temple) or Chimi (meaning no-dog based on a mythical story). Ma prepared herself for tomorrow’s trek to the Tiger’s nest by grabbing a wooden stick from one of the trees. The struggle for chicken continued even at an Indian restaurant called Chula whose menu featured a dozen chicken preparations common to a Bombay restaurant. We had no option but to head to Hotel Pedling for our protein dose. In the mean while, Chibu & my parents got a good deal on Adidas shoes.
On arrival at Paro, we headed straight to the National Museum that bears treasures from the 8th century. There are stone vessels, paintings, currency, dresses, stamps, stuffed birds & animals and much more. Entry closes at 330pm and we made it just in time. But by the time we were done, the photo gallery was closed. We then headed to our hotel Tashi Namgay, one of the best luxury hotels in Paro that overlooks the airport. We were offered a river-side cottage with 2 separate rooms; each with a sitting area, kitchen and beds. What I loved most was that it was Wi-Fi enabled.
Our Bhutan trip from Kolkata & back was (well-)managed by Mystic Bliss Tours & Travel
Bhutan Diaries - Day 3: Punakha
by Prasad on May.17, 2010, under Travel
Day 03 15:00, Punakha:
We had mentioned to our guide Kinley, that although we weren’t atheists, we were fonder of nature than monasteries. I’ve seen quite a few in the North East, and my parents even more in Sikkim & Northern Kashmir. With this in mind, he drove us out of Thimpu along a road following the river where at one point, me & Chibu even got into the river climbing over some huge stones. To my misfortune, I slipped over a wet stone and the next minute, I was drenched in water close to ice-point right up to my knees. I was lucky to not get hurt or carried away by the river.
We also learnt some Dzongkha on our way; e.g. Phab means pig, chhee means dogs, tta means horse, etc. Surprisingly, the Bhutanese script has no way of joining letters, which results in extremely verbose spellings (not sure if that makes sense). So tta (horse) is spelled as ra-ta-ta-ta: and Prasad as p:-a:-r:-a:-saad-a-saad. Here’s some audio. I wouldn’t be able to spell my own name till 5th standard. The education system of Bhutan is similar to India: after several levels of school, students head to junior college (only in Thimpu till 2000), after which they pick one of four universities in Bhutan, drop out to work, or go to Indian universities (spending from their own pockets; Bhutanese Govt only sponsors few higher degrees).
On our return, we stopped by our tour agent Mystic Bliss’ office where we had a chat with Sambhu Darji. He was quite appreciative of the Indo-Bhutanese ties and mentioned the risk that China possesses to their borders. He mentioned that Bhutan’s is a proxy economy, almost all of it controlled by India. The RBI regulates banks, perhaps the reason why the Indian rupee & Bhutanese ngultrum are at par. We then set course for Punakha which is a 55km rough-drive along sinous mountain roads via the Dochula pass at 10K ft.
Punakha is a warmer place & hence the winter capital; monks still migrate here from Thimpu as winter sets in. We’ve checked into the Zangdo Perli which is not as great as the Thimpu as the Thimpu hotel. It was 2:30pm already, and we had to wait for lunch despite of ordering at 1:15pm itself. Anyway, food was OK; will take a short nap now.
Day 03 19:00, Punakha :
We drove to the Punakha dzong which is built on the confluence of two rivers & built thru the vision of a divine man who fled from Tibet with a relic which is now Bhutan’s national relic. He worked to put an end to the long civil war between Bhutanese villages (each village crowned a king) from which 3 kings emerged in Bhutan. The Tibetans attacked Bhutan several times to regain the relic. The death of this political was not announced as the Tibetans greatly feared this man. By the time they knew of this man’s death, Bhutan had united. The dzong is surrounded by wonderful violet trees; I think by what I was informed, that’s ‘Jack Coriander’.
After spending some time on the river bank, we started our search for chicken as our hotel’s restaurant had no stock. The concept of buffet in Bhutan is greatly different from that in India. It’s an extremely limited line-up of main-course dishes with no soup, salad, starters, bread & dessert. Dishes will include pork, beef, red & white rice, fish (in an eatable form if you’re lucky), some pasta and cheese-chilly (a spicy preparation that Bhutanese love to eat with rice & pork). I would suggest going by the menu as we just did.
Our Bhutan trip from Kolkata & back was (well-)managed by Mystic Bliss Tours & Travel
Bhutan Diaries - Day 2: Around Thimpu
by Prasad on May.15, 2010, under Travel
Day 2 18:30, Thimpu
After breakfast, we checked out the Centenary Farmer’s market in Thimpu that sells cereals, vegetables, meat & fresh farm items on Sundays. BAFRA, or Bhutan Agriculture & Food Regulatory Authority ensures hygiene in the market; I remember seeing their agents vigilant at the airport for any unwanted living plant/animal brought into Bhutan. We also checked out the black-market on the other side of the river which sells antiques – few of them sealed which can be officially carried out of the country.
On our way to Thimpu-top, the 4th king’s modest motorcade passed by; our car waited for him to pass. Bhutan has had democratic monarchy backed by a constitution since 1907; the 1st king was the son of an eastern king who emerged strong & defeated the other two in the south & centre. The Royal family owns several businesses & the king is salaried; most luxury hotels, spas, trading businesses are owned by them. However, the nobility lives a much modest life as compared to other rulers of the world. We stopped by for lunch at a local pizzeria - decent pizzas I must say. Post-lunch, we drove around the city, checked out the National Monument Stupa on Chorten Lam (literally Stupa Street), Thimpu Dzong, India House Estate (houses the Indian embassy, homes & a golf course) and finally a paper factory.
One thing notable about the National Monument is that it is a large premise where you will see a lot of old people praying. The fact is that when the earning members of the family leave for work, they leave their parents here with supplies for the day and take them back in the evening on the way home. Basically, it takes the form of a prayer-garden and day-care for the aged. We returned to our hotel after a stroll on Central Street & visiting town centre. Town centre’s are notable in every city; this is greatly feasible considering the town is even not as a big as BKC. I have nothing to do now, so will spend some time on Facebook (& back-up photos).
Our Bhutan trip from Kolkata & back was (well-)managed by Mystic Bliss Tours & Travel
Bhutan Diaries - Day 1: Thimpu
by Prasad on May.10, 2010, under Travel
15:30hrs, Thimpu
Night stay at Kolkata was decent; we ordered chicken noodles in the middle of the night. The city is still as unclean as it was 10 years back, accompanied by very high entropy. The airport is medieval (note: aviation history starts much after Christ) & even Emirates does not get an aero-bridge. Took an early morning Druk Air flight to Paro; the airline operates a fleet of 2 A319s. I was sitting next to Pema Tshering, a unique scholar who teaches History to MA students & Geography to BA students. He was kind enough to offer me his window seat & introduce me to the Himalayas. The approach to Paro requires a 90 degree turn between the Paro valley to show way to a really small runway; surprisingly there are no taxiways either.
At the airport, everyone from ground-staff to policemen were wearing something very close to knee-length bathing robes; little later we realized this was Gho, the national dress. My parents were telling us the story of a man before them who was about to be sent back for some reason. I think, unless you’re travelling on business, you can’t enter Bhutan without a package tour. Out of immigration & customs, we were welcomed by our tour guide Kinley Tensin (right! Same as the mineral water brand in India. In fact, he leveraged the fact to help us get used to his name).
On our way to Thimpu we experienced the confluence of the Paro & Thimpu rivers at a point where 3 stupas or chortens were laid - in the Nepali Badrinath style (has a Shiv-ling-like dome), Tibetan style (marked by the crescent moon) and the Bhutanese variant (2 storied). We were awestruck by a monastery with a orange tree that bears fruit all year long. Kinley kept telling us about the influence of Indian cinema & television on Bhutanese. They’ve had case of divorce & misbehaving saas-bahus thanks to our prime-time shows. They watch cricket, but nothing beats their love for Anu Malik in Indian Idol. On arrival at our hotel, we served great Indian food - bhindi fry, fish fry, mutter paneer, chicken masala with hot naan.
We soon set out for the textile museum & a handicrafts gallery. Scary masks are a common sight – they are used to develop a fear of death and to prepare people for the kind of faces they will see in the court of Yam. After a short nap, we set out for what we love doing most, walkin’-shoppin’. We got some local produce as well as some from Thailand. For dinner, we tried Chinese which was just so-so; it is only our variant of Chinese that is so Indian – perhaps, the only thing influenced by the ‘hindi-chini bhai bhai’ campaign. After a long time we had time for some family talk & we spent over an hour doing that.
Bhutan Diaries- Day 0: Kolkata
by Prasad on May.07, 2010, under Travel
Day 0 21:45 ,Jharkhand air-space
Just finished watching ‘Wake Up Sid’. Aru was right, maybe I should dedicate time for movies in order to better understand them and feel the kick. I’m in a window seat & I can see nothing but the bright fool moon & some dew on the wings. Some aunties (pun intended) served great food on the ‘new Air India’, however, a minified (got this word jQuery) version of the airline’s glorious past. There was no welcome drink, toffee or even cotton wool.
Take-off was delayed by almost an hour and half & we waited the first 45 minutes without any intimation; the next 45 minutes we were locked up in the aircraft. Unlike my horrible SpiceJet experience recently, the cabin was oxygenated. OR guys have a lot to do in aviation –at least operations in India are far from efficient.
Some excited 1st-timers bring to my notice that ambient outside is -49c; that was constantly being updated on the head-rest mounted LCDs of the A319. All that’s left for today is to get into a ambassador cab, drive to the hotel & hopefully pay by the meter. Kolkata here I come…
PS: Offline mode in the E71 really helps.
Our Bhutan trip from Kolkata & back was (well-)managed by Mystic Bliss Tours & Travel







