Archive for April, 2008

Code Blot due to templates

Saturday, April 26th, 2008

1. [Multiple instantiations] Temp is instantiated in more than one
translation unit, so when the objs are linked together, the exe has
more than one copy of Temp
’s member functions.

2. [Duplicate instantiations] Temp and Temp could be share a
single underlying binary implementation, but they don’t. The most
common example is when T1 and T2 are both pointer types, but it would
also apply if T1=int and T2=long on a machine where int and long are
the same size.

3. [Near-duplicate instantiations] Temp and Temp are
individually instantiated for non-type parameters n and m, even
though the resulting member functions are almost identical. This
would be the case for e.g., FixedSizeBuffer and
FixedSizeBuffer
.

4. [Excessive inlining] Because many compilers require that all template
code be in header files, all such code is inlined, and that makes
executables bigger than they would be if template functions that are
large and frequently called could be outlined.

5. [Excessive instantiation] All the member functions of Temp are
instantiated, even though only a few are called. (This is
nonstandard behavior, but, at least in the past, it was a problem
with some compilers.)

6. [Gratuitous types] Temp and Temp are both instantiated, but
if templates didn’t exist, programmers would make do with a single
untemplatized implementation. For example, programmers instantiate
both Stack and Stack, but if they lacked templates, they’d
get by with only IntStack.

More at

A car that runs 200 miles on compressed air.

Sunday, April 20th, 2008

A car that runs 200 miles on compressed air.

Free Energy - No Fuel Magnetic Motor

Filtro Solar

Wednesday, April 16th, 2008

O original de 1999 do texto filtro solar (aquele que a Globo plagiou como se fosse inédito na virada de 2002).

Proving the historicity of Ram

Tuesday, April 15th, 2008

Since thousands of years, not just in India but also all over the world, one of the greatest men who influenced and touched the hearts of millions � both common men and elite alike — with his strength of character is Ram. His time was that of great kings and world empires. This was the era when the whole world understood one language and speech, as mentioned in the holy book, the Bible (Genesis 11.1). Then neither was the world divided into Hindus, Muslims, Christians, Jews etc, nor broken up on the basis of modern day caste barriers. Then there were only two divisions in human society � Arya and Un-Arya (asurs, rakshas). Those who were not strong of character and men of words were un-arya. All mankind had only one culture.

Literary work

The most authentic and original source of knowledge about Ram is the Valmiki Ramayana. This noble work of literature credits Valmiki as the earliest poet of the world. The story of Ram did not remain confined to the pages of Valmiki Ramayana, but it also finds a mention in various other scriptures of history and ancient literature. It is talked about in Muni Vyas’s Mahabharata at four places — Ramopakhayan, Aaranyak Parva, Drona Parva and Dashrath Kathanak; in Buddhist literature it finds mention in three Jatak parables, viz, Dashrath Jatak, Anamak Jatak and Dashrath Kathanak; in Jain literature many manuscripts were written on Ram, like Padam Charitra (Prakrit) by Vimal Suri; Padam Puran (Sanskrit) by Ravisen Acharya; Padam Charitra (Apbhransh) and Charitra Puran (Sanskrit) by Swambhu; and Uttar Puran (Sanskrit) by Gunbhadra. As per Jain tradition the original name of Ram was ‘Padam’….

Temples and terracotta

All over the world, not just hundreds but thousands of temples of Ram, Lakshman, Sita, Hanuman [Images], etc are being constructed since time immemorial. The walls of the 9th century Shiv temple Parambanan (Parambhram) of Java and the 11th century Angkorwat Temple of Cambodia are pictorially engraved with the scenes of Ramayana and Mahabharata. …

The time of Ram

According to ancient Indian chronology and Puranic tradition Ram was born in the 24th Treta Yuga (Great Age). Apart from the Valmiki Ramayana and other versions of Ram’s biography, there are four important references to Ram, Ravan, etc in ancient scriptures.

1. Treta yuge chaturvinshe ravane tapseh shakshyat |
Ram dashrtathi prapiye sagane shakyamiyeewan ||
(Vayu Puran 70.88)

2. Sandho tu samanupraptre tretayaam dwaparisya cha |
Ramo daasrathirbhutva bhavishami jagatpati ||
(Mahabharata 348.19)

3. Chaturvinshe yuge chapi vishwamitra pure sare |
Loke ram iti khyate tejsah bhaskaropam ||
(Harivansh 22.104)

4. Chaturvinshe yuge vats tretayaam raghuvanshaje |
Ramo naam bhavishyami chaturvhayu sanatane
|| (Bhramand Puran 2.2.36.30)

read more here

Brain drain is passe, India a hot destination for CEOs

Sunday, April 13th, 2008

The Indian office of a leading multinational mobile phone company is facing an unusual challenge. It is losing top executives who have declined senior-level assignments abroad because they do not want to miss opportunities in India.

The brain drain, it seems, is passe. India is becoming one of the hottest destinations for expatriates (both those of Indian origin and foreigners) for top jobs. That is because big business houses in India are ready to offer pay packets that are equivalent to and sometimes more than global benchmarks.

This is a key finding of a study of senior recruitment trends by US-based SpencerStuart, a leading executive search firm that specialises in recruiting CEOs, presidents and COOs for companies globally.

SpencerStuart, which has operations in India and recruits CEOs for almost half the Fortune 500 companies, said for key sectors like retail, real estate, power, oil and gas and refining, transportation and logistics, Indian business houses are offering annual salary packages ranging from $750,000 to $1.5 million - excluding stock options.

Nearly half the CEOs and COOs recruited in these sectors are foreigners (including non-resident Indians).

CEO salaries in these sectors are nearly double what companies pay in other sectors, which could range from $350,000 to $750,000.

read more at

social goodworking blog - Whatgives.com - New Social Network from eBay

Thursday, April 10th, 2008

eBay GivingWorks recently launched blog and social network called whatgives?!

WhatGives!? is a social goodworking blog that’s all about you and us, and the great things we can do together. The idea? Simple. The more we talk about what’s going on in our heads and in our world, the better chance we have to make it better. The Internet is all about bringing people together, and what better reason to do that than for good?

Each blog entry is tied into an eBay GivingWorks (non-profit division of eBay to support non-profits raise funds on eBay) auction with the accompanying badge code, send to a friend functionality and the “add to” Delicious (a Yahoo! company), StumbleUpon (an eBay company), Digg, Reddit, Furl, Yahoo! and Facebook links. The site encourages members to comment on each entry and allows you to create a profile that showcases which non-profits you believe in. The profile can also include 5 photos of themselves, a short bio, and links to blogs and other public profiles on the web.

One huge set-back to this site is the ability to connect with other members with similar charity interests. How am I suppose to find other members who support the Leukemia & Lymphoma Society or Boys and Girls Club? The “socialize” page (shown below) was an attempt by eBay but the only thing you can do there is search by name and location.

whatgives.com

check it out

Google App Engine

Wednesday, April 9th, 2008

Google isn’t just talking about hosting applications in the cloud any more. Google is launching Google App Engine (Update: The site is live), an ambitious new project that offers a full-stack, hosted, automatically scalable web application platform. It consists of Python application servers, BigTable database access (anticipated here and here) and GFS data store services.

More details from Google:

Today we’re announcing a preview release of Google App Engine, an application-hosting tool that developers can use to build scalable web apps on top of Google’s infrastructure. The goal is to make it easier for web developers to build and scale applications, instead of focusing on system administration and maintenance.

Leveraging Google App Engine, developers can:

  • Write code once and deploy. Provisioning and configuring multiple machines for web serving and data storage can be expensive and time consuming. Google App Engine makes it easier to deploy web applications by dynamically providing computing resources as they are needed. Developers write the code, and Google App Engine takes care of the rest.
  • Absorb spikes in traffic. When a web app surges in popularity, the sudden increase in traffic can be overwhelming for applications of all sizes, from startups to large companies that find themselves rearchitecting their databases and entire systems several times a year. With automatic replication and load balancing, Google App Engine makes it easier to scale from one user to one million by taking advantage of Bigtable and other components of Google’s scalable infrastructure.
  • Easily integrate with other Google services. It’s unnecessary and inefficient for developers to write components like authentication and e-mail from scratch for each new application. Developers using Google App Engine can make use of built-in components and Google’s broader library of APIs that provide plug-and-play functionality for simple but important features.

Google App Engine: The Limitations

The service is launching in beta and has a number of limitations.

First, only the first 10,000 developers to sign up for the beta will be allowed to deploy applications.

The service is completely free during the beta period, but there are ceilings on usage. Applications cannot use more than 500 MB of total storage, 200 million megacycles/day CPU time, and 10 GB bandwidth (both ways) per day. We’re told this equates to about 5M pageviews/mo for the typical web app. After the beta period, those ceilings will be removed, but developers will need to pay for any overage. Google has not yet set pricing for the service.

One current limitation is a requirement that applications be written in Python, a popular scripting language for building modern web apps (Ruby and PHP are among others widely used). Google says that Python is just the first supported language, and that the entire infrastructure is designed to be language neutral. Google’s initial focus on Python makes sense because they use Python internally as their scripting language (and they hired Python creator Guido van Rossum in 2005).

More at tech-crunch

Bhagavad gita

Monday, April 7th, 2008

Sri Krishna & Arjun
The Bhagavad Gita is an ancient Sanskrit text, taken from Canto 6, Chapters 25-42 of the Mahabharata. The Bhagavad-Gita has 700 verses in 18 chapters. It is commonly referred to as the Holy Gita. Krishna, the speaker of the Bhagavad Gita, is Bhagavan, the Supreme Being, Lord Krishna, Himself in about 3,100 years BCE. The Bhagavad Gita is the holy scripture of the majority of Hindu traditions. Gita has the essence of Hinduism, Hindu philosophy on the Highest Reality, and a guide to peaceful life and ever lasting world peace.

Henry David Thoreau says:

“In the morning I bathe my intellect in the stupendous and cosmogonal philosophy of the Bhagvad-Gita, in comparison with which our modern world and its literature seem puny and trivial.”

Ralph Waldo Emerson on the Gita:

“I owed a magnificent day to the Bhagwad-Gita. It was the first of books; it was as if an empire spoke to us, nothing small or unworthy, but large, serene, consistent, the voice of an old intelligence which in another age and climate had pondered and thus disposed of the same questions which exercise us.”

Mahatma Gandhi says:

“When disappoint stares me in the face and all alone I see not one ray of light, I go back to the Bhagvad Geeta. I find a verse here and a verse there, and I immediately begin to smile in the midst of overwhelming tragedies.”

Dr. Annie Besant on the Gita

“It is meant to lift the aspirant from the lower levels of renunciation, where objects are renounced, to the loftier heights where desires are dead, and where the yogi dwells in calm and ceaseless contemplation while his body and mind are actively employed in discharging the duties that fell to his lot in life.”

Swami Vivekananda says:

“The Gita is a bouquet composed of the beautiful flowers of spiritual truths collected from the Vedas and the Upanishads.”

******

The Gita was preached as a preparatory lesson for living worldly life with an eye to Release, Nirvana. My last prayer to everyone, therefore, is that one should not fail to thoroughly understand this ancient science of worldly life as early as possible in one’s life.
Lokmanya Tilak

The Gita is one of the clearest and most comprehensive summaries of the perennial philosophy ever to have been done. Hence its enduring value, not only for the Indians, but also for all mankind. It is perhaps the most systematic spiritual statement of the perennial philosophy.
Aldous Huxley

I believe that in all the living languages of the world, there is no book so full of true knowledge, and yet so handy. It teaches self-control, austerity, non-violence, compassion, obedience to the call of duty for the sake of duty, and putting up a fight against unrighteousness (Adharma). To my knowledge, there is no book in the whole range of the world’s literature so high above as the Bhagavad-Gita, which is the treasure-house of Dharma nor only for the Hindus but foe all mankind.
M. M. Malaviya

Read about Grace of the Gita

watch Race Bollywood Movies free online (crystal clear version)

Sunday, April 6th, 2008

Race Banner poster

Producer
Kumar S Taurani
Ramesh S Taurani

Director
Abbas Burmawalla
Mustan Burmawalla

Star Cast
Saif Ali Khan…… Ranvir Singh
Akshaye Khanna…… Rajiv Singh
Bipasha Basu…… Sonia
Katrina Kaif…… Sophia
Anil Kapoor…… Robert Dcosta
Sameera Reddy…… Mini

Orignal Timing Duration
02:30:00

Part1:

Part2:

Funny Math 2 = 1

Sunday, April 6th, 2008


Your Ad Here