Monday, February 27, 2012

கண்

காற்றுக்கு கண் இல்லை என்பதால் தான் அது எதன்மீதும் மோதுகிறது, குயிலுக்கு நிறைய பாடல்களை பாட வேண்டும் என்ற பேராசை அதனால் தான் சின்னஞ்சிறு பாடல்களாக எப்போதும் பாடிக்கொண்டிருக்கிறது

blessing

There is no disaster that cannot become a blessing and no blessing that cannot become a disaster - Richard Bach

Soviet Era math. books link

http://mirtitles.org/

Sunday, February 26, 2012

Best film Quotes

Sloan: It a choice, Wesley, that each of us must face: to remain ordinary, pathetic, beat-down, coasting through a miserable existence, like sheep herded by fate - or you can take control of your own destiny and join us, releasing the caged wolf you have inside. Our purpose is to maintain stability in an unstable world - kill one, save a thousand. Within the fabric of this world, every life hangs by a thread. We are that thread - a fraternity of assassins with the weapons of fate. This is the decision that lies before you now: the sheep, or the wolf. The choice is yours.
 
Sloan: [walking in] It's not a question of how. It's a question of what. If no one told you that bullets flew straight, and I gave you a gun and told you to hit the target, what would you do? Let your instincts guide you.
wesley:This is me taking back control of my life
 
Sloan: Insanity is wasting your life as a nothing when you have the blood of a killer flowing in your veins. Insanity is being shit on, beat down, coasting through life in a miserable existence when you have a caged lion locked inside and a key to release it.

மரியாதை

முப்பது ரூபா திருடினt தெருவில விட்டு நாயடி பேயடி அடிப்பாங்க... முப்பது லட்சம்னt என்கௌன்ட்டர் செய்வாங்க. முப்பது கோடின்ன மாலை மரியாதை செய்வாங்க. முன்னூறு கோடின்ன மந்திரி பதவி தருவாங்க.. மூவாயிரம் கோடின்ன போர்ப்ஸ் பத்திரிகையிலே பெயர வெளியிடுவாங்க...

Friday, February 24, 2012

சமத்துவவாதி

மரணம் போன்ற சமத்துவவாதியை யாராலும் காண்பதரிது. இருப்பவன்-இல்லாதவன், உயர்ந்தவன்-தாழ்ந்தவன், ஆள்பவன்-ஆண்டி போன்ற பேதங்கள் எல்லாம் மரணத்திடம் இல்லை. எல்லோரையும் அது பேதமின்றி அது கண்டிப்பாக அணுகுகிறது.

மனிதன்

"மனிதன் ஞானத்தை உருவாக்குகிறான், அது கூன்போல அவன் முதுகில் உட்கார்ந்திருக்கிறது. தள்ளாடியபடி அதைச் சுமந்து திரிகிறான்" - விஷ்ணுபுரம், ஜெயமோகன்.

Thursday, January 26, 2012

Lock based synchronization and Lock free synchronization

Lock based synchronization provides the following problems
1.Deadlock

2.LiveLock

3.Priority Inversions

4.Caravan Formation

To avoid these problems, we are going for lock free synchronization. AsynchronousProgramming is a typical technique for achieving lock free synchronization.

Example: Android Stagefright is having lock based synchronization mechanism

PV's OpenCORE is having lock free synchronization mechanism

Tuesday, January 03, 2012

How to add logs into android.mk [to display the information at compile time]

How to add logs into android.mk file:
 
This log will be printed whenever we are compiling.
Usecases: In a large project, somewhere the values will be set, User wont be aware of it.
So that time,to print which device macro is enabled, we can make use of this warning in android.mk

within Android.mk,

ENABLE_CODEC =1
ifeq(ENABLE_CODEC,true)
$(warning SUNDARA::ENABLE_CODEC is true)
else
$(warning SUNDARA::ENABLE_CODEC is false)
endif

#How to print the variable from Android.mk

TARGET_PLATFORM := MSM7227
$(warning SUNDARA::Target Plarform is '$(TARGET_PLATFORM)')

output:
SUNDARA::ENABLE_CODEC is true
Target Plarform is MSM7227