C to C++ tour

I was requested during the beginning of this year to give a crash course on C++ for the developers with C background in our company. A while back, sankar gave an introduction to go language using http://tour.golang.org/ . Fascinated by the interface of gotour, I wanted to give the C to C++ tour using a similar interface but needed it in a quick time.

I discussed it with sankar and he came up with https://github.com/psankar/kuvalai/. He masters in pulling people to learning something new ๐Ÿ˜‰ So I quickly learnt a bit of Go and contributed to kuvalai. It was taking a while to get it done, so we discussed and decided to hack up the go-tour. Made it to work with c++!!


Readme.txt – explains howto apply the go tour patches and get it running.

All the programs and the article is now available at https://github.com/chenthillrulz/cpp-tour ๐Ÿ™‚ I wanted to put this up on webserver so that it can benefit others, esp. beginners to c++ and students. But since I don’t have any webspace at the moment, thats going to take time ๐Ÿ˜‰

It was really challenging to construct simple, connected, practical examples for demonstrating the features. I wanted this tour to go simply like a movie. I did not know that I would enjoy so much doing this stuff ๐Ÿ™‚ Got some happy, encouraging feedback from my peers after the training sessions. Perhaps I should thank my manager, Pradeep for persuading me to do this stuff. And my team, some of whom are still pushing me for the final session!!

Have conducted four sessions and the last one would cover advanced concepts such as traits, functors, template specialization, c++-11 features etc. The last session is taking time as I dont have practical experience on using traits, but still want to get some practical examples ๐Ÿ™‚ย  Working on it!!

The descriptions in the doc. many require some polishing. It has about 42 sections at this point. And as always patches are welcome!!!

writing a blog after quite some time, refreshing ๐Ÿ™‚


A deeper understanding of work and business

This is a little story about how Lord helped me understand why I should be working. There was a period while my relationship with my manager was bad. So the work which I did was not appreciated. It was also evident that I would neither get a good hike nor a good bonus at the end of the year. All my friends including some friends who are in the higher managerial ladder advised me to either switch teams or switch company. With these things rolling in the mind, work at office seemed dull. Every morning as I begin to start to office, above reasoning will go on in the mind and my complete energy would be lost with no answer. SriMurthy Bhagvan makes decisions for me. He, on the contrary to others said me not to change the team. Without knowing why I should work, I could not get on.

One fine morning, I sat before SriMurthy Bhagvan and said that am out of answers. I had thought enough and unable to find an answer why I should be working. It was already a dull period of a week. While I sat blank without answers, suddenly a realization flashed. It said that, I working or business is nothing but people helping each other. Every single person is blessed by the Lord with some skill (through college, courses, individual learning etc.) which may look to be due to his decision or it just happened due to coincidences. But however one might have got this skill, it has come to him beyond his free-will. Businesses, money etc. have been in place to make sure people help each other.
Once this had hit the mind, the work just started to go on. Learning was automatic since, if I do have to help people in a better manner, I better be skilled. While helping people, the smallest thanks for anything I did gave a lot of happiness. While still the relationship with my manager was bad, Bhagvan helped me correct that too explaining me the truth – https://chenthill.wordpress.com/2011/10/20/setting-right-relationships/ . As and when the realization hits, the energy just boosts up. Its all about making people happy by helping each other.

The work at office and the helping people outside remains the same now. The salary, bonus and hike are nothing but a Token of Thanks. Should there be a comparison with each other with Token of thanks, I guess no. If I realize I need a better Token of thanks, I can always ask for it and make decisions without hurting any relationship, for its all about helping people ๐Ÿ™‚

Thanks to Lakshmi Prabhaji who urged me to write this down. Hope this might help some people ๐Ÿ™‚

Setting right relationships

Without getting into the specfics, am going to share some happenings over the recent past. Don’t ever consider me as an expert or a philosopher. But just a young guy experimenting with what Sri Sri Bhagavan, the Founder of Oneness university taught me. And don’t ever create a image about me by this. If you do not want to read the story, skip to summary. Alright lets get on..

While at work I had been having some issues which prolonged for a long time (3+ years) and finally led me to think strongly about resigning. Last week, due to the love of my mother and SriMurthy Bhagvan who asked me to meet Sri Sri Bhagvan at Oneness, I went there. The conversation lasted for around half an hour. While I said, am going to resign, He said not to resign and asked to set right the relationship on the contrary. He explained in a great deal about the role relationship playsย  which was beyond imagination and pit-falls in J Krishnamurthy’s teachings.

I did understand it theoretically but not very much practically. So while coming over in the bus, there were a lot of conversations going on. The thoughts which flowed were trying to find a way to set right the relationship with my boss. There were a lot of justifications and blames. The fluctuations in mental stands were evident and i could not find a way with it. Finding reasons for setting relationship is a play of the mind, which is a result of thinking. Suddenly in the morning, it became crystal clear.

The way was just to set the intent and be in the present. The significant part is not to think or make any effort. Thinking is a vicious circle. It would just justify itself and keep looking right always (at-least for me ๐Ÿ˜‰ ). Being in the present without an intent also does not produce result, i can say this with my experience in cricket.

So intent+awareness=result is the key. Setting the relationship inside oneself leads to joy which is a clear symptom. The outward one will automatically get fixed with intent+awareness.

What Sri Sri Bhagvan explained me was, If the relationship inside is alright, rest of the part, such as job, new house, vehicle, anything etc. will come as a by-product automatically. The relationship got set-right once I came to office and I knew it was fixed even while I started my journey back from oneness university.

He asked me to take one relationship (a close one, eg: mother) and work on all aspects completely. I should remain on the findings, without trying to fix it. Started on it, lets see how it goes ๐Ÿ˜‰

Am certainly very happy to be a part of oneness university ๐Ÿ™‚

To summrize:

Intent + awareness = result.

There should not be any reason for enjoying a good relationship with people. For reasons are always bound to change.

Thoughts and Energy level of the body

I started experimenting with anandha mandala during the last couple of weeks. I found during the period that the thoughts that arise are very much related with the energy level of the body. ย When the energy levels are low the thoughts are often questions/complaints and seek an escape from the situation. While on the other hand, immediately after doing the ananda mandala, the thoughts are entirely different on the same issue.

If one does believe that the thoughts belong to an individual and acts based on them, it might be necessary to raise the energy levels of the body.ย  I guess there are many forms of breathing exercises in the form of yoga which is would help. The physical exercises like running and cycling alsoย  helps in regulating the breathe, in turn affecting the mind. If some of these are followed consistently, the reaction for a particular situation would be often positive..

While on the other hand, if one observes the movement of thought and realizes the futile nature of the same and renounces itย  in relationships with people, the energy would remain still. Which means the thought would find its use for some technical work and then cease. This, with my current observations is the way to be in the present. While am inquiring on these, I get a feeling that its a new way of living and its still sinking in me…

Note: these are just my personal observations through experimenting with teachings from oneness university and j krishnamurthy.

opensuse 10.3 on sony vaio

I just got a sony vaio VGNCR220ELย  laptop. I like it very much for the look, lighting of the monitor screen and its fast. It had the windows vista installed on it. Vista was very slow with the visual effects enabled and consumed a lot of memory. I wanted a windows system just for playing games which is only one aspect for which I use it.ย  So I re-installedย  opensuse-10.3 on the system. I was amazed to see that all my devices were automatically detected. I did not need search for any external drivers. The xgl effects which comes with compiz fusion is real fast. With the repository such as http://opensuse-community.org/Multimedia, I was able to view all the divx movies after installing the decoders by just one click ๐Ÿ™‚ build-service project had made things a lot easier. I had one problem with the network-manager. Its not able to connect to the wireless network if the access point is hidden. I need to sort that out. I have not yet tried using webcam. Need to see if any external drivers are required for it. On the whole amย  really happy with sony vaio and opensuse, and I can work from home now ๐Ÿ™‚