Archive for the 'Personal' Category

18th Apr 2010

A Learning Project

Binil and I have decided to study Computer Systems: A Programmer’s Perspective together. We are going to use the first edition because we both already own that and the 2nd edition is damn costly. Binil is in California and I am in Washington, so it is going to be a long distance combined study. We imagine this would take up the rest of this year, and even then it will be a challenging task (because we intend to do the exercises as well).

One of the challenge would be to maintain the interest in the project. I usually lose interest in any book after reading about 100 pages or so and this book is a little over 900 pages. We have decided that one should help the other maintain the momentum, motivation and interest. Another challenge is that (as I mentioned earlier) we are not in the same location. We decided we would communicate through email during the weekdays and have a telecon on the weekends. We should be able to fine tune the process as we go along. We also expect other challenges to show up as we go along but failing halfway would be better than not doing it at all (this pearl of wisdom may not apply to everything, so reader discretion advised).

For the first week, starting today, we will attempt to read the first chapter (there are no exercises in the first chapter).

P.S. One of the reasons for making this blog post is that making our commitments public will give us more motivation and inspiration to complete it or at least stick with it for a longer period than otherwise.

Posted by Posted by pc under Filed under Learning Project, Personal Comments 4 Comments »

07th Apr 2010

Starbucks Economics

I am not a big Starbucks fan but today afternoon I was a little bored and I thought I would go for a walk and have a coffee at Starbucks on the way. I had a Chai Tea Latte and including the tip the total came around to $4. I found it a little bit difficult to digest that a cup of tea can cost so much and that quite a lot of people doesn’t seem to mind. From where I come from (India), $4 will buy you about 40 cups of tea (yeah, I know it is not a fair comparison).

Starbucks is not the only place where I find that people are overpaying without complaint. Just drive by any wealthy neighborhood and we find shops and boutiques waiting for their wealthy preys. When I find myself in such circumstances (i.e. goods being sold at a price seemingly more than what it deserves) I usually get a little stressed and angry at the system – “Let us boycott this and teach them a lesson”. But when I thought more about it today (sitting at Starbucks and drinking their latte) I think I was being totally stupid. Nobody should lose any sleep over this.  Such a system can thrive only when a reasonable number of people are willing to buy from them. Otherwise they will have to close down. The simple fact that Starbucks is thriving means that many people think that the coffee (and the environment) is worth the price. Why somebody would pay $4 for coffee is something that I might never understand but I felt a lot more comfortable, a lot more Zen, when it dawned on me that the system is self balancing. No war is required !

P.S. I hate it that Starbucks have a “Small” size but they never advertise it on their menu, I think it is a sleazy tactic.

Posted by Posted by pc under Filed under Money Matters, Personal, Rant Comments 2 Comments »

31st Mar 2010

The battle to lose Stuff

As I mentioned in a previous post, I am trying to minimize the “stuff” in my life. It was something that I have been wanting to do for a little while now, but the decision to go ahead with it came after reading The Power of Less , by Leo Babauta, the second time. The first time I read it, I found the concept attractive and in sync with my thoughts. But I got distracted and I forgot about it. I came across it after later while I was browsing the library and this time I decided to atleast give it a try. As the first step I gave away quite a few of my books. I also sold some on Amazon. It wasn’t much compared to what I had but still it was a good start. Then I gave away many clothes and shoes with I don’t use anymore. It felt good on two levels – the joy of giving as well as being able to get my foot in the door of a new way of living.

I am ashamed to say that I made a splash starting from last Friday. I bought 2 new books from Borders on Friday. I had a copy of one of them from the library but I still wanted to have my own copy. I rationalized that this was a book that requires multiple readings and that it was a very good book and worth owning. I am still not sure whether this a good move. The 2nd book was one that I really wanted to get but considering my current situation I don’t think I would be able to get to reading that book for the next 6 months. Maybe I should have waited to see whether I would actually get time to read it.

On Sunday we went to Seattle Premium Outlet Mall in Tulalip and I bought quite a few new clothes. The primary reason we went to the mall was to get a pair of sunglasses for Rija and maybe some new clothes for her. When we were done, I had bought more clothes than Rija and also a pair of shoes. I have lots of clothes, I didn’t need to buy any new clothes but I gave in to the shopper’s impulse and as a result I have increased my Stuff. I am not very proud of this incident.

On Monday I was browsing through Amazon (I should really stop browsing through Amazon) and I stumbled on Set Theory and Continuum Problem by Raymond Smullyan. I thought this would a good book to buy as I had read other books by Smullyan and I have great respect for him. Also Binil had convinced me that learning some maths is good for anybody. The book was not expensive so I didn’t give much thought about it and decided to go ahead and buy the book. While ordering the book, Amazon showed me other books by Smullyan and I fell for end. All said and done I ordered 7 books. 7 books ! I am not sure whether I would ever get to read them, but I had to order it. Some part of me just craved for the transient high of obtaining new Stuff.

To top all this, yesterday we went to Walmart to get some medicine for Rija and I ended up with 3 new shirts ! How bad am I ?

Actually the books that I bought are very good and it will surely be fun and beneficial if I ever read them. The clothes that I bought are good and I look forward to wearing them. But did I need these ? I don’t think so.  I could have bought the books when I have the time to read them and I could have bought the clothes when I have worn out my existing clothes or given them to the needy.

I have to be more aware of my thoughts, emotions and impulses. I should avoid the temptations if I can’t resist them. My first steps faltered, but I am not giving up. I am going to try my best to minimize the Stuff in my life, instead I am looking forward to experiencing more of life’s little pleasures such as spending more time with friends and family, going for walks, playing games, long drives with my wife, visiting places, etc. In general enjoying the experience of living rather than that of having.

Posted by Posted by pc under Filed under Minimalism, Personal Comments No Comments »

27th Mar 2010

New Books

I got a 40% off coupon from Borders so I decided to indulge myself a bit. Unfortunately the coupon could not be used on Borders.com which meant I had only a limited choice that the stores offered. The Redmond store is a little better than other Borders stores I have been to, but still the choice of technical books is still very limited. When I get a 40% off coupon I usually try to get the higher priced books but most of the time they are not available in stores. They usually allow only one coupon per customer but it is not tracked in the system it so you can come back later when another store clerk is at the counter or even the next day (if the coupon is valid for the next day) or you can go to another store and use the same coupon (all customers get the same coupon). I took my wife with me and she has a Borders membership card too so I managed to get two books at 40% off:

The Art of Strategy: A Game Theorist’s Guide to Success in Business and Life

and

Metaprogramming Ruby

I have been reading The Art of Strategy from a copy I borrowed from library, but I loved the book so much that I thought I should have a copy of my own (I know, it goes against the philosophy of minimalism that I am trying to practice). I decided to buy the book anyway because it is a book that I will have to read multiple times. I believe it is a book worth buying. It is a book on Game Theory, a branch of applied maths, and is quite an interesting read. I have not completed reading it and when I do, I intend to post a review here. But I recommend you get a copy for yourself and start reading immediately. Borrow a copy from the library if you are not sure whether Game Theory will hold your interest.

I love Ruby. It is the programming language for programmers with aesthetic sense. The name couldn’t be more apt because you can write “beautiful code” in Ruby. But that is not Ruby’s only strength. One of the biggest selling point of Ruby is its Metaprogramming capabilities. I have played a little with Ruby and I have a few Ruby books on my shelf but I haven’t taken the effort to move my Ruby knowledge to the next level. Becoming a master in any programming language involves understanding its underlying philosophy and its strengths. Moreover it should be useful to learn metaprogramming concepts even though I may never get to program extensively in Ruby. The book has good reviews on Amazon and it looked very readable when I flipped through it in the book store. If I don’t find it very useful I can return it within 30 days – one of the best things about America :)

I have borrowed quite a few books from library recently and I think most of them are very good. More details and reviews of those books in a future post.

Posted by Posted by pc under Filed under Books, Personal Comments 2 Comments »

11th Mar 2010

Filling in the blanks

Towards the end of the last year I had bragged about some new year resolutions. One of them was that I would be posting more frequently here. Well it has been about 2.5 months since my last post. Not good going. The status of the rest of the resolutions are very similar, if not worse. I am taking solace in that it seems to be a universal problem :-)

One of the reasons for me not being able to keep with any of things that I wanted to do was my illness. I have been having a series of throat infections starting from mid December of last year. After the first infection subsided I got an even worse condition known as peritonsillar abscess (PTA), which is much rare compared to tonsillitis but far more painful and serious. The condition consists of infection on the backside of the tonsils which forms an abscess which is filled with puss. If not treated, there is a chance that it might even lead to death. I was put on antibiotics which did not help. So the doctor gave me steroids and stronger antibiotics which seemed to work. But I got another infection as soon as the current infection subsided. This time even antibiotics and steroids weren’t helping. So the doctor had to make a small cut into the throat and drain the puss. It was extremely painful and I almost fainted. I think it was the incompetence of the doctor that caused most of the pain. To top it all, when I was standing dazed from all the pain and blood oozing down my mouth, he was trying to persuade me to do a tonsillectomy as soon as possible. I wanted to kick his balls so hard that he would spit them out.

I decided to switch doctors and I really have to thank God that I found a very good doctor (Dr. Sunil Ummat from Northwest Face in Kirkland). He had to do another draining but this time the it was almost painless. This is one of the times where I recognized the importance of seeing a good doctor, I swear that the difference is like night and day. The problem with peritonsillar abscess is that once you get a PTA, the structure of your tonsils have forever changed – they are never the same again. There is a good chance that you can another abscess and there is no way to prevent it other than staying healthy and making sure you don’t get a throat infection. That is like trying to prevent a common cold. You can only do so much. Many doctors suggest a wait and see approach while others recommend a tonsillectomy. Usually it is up to the patient to make the decision and Dr.Ummat did the same. I was not sure. I did not want to go through a PTA again but I was quite afraid of doing a surgery. Dr. Ummat was very patient and explained all the pro and cons to me. After a couple of weeks of deliberation I decided to do the tonsillectomy. I had it done last thursday. Today is the 8th day after the surgery and I am doing pretty well now. I haven’t fully recovered yet, but the pain is mostly gone (I am still on pain medication though) and I have started eating soft foods. Cant talk much either. One of the (positive) side effects of the surgery is that I lost 14 pounds in less than a week :-)

I am not making any more promises now about frequent blogging and reading books and learning technologies. I am going to take life as it comes because if there is one thing that I have learned so far from 31 years of life it is that you can’t really expect life to go the way you want it to (that is not to say that I am not in a bad position today, but I have had so many deviations from where I expected to go in life). I am starting the see the value of the Zen approach of going with the flow and taking it easy and enjoying life while I can.

These thought are not caused by the bitter experience of my recent illness or because I believe I have achieved enlightenment but these are thoughts that have been shaping up for several years now. I have been reading a book called Power of Less recently and I very much like the idea of minimalism. I have hundreds of books. More than I can read in my lifetime, but I just keep on buying more. Now I think what I love is not the books, but the experience of buying them. Just the way women love to shop for clothes. I used to scour over Amazon for several hours a day for books that I don’t have, all the while having on my shelf several hundred books that are in the “must read” category. Now that I have identified a problem, I have decided to fix it buy not buying more books but by reading the books that I already bought. I think that having a few good things and enjoying them is far better than having lots of good things but never being able to enjoy them. I have decided to experience less number of things but to experience each more deeply. Let us see how it goes.

Posted by Posted by pc under Filed under Health, Personal Comments 6 Comments »

21st Dec 2009

Plans for 2010 Part 2

As I have posted here, I have made some resolutions for the new year. If nothing, just for the fun. I have to add two more things to the list.

  • Learning F# and
  • Reducing my weight.

I have been trying to learn F# for over a year now (maybe even a little more). I have all the F# books in print now as well as the PDF for the upcoming Manning MEAP – Functional Programming for the Real World. But they been collecting dust on my shelf. Functional programming requires a new mindset and hence requires a little more effort for me than studying a new imperative language. The first book that I bought is Expert F# which is definitely the wrong book for a beginner. It is written by Don Syme et.al. who is the primary designer of the language and is a little dense. It is a good book with a lot of information but it is just not good for somebody new to functional programming. Once you have grasped the main ideas behind functional programming, it is a good book to have. The second edition of this book is coming up soon.

The game changer for me was Programming F# by Chris Smith which, IMHO, is the best book out there today to learn F#. It is a surprisingly small book and is written with such clarity that even somebody with absolutely no exposure to functional programming languages would be able to learn from it. It makes the ideas accessible and has some brilliant examples to showcase some of the features of F#. It kind of feels like an easy-going friend, which is exactly what you need when exploring unfamiliar grounds. I was so impressed with the book that I wrote a review of the book on Amazon giving it 5 stars.

I am not entirely comfortable with F# yet. But I have my feet wet and I plan to make the plunge in 2010.

Another thing that I want to tackle in 2010 is my weight (and fat). I am 190 lbs now. I used to be something like 175 lbs 3 years ago when I came to USA. 15 lbs in 3 years ! I am definitely worried about this. So is my wife. I had taken diets a couple of times previously and had always managed to reduce weight. But it always came back with a vengeance. So I am not sure whether another diet is the solution. Being on a diet is one of the most worst experiences that I have been through. Food is always on your mind and you can’t eat it. You are constantly fighting the sugar craving (I was on a low-carb diet). It is hell.

Although I haven’t made any specific plans, I think I would concentrate more on exercise and less on diet this time. Let us see how it goes.

Happy Holidays !

Posted by Posted by pc under Filed under Diet, F#, Personal, Technical Comments No Comments »

10th Jun 2009

Follow me on Twitter

Follow me on Twitter at http://twitter.com/cpradeep

Posted by Posted by pc under Filed under Internet, Personal Comments No Comments »

10th Oct 2008

Diet update – Oct 10 2008

176.2 pounds as of today morning. I have found that the days on which I play or do exercise I lose approx. 2 pounds. On other days, the weight remains approximately the same.

Total loss till today is something between 12 and 14 pounds. I am so happy :)

Posted by Posted by pc under Filed under Diet, Health, Personal Comments 4 Comments »

06th Oct 2008

Diet update – Oct 06 2008

Today morning my weight was 182.4 pounds which comes to approximately 82.7 Kgs. This means that I lost something between 6 to 8 pounds in the first two days (i didnt measure my weight before starting the diet but I think it was something between 188 – 190 pounds which was the case when I last weighed myself). This rate of reduction is excellent from what I have read and it certainly gives me some motivation to continue the diet. The going is tough and the sugar craving is very high but I hope things will get better in the days to come.

Yesterday morning I had 2 eggs and a sausage for brunch. In the evening I had 2 chicken pieces and for dinner I fried some shrimp. I snacked on beef jerky in between meals as well. I drank 3 caffeine free diet cokes and ate a couple of packets of Splenda to satisfy my sugar craving.

I played badminton on saturday and volleyball on sunday so I am guessing that it helped in burning some fat.

I haven’t decided what my target weight should be. I don’t want to put too much pressure on myself. When the cravings get high, I console myself with the fact that I can quit any time that I want, but by having a target weight it would feel like a failure if I quit before that. I am just going to keep going as far as I can.

The hardest part would be keeping the weight off after I start eating carbohydrates again. I don’t have a plan sketched out for that, but most probably I would start exercising more.

Posted by Posted by pc under Filed under Diet, Health, Personal Comments 2 Comments »

04th Oct 2008

Lean & Mean

It has been a while since I wrote anything here, I guess I am having a blogger’s block. Today I made a significant decision and I thought I should write about it, partly to keep my resolution and partly to break the writing block.

I have been gaining weight steadily in the past two years and I am beginning to get a bit concerned about it. I had bought a lot of clothes when I came to US but I cant wear any of them now because my waist size increased from 32 to 34. So I have decided to shed a few pounds and start feeling good about myself. A nice side effect would be I would be able to use some of my old clothes :) . I am just hoping all this would happen, but you never know unless you try it. So guess what, starting today I am going on a low-carb diet. I have done this once before with good results although I quit after a week unable to withstand the sugar craving. I lost something between 4 and 6 Kgs in that period. That experience gives me a lot of confidence now and I hope to do better this time, not necessarily in terms of quick weight reduction but in terms of getting better long term benefits ( I gained back the original weight within a month last time). One advantage that I have compared to previous time is that in US you have better access to food which is carbohydrate free. I really suffered that week in Bangalore while I was on diet because I couldn’t get enough protein & fat only food to keep me from going hungry. Going on a diet, in general, is pretty tough because the fact that you cant eat certain types of food makes you crave for exactly that. A significant factor for success is your ability to keep your mind off the diet, something that I couldn’t do last time. I hope to do something in the coming days – something that will keep me busy and keep my mind of the food craving. Maybe I will blog more or study something new or start a pet project.

Today I ate 4 eggs and some beef jerky for brunch. In the evening I ate some baked chicken as a snack. I am planning some sausages for dinner. There is a lightheaded feeling, but otherwise everything is going good. I don’t have a weighing scale at home so I don’t know my exact weight before starting the diet, but last time I weighed myself it was something between 188 and 190 pounds (around 85-86 Kg). Tomorrow I plan to buy a scale so that I can keep track of the weight during the diet period.

Wish me luck dudes and dudettes, and stay tuned for the diet results :-)

Posted by Posted by pc under Filed under Diet, Health, Personal Comments 2 Comments »