Archive for April 5th, 2008

Intel Science Talent Search scholarship

shivani sud

A 17-year-old Indian American student, Shivani Sud, has won the $100,000 Intel Science Talent Search scholarship, the US’s most coveted school prize commonly referred to as the Junior Nobel.
Her winning project uses biotechnology to identify and treat patients suffering from colon cancer.
“This is a recognition of my hard work. It gives me an opportunity to give back to others who need help,” Shivani said.
Daughter of Ish and Anu Sood, Shivani beat 40 finalists, including seven other Indian Americans for the top prize.
Past winners of this prestigious annual competition have later bagged more than one hundred of the world’s top Science and Math honours, including six Nobel prizes.

1 comment April 5, 2008

I will carry Olympic torch: Aamir

After footballer Baichung Bhutia backed out on the Tibet issue, Bollywood star Aamir Khan on Tuesday agreed to run with the Olympic torch here though he empathizes with the Tibetan people and feels the games “do not belong to China”.

Declining requests not to take part in the relay, he asked them “to understand that when I do run with the torch on April 17, it is not in support of China. In fact, it will be with a prayer in my heart for the people of Tibet“.

The Indian Olympic Association has roped in celebrities like the actor, former supercop Kiran Bedi and tennis ace Leander Paes although Bhutia has declined to run in the event citing the Tibetan issue.

Former Olympic football captain P K Banerjee has also decided to participate, despite his failing health (given that he is 71) as it is a matter of pride for him.

Aamir said in a statement posted on his weblog, “I have the highest regard for the struggle that the people of Tibet are going through. I completely empathise with them“.

Add comment April 5, 2008

strongly typed language

Statically typed language :: the type of a variable can not be altered.
int x;
x = 420;
x = “Mr. Bechara”;  # Error
Dynamically typed language  :: the type of a variable can be altered at any time.
x = 420
x = “Common I am a good person”
x = :intelligent_person
x = /regular ex form/

Strongly typed language :: strict about what you can do with your typed variables.
On mixing, it will see I am hugging a beauty or a bitch.

You smells like a rose
x = “14″
y = x + “February” #”14February
The stinking ….
x = “Decemebr”
y = x + 1             # Error

Weakly typed language ::play a show definitely for your typed variable. I meant for lust not love.

x = myfunction_returns_5();
y = x + 1 // Ya give me 6 , damn!! it has given me 51

Ruby : Dynamically, strongly
Javascript : Dynamically, weakly
C,C++ : Statically

Add comment April 5, 2008

blank,empty and nil in Ruby

Object.blank?

Returns true if:
> it’s an empty array
> it’s an empty string
> !self evaluates to true

[].blank? #=> true
[1].blank? #=> false
[nil].blank? #=> false
nil.blank? #=> true
true.blank? #=> false
false.blank? #=> true
"".blank? #=> true
" ".blank? #=> true
" i ".blank? #=> false

String.empty?

"hello".empty? #=> false
"".empty? #=> true

Array.empty?
[].empty? #=> true

Hash.empty?
{}.empty? #=> true

NilClass.nil?
nil.nil? => true

Object.nil?
nil.nil? => true
.nil? => false
nil.inspect ? "nil"

Add comment April 5, 2008

polldaddy in blog

With your free account from PollDaddy you can start creating polls and place
them on your website in minutes. Polls are simple and flexible, allowing you
to customize styles to match your website social networking profile or email
campaign.

  • Unlimited free polls with unlimited votes per poll.
  • 14 PollDaddy skins to choose from or create your own in CSS.
  • View poll results online, as XML, CSV, or subscribe to them via RSS!
  • Polls provided in HTML or Flash depending on your needs.
  • Full foreign language support.
  • Block repeat voters by IP address or cookies.
  • Create single choice or multiple choice polls.
  • Close polls after a certain date, randomize answers, allow text entry
    ‘other’ field, show or hide results from voters and much more

Add comment April 5, 2008


@@name=PRAYAS

gap_resize.jpg

Time.now()

April 2008
M T W T F S S
« Mar   May »
 123456
78910111213
14151617181920
21222324252627
282930  

order[:category]

posts[:recent]

episodes[:recycled]

links[:favourite]

vote_for_web2.0

Step down at my blog with your ideas,comments,suggestions on Ruby,RoR,Ajax or Web2.0 Technology. You may reach me at rajesh4it@gmail.com.

@visitors.count(Feb’08)

find_all(:categories)

Around me bollywood coding news@RoR Rails RoR Ruby Tools&Tips Web2.0 talks

Vote for RoR

Blog Stats