Don’t Panic! Why so Serious?

Thank God I don’t need to wait until November to make a post again.

I implemented a part of an article entitled Simulating Dynamical Features of Escape Panic, whose official webpages can be reached here. I didn’t understand some parts of it, so I decided to ask one of the author, Mr. Illés Farkas, who is now a Senior Research Associate at Eötvös University, Hungary. He replied, and yes I got some explanations to my questions. He also suggested me to download the source code. Unfortunately, they wrote it for Linux, while I only have access to Windows Vista and XP. It would take more times to install Linux in my notebook. I tried to compile the code using Visual C++ Express 2008, which I use to write my code, but was not successful. There were some problems with unistd.h and X11-something. I finally realized that 1) since unistd.h is only available on Unix/Linux/other members in their family, the code would only compile on those OSes, and 2) I needed XWindow.

So I decided to install Cygwin. FYI, it was my first experience installing Cygwin, and FYI2 I’m not really an expert in Linux. That’s why I had no idea about how to compile their code. I typed make and g++, but the command prompt returned error. It turned out that I only installed Cygwin in minimum package, so I spent several hours downloading and installing the full package. make. Successful.

But there comes another problem. The executable file could not simply be run. It needed several DLL files. Since I was too lazy to list the needed DLLs, I just copied the executable file and all files in Cygwin’s bin folder and X11’s bin folder into one directory. Bang. It still could not run. It needed XWindow. I re-read the FAQ in Cygwin website, and found that I had to run a kind of service in order to emulate XWindow on Windows. After several trials of running the batch file, the XWindow simulation layer was finally activated. I ran the executable file from the XWindow’s command prompt, and voila, mission accomplished.

So, great thanks to him, I can sail over two oceans in one row.

Below is a screenshot. There are still some bugs. Hopefully I can finish it before Thursday.

My hiatus is finally over.

For now.

Anyhow, I am not totally finished yet, and the dead line is approaching. I can sense the presence of Grim Reaper somewhere in the darkness out there.

Don’t panic! Why so serious?

BTW, you don’t want to see my room. Very nasty. Very sticky.

BTW2, I wonder, why ideas often come up very early in the morning like this? It is now 4:39 AM GMT+8. And this is not the first time.

4 Comments »

Right Click Here for TrackBack URI

  1. Comment by jensen99, October 28, 2008 @ 3:57 am

    Don’t panic! Why so serious?

    Cough… *batuk-batuk*

    Actually…

    People have hope;
    Because they cannot see Death standing behind them…
    ~Bleach vol. 2 tagline~

    *staring at the Grim Reaper behind you* :twisted:

    Gravatar Image
  2. Comment by lambrtz, October 28, 2008 @ 4:03 am

    @jensen99

    Because they cannot see Death standing behind them…

    However, some people like me can, and it should be no problem to dodge his scythe 8)

    *dipenggal*

    BTW sori mas, link di kanan belum saya update, lagi sok sibuk, kalo dah agak longgar nanti saya masukin link mas juga. Ada beberapa blog yang akhir-akhir ini saya kunjungi yang mau saya masukin.

    Gravatar Image
  3. Comment by jensen99, October 28, 2008 @ 9:12 pm

    Halah…
    Link saya sih, gak ada juga gak ngaruh; wong blog-nya isinya gak penting gitu :mrgreen:

    *bawa pulang potongan kepalanya lambrtz*

    Gravatar Image
  4. Comment by lambrtz, October 29, 2008 @ 12:15 am

    Lah link itu buat kepentingan saya sendiri kok, biar kelihatan temennya banyak gitu :mrgreen:

    *taking my head back from jensen99 after beheading him*

    And today, idea comes again very early in the morning (12:15 AM). I wonder why :?

    Gravatar Image

RSS feed for comments on this post.

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>


I tried to remove captcha but blogsome keep asking for such authentication. Please fill the text. Sorry for the inconvenience.


Anti-spam measure: please retype the above text into the box provided.