I signed up for a twitter account last week and here it is. I find facebook too distracting, so twitter may be good replacement for networking. I am counting down to graduate lately and it has become really boring. I still have a long to-do list and I don’t know how I am supposed to wrap it all up until June 11th. I guess I need short term rewards for encouragement. Maybe summer plans, I don’t really know. I do not feel upset about leaving Bogazici University, but I feel I have a couple of more things to do before going away. Last call for some fun here..
I was waiting for sometime to post, but I need something to encourage me right now. It seems it is all set! Hopefully, I will be attending UCLA for PhD which means five years in Los Angeles! Paperwork has been done and I will be applying for visa within a month. I am trying to deal with housing issues and trying to save some money. Nothing much to say;
Let there be light!

LastLecture
Brick walls are there for a reason, they give us a chance how badly we want something.
says Randy Pausch, Carnegie Mellon University’s former Computer Science Professor. I ordered the book and waited for it for more than a month. Then I read it within a few days. He is one of the most inspiring guys for me, probably since he was a CS professor that I dream to become. When you watch the lecture, you can see how he inspired so many people so far and will be inspiring many more. It is not just the last words of a dying man. Actually it is nothing like that. It is a valuable piece of advice from a smart guy. I felt really close to him when I watched him making his speech which was more like a stand-up show. I definitely agree that he was a warm person who had fun most of his life which is not exactly me. However, this is not my point. He had many brick walls in his life and I guess he was not the smartest guy in his field, but he never gave up what he dreamed of and he had proofs about what can be done if you want something badly enough. He had many words that can be quoted in the book. I believe his intend to make this speech to his children created such wonderful energy and motivation. I, being one of the admirers of Randy Pausch, hope that his children grow up like their father and consider him as an idol.
I was really enthusiastic when I first got a wordpress.com account and started writing things. However, in time, I realized that the limitations on sharing last fm playlists, adding google friend connect to my blog, etc. forced me to move the blog to the blogspot domain. I also considered buying web hosting service and using wordpress.org, but it seems too much for me since I write to my blog once in a while. I enjoy using any kind of google product and if my blog gets more correlated with the tools I use, I assume that will motivate me to write more. For example, I have been planning to write many things about my application process and advices the people for graduate school application. However, I have postponed it forever. Well, anyway, I am planning to move my blog to blogspot soon. I hope the interaction side of wordpress.com gets improved so that people can add more kinds of “widgets” to their blogs. I still want to wait for a while to decide what to do..
The flower said, “I wish I was a tree,”
The tree said, “I wish I could be
A different kind of tree,
The cat wished that it was a bee,
The turtle wished that it could fly
Really high into the sky,
Over rooftops and then dive
Deep into the sea.
And in the sea there is a fish,
A fish that has a secret wish,
A wish to be a big cactus
With a pink flower on it.
And in the sea there is a fish,
A fish that has a secret wish,
A wish to be a big cactus
With a pink flower on it.
And the flower
Would be its offering
Of love to the desert.
And the desert,
So dry and lonely,
That the creatures all
Appreciate the effort.
Et le chacalot a dit:
“Je voudrais être un yéti
Pour voler dans la nuit
Et m’envoler loin d’ici”
Mais le yéti a dit:
“Je veux être un monstre marin
Pour pouvoir sauter dans la mer
De tous les requins”
And the rattlesnake said,
“I wish I had hands so
I could hug you like a man.”
And then the cactus said,
“Don’t you understand,
My skin is covered with sharp spikes
That’ll stab you like a thousand knives.
A hug would be nice,
But hug my flower with your eyes.”
The flower said, “I wish I was a tree,”
The tree said, “I wish I could be
A different kind of tree,
The cat wished that it was a bee,
The turtle wished that it could fly
Really high into the sky,
Over rooftops and then dive
Deep into the sea.
And in the sea there is a fish,
A fish that has a secret wish,
A wish to be a big cactus
With a pink flower on it.
And in the sea there is a fish,
A fish that has a secret wish,
A wish to be a big cactus
With a pink flower on it.
And the flower
Would be its offering
Of love to the desert.
And the desert,
So dry and lonely,
That the creatures all
Appreciate the effort.
p.s. The movie, Juno is strongly recommended.
We managed to stabilize our Sejway Robot for more than 20 seconds. Our PID values were KP=20, KI=8 and KD=110.
I love deadlines. I like the whooshing sound they make as they fly by.
Douglas Adams
Preliminaries
- You need a Java Development Kit (JDK), version 1.5 or later.
- Your PATH must contain the JDK’s bin directory. To do that edit /home/<username>/.bashrc file and add the following lines:
export PATH=<JDK's bin directory>:$PATH
Mine was /usr/lib/jvm/java-6-sun-1.6.0.07/bin - Make sure you have set JAVA_HOME properly to the root directory of the JDK. Again edit /home/<username>/.bashrc file and add the following lines:
export JAVA_HOME=<JDK's root directory> - You will need to build the distribution, so your PATH must contain the ant binary (ant 1.7 or above). Just install the package ant by using the command “aptitude install ant” to do that. It may require being root. To add this to the PATH
export PATH=/usr.share/ant/bin:$PATH - You need libusb installed. libusb for Linux can be obtained from http://libusb.sourceforge.net.
Installation and Set Up
- Extract the files from the distribution. A lejos_nxj subdirectory will be created.
- Set the environment variable NXJ_HOME to the full path of the lejos_nxj directory. As we did above just add the line:
export NXJ_HOME=<full path of the lejos_nxj directory> - Add the lejos_nxj/bin directory to your PATH. Add the following line to .bashrc
PATH=$PATH:<full path of the lejos_nxj directory>/bin
export PATH - Depending on your privilege settings you might need to adjust the execution permissions in the bin directory.
You will have to build the distribution first. To do so, switch to the build folder and runant. You will need to ensure that the packages that leJOS NXJ is dependent on are on your system. These include libusb-dev, gcj and libbluetooth-dev. Don’t forget to install those packages to be able to build the distribution.
You are all set!
Now you can use nxjc or nxj commands to compile and run your code on the brick. Note that you can only see the usb device by becoming root user. If you don’t have the root privilages, you can try to edit the udev files mentioned in the readme file. However, I haven’t been able to make it work yet.
Note: Most of the parts are from the Readme.html in the directory of lejos_nxj. The purpose of this post is to make some parts clearer.
My friend’s article, here it is “When music talks in film“
Very good one, totally recommended..

