In my new role, I am playing around with mysql for managing our data, which is not very huge per se, but since we are running our db on tiny hosts (2GB memory etc), the performance tuning requirement is significant.
Now, being a former Sybase IQ developer, I cannot help but compare Sybase IQ with MySQL. Some of these comparison points are also inherent differences between a row-based and a column-based DBMS (column-based dbs rule!!), and I do not claim to be unbiased :) Being a amateur in MySQL, I might be missing some better ways in MySQL, feel free to point out!
1. In a row based DB, it's always a compromise between wide tables (and hence huge IO cost), and expensive joins.
We want to store de-normalized data in our datawarehouse tables, to accelerate our query performance. But that makes the table very wide, making the queries slow due to huge IO in even querying a few columns. While, if we break the table, we end of joining them while querying, again expensive. Column-based Sybase IQ is an answer!
2. In MySQL, your query will use only one index per table in a query!
Probably, this is something obvious for a row based DB, but it came as a shock to me. Being used to Sybase IQ way of using indexes, I was happily creating individual indexes on columns assuming that the query will use all that are required. (IQ gets found-sets using multiple indexes and use them for reducing selected sets). But MySQL does not do that. Result: my table has something like 6 indexes with various combinations of 3 columns, while all I would have need in IQ would be 3.
3. Mysql writers block readers.
We use INNODB, which claims to have row level locking. Also the mysql documentation says that if you are using a repeatable read isolation level, your reading transaction will work on a snapshot of data. But I never saw that in action. There are numerous "special cases" where INNODB takes a table-level lock for writing (auto-inc columns, probably duplicate key update), which ends up into the query getting blocked, waiting on lock to be released. IQ has "snapshot-versioning", not "locking", which means your readers will "never" be blocked on writers, unless you explicitly say so by locking table.
4. Mysql backup is great.
I can say that mysql is better than probably any other dbms in one thing. Simplicity. You can backup, migrate mysql dbs very easily by using mysqldump. IQ's backup procedure was confusing, even for me as a developer.
Tuesday, February 03, 2009
Tuesday, November 18, 2008
Rating Lenders in a Mutual Trust System
I am creating a book sharing system. A problem I am facing is how would I reward my lenders. This is a mutual trust system, where the system does not have any direct way of verifying whether the lends were genuine. For example, I can create 10 fake accounts, lend books to those accounts, and increase my rating to get rewards.
It struck me that this is a generic problem, and must be faced by all systems which are trust based.
Is it possible to write an algorithm to rate the lenders in such a way that it catches/penalizes the malicious/fake lenders, or may be just make the fake lending expensive enough?
For example, suppose I reward my best lender over a month with a 200Rs crossword voucher, and if I feel that I can spend 200Rs on a person who spends 10 hours on my website distributed over 10 days within a month (as that might increase my advertising revenue), I just need to make the fake lending that much expensive.
So, how do we define "good" lends? What are the factors that define a genuine lend?
Requirements:
1. These factors should be implicit/natural for genuine lends but take extra cost for fake ones.
2. These factors should reinforce healthy lending trends into the system.
Here is a list of such factors I can think of:
1. The simplest one - number of lends
Factor: "number of total lends made"
Cost for fake lender: Time to put requests and approvals.
Healthy trend: Rewards lenders who lend more.
2. Lends to different unique borrowers
Factor: "number of borrower with a unique mail id lender lends to"
(Any lends to a user with same mail id as lender not counted)
Cost for fake lender: Time to create unique mail id's + time to create accounts with those mail id's.
Healthy trend: Reward lenders who lend to various people, instead of a fixed closed group.
3. Number of different items lent
Factor: "number of unique items lent by the lender"
Cost for fake lender: Time to add different items in collection.
Healthy trend: Reward people who increase number of unique items available in the system.
4. How distributed lends are over time.
Factor: "number of unique days" on which lends were made.
Cost for fake lender: Time for logging into website on different days.
Healthy trend: Reward people for being prompt with approvals (if people check their inbox every day their approvals will be distributed, if they check for example once a week, they will be clustered).
5. Last but the best, "lend rating" of borrowers.
Factor: "sum of ratings of all borrower's with unique email id's"
Cost for fake lender: All the above costs added for all the fake borrower accounts!
Healthy trend: Encourages people to lend to good lenders. So, lenders get rewarded for doing genuine lending.
So, a simplistic formula taking in all the above factors goes something like:
lender's rating = "number of lends" * "number of unique borrower mail-id's" * "number of unique items lent" * "number of unique days on which lends were made" * "sum of ratings of borrowers with unique mail-id's"
As, you can see, this formula is recursive. If we are calculating the rating for all the users on our system, we start with a rating of 1 everybody, and do a first pass of rating calculation. Then we do a second pass to get final ratings.
Would love to hear more thoughts on this... so do share!
It struck me that this is a generic problem, and must be faced by all systems which are trust based.
Is it possible to write an algorithm to rate the lenders in such a way that it catches/penalizes the malicious/fake lenders, or may be just make the fake lending expensive enough?
For example, suppose I reward my best lender over a month with a 200Rs crossword voucher, and if I feel that I can spend 200Rs on a person who spends 10 hours on my website distributed over 10 days within a month (as that might increase my advertising revenue), I just need to make the fake lending that much expensive.
So, how do we define "good" lends? What are the factors that define a genuine lend?
Requirements:
1. These factors should be implicit/natural for genuine lends but take extra cost for fake ones.
2. These factors should reinforce healthy lending trends into the system.
Here is a list of such factors I can think of:
1. The simplest one - number of lends
Factor: "number of total lends made"
Cost for fake lender: Time to put requests and approvals.
Healthy trend: Rewards lenders who lend more.
2. Lends to different unique borrowers
Factor: "number of borrower with a unique mail id lender lends to"
(Any lends to a user with same mail id as lender not counted)
Cost for fake lender: Time to create unique mail id's + time to create accounts with those mail id's.
Healthy trend: Reward lenders who lend to various people, instead of a fixed closed group.
3. Number of different items lent
Factor: "number of unique items lent by the lender"
Cost for fake lender: Time to add different items in collection.
Healthy trend: Reward people who increase number of unique items available in the system.
4. How distributed lends are over time.
Factor: "number of unique days" on which lends were made.
Cost for fake lender: Time for logging into website on different days.
Healthy trend: Reward people for being prompt with approvals (if people check their inbox every day their approvals will be distributed, if they check for example once a week, they will be clustered).
5. Last but the best, "lend rating" of borrowers.
Factor: "sum of ratings of all borrower's with unique email id's"
Cost for fake lender: All the above costs added for all the fake borrower accounts!
Healthy trend: Encourages people to lend to good lenders. So, lenders get rewarded for doing genuine lending.
So, a simplistic formula taking in all the above factors goes something like:
lender's rating = "number of lends" * "number of unique borrower mail-id's" * "number of unique items lent" * "number of unique days on which lends were made" * "sum of ratings of borrowers with unique mail-id's"
As, you can see, this formula is recursive. If we are calculating the rating for all the users on our system, we start with a rating of 1 everybody, and do a first pass of rating calculation. Then we do a second pass to get final ratings.
Would love to hear more thoughts on this... so do share!
Sunday, October 19, 2008
Why it's more difficult for an Indian to start a startup?
I was talking to somebody yesterday, who recently returned from US, and he said that he expects to see more startups in India than in US, because it is so damn easier to survive here without earning.
That comment brought back to me something that happened on the last day of my job... I was retuning back in office sumo, and I saw people lined up for buses. I saw the typical long shirts wore on saggy pants, faces tanned by having to roam around in intense sunlight, and the sweat... I had the feeling I had when I talked to my parents about my decision to leave my cozy job. The feeling of being "ungrateful".
Our parents never saw jobs that paid you so well, appreciated your work, and also gave you a raise every year! They are the jobs that separates you from all those people standing in the queue. People in the US never have to see those queues, so they do not realize what they are being protected from.
In Indian minds, the fear of falling back into that line is greater than the desire of being above it.
That comment brought back to me something that happened on the last day of my job... I was retuning back in office sumo, and I saw people lined up for buses. I saw the typical long shirts wore on saggy pants, faces tanned by having to roam around in intense sunlight, and the sweat... I had the feeling I had when I talked to my parents about my decision to leave my cozy job. The feeling of being "ungrateful".
Our parents never saw jobs that paid you so well, appreciated your work, and also gave you a raise every year! They are the jobs that separates you from all those people standing in the queue. People in the US never have to see those queues, so they do not realize what they are being protected from.
In Indian minds, the fear of falling back into that line is greater than the desire of being above it.
Thursday, October 16, 2008
The Chanakya series
We are watching the "Chanakya" series these days, borrowed from a friend. I used to like the serial when I was young, and it used to play on DD. But after some episodes it grew too complicated for me, that time. (I still watched it though).
Now that I am watching it again (almost half way through), I am amazed at how thoughtfully it has been made! I do not remember any other Indian serial made with so genuine thought and research. Chanakya is one of the very few Indian serials made on "history", and is one of the better ones (One other that I can remember which might be worth watching again is "Tipu Sultan"). Surprising, that none came up in last decade or so! The "soaps" ate them all!
The writer of "Chanakya" has done an incredible job. I am always fearful of speeches, but even a long speech by "Chandragupta" in Chanakya could keep both of us engaged. There is just enough drama. Though, you might find the cinematography, direction, and acting a little weak, and sometimes the speeches about "Rashtriya Gaurav" get way too repetitive, but the overall story and dialogues almost make up for it. The sets are absolutely wonderful. They are not jazzy like that of Mahabharat and Ramayana, which actually make them look much more realistic.
Overall, completely worth watching, may be worth buying, or gifting to somebody you feel will appreciate it (please do not forget your worthy friend ;) )
Now that I am watching it again (almost half way through), I am amazed at how thoughtfully it has been made! I do not remember any other Indian serial made with so genuine thought and research. Chanakya is one of the very few Indian serials made on "history", and is one of the better ones (One other that I can remember which might be worth watching again is "Tipu Sultan"). Surprising, that none came up in last decade or so! The "soaps" ate them all!
The writer of "Chanakya" has done an incredible job. I am always fearful of speeches, but even a long speech by "Chandragupta" in Chanakya could keep both of us engaged. There is just enough drama. Though, you might find the cinematography, direction, and acting a little weak, and sometimes the speeches about "Rashtriya Gaurav" get way too repetitive, but the overall story and dialogues almost make up for it. The sets are absolutely wonderful. They are not jazzy like that of Mahabharat and Ramayana, which actually make them look much more realistic.
Overall, completely worth watching, may be worth buying, or gifting to somebody you feel will appreciate it (please do not forget your worthy friend ;) )
Tuesday, September 23, 2008
Expectations and Dissapointments...
I have faced a cycle of this always in reference to my relationships with others. People's expectations from me, and their opinion of my expectations from them is so different from what I believe. I have always been a person who will call you or contact you when I truly feel like, not when I feel that it's a courtesy to call. And, I expect the same from you. I expect that people who are close to me will not "count" how many times they called or I called. I don't remember if I ever myself complaint anybody about being too busy to call. I have had friends who did, and either they slowly understood, or those relationships failed.
May be I am too unsuited for what a "social" relationship means today. I probably cannot change myself, because whenever I tried to, I felt as if I am "faking" to be something which I am not.... But, may be I can force myself occasionally, because, there are some relations you cannot afford to fail.
May be I am too unsuited for what a "social" relationship means today. I probably cannot change myself, because whenever I tried to, I felt as if I am "faking" to be something which I am not.... But, may be I can force myself occasionally, because, there are some relations you cannot afford to fail.
Tuesday, September 16, 2008
the curves of Ellora
We had a trip to the Ellora caves this weekend. No need to say it was amazing... One thought kept coming to my mind seeing those sculptures. Who were these men who could so reveal the beauty of a human body! According to me, Ellora is not about hinduism, buddhism, or any of the stories of Gods that the caves tell. It is about the art of creating sculptures that could speak beauty, both in the expression of face, and more so in the curves of a body.
Thursday, June 05, 2008
Time...
...
Tired of lying in the sunshine staying home to watch the rain
You are young and life is long and there is time to kill today
And then one day you find ten years have got behind you
No one told you when to run, you missed the starting gun
And you run and you run to catch up with the sun, but it's sinking
And racing around to come up behind you again
The sun is the same in the relative way, but you're older
Shorter of breath and one day closer to death
Every year is getting shorter, never seem to find the time
Plans that either come to naught or half a page of scribbled lines...
(Time by Pink Floyd)
Tired of lying in the sunshine staying home to watch the rain
You are young and life is long and there is time to kill today
And then one day you find ten years have got behind you
No one told you when to run, you missed the starting gun
And you run and you run to catch up with the sun, but it's sinking
And racing around to come up behind you again
The sun is the same in the relative way, but you're older
Shorter of breath and one day closer to death
Every year is getting shorter, never seem to find the time
Plans that either come to naught or half a page of scribbled lines...
(Time by Pink Floyd)
Wednesday, January 09, 2008
Why to not not start a startup
Like many others, probably..., I have read Paul Graham's essays on start-ups many times, and felt blood rushing through my veins, always. Today, I made an attempt to evaluate my doubts while reading "Why to not not start a startup". Here is an account of whether or not I think following is a doubt point for me:
1. Too young
Not really... I have gone thru a 2 year MTech and worked for 3 years in a regular company. Infact, sometimes I feel I am too old for this.
2. Too inexperienced
Somewhat yes. I think I have worked for a regular company for some time to gain some insight on how things work, but certainly I am inexperienced in taking up new tasks on my own, deciding things and manage my own time..., but that probably won't come unless I actually start something.
3. Not determined enough
Hmmm, there is not a certain way of evaluating this. Your determination gets evaluated only when you are actually on to something.
4. Not smart enough
Yes. That's a real doubt :-|. But what Paul Graham's says about this is really inspiring: "If you're smart enough to worry that you might not be smart enough to start a startup, you probably are." :)
5. Know nothing about business
Yes. That's another one. But I'm somehow not really worried about this one... May be after seeing so amny successful startups started by techies... may be they knew more about business that I do, but I doubt if they knew that before starting the company...
6. No cofounder
Yes. That's a major one. And, the reasons are exactly what Graham states. Have been in a regular job for long, lost contact with people who want to ditch and can afford to do that..., and ofcourse would like to do that with me... My husband is there, but he cannot afford to not earn ;)
7. No idea
Yes. Another one. But I think... solvable.
8. No room for more startups
Hmmm, no, don't think so...
9. Family to support
No.
10. Independently wealthy
NO!
11. Not ready for commitment
Not really... I mean may be a problem later... but now... manageable.
12. Need for structure
Not at all! Infact, its the reverse... I hate a structure or a routine in life, and that has been my main pain point about a 9 to 6 job.
13. Fear of uncertainty
Again, no.
14. Don't realize what you're avoiding
A big NO!
15. Parents want you to be a doctor
Nothing like that...
16. A job is the default
Yeah, I guess that's what has lead us all to a job...
So, in summary, I think I am in job because it's the default thing to do when I am a little inexperienced, probably not smart enough..., know nothing about business, don't have a co-founder, and don't have an idea!
1. Too young
Not really... I have gone thru a 2 year MTech and worked for 3 years in a regular company. Infact, sometimes I feel I am too old for this.
2. Too inexperienced
Somewhat yes. I think I have worked for a regular company for some time to gain some insight on how things work, but certainly I am inexperienced in taking up new tasks on my own, deciding things and manage my own time..., but that probably won't come unless I actually start something.
3. Not determined enough
Hmmm, there is not a certain way of evaluating this. Your determination gets evaluated only when you are actually on to something.
4. Not smart enough
Yes. That's a real doubt :-|. But what Paul Graham's says about this is really inspiring: "If you're smart enough to worry that you might not be smart enough to start a startup, you probably are." :)
5. Know nothing about business
Yes. That's another one. But I'm somehow not really worried about this one... May be after seeing so amny successful startups started by techies... may be they knew more about business that I do, but I doubt if they knew that before starting the company...
6. No cofounder
Yes. That's a major one. And, the reasons are exactly what Graham states. Have been in a regular job for long, lost contact with people who want to ditch and can afford to do that..., and ofcourse would like to do that with me... My husband is there, but he cannot afford to not earn ;)
7. No idea
Yes. Another one. But I think... solvable.
8. No room for more startups
Hmmm, no, don't think so...
9. Family to support
No.
10. Independently wealthy
NO!
11. Not ready for commitment
Not really... I mean may be a problem later... but now... manageable.
12. Need for structure
Not at all! Infact, its the reverse... I hate a structure or a routine in life, and that has been my main pain point about a 9 to 6 job.
13. Fear of uncertainty
Again, no.
14. Don't realize what you're avoiding
A big NO!
15. Parents want you to be a doctor
Nothing like that...
16. A job is the default
Yeah, I guess that's what has lead us all to a job...
So, in summary, I think I am in job because it's the default thing to do when I am a little inexperienced, probably not smart enough..., know nothing about business, don't have a co-founder, and don't have an idea!
Tuesday, January 08, 2008
We are there in voice recognition!
I always used to wonder what is it that is preventing people from giving end-user level services in voice recognition. Technology is certainly mature, a number of enterprise level softwares have been available for long. For long, we have had small voice recognition softwares on our desktops, that can interpret your voice and generate text... but then what! I mean, nobody was really "cashing" this.
And, look, while I wasn't looking, a few very interesting services/startups have cropped up:
SimulScribe
Read your voicemail! You can receive your voicemails as SMSes on your mobile etc.
SpinVox
Provides all sorts of services around voice-recognition. You can store your voice mail/talk to your blog, and a lot more...
Needless to say, all these services is for english (It would be a pleasent surprise if they can detect successfully interpret Indian accent :) ), and available in US/Canada/Europe mostly.
And, look, while I wasn't looking, a few very interesting services/startups have cropped up:
SimulScribe
Read your voicemail! You can receive your voicemails as SMSes on your mobile etc.
SpinVox
Provides all sorts of services around voice-recognition. You can store your voice mail/talk to your blog, and a lot more...
Needless to say, all these services is for english (It would be a pleasent surprise if they can detect successfully interpret Indian accent :) ), and available in US/Canada/Europe mostly.
Tuesday, May 29, 2007
Home Unwired!
I am sitting in my bedroom blogging this, and chatting with Chetan, who is in the balcony with his laptop! Not so dramatic...? :), we just installed a Linksys wireless router in our home!
It works amazing! We get full strength in our whole house! (Not that our house is very big though... ;) ) Chetan tested outside the house too...
More than anything else, it allows us both to be connected to net, and saves the contention on plug points and space on the computer table :)
It works amazing! We get full strength in our whole house! (Not that our house is very big though... ;) ) Chetan tested outside the house too...
More than anything else, it allows us both to be connected to net, and saves the contention on plug points and space on the computer table :)
Monday, May 07, 2007
Happy riding... :)
Really thankful to George (my colleague in office), who lent me his bicycle to go around while I am here in US... That is a "real good" bike! (Not that I have much experience with other good bikes :) )
Am becoming more and more comfortable with its gears, and it takes very less effort to ride. Although, I am pretty slow as compared to other bikers I think...
After shifting to a new hotel (Best Western) closer to my office, had a trip to the "Concord center", and a little further up to "Lexington road". Lost way while coming back... so I must have ridden atleast 6-7 miles. Legs hurt a little, but, it was good. This is a perfect place to bike. Less traffic, beautiful houses, charming gardens, and cheerful weather!
My office is around 5 miles from here. I think I can bike to office, lest for the heavy laptop bag.
Am becoming more and more comfortable with its gears, and it takes very less effort to ride. Although, I am pretty slow as compared to other bikers I think...
After shifting to a new hotel (Best Western) closer to my office, had a trip to the "Concord center", and a little further up to "Lexington road". Lost way while coming back... so I must have ridden atleast 6-7 miles. Legs hurt a little, but, it was good. This is a perfect place to bike. Less traffic, beautiful houses, charming gardens, and cheerful weather!
My office is around 5 miles from here. I think I can bike to office, lest for the heavy laptop bag.
Sunday, May 06, 2007
A game of...
What is this heavy robust man doing with this thin-at-one-end-fat-at-another funnny looking stick? His expresisons and posture says he is doing something very respectable... and sporty... Ok, there is another man throwing a small ball at him... standing so close! They almost seem like playing a kid-game like... "gilli-danda"? Ok!... this is baseball! :)
Any baseball-lovers out there, no offence intended! But, honestly and innocently, that was my first feeling when I had a look at the baseball game being broadcasted on TV in the hotel.
Baseball is a famous game, and the baseball players are popular. This is so apparent in their body-language, but seems so odd to an out-sider (Perhaps the feeling will be same for an American watching cricket). I mean..., how can you take pride in that funny looking posture before throwing (pitching?) the ball, where you just raise your one leg! The stick looks so thin, the ball so tiny, and the ground so small... while the players look unnecessary heavy built. Ok, ok, I know the ball is heavy and its not easy to hit the ball... but still, this is a game which appears to me seriously out of proportions!
Anyways, I think I will watch the game a little more, now that I have looked up the rules on the net, and try to change my opinion about it :)
Any baseball-lovers out there, no offence intended! But, honestly and innocently, that was my first feeling when I had a look at the baseball game being broadcasted on TV in the hotel.
Baseball is a famous game, and the baseball players are popular. This is so apparent in their body-language, but seems so odd to an out-sider (Perhaps the feeling will be same for an American watching cricket). I mean..., how can you take pride in that funny looking posture before throwing (pitching?) the ball, where you just raise your one leg! The stick looks so thin, the ball so tiny, and the ground so small... while the players look unnecessary heavy built. Ok, ok, I know the ball is heavy and its not easy to hit the ball... but still, this is a game which appears to me seriously out of proportions!
Anyways, I think I will watch the game a little more, now that I have looked up the rules on the net, and try to change my opinion about it :)
Sunday, April 29, 2007
Best of Boston!
Had a trip to Boston today. Nice city... very beautiful, obviously...
All the places I have seen in U.S. are beautiful in their own way.
California was huge, groomed and modern. New york was commercial, busy and... majestic. Concord is simple, natural, and scenic. Boston is... historical..., commercial,... and very scenic. With the river flowing right in the middle, and beautiful bridges and office buildings around..., looks amazing... My bias for Boston also comes from the fact that I can roam around in this city without knowing how to drive! :)
Boston has a very good subway train network, which has red, green, blue, and yellow lines... someting like, central, western and harbour lines of Mumbai. Ofcourse they are relatively very small and less crowded. I took a "Charlie" ticket for 9$, which lets me roam around on the lines any number of times for the whole day.
My first destination was the Museum of Science. Saying "first", because I had expected many more destinations after this, but it turns out that I ran out of time, and the total was only two :-|
Museum of Science is a place where you can easily spend your whole day. They have science exhibits: nice little experiments, models, and science shows. I saw the "lightning" show. They have a "big" machine that produces lightning through particle acceleration. And, then a man will stand in a steel cage and show how the lightnng only remains on the outside of the cage :)
There are also special live shows, each of which costs 4$ and runs or 1 hour. I saw 2 of them. First a dome theater show on Grand Canyon. I had this feeling that I have seen this before (atleast a shorter version may be) in the IMAX dome at bombay! Chetan, is that right? :( But still it was good. Not a bad repeat for 4$. Second one was a planetarium show on Universe.
After this, I went to the "Prudential Center". This place hosts the "prudential tower" which was once the tallest building outside NY. They have a "skywalk observatory" at the top No, don't get swayed by the name, its nothing as adventurous. At the 50th floor (yes the ears just roll in the lift), they have an observatory from which you can see the whole Boston and its landmarks with an audio guided tour.
It was already 5:30 when I was done with the above. So, took a train back to concord, changing between green and red lines. I think I can almost count the "subway" as my third destination. Enjoyed the ride!
All the places I have seen in U.S. are beautiful in their own way.
California was huge, groomed and modern. New york was commercial, busy and... majestic. Concord is simple, natural, and scenic. Boston is... historical..., commercial,... and very scenic. With the river flowing right in the middle, and beautiful bridges and office buildings around..., looks amazing... My bias for Boston also comes from the fact that I can roam around in this city without knowing how to drive! :)
Boston has a very good subway train network, which has red, green, blue, and yellow lines... someting like, central, western and harbour lines of Mumbai. Ofcourse they are relatively very small and less crowded. I took a "Charlie" ticket for 9$, which lets me roam around on the lines any number of times for the whole day.
My first destination was the Museum of Science. Saying "first", because I had expected many more destinations after this, but it turns out that I ran out of time, and the total was only two :-|
Museum of Science is a place where you can easily spend your whole day. They have science exhibits: nice little experiments, models, and science shows. I saw the "lightning" show. They have a "big" machine that produces lightning through particle acceleration. And, then a man will stand in a steel cage and show how the lightnng only remains on the outside of the cage :)
There are also special live shows, each of which costs 4$ and runs or 1 hour. I saw 2 of them. First a dome theater show on Grand Canyon. I had this feeling that I have seen this before (atleast a shorter version may be) in the IMAX dome at bombay! Chetan, is that right? :( But still it was good. Not a bad repeat for 4$. Second one was a planetarium show on Universe.
After this, I went to the "Prudential Center". This place hosts the "prudential tower" which was once the tallest building outside NY. They have a "skywalk observatory" at the top No, don't get swayed by the name, its nothing as adventurous. At the 50th floor (yes the ears just roll in the lift), they have an observatory from which you can see the whole Boston and its landmarks with an audio guided tour.
It was already 5:30 when I was done with the above. So, took a train back to concord, changing between green and red lines. I think I can almost count the "subway" as my third destination. Enjoyed the ride!
Thursday, April 26, 2007
Let's talk America!
So, I am in US right now... observing things..., and... trying to get used to them? not so much... I have to return back in some days anyways :)
Still I have few observations about America, sharing here...
Still I have few observations about America, sharing here...
- There is so much space all around!
- Even the mountains look to be groomed.
- It is Christmas every day? Or everybody gets a jackpot ! So smiley!!
- You can see somebody "running" anytime in the day!
- There are no "wall clocks" nowhere! Probably they are worried about having to change their time twice a year...
- Most of the answers end up like questions.
- What's in the potatoes!
- What is GAS? Petrol.... ?
- People have defied the basic rule of nature... They don't drink "water"!
Wednesday, June 21, 2006
how pipe works
I had a (slightly heated) discussion today on whether one should know "how pipe works". One of my colleagues was very upset after interviewing some supposed to be brilliant candidates who did not know (according to him the "most basic concept" of Unix OS), that "how pipe works". I was not very convinced with him that it was very shameful of him.
I was myself very fearful of these (according to me jargons) of Unix like pipes, fork etc. etc. which make such good interview questions, but one like me always forget them as soon as done with an interview. I always used to hate such interviews. And, used to come out flying colors from them, if and only if, I had read an OS book before them.
If I were an interviewer, I would surely like to have candidates which have these on their tips "without reading a book". But I believe that only people who have done real system programming can have these always current. You cannot expect that from everybody out of college, however good college it might be.
So, what should you see?
I believe the reason why companies prefer to go to "supposed-to-be" good colleges, not just because the students are most well taught, and hence they know-all. But because the students there are supposed to be smart, according to that college's admission criteria. To further that, the students with good CPIs are supposed to be smart by that college's gradation criteria. A company just wants to make sure that whoever it recruit is smart enough. Can learn and can get things done.
So, I believe it's not important to know "how pipe works". But it's important that the person should be able to understand it as and when needed. So, if you are interviewing a person who has done a multi-tasking project with lots of programming, which involves using pipes-and-stuff, and he doesn't know how pipe works, he is surely worth nothing. He did not learn when he was needed to.
But what the hell, pipe is just something which takes an input and put it to a output. I think there will be more to it. Otherwise, it isn't even worth asking. But that was all I ever needed to know. And, thank god nobody asked me this in an interview!
I was myself very fearful of these (according to me jargons) of Unix like pipes, fork etc. etc. which make such good interview questions, but one like me always forget them as soon as done with an interview. I always used to hate such interviews. And, used to come out flying colors from them, if and only if, I had read an OS book before them.
If I were an interviewer, I would surely like to have candidates which have these on their tips "without reading a book". But I believe that only people who have done real system programming can have these always current. You cannot expect that from everybody out of college, however good college it might be.
So, what should you see?
I believe the reason why companies prefer to go to "supposed-to-be" good colleges, not just because the students are most well taught, and hence they know-all. But because the students there are supposed to be smart, according to that college's admission criteria. To further that, the students with good CPIs are supposed to be smart by that college's gradation criteria. A company just wants to make sure that whoever it recruit is smart enough. Can learn and can get things done.
So, I believe it's not important to know "how pipe works". But it's important that the person should be able to understand it as and when needed. So, if you are interviewing a person who has done a multi-tasking project with lots of programming, which involves using pipes-and-stuff, and he doesn't know how pipe works, he is surely worth nothing. He did not learn when he was needed to.
But what the hell, pipe is just something which takes an input and put it to a output. I think there will be more to it. Otherwise, it isn't even worth asking. But that was all I ever needed to know. And, thank god nobody asked me this in an interview!
Thursday, May 25, 2006
A blog discussion on Sybase IQ
Came accross this:
http://www.rittman.net/archives/2005/10/sand_sybase_iq_and_columnbased.html
An interesting discussion about Sybase IQ, which points two things:
1. Most of the customers or people who benchmarked it were extremely impressed and satisfied with Sybase IQ performance.
2. They were amazed how they never came accross this technology when it existed since 90's !
My personal opinion is that Sybase IQ would have taken off in much brighter flying colors but for a lackadaisical marketing by Sybase.
http://www.rittman.net/archives/2005/10/sand_sybase_iq_and_columnbased.html
An interesting discussion about Sybase IQ, which points two things:
1. Most of the customers or people who benchmarked it were extremely impressed and satisfied with Sybase IQ performance.
2. They were amazed how they never came accross this technology when it existed since 90's !
My personal opinion is that Sybase IQ would have taken off in much brighter flying colors but for a lackadaisical marketing by Sybase.
Wednesday, May 24, 2006
Truly cosmopolitan
Somebody asked me some days back - "Where are you from?" After a significant deliberation over the question I replied - "What do you mean...?"
That I am an Indian, he obviously knows, it was difficult to zoom in further. My father is from Agra, U.P. My mother's father is from Agra too. But my mother was brought up in Cochin, Kerala. I was born and brought up in Sriganganagar, Rajasthan. My parents currently stay in Jaipur, Rajasthan. I am married to a Bombayite, and my in-laws are Maharastrians staying in Mumbai. So, probably the closest answer is Rajasthan... but then I cannot really call myself a "Rajasthani". Most of my older relatives (my grandparents etc.) stay in Agra and have a U.P accent. So probably U.P is closer. But then I don't have any specific accent. And, I do not associate culturally either to U.P., Rajasthan, or Maharashtra. I know only English and Hindi and none of local dialects.
Perhaps, like many of today's generation and cities, I am cosmopolitan too :)
That I am an Indian, he obviously knows, it was difficult to zoom in further. My father is from Agra, U.P. My mother's father is from Agra too. But my mother was brought up in Cochin, Kerala. I was born and brought up in Sriganganagar, Rajasthan. My parents currently stay in Jaipur, Rajasthan. I am married to a Bombayite, and my in-laws are Maharastrians staying in Mumbai. So, probably the closest answer is Rajasthan... but then I cannot really call myself a "Rajasthani". Most of my older relatives (my grandparents etc.) stay in Agra and have a U.P accent. So probably U.P is closer. But then I don't have any specific accent. And, I do not associate culturally either to U.P., Rajasthan, or Maharashtra. I know only English and Hindi and none of local dialects.
Perhaps, like many of today's generation and cities, I am cosmopolitan too :)
Reservations?
I wanted to stay away from this debate ... mainly because I thought I have not made up my mind yet. Infact, I was amazed how sure, about their stand, students/politicians seem to be.
Reservations is a complicated issue. Nobody can deny the obvious deprivation of the so-called lower caste, and a need for upbringing them. The important question is what is the right way of doing this.
The best thing will be to have so many good schools and colleges that there is no dog-snatching over the seats. Or atleast, the issue of "seat" is less emotional and critical. But, even if we suppose that this will eventually happen, it has not happened yet. And, we have to find some way that the current generation who was deprived gets an opportunity.
Reservation is one way. Unfortunately, it is the easiest and the most populistic one too. As a result, it has led the politicans to use this tool again and again for their own advantage.
My reservations with the current "reservations" are:
A. Their implementation lacks any kind of vision. Arjun Singh just shot a ball, and others are busy catching it in a defense fielding mode. There doesn't seem to be any evidence of this decision being based on analysis of effect of reservations so far. Infact, the politicians seem to hide from any such analysis.
B. The reservations seem to for ever. There is no planning of phasing them out. For example, there should be some rule like children of beneficiaries should not be allowed to avail reservations... or something along these lines. Politicians seem to be entirely silent on such important questions.
C. Reservations in education are still ok, but they don't seem to stop anywhere. They are in jobs, in promotions everywhere.
Reservations are right in principle and I respect B. R. Ambedkar for it. But, the way they are being used is dangerous. They have become an excuse for incompetence and lack of motivation for any real work by the politicians. They are never reverted or taken back from people who don't deserve them. I fear if it goes this way it will just result into taking spoon out from one's mouth and putting into other's.
Reservations is a complicated issue. Nobody can deny the obvious deprivation of the so-called lower caste, and a need for upbringing them. The important question is what is the right way of doing this.
The best thing will be to have so many good schools and colleges that there is no dog-snatching over the seats. Or atleast, the issue of "seat" is less emotional and critical. But, even if we suppose that this will eventually happen, it has not happened yet. And, we have to find some way that the current generation who was deprived gets an opportunity.
Reservation is one way. Unfortunately, it is the easiest and the most populistic one too. As a result, it has led the politicans to use this tool again and again for their own advantage.
My reservations with the current "reservations" are:
A. Their implementation lacks any kind of vision. Arjun Singh just shot a ball, and others are busy catching it in a defense fielding mode. There doesn't seem to be any evidence of this decision being based on analysis of effect of reservations so far. Infact, the politicians seem to hide from any such analysis.
B. The reservations seem to for ever. There is no planning of phasing them out. For example, there should be some rule like children of beneficiaries should not be allowed to avail reservations... or something along these lines. Politicians seem to be entirely silent on such important questions.
C. Reservations in education are still ok, but they don't seem to stop anywhere. They are in jobs, in promotions everywhere.
Reservations are right in principle and I respect B. R. Ambedkar for it. But, the way they are being used is dangerous. They have become an excuse for incompetence and lack of motivation for any real work by the politicians. They are never reverted or taken back from people who don't deserve them. I fear if it goes this way it will just result into taking spoon out from one's mouth and putting into other's.
Friday, March 10, 2006
It's a fine day today...
I start for office and find that it's a fine morning... I come down my building to the basket-ball court. The bricks washed up by the rains last night look redder than ever. I come out of the complex to see the washed streets, flowers from the trees have dropped down on the pavements. I cross the school, and a nice carol hit my ears. The washed up lawns of Daffodils where I used to stay earlier look more inviting than ever. I reach in front of my office buildings, and the white lilies (or are they some other flower?) outside "Deccan harvest" are blooming with enchanting fervour.
Wow! It's going to be a fine day!
Wow! It's going to be a fine day!
Monday, February 20, 2006
Government at its best!
Slowly, I have come to believe that the job of government is to harass people, make their lives a little more complicated at every step, and slow down whatever progress they want to make. That is why when I went to the registrar office to get my marriage certificate done, the government was at its best.
My father-in-law had been preparing for this hectic adventure since about a month. He had noted down all the neccessary documents needed, and arranged them. The day when we had to go to the registrar office arrived. And, we realised the first offence that we had made! None of us was a government employee. So, all our documents that were duly signed by the great authorities of India hold no significance, until their photocopies were signed by a gazetted government officer. With people going less and less for government job in Mumbai, it was no easy task to find an officer at home. Ultimately we found one, and went to the registrar office.
The office was in a dark, old building, and looking at it, it was easy to understand the mental state of employees working there. Anyways, we patiently stood at window for our turn. The lady officer there looked at us with an expression which seem to suggest "Why do you marry after all to increase our workload!". Then, she took the documents and said where is the file? One person ran to buy the file. Then she started examing the documents, and we stood waiting nervously, as a child waits when his father is examining his report-card. She threw some small small points which we handled successfully! At last she caught us! She asked "Photographs kahan hai?". We said the marriage photographs are there. She looked at us with a wining expression, and handing the file back to us said, "Passport size photograph chahiye sabka". It would have been an offence to say that it is nowhere written in the instructions. So, we meekly asked, kab tak la sakte hain? She said come by 1:30. Then, again returning to her-haughty-self said, "1 baje tak aa gaye to kaam hoga, nahin to nahin hoga". It was 12:15.
So, now all the private systems get their efficiency together to fight against the inefficiency of government. The auto-rickshaw person takes us home in 10 minutes. We collect the photographs. The Konicha photo labs give us a polaroid photo ready in 5 minutes. We get back in another 10 minutes, and phew, we are there at 12:45!
Thankfully, the proceedings start. Everything goes well, till we reach the desk of a person, who seems like a nobody but is bent upon impressing himself as the highest authenticating officer in the office. He takes our file, and goes through the documents very carefully again and again, reading each line. (Note that this has been done already by two people in line.) He stucks at my name, and says - "Write full name". I told him that my full name is as written - "Shweta Agrawal". He insists on writing father's name in between. But, I am afraid that if my certificate is printed with that name it may mismatch with my existing documents, esp. passport. Anyways, I agree and write the full name on the form. After doing some more time-pass, he takes out the certificate and signs it. (Note that the certificate was already done, and name was already there on it!).
Atlast, we reach the last desk, back from where we had started. She gives us the certificate, and says, "50 rs. for receipt and 200 more". Hmmm, so all this delay was to impress how important those additional 200 are. It doesn't matter that we had done more labour for the certificate than those people, and probably we deserved those additional 200. We give the money, and return back.
Happy, because at last we are legally married. Not so happy, because the "legally" comes from so drone a system...
My father-in-law had been preparing for this hectic adventure since about a month. He had noted down all the neccessary documents needed, and arranged them. The day when we had to go to the registrar office arrived. And, we realised the first offence that we had made! None of us was a government employee. So, all our documents that were duly signed by the great authorities of India hold no significance, until their photocopies were signed by a gazetted government officer. With people going less and less for government job in Mumbai, it was no easy task to find an officer at home. Ultimately we found one, and went to the registrar office.
The office was in a dark, old building, and looking at it, it was easy to understand the mental state of employees working there. Anyways, we patiently stood at window for our turn. The lady officer there looked at us with an expression which seem to suggest "Why do you marry after all to increase our workload!". Then, she took the documents and said where is the file? One person ran to buy the file. Then she started examing the documents, and we stood waiting nervously, as a child waits when his father is examining his report-card. She threw some small small points which we handled successfully! At last she caught us! She asked "Photographs kahan hai?". We said the marriage photographs are there. She looked at us with a wining expression, and handing the file back to us said, "Passport size photograph chahiye sabka". It would have been an offence to say that it is nowhere written in the instructions. So, we meekly asked, kab tak la sakte hain? She said come by 1:30. Then, again returning to her-haughty-self said, "1 baje tak aa gaye to kaam hoga, nahin to nahin hoga". It was 12:15.
So, now all the private systems get their efficiency together to fight against the inefficiency of government. The auto-rickshaw person takes us home in 10 minutes. We collect the photographs. The Konicha photo labs give us a polaroid photo ready in 5 minutes. We get back in another 10 minutes, and phew, we are there at 12:45!
Thankfully, the proceedings start. Everything goes well, till we reach the desk of a person, who seems like a nobody but is bent upon impressing himself as the highest authenticating officer in the office. He takes our file, and goes through the documents very carefully again and again, reading each line. (Note that this has been done already by two people in line.) He stucks at my name, and says - "Write full name". I told him that my full name is as written - "Shweta Agrawal". He insists on writing father's name in between. But, I am afraid that if my certificate is printed with that name it may mismatch with my existing documents, esp. passport. Anyways, I agree and write the full name on the form. After doing some more time-pass, he takes out the certificate and signs it. (Note that the certificate was already done, and name was already there on it!).
Atlast, we reach the last desk, back from where we had started. She gives us the certificate, and says, "50 rs. for receipt and 200 more". Hmmm, so all this delay was to impress how important those additional 200 are. It doesn't matter that we had done more labour for the certificate than those people, and probably we deserved those additional 200. We give the money, and return back.
Happy, because at last we are legally married. Not so happy, because the "legally" comes from so drone a system...
Subscribe to:
Posts (Atom)