Friday, February 26, 2010
Thursday, February 25, 2010
HP Pavilion dv3-2155mx sound fix
Upgrade to ALSA 1.0.20
1. Upgrading ALSA needs compiling so the first thing we need to do is install the necessary tools to compile along with the kernel headers. Open a terminal and paste the following 2 commands:
2. Use the terminal to navigate to your home folder and download the ALSA files:
3. Creating the necessary folders and unpack the downloaded ALSA packages. Open a terminal and paste the following commands:
4. Now we can start compiling each component:
a) alsa-driver:
b) alsa-lib:
c) alsa-utils:
5. Now you may want to removed the downloaded ALSA files, as they are not needed anymore:
That's it! You now need to restart your computer and after doing so, your computer should have ALSA 1.0.20 installed. Again, you can verify this by running the following command in a terminal:
Also, you may want to change your sound settings to Alsa ( System –> Preferences -> Sound, change auto detect to ALSA)
Source: http://www.webupd8.org/2009/08/how-to-upgrade-to-alsa-1020-on-ubuntu.html
sudo apt-get -y install build-essential ncurses-dev gettext xmlto
sudo apt-get -y install linux-headers-`uname -r`
2. Use the terminal to navigate to your home folder and download the ALSA files:
cd ~
wget ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.20.tar.bz2
wget ftp://ftp.alsa-project.org/pub/lib/alsa-lib-1.0.20.tar.bz2
wget ftp://ftp.alsa-project.org/pub/utils/alsa-utils-1.0.20.tar.bz2
3. Creating the necessary folders and unpack the downloaded ALSA packages. Open a terminal and paste the following commands:
sudo mkdir -p /usr/src/alsa
cd /usr/src/alsa
sudo cp ~/alsa* .
and then, to unpack:sudo tar xjf alsa-driver*
sudo tar xjf alsa-lib*
sudo tar xjf alsa-utils*
4. Now we can start compiling each component:
a) alsa-driver:
cd alsa-driver*
sudo ./configure
sudo make
sudo make install
b) alsa-lib:
cd ../alsa-lib*
sudo ./configure
sudo make
sudo make install
c) alsa-utils:
cd ../alsa-utils*
sudo ./configure
sudo make
sudo make install
5. Now you may want to removed the downloaded ALSA files, as they are not needed anymore:
rm -f ~/alsa-driver*
rm -f ~/alsa-lib*
rm -f ~/alsa-utils*
That's it! You now need to restart your computer and after doing so, your computer should have ALSA 1.0.20 installed. Again, you can verify this by running the following command in a terminal:
cat /proc/asound/version
Also, you may want to change your sound settings to Alsa ( System –> Preferences -> Sound, change auto detect to ALSA)
Source: http://www.webupd8.org/2009/08/how-to-upgrade-to-alsa-1020-on-ubuntu.html
Monday, December 14, 2009
Altruism - The Key to Survival
Mutual co-operation and harmony between unrelated individuals, animals or human beings has been one of the key problems of evolutionary biology. Jozsef Garay an evolutionary biologist at the Hungarian Academy of sciences, discusses about the altruistic co-operation in animals in his paper 'Cooperation in Defence against a predator'. He writes that the animals which are not the target of the predator help the member of the group which are being attacked to demostrate the altruistic behavior and even may die in the defensive action.
We may have seen the fierce animal chase on television. The lion leaps towards the herd of the Gazelles while the herd instead of protecting their life first, surrounds the young, wounded and the weak even when their own life is in danger. This is a great presentation of the altruistic behavior by the Gazelles. Thus the Gazelles find themselves safe in large numbers, when they live as a group.
In Garay's paper he talks about two animals A and B, and he assumes that a predator can only realistically attack one at a time, then the probability of A being attacked is 1/2 in a single round of predation. So, in a one-shot game, if B is attacked, A’s best strategy is to cut and run, since helping B may result in injury or death.According to him, if the same game is played over and over (that is, if they run the risk of being attacked often, as is the case in real life), then A’s best strategy is to help out B. This might seem incongruous, but it isn’t.
If B dies in the first attack, then A’s probability of being attacked in the next round is 100%! If he has a less than 100% chance of dying by way of helping B in the first attack than he is better off helping B since on the next round he’ll still have only a 50% chance of being attacked. 50% is certainly better than 100%!
The case is true even if B never helps out A. That is, if A is the only Altruistic one in the group, then it is still to his advantage to continue to be altruistic. But, if B also is altruistic then this is all the better for A. Also, B would then enjoy the same benefits as A.
This research shows that having co-operative feeling and the willingness to help others in the animals or humans, increases the probability of their own survival. A bundle of sticks is always diffuclt to break but when the bundle is opened the sticks can be broken easily. Similarly, altruism is the knot for the human unity. And if this knot is opened, there will be no humanity and every man shall lose his values, norms, traditions and ultimately his identity as the broken sticks.
Garay, Jozsef. 2009. “Cooperation in Defence against a predator.” Journal of Theoretical Biology. 257 (2009) 45-51.
Link
Sunday, December 13, 2009
Seven things God won't ask
- God won’t ask the square footage of your house, but will ask how many people you welcomed into your home.
- God won’t ask what you did to help yourself, but will ask what you did to help others.
- God won’t ask what you did to protect your rights, but will ask what you did to protect the rights of others.
- God won’t ask in what neighborhood you lived, but will ask how you treated your neighbors.
- God won’t ask what kind of car you drove, but will ask how many people you drove who didn’t have transportation.
- God won’t ask about the fancy clothes you had in your closet, but will ask how many of those clothes helped the needy.
- God won’t ask how many times your deeds matched your words, but will ask how many times they didn’t.
Author Unknown
Friday, December 11, 2009
Altruism - We are programmed from birth
Altruism is defined as ‘acts that intentionally benefit another organism, incur no direct personal benefit, and sometimes bear a personal cost’. This definition resonates a lot better with our intuitive sense of altruistic behavior. And unlike the more ‘biological’ or enforced type of altruism, this type is completely voluntary, without the threat of punishment as an inducement to act.
The Limbic System in the brain is responsible for, among other things, the sensation of pleasure, reward, and the feeling of well-being. One of its important projections is to a group of neurons deep in the brain call the nucleus accumbens.
This nucleus mediates such diverse pleasurable sensations as optimism, food, sex and recreational drugs. In fact, in this nucleus resides the anatomical location of drug addiction.
After all, ask any volunteer in a soup kitchen and she will tell you that she derives enormous satisfaction from her good works.
Ask any biologist and he would likely volunteer the explanation that, just like food and sex, altruism is associated with a sense of pleasure because ‘it is good for us’-- ‘us’ meaning our species.
Source
The Limbic System in the brain is responsible for, among other things, the sensation of pleasure, reward, and the feeling of well-being. One of its important projections is to a group of neurons deep in the brain call the nucleus accumbens.
This nucleus mediates such diverse pleasurable sensations as optimism, food, sex and recreational drugs. In fact, in this nucleus resides the anatomical location of drug addiction.
After all, ask any volunteer in a soup kitchen and she will tell you that she derives enormous satisfaction from her good works.
Ask any biologist and he would likely volunteer the explanation that, just like food and sex, altruism is associated with a sense of pleasure because ‘it is good for us’-- ‘us’ meaning our species.
Source
Wednesday, December 9, 2009
Mozart of the Pickpockets
Richard and Philippe are a pair of inept thieves. That is until they open their hearts and adopt a poor homeless kid.
Subscribe to:
Posts (Atom)