How to Install Ruby on Rail on Windows

on Wednesday, December 21, 2011
Get ready to install ruby and rail. Lot of work to do. It will be painful. Oh no! I was just kidding. If you want to install ruby on rail on windows then its really easy. Just one click is needed if you user rail installer. Just a package around 50mb. You get :
And yes its an one click install ! Visit: to download that package and see the tutorials.

Faster than light ?

on Friday, September 23, 2011
Photo: wikipedia
The neutrinos are fired deep under the Italian Apennines at Gran Sasso. Photo - BBC
 Its a hot news. OPERA, an experimental collaboration group found that neutrino traveled faster than light. They claimed that neutrinos arrived 60 nanoseconds before the light. According to relativity nothing can exceed the speed of light. So its challenging Einstein's theory of relativity. I think , some interesting phenomena of neutrino will explain this event and point to the error of the experiment and relativity will survive as always . Physorg posted a good article here. BBC also covered the story here. Here are Tommaso Dorigo's post and Prof. Matt Strassler's blog post in this issue. I am too lazy to write more. So its time to wait for everybody except particle physicists who will scrutinize these stuffs carefully or try to varify this result with another experiment.

How to install Pythia 8 and Fastjet on Linux

on Sunday, June 12, 2011
This is a tutorial about how to install Pythia 8 and Fastjet. After that i have explained two methods to link pythia8 to fastjet. I have tried to keep it simple and easy so that first time linux users can also understand it.

First of all you need to install g++ if you don't have yet.
For Ubuntu, Debian, Mint :

sudo apt-get install g++

For Redhat, Scientific Linux, Fedora:

yum install g++ 

You can also install that using source file or rpm. 

Now we will install Pythia8 and Fastjet.

Pythia 8 :

1. Download the file pythia8150.tgz (or pythia81xx.tgz) to a suitable location from its website .
2. Now to extract it open your terminal. Move to the directory where you have placed the pythia81xx.tgz after downloading. If you have placed that in your "software" (/home/username/software/ ) folder, then you can do this by :

 cd software

After moving to that directory excract that file with

tar xvfz pythia8150.tgz

Then it will create a directory. Now move to the directory by the command

cd pythia8150

Now type these commands (and press enter) step by step:


You have installed Pythia8 !


At first visit Fastjet website and download the source file which looks like " fastjet-x.x.x.tar.gz " where x.x.x represents version number.  Now follow the earlier steps to like Pythia8 to extract the source file. Rename it as "fastjet". Now move into the folder fastjet. The type the following commands(and press enter) step by step.

make install

You have installed fastjet !

Linking Pythia 8 to Fastjet :

Open your holy terminal once again. Move to the Pythia directory as you did earlier. Now move to the directory " examples " with command " cd examples". Then type the command and hit enter:

./configure --with-fastjet=/your-fastjet-directory-path/

Generaly the directory path is like : /home/username/something-or-not/fastjet/

If its successful then in terminal you will see something like " found fastjet version 2.4.3 " .

Done ! Now, from you from your pythia directory open pythia worksheet (a pdf file ) and it will guide you to the compilation process. But if you follow this process you may have to keep your source file in the examples folder and in the terminal you need to move to the "examples" directory with "cd" command to run and compile those programs. But there is another way. Check out the method below.

MakeFile :

If you want to keep your cpp source files, compile and run from some other folders then you need a Makefile in the directory where you want to compile and run. Download the file below .


Then follow the three steps below.

1. Change the value of  PYTHIADIR and FASTJETDIR . Set your own directory path of pythia and fastjet.

2. At the end of the file you will find a code

g++  -o  jet  

Replace those red colored names with your source file's name.

3. In your source file instead of  " Pythia pythia; " you need to type
 Pythia pythia("/home/mushfiq/collider/pythia8150/xmldoc") ;
You need to change the red colored path as your own.

Now from the terminal move to the directory where you have placed the source file (say and the Makefile. Now type "make" and hit enter.  Done !  To get the output  of we can use :

./jet > jet.out 

Now output is saved in jet.out . You can click on the file to open or simply type in terminal "gedit jet.out " and hit enter. BTW, if you use this method with Makefile then you don't even need to link pythia to fastjet with ./configure --with-blah-blah ... !

Ahh! We are done ! 
N.B.  I am not an expert of these stuffs. There may be better ways. But this is just how i fixed mine.

Accepted !!!

on Monday, May 9, 2011
A good news! I have been accepted in Theoretical Physics Department masters program. I wrote a post earlier where i said about my low possibility of getting accepted. But i have been accepted. So i am happy!

GRE words suck!

on Thursday, April 28, 2011
Its really hard to memorize GRE words. I have one month left before the test and i am reading those freaking words and forgetting. More important thing is the more i read words the more my brain becomes lazy and it seems i am turning into a thicko. It does not seem to work well. I hope and pray that this shitty GRE will go well. Next few weeks will be really stressful !