Thursday, February 14, 2008

Linux Scheduler

Currently looking at the realtime Linux scheduler code...oh man! it has changed quite a bit from the last time I had seen it. For realtime tasks, the logic behind pushing and pulling of tasks looks pretty impressive..the cpu priority management by Gregory Haskins is nice, but overall, rt task load balancing is not yet scalable...it is O(n). So as the number of processors increase, the latencies in scheduling a particular rt task would increase linearly...but this is a cool piece of code to work with ;-) Having fun!!

Workshop @ FOSSkriti '08

Will be conducting a workshop at Techkriti '08, a technical fest at IIT, Kanpur this weekend (16th). Workshop is a lab session on 'Introduction to the Linux kernel'...more details are here:

http://www.techkriti.org/#lookup_FossKriti_Workshops

Also giving a talk on LinuxChix (an intro session) and would be representing LinuxChix at the fest! Loking forward to both my talks..and ofcourse, the trip! Got quite some travel :-)

Thursday, December 27, 2007

Benazir Bhutto assassinated...

This news comes as a hard blow..not that it was not expected (this threat was looming large on her from the moment she set foot in Pakistan once again), but hard to come to terms with it. I was shattered when I turned on the TV at around 7:10 pm today. At first couldn't believe it...

I am yet to read her autobiography "Daughter of the East', but she sure was a courageous woman to risk her life and come to Pakistan at this time. Wonder what drove her to come back...one would surely be to vindicate herself. Then there is the legacy of her father Zulfikar Bhutto to carry forward and establish democracy in Pakistan. She surely would not have liked 'being in exile' as the last of her memories...but alas, these were not to be.

Can there still be hope? News channel say that the PPP has confirmed her death, though there is still no official announcement...can there be a chance still?

Tuesday, December 25, 2007

Sphygmomanometer

Recently I bought a sphygmomanometer to track my parents' blood pressure. Thanks to Vinnie, I can now proudly claim that I can measure blood pressure using the manual instrument!! A couple of doctors advised me against going for the digital apparatus, saying that with time, the readings become unreliable. Moreover, its fun learning something new ;) Turns out, there is more physics involved in this than the knowledge of bio!



Heres a nice online guide that I just found.

Jingle Bell, Jingle Bells...

Feliz Navidad... Feliz Navidad...
Feliz Navidad
Prospero ano y felicidad.

I want to wish you a Merry Christmas.
I want to wish you a Merry Christmas.
I want to wish you a Merry Christmas
From the bottom of my heart!

Heres wishing everyone A Merry Christmas!! I simply love this festive season...esp the plum cakes, the rose cookies, the 'kalkals'...ooh, mouth watering!! Nice :) Heres a pic of my christmas tree...

Saturday, December 22, 2007

Heard of eatables being prosecuted?


This is one of the many funny and meaningless messages that we come across so very often :) Aravind drew my attention to it though...




Thursday, December 20, 2007

Are you part of the movement yet?

The highlight of FOSS.in 2007 for me was meeting developers like Rusty Rusell, Thomas Gleixner, Ulrich Drepper and many more and to understand the value of 'getting involved' and how simple it is and this is the topic of this post.

My journey in the world of open source started a couple of years back in college. Back then, it was mostly about using Linux as my primary desktop..using it for doing everything I wanted to do. I always thought that I did not contribute to any open source project. Its only now that I realize how wrong I was !!

What does it mean to contribute?
Well, first things first.

Contribution != code.


There are umpteen number of things you can do to claim that you contribute to the open source projects. Its not just about code. Rusty conducted a brilliant session at the close of the ceremony at FOSS.in to emphasize just this (though he gives himself 6/10 for it, IMO, he deserves a 9/10!). So what does indeed fall in this category...broadly..

  • Using foss : Having a large number of user base is the first step towards making foss popular and better. So, simply by switching to Linux as against using Windows, you are playing an important role in this movement. The more the number of Linux desktop users, the bigger the market would be and that will help in convince the PC makers to ship Linux as default..no matter which distribution. So take pride in using Linux.
  • Evangelizing foss : The reasoning is similar to the above...influence people around you to switch to foss..
  • Helping in making any open source software better : There are many things that one could do to make foss better. Provide documentation, report bugs, help in resolving the bugs, feature enhancements and testing. Don't keep quiet when you come across an error in an application that you are using, for eg, amarok. Report it to the amarok community and rest assured, you will have a fix! This will improve the quality of the software and will be an encouragement in itself for many more people to switch over to foss.

So the important point to note here is, you needn't be a programmer to call yourself a contributor. I met several such eople at FOSS.in. I met a woman working in a NGO, an open source fanatic and has played an important role in making her NGO use foss for their day to day activities. I also met a graphics designer who does all her work using open source software. There were some teachers who are advocating open source in their schools. Each of these individuals, in my opinion are making as valuable role in this movement as the code developers. After all, what use is the code if there are no users!!


Getting involved...this is the key if you want to make a difference. Actively participate in any of the above...get that code fixed or fix that code! Its your software and you can make it better...the onus is entirely on you...


Friday, December 14, 2007

Batti Bandh Initiative !!

Today I heard about this wonderful initiative called "Batti Bandh - Mumbai Unplugged". The intention is to increase awareness about Global Warming and also to combat. What it means: City like Mumbai goes for a blackout for 1 hr from 7:30 pm to 8:30 pm on 15th Dec, 2007. Quoting from the Batti Bandh site:

"Batti Bandh is an entirely voluntary event taking place on the 15th of December between 7:30 & 8:30 p.m. This event is aimed at requesting all of Mumbai to stand up for a cause that is greater than all of us. All you need to do is switch off lights and appliances in your home, shop, office, school, college or anywhere you are for 1 hour to take a stand against global warming. Just 1 hour.

What will this 1 hour do? This 1 hour for just 1 day is not our only aim. This 1 hour is to set an example to the world, to every person who witnesses it, to show that together we can make a difference. This 1 hour will save a lot of electricity as well as pollution and if done regularly can go a long way in reducing pollution that is released by electricity plants as well."

The mayor has also endorsed the initiative including so many more conscious citizens. For those of you who have been to Mumbai, imagine how the beautiful marine drive would look without light! But who cares....this event has a goal and a noble one. Think about the amount of carbon dioxide that will not be released into the atmosphere?! The website quotes it to be 24.86 tons!! It also says that this would be equivalent to taking 48,613 cars off the road!

The agenda is not only to observe the blackout. It has another motive. To encourage people to switch to a better lifestyle that would reduce that carbon footprint...like using CFL bulbs, switch off your computers when not in use, avoid using cars for shorter distances, plant more trees, stop using plastic bags and the like.

But why only Mumbai? I feel each one of us should take a cue from this movement and do their bit to save our planet. There has been a lot of buzz around this for quite sometime now. We have seen innumerable articles in the paper talking about the dos and donts. But do we heed? Some of us have switched over to the healthier options. But, we have a long long way to go. And I sincerely hope, we will get there sooner than later.

The government needs to step in and do its bit. For example, ban usage of plastic bags...bring more re-cycled paper bags into usage (afaik, most of the supermarkets still use plastic bags). Increase taxes on the neon/ordinary bulbs and make CFL cheaper (ok, I did read in the paper sometime back that the Karnataka government has mandated usage of CFL bulbs in all government offices...but I wonder if it has been implemented).

Anecdote: The other day I was out near the airport runway...just watching the planes land and take-off. I noticed a car (a silver Lucida) moving very slowly with two people walking right in front of it, a man and a lady. I didnt give it much attention. After another 10 minutes, I see it again, heading in the opposite direction this time. The same two people again in front of it. I will not reveal the identity of this man, but suffice to say, that he is a very well known figure of Bangalore (you can be maybe guess by the decription of the car...not too many Lucida's in blore). So I then figured out what was going on - the man was on his evening walk and the so was the car!! The car followed him all the way instead of being parked somewhere. I was very upset at this. I still repent for not having gone and spoken to him about it. The big guys are supposed to set an example.

Anywaz, lets hope this initiative is a huge success....not only in terms of more people pledging to turn off their lights, but also pledging to change their way of life :) And for all of the non-mumbaikars, do your own bit and reduce your carbon footprint...its for your own good!

Note: Bangalore doesnt need a special event of this nature..thanks to BESCOM, we generally are left without power at soo many times in a day...its like a regular event in our lives ;) We unplug so very often!!

More pics here