Tuesday, August 20, 2013

Next to you Song lyrics. Chris Brown (feat. Justin Beiber)

"Next 2 You"
(feat. Justin Bieber)

[Chris Brown:]
You've got that smile,
That only heaven can make.
I pray to God everyday,
That you keep that smile.

[Justin Bieber:]
Yeah, you are my dream,
There's not a thing I won't do.
I'd give my life up for you,
'Cause you are my dream.

[Bridge:]
And baby, everything that I have is yours,
You will never go cold or hungry.
I'll be there when you're insecure,
Let you know that you're always lovely.
Girl, 'cause you are the only thing that I got right now.

[Chorus:]
One day when the sky is falling,
I'll be standing right next to you,
Right next to you.
Nothing will ever come between us,
'Cause I'll be standing right next to you,
Right next to you.

[Chris Brown (Justin Bieber):]
If you had my child (little lady)
You would make my life complete (little lady)
Just to have your eyes on a little me.
(That'd be mine forever)

[Bridge:]
And baby, everything that I have is yours
You will never go cold or hungry
I'll be there when you're insecure
Let you know that you're always lovely
Girl, 'cause you are the only thing that I got right now

[Chorus:]
One day when the sky is falling,
I'll be standing right next to you,
Right next to you.
Nothing will ever come between us,
I'll be standing right next to you,
Right next to you.

[Bridge:]
We're made for one another
Me and you
And I have no fear
I know we'll make it through

One day when the sky is falling
I'll be standing right next to you
Ohh ohh ohh ohhhhh

[Chorus:]
One day when the sky is falling,
I'll be standing right next to you,
Right next to you.
Nothing will ever come between us,
I'll be standing right next to you,
Right next to you.

Oh nah nah
Oh yeah
Stand by my side
When the sky falls down
Oh baby
I'll be there
I'll be there

You've got that smile,
That only heaven can make.
I pray to God everyday,
To keep you forever.


Source :  http://www.azlyrics.com/lyrics/chrisbrown/next2you.html

Lyrics of Rolling in the Deep by Adele


"Rolling In The Deep"


There's a fire starting in my heart
Reaching a fever pitch, it's bringing me out the dark
Finally I can see you crystal clear
[Clean version:] Go 'head and sell me out and I'll lay your ship bare
[Explicit version:] Go 'head and sell me out and I'll lay your shit bare
See how I leave with every piece of you
Don't underestimate the things that I will do

There's a fire starting in my heart
Reaching a fever pitch
And it's bringing me out the dark

The scars of your love remind me of us
They keep me thinking that we almost had it all
The scars of your love, they leave me breathless
I can't help feeling
We could have had it all
(You're gonna wish you never had met me)
Rolling in the deep
(Tears are gonna fall, rolling in the deep)
You had my heart inside of your hand
(You're gonna wish you never had met me)
And you played it, to the beat
(Tears are gonna fall, rolling in the deep)

Baby, I have no story to be told
But I've heard one on you
And I'm gonna make your head burn
Think of me in the depths of your despair
Make a home down there
As mine sure won't be shared

(You're gonna wish you never had met me)
The scars of your love remind me of us
(Tears are gonna fall, rolling in the deep)
They keep me thinking that we almost had it all
(You're gonna wish you never had met me)
The scars of your love, they leave me breathless
(Tears are gonna fall, rolling in the deep)
I can't help feeling
We could have had it all
(You're gonna wish you never had met me)
Rolling in the deep
(Tears are gonna fall, rolling in the deep)
You had my heart inside of your hand
(You're gonna wish you never had met me)
And you played it, to the beat
(Tears are gonna fall, rolling in the deep)
We could have had it all
Rolling in the deep
You had my heart inside of your hand
But you played it, with a beating

Throw your soul through every open door (woah)
Count your blessings to find what you look for (woah)
Turn my sorrow into treasured gold (woah)
You'll pay me back in kind and reap just what you sow (woah)
(You're gonna wish you never had met me)
We could have had it all
(Tears are gonna fall, rolling in the deep)
We could have had it all
(You're gonna wish you never had met me)
It all, it all, it all
(Tears are gonna fall, rolling in the deep)

We could have had it all
(You're gonna wish you never had met me)
Rolling in the deep
(Tears are gonna fall, rolling in the deep)
You had my heart inside of your hand
(You're gonna wish you never had met me)
And you played it to the beat
(Tears are gonna fall, rolling in the deep)

We could have had it all
(You're gonna wish you never had met me)
Rolling in the deep
(Tears are gonna fall, rolling in the deep)
You had my heart inside of your hand
(You're gonna wish you never had met me)

But you played it
You played it
You played it
You played it to the beat.


Lyrics of The Show by Lenka " I am just a little bit "

"The Show"

I'm just a little bit caught in the middle
Life is a maze and love is a riddle
I don't know where to go I can't do it alone I've tried
And I don't know why

Slow it down
Make it stop
Or else my heart is going to pop
'Cause it's too much
Yeah, it's a lot
To be something I'm not

I'm a fool
Out of love
'Cause I just can't get enough

I'm just a little bit caught in the middle
Life is a maze and love is a riddle
I don't know where to go I can't do it alone I've tried
And I don't know why

I'm just a little girl lost in the moment
I'm so scared but I don't show it
I can't figure it out
It's bringing me down I know
I've got to let it go
And just enjoy the show

The sun is hot
In the sky
Just like a giant spotlight
The people follow the sign
And synchronize in time
It's a joke
Nobody knows
They've got a ticket to that show
Yeah

I'm just a little bit caught in the middle
Life is a maze and love is a riddle
I dont know where to go I can't do it alone I've tried
And I don't know why

I'm just a little girl lost in the moment
I'm so scared but I don't show it
I can't figure it out
It's bringing me down I know
I've got to let it go
And just enjoy the show

Just enjoy the show

I'm just a little bit caught in the middle
Life is a maze and love is a riddle
I dont know where to go I can't do it alone I've tried
And I don't know why

I'm just a little girl lost in the moment
I'm so scared but I don't show it
I can't figure it out
It's bringing me down I know
I've got to let it go
And just enjoy the show

dum de dum
dudum de dum

Just enjoy the show

dum de dum
dudum de dum

Just enjoy the show

I want my money back
I want my money back
I want my money back
Just enjoy the show

I want my money back
I want my money back
I want my money back
Just enjoy the show


Monday, August 19, 2013

Such a nice place n ppl, We call it Singapore

Before leaving my home land, India (Karma Bhumi), I have an impression that foreign countries are not safe n secure which stemmed out of things seen in movies and hearing from others and reading newspapers. But that's not the case with Singapore.

Singapore is very safe and secure, you can go for a walk 24 x 7 without having even a slight feeling of getting robbed or something else. Of course its very clean country and you get fresh air. 

Today I was walking across the road and just turned back to see why the road was a bit crowded at morning 6:30 am. I found that one of the cyclist was lying down probably got hurt. Few students were helping him in cleaning the wounds and providing him with first aid on the road itself. There is no havoc and others are just following the traffic rules and waiting till everything is done. Its nice to see that he was cared for and some one was there to help him. Other commuters were patient enough to leave them with enough space. I did not even a single horn during this whole time and was a nice moment which made my day.

“Nothing is particularly hard if you divide it into small jobs.”

 HENRY FORD (1863 - 1947)

Sunday, August 18, 2013

Saturday, August 17, 2013

Post from Yahoo

Now you can directly post from email
 

Initializing array in C, C++ and the advantage of compiling with GCC

If your compiler is GCC you can use following syntax:
int array[1024] = {[0 ... 1023] = 5};


To specify an array index, write `[index] =' before the element value. For example,
     int a[6] = { [4] = 29, [2] = 15 };
is equivalent to
     int a[6] = { 0, 0, 15, 0, 29, 0 };
The index values must be constant expressions, even if the array being initialized is automatic.
An alternative syntax for this which has been obsolete since GCC 2.5 but GCC still accepts is to write `[index]' before the element value, with no `='.
To initialize a range of elements to the same value, write `[first ... last] = value'. This is a GNU extension. For example,
     int widths[] = { [0 ... 9] = 1, [10 ... 99] = 2, [100] = 3 };

Great talk with a security personnel at midnight

I was not able to sleep so thought of going to lab as it is at a walk able distance. As usual I was entering the incoming register at Fusionopolis. I knew the security personnel, Saeed as I greeted him with a smile which culminated in a small conversation between us introducing ourselves. Today, he started the conversation asking when am I going to graduate. I was thrilled by his remembrance power and replied that I have three years to go.

Saeed: So what do you study ?
Me: PhD.
Saeed: What is the area of your study?
Me: Mobile Robotics.
Saeed: What do you want to do after getting the degree ?
Me: Work here for few and go back and join university.
Saeed: Cool. You ll be inventing some thing here?
Me: Not exactly, but to make things better than they currently are.
Saeed: Great! Where would you see ten years down the line, How would things be in next ten years?
What do you want to invent in next 10 years and what are you doing for that  to be achieved?

I was astonished to hear such a question.

Me: (Blank Face)
Saeed: What is your vision? What do you want to do , or will be doing after 15 years and what are you currently doing to achieve that?
Me: I have no idea what I want to work on ten years from now.

I was telling him that, once when people work on some thing for 10 - 15 years, then finally something which is new and good will be an outcome.

Later he talked about his project ideas which was similar to Google Glass and he didnt knew that Google is going to release such a product in coming few months. He wanted to get a degree in Marine Engineering, but it was prohibitively expensive and now he is working as a protection officer in the night time and as a fitness guide in the morning hours.

This conversation has left a deep impression on my heart to be motivated, have a vision, get a mission and work for that. People around have ideas and want to pursue so many things yet few get opportunity straight away. World is very competitive. You gotta cease the day friend!!!

Have a Vision
Get a Mission
and Stop not, till the goal is Reached ! ! !

Thursday, August 15, 2013

New Beginning

Moved from Eight floor to Eighteenth floor in Fusionopolis.

Back with a Banggg !!!

Glowing with Innocence : Cool Pic


Near Amrita Vishwa Vidyapeetham, Amritapuri 

Happy B'day India


An idle mind is a devil's workshop


Error while using Kdtree in pcl ros

Error:


[rosmake-3] Starting >>> sure_on_cloud [ make ]                                                                                                      
[ rosmake ] Last 40 linesre_on_cloud: 11.2 sec ]                                                                            [ 1 Active 36/37 Complete ]
{-------------------------------------------------------------------------------
  make[3]: Leaving directory `/home/sai/fuerte_workspace/sure_on_cloud/build'
  [  0%] Built target rospack_genmsg_libexe
  make[3]: Entering directory `/home/sai/fuerte_workspace/sure_on_cloud/build'
  make[3]: Leaving directory `/home/sai/fuerte_workspace/sure_on_cloud/build'
  [  0%] Built target rosbuild_precompile
  make[3]: Entering directory `/home/sai/fuerte_workspace/sure_on_cloud/build'
  make[3]: Entering directory `/home/sai/fuerte_workspace/sure_on_cloud/build'
  make[3]: Leaving directory `/home/sai/fuerte_workspace/sure_on_cloud/build'
  [ 50%] Built target sure_on_cloud
  Scanning dependencies of target iss_on_cloud
  make[3]: Leaving directory `/home/sai/fuerte_workspace/sure_on_cloud/build'
  make[3]: Entering directory `/home/sai/fuerte_workspace/sure_on_cloud/build'
  [100%] Building CXX object CMakeFiles/iss_on_cloud.dir/src/iss_on_cloud.o
  In file included from /usr/include/c++/4.6/backward/strstream:52:0,
                   from /usr/include/vtk-5.8/vtkIOStream.h:112,
                   from /usr/include/vtk-5.8/vtkSystemIncludes.h:40,
                   from /usr/include/vtk-5.8/vtkIndent.h:24,
                   from /usr/include/vtk-5.8/vtkObjectBase.h:43,
                   from /usr/include/vtk-5.8/vtkCommand.h:205,
                   from /home/sai/fuerte_workspace/perception_pcl/pcl/include/pcl-1.4/pcl/visualization/common/common.h:39,
                   from /home/sai/fuerte_workspace/perception_pcl/pcl/include/pcl-1.4/pcl/visualization/pcl_visualizer.h:49,
                   from /home/sai/fuerte_workspace/perception_pcl/pcl/include/pcl-1.4/pcl/visualization/cloud_viewer.h:39,
                   from /home/sai/fuerte_workspace/sure_on_cloud/src/iss_on_cloud.cpp:10:
  /usr/include/c++/4.6/backward/backward_warning.h:33:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
  /home/sai/fuerte_workspace/sure_on_cloud/src/iss_on_cloud.cpp: In function ‘void cloud_cb(const PointCloud2ConstPtr&)’:
  /home/sai/fuerte_workspace/sure_on_cloud/src/iss_on_cloud.cpp:115:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  /home/sai/fuerte_workspace/sure_on_cloud/src/iss_on_cloud.cpp: In function ‘int main(int, char**)’:
  /home/sai/fuerte_workspace/sure_on_cloud/src/iss_on_cloud.cpp:251:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  /home/sai/fuerte_workspace/sure_on_cloud/src/iss_on_cloud.cpp:253:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  Linking CXX executable ../bin/iss_on_cloud
  CMakeFiles/iss_on_cloud.dir/src/iss_on_cloud.o:(.rodata._ZTVN3pcl11KdTreeFLANNINS_8PointXYZEN5flann9L2_SimpleIfEEEE[vtable for pcl::KdTreeFLANN >]+0x18): undefined reference to `pcl::KdTreeFLANN >::nearestKSearch(pcl::PointXYZ const&, int, std::vector >&, std::vector >&)'
  CMakeFiles/iss_on_cloud.dir/src/iss_on_cloud.o:(.rodata._ZTVN3pcl11KdTreeFLANNINS_8PointXYZEN5flann9L2_SimpleIfEEEE[vtable for pcl::KdTreeFLANN >]+0x24): undefined reference to `pcl::KdTreeFLANN >::radiusSearch(pcl::PointXYZ const&, double, std::vector >&, std::vector >&, int) const'
  collect2: ld returned 1 exit status
  make[3]: *** [../bin/iss_on_cloud] Error 1
  make[3]: Leaving directory `/home/sai/fuerte_workspace/sure_on_cloud/build'
  make[2]: *** [CMakeFiles/iss_on_cloud.dir/all] Error 2
  make[2]: Leaving directory `/home/sai/fuerte_workspace/sure_on_cloud/build'
  make[1]: *** [all] Error 2
  make[1]: Leaving directory `/home/sai/fuerte_workspace/sure_on_cloud/build'
-------------------------------------------------------------------------------}
[ rosmake ] Output from build of package sure_on_cloud written to:
[ rosmake ]    /home/sai/.ros/rosmake/rosmake_output-20130816-021218/sure_on_cloud/build_output.log
[rosmake-3] Finished <<< sure_on_cloud [FAIL] [ 11.16 seconds ]                                                                                      
[ rosmake ] Halting due to failure in package sure_on_cloud.
[ rosmake ] Waiting for other threads to complete.                                      
[ rosmake ] Results:                                                                                                                                  
[ rosmake ] Built 37 packages with 1 failures.                                                                                                        
[ rosmake ] Summary output to directory                                                                                                              
[ rosmake ] /home/sai/.ros/rosmake/rosmake_output-20130816-021218                                                                                    
sai@sai-HP-EliteBook-8460w:~$



Solution :  Add these header files

Search for kdtree_flann.h  and kdtree_flann.hpp and add those as header files
#include < / home/sai/fuerte_workspace/perception_pcl/pcl/build/pcl_trunk/kdtree/include/pcl/kdtree/kdtree_flann.h>
#include < / home/sai/fuerte_workspace/perception_pcl/pcl/build/pcl_trunk/kdtree/include/pcl/kdtree/impl/kdtree_flann.hpp>