As the earth rotates and as time (as we understand and define it) advances, our calendars will reach/have reached the year 2006 AD. I hope this year has been quite fruitful for all of you and the new year will bring more progress, peace and happiness for all of you, compared to this year.
For me, the next year will be very challenging both personally and professionally and I look forward to it. I hope to be a little more active in my social life and otherwise.
Well, as for 2005 "That's another year archived in memory and on the blog's sidebar".
Saturday, December 31, 2005
Thursday, December 29, 2005
Data Structure Patterns - II
In Data Structure Patterns, I referred to embedding data structures in other concrete data types to as a pattern. Linux Device Drivers, third edition talks about embedding kobjects, which I quote here
I realized that what I originally called a data structure pattern is really a means of achieving inheritance. I would like to refine what I said and call it a "Data Structure mechanism to implemeninheritancece in C". What is interesting to note is that this is not a design pattern, but rather a code pattern to achieve a design goal inheritance.
I would like to thank Jonathan Corbet, Alessandro Rubini, and Greg Kroah-Hartman for their book and seeing things so clearly.
If you are used to thinking of things in object-oriented terms,kobjects can be seen as a top-level,abstract class from which other classes are derived. A kobject implements a set of capabilities that are not particularly useful by themselves but that are nice to have in other objects. The C language does not allow for the direct expression of inheritance,so other techniques such as embedding one structure in another must be used.
I realized that what I originally called a data structure pattern is really a means of achieving inheritance. I would like to refine what I said and call it a "Data Structure mechanism to implemeninheritancece in C". What is interesting to note is that this is not a design pattern, but rather a code pattern to achieve a design goal inheritance.
I would like to thank Jonathan Corbet, Alessandro Rubini, and Greg Kroah-Hartman for their book and seeing things so clearly.
Wednesday, December 28, 2005
Tragedy at IISc
As I returned home today night, I was informed that there has been a shoot-out at IISc Scientists Killed, 3 injured in IISc terror strike . I usually go to Tata Book House and had planned a visit, but could not go because I had to meet a friend.
Lets all gather together and condemn the attack. The people hurt are eminent scientists and our gurus. Such attacks always impact innocent people who want to live their live in peace. My prayers go out to the family members of the people hurt and their families.
We in Bangalore have been reading reports of terror reaching Bangalore, could this be the beginning of it? I sincerely hope not.
Lets all gather together and condemn the attack. The people hurt are eminent scientists and our gurus. Such attacks always impact innocent people who want to live their live in peace. My prayers go out to the family members of the people hurt and their families.
We in Bangalore have been reading reports of terror reaching Bangalore, could this be the beginning of it? I sincerely hope not.
Saturday, December 24, 2005
A visit to doddamakali
We recently visited doddamakali. There are good number of pictures in the previous blog postings.
I am going to keep the trip report small and readable.
The day of the trip did not start well. I was supposed to be picked at 6:15 AM, I was picked up by 7:00 AM and then our vehicle ran out of fuel. After having a great breakfast at Kamat (on the highway), we set of for doddamakali. We arrived at the camp at 11:15 AM, after having driven down the hill to the mighty river Cauvery. The path requires that a 4x4 be used to drive down.
Trek1
Our first trek took us along the bank of the river. The path has a combination of sand and rock. Finding your way down and up the rocks can get difficult, especially when the rocks get hot. It is difficult to grip on to anything. To make matters worse for me, I carried a bag, a camera and a stick.
I did not rest enough and drink enough water, the result -- I felt like I was de-hydrating on the way back. It is one of the worst feelings I have had in a long time. I could not stop losing water, I could not rest at a place and I could not stop using the rest-room. I gathered enough energy to reach back the camp and had a lot of lemonade, it took a lot of lemonade and some good rest (for about an hour) before I could stand up again.
Lunch
The camp people served lunch. The lunch was well cooked, but I avoided lunch and only took curd-rice and some sweet. Of-course with a lot of lemonade.
Boat Ride
Initially we were refused the boat-ride, the folks at the jungle mentioned something about crocodiles. After lunch, we were adamant on the ride. The result, of came two boats and 10 life jackets. The forest people insist that we were life jackets (which is a good thing). One of the boats was leaking, so they use a metallic stool in it to avoid getting wet.
You will see in the pictures that one boat has people seated on the boat and the other boat seated on a platform. The boat ride lasted about 15 minutes, the fun part of the ride is when the boatmen turns the boat in circles to everybody's cheer and joy.
Fishing and Trek2
One group decided to stay back and fish, the other (including myself) decided that it was time for trek2. The fun part about trek2 was that there is no trek path. There are thorns and bushes and the trek is steep. The view from the top is amazing, some pictures of the view are available in previous posts. On the way back, the grass helped us from falling, everyone gripped on to it. But no-one reached the camp without a fall. I had a big thorn that entered my thumb and broke inside. The forest official used his pin to get it out of my hand and offered a band-aid
Coming back
We stopped at Maddur for some maddur wada (which is very delicious) and reached home by around 10:30 PM.
I am going to keep the trip report small and readable.
The day of the trip did not start well. I was supposed to be picked at 6:15 AM, I was picked up by 7:00 AM and then our vehicle ran out of fuel. After having a great breakfast at Kamat (on the highway), we set of for doddamakali. We arrived at the camp at 11:15 AM, after having driven down the hill to the mighty river Cauvery. The path requires that a 4x4 be used to drive down.
Trek1
Our first trek took us along the bank of the river. The path has a combination of sand and rock. Finding your way down and up the rocks can get difficult, especially when the rocks get hot. It is difficult to grip on to anything. To make matters worse for me, I carried a bag, a camera and a stick.
I did not rest enough and drink enough water, the result -- I felt like I was de-hydrating on the way back. It is one of the worst feelings I have had in a long time. I could not stop losing water, I could not rest at a place and I could not stop using the rest-room. I gathered enough energy to reach back the camp and had a lot of lemonade, it took a lot of lemonade and some good rest (for about an hour) before I could stand up again.
Lunch
The camp people served lunch. The lunch was well cooked, but I avoided lunch and only took curd-rice and some sweet. Of-course with a lot of lemonade.
Boat Ride
Initially we were refused the boat-ride, the folks at the jungle mentioned something about crocodiles. After lunch, we were adamant on the ride. The result, of came two boats and 10 life jackets. The forest people insist that we were life jackets (which is a good thing). One of the boats was leaking, so they use a metallic stool in it to avoid getting wet.
You will see in the pictures that one boat has people seated on the boat and the other boat seated on a platform. The boat ride lasted about 15 minutes, the fun part of the ride is when the boatmen turns the boat in circles to everybody's cheer and joy.
Fishing and Trek2
One group decided to stay back and fish, the other (including myself) decided that it was time for trek2. The fun part about trek2 was that there is no trek path. There are thorns and bushes and the trek is steep. The view from the top is amazing, some pictures of the view are available in previous posts. On the way back, the grass helped us from falling, everyone gripped on to it. But no-one reached the camp without a fall. I had a big thorn that entered my thumb and broke inside. The forest official used his pin to get it out of my hand and offered a band-aid
Coming back
We stopped at Maddur for some maddur wada (which is very delicious) and reached home by around 10:30 PM.
Friday, December 23, 2005
Thursday, December 22, 2005
Subscribe to:
Posts (Atom)
privacy
Some of the policy from the app automation refers to https://rclone.org/privacy/ if you are a general blog reader, follow Google's polic...
-
I received my MS degree from BITS Pilani today. Wow! I am now qualified to do more, I feel so energized. As I am writing this blog, I look ...
-
I still remember meeting a great architect at a place I worked. He was very humble and so good that he was a role model. Basically whether w...
-
I reviewed a chapter of Computer Organization & Architecture, Designing for Performance. This is the last of my reviews for a long time ...
















