May 30, 2011

Children

Children want to make things. Children want to do things.




that the best thing a child can do with a toy is to break it.

May 23, 2011

Capsaicin is the tiny molecule on seeds and fruits that binds to heat-sensitive cells in the tongue and mouth. In response to this binding signals are sent to the brain that produce the sensation of burning. The same signals that are sent if you drink boiling water.

May 16, 2011

parasite

Many single-celled forms of life exist, but no known forms of animal life have 2, 3, 4, or 5 cells.a Known forms of life with 6–20 cells are parasites, so they must have a complex animal as a host to provide such functions as respiration and digestion. If macroevolution happened, one should find many transitional forms of life with 2–20 cells—filling the gap between one-celled and many-celled organisms.

http://www.creationscience.com/onlinebook/LifeSciences23.html

--- So how did multi-celled organisms happen to be without being parasite at first?


---------------------------------------------------------------------


What if the iniverse that we live in is one of the rare situations that the matters get to become a low entropy?
--

April 25, 2011

origami

minimum movements to form a shape from a  2d surface of nodes to avoid climbing over each other.

make sure weights are not too heavy for the joints to lift all at once.

April 12, 2011

...Time...

 We can sell our time, but we can’t buy it back again.

March 22, 2011

Survive or Die

Those that are very vulnerable and susceptible are gonna get sick and die; and those people who are gonna survive, are going to have some kind of resistance which they are going to transmit to their descendants.

March 15, 2011

God made it the right way, we are far off the road

When I look at myself my body and my muscles, I say to myself, I am a strong guy. But this strong arm is made of teeny-tiny bity cells.  Is any one of my muscle cells stronger than others? What makes it stronger>? some chemicals or proteins in a cell that are niot in another? I think they should be pretty mych all the same. (please disprove me). what about between two people?

So we should be able to make structures that are thousands of times strunger than each of its components in the best energy efficient way. The truth is that, in the creation of human beings we are very energy efficient. we just have 3 basic meals a day but we are very strong and intelligent/ for example we can easily lift a 20 lbs of load and carry it but to produce the energy for the same effect we have to use oil to make electricity  to make a single robot do the same thing. Do you have any idea how much oil we would need for that single job? I don't have either, but I know that a single drop of oil is the accumulation of thousands of living with accumulated energy of the whole earth.  compare it to a single meal that we have

February 20, 2011

HTTP Web Server

As part of a project I got involved in programming a web server from scratch! It was quite interesting to implement the way HTTP works, specially the HTTP POST command!

February 10, 2011

Distributed Clustering

One of the important features in a WSN is clustering as it can be highly helpful in data aggregation, distributing policies among nodes and setting controllers, assigning the overlay topology to reduce energy consumption and etc.

I am trying to come up with a distributed protocol for WSNs where we neither have the location information of the nodes or their mutual distances, all we have is the local connectivity for each node in a distributed fashion. I have found some interesting former research in this regard but I am a little puzzled for now! :)

January 5, 2011

A Programing Contest! YYYYehhhhhaaaaaaaaaa!

So here is the Facebook programming contest. Who is the man to compete? I love it.

November 13, 2010

Installing GIT on Ubuntu 9.10

On the to install GIT over Ubuntu 9.10, the instruction of the Github website didn't work! So I had to scratch my head and investigate it myself.

The instruction being as:

It is recommended to only use the Ubuntu package management system to get a basic Ruby environment. Then you will use gem to install all your ruby packages.


So to get started, you will need to install these Ubuntu packages:

$ sudo aptitude install ruby-dev libopenssl-ruby rubygems

You will also need to install the development package of your database client library, for example in the case of sqlite3:

$ sudo aptitude install libsqlite3-dev

You can now install Rails and Radiant using the gem command:


$ sudo gem install rails radiant

You will also need to install the Ruby wrapper for your database client library, for example:

$ sudo gem install sqlite3-ruby

Once radiant has been installed successfully, you need to add the directory containing the radiant command to your PATH. If you’re using Bash, you can add a line like this to your .bashrc file:



export PATH=$PATH:/var/lib/gems/1.8/gems/radiant-0.8.1/bin


Right at sudo gem install sqlite3-ruby I got stuck. I tried a lot of different suggestions available online, not sure if athey had any impact or not but I think this is what solved my problem: and because of a versioning mismatch I was not able to install it.
  • remove ruby 1.9 and ruby 1.9.1 and install ruby 1.8 and ruby gems 1.8.
and instead I had to add /var/lib/gems/1.8/gems/radiant-0.9.1/bin to my PATH.

----
Then, you need to install GIT. Ubuntu recommends to use GIT, first you must have a public SSH key, so we make one:
$ mkdir ~/.ssh
$ chmod 700 ~/.ssh
$  ssh-keygen -t rsa

add your public key to your github account https://github.com/account

$ sudo apt-get -y install git-core gitosis
$ sudo -H -u gitosis gitosis-init < ~/.ssh/id_rsa.pub 
 
You'd get something like
Initialized empty Git repository in /srv/gitosis/repositories/gitosis-admin.git/
Reinitialized existing Git repository in /srv/gitosis/repositories/gitosis-admin.git/
Your gitosis is installed!

November 12, 2010

Machine Learning

"All models are wrong, some are useful." - George Box

From the interesting talk by Hilary Mason.