pikopong

it's all about knowledge

Archive for January, 2008

Kung Fu Dunk

with 9 comments

Kung Fu Dunk Movie Poster

So, last time we got Shaolin people playing soccer, this time we got Kungfu people playing basketball. Written by Takehiko Inoue (my favorite Slam Dunk manga author), Kung Fu Dunk is about Jay Chou playing basketball using Kungfu. That’s pretty much the summary of the movie. Expect it to be released February 2008. Untill then, enjoy these videos :)

Trailer

YouTube Preview Image

Leaked Video ?

YouTube Preview Image

Written by amree

January 26th, 2008 at 3:50 pm

Posted in vids

Tagged with ,

Interesting + Addictive Game

without comments

While waiting for my upload finish, I decided to write about these two game that I found out from Lowyat. I’m warning you though, one of the game is very addictive even though you’ll get bored of it at the end since there’re not so many levels. The other one, well, it’s very funny and hard at the same time.

Crayon Physics

YouTube Preview Image

The game is very simple, all you have to is make sure the ball (I think it’s a ball) to move and touch the star. Use your imagination to draw box, stick, or whatever necessary to reach the goal. This game is even better if played on a tablet pc.

You can download it from the official website.

It is actually a prototype of the Deluxe Version which is being developed, here’s a video demo of the Deluxe Version. More info can be found on the official website.

YouTube Preview Image

Update: Info about the second game deleted

Written by amree

January 8th, 2008 at 12:48 am

Posted in mis

Tagged with ,

Death Note 3 – L Change the World

with 87 comments

Death Note 3

Apparently, there’s another movie made for Death Note. I’ve never like these movies much, maybe because of those actors don’t give me the same feeling as the anime. But since it’s Death Note, it’s definitely on my must watch list. So, as far as I understand, this movie is about L living his remaining life before he’s dead on the 23rd day.

Visit the official website.

Death Note 1

For those who don’t know, previous movies are about the battle between two geniuses, one good and one evil. One of them somehow got hold of a book called Death Note which belongs to a Shinigami (Death God) which he can write any name and that person will be dead later. It’s pretty interesting and refreshing story. I just don’t like the actors, both of them doesn’t look genius enough especially Kira and L looks like a retard that is not a genius where he should act as a retard, but a total genius, XD. But that’s just me, who knows you’ll like them :)

UPDATE: Videos removed

Written by amree

January 6th, 2008 at 11:44 pm

Posted in vids

Tagged with ,

Reading MyKad in Linux

with 4 comments

If this is your first time reading my guide in reading MyKad, I suggest you read my first post regarding MyKad. It will give you the basic idea what this is all about.

This article will only guide you what you should do so that you can read MyKad in Linux. However, your success rate still depends on the type of hardware you use, especially the reader since there are not so many reader that support Linux. These are my working environment in Linux:

For more info about the application used at the end of this guide, please refer to my post about Reading MyKad in Windows. I would like to thanks my colleague for guiding me on how to do this before. So, here it goes:

  1. Login as root first.
  2. Since my reader use USB, I need to get libusb library.
  3. Install libusb library
    1
    2
    3
    4
    5
    6
    7
    8
    9
    
    tar zxvf libusb-0.1.12.tar.gz
     
    cd libusb-0.1.12.
     
    ./configure
     
    make
     
    make install
  4. Get the latest version of PCSC Lite.
  5. Install PCSC Lite
    1
    2
    3
    4
    5
    6
    7
    8
    9
    
    tar zxvf pcsc-lite-1.4.4.tar.gz
     
    cd pcsc-lite-1.4.4
     
    ./configure
     
    make
     
    make install
  6. For pcsc-lite-1.5.1, change the 3rd line to
    ./configure --enable-libusb --disable-libhal

    Thanks to pakdo for the update :)

  7. Download the driver for the reader first. In this case, I’m using a reader from Athena.
  8. Install the driver
    1
    2
    3
    4
    5
    6
    7
    8
    9
    
    tar -xjvf asedriveiiie-usb-3.5.tar.bz2
     
    cd asedriveiiie-usb-3.5
     
    ./configure
     
    make
     
    make install
  9. Get Windows Binary of JPC/SC Java API, I know it’s for Windows but it also has precompiled linux library in it.
  10. Extract, copy and update
    1
    2
    3
    4
    5
    6
    7
    
    unzip jpcsc-0.8.0.zip
     
    cd jpcsc/bin/linux
     
    cp libjpcsc.so /usr/lib
     
    ldconfig
  11. Start the pcsc service
    pcscd -f
  12. Download the application here.
  13. Run. It should be working now.

Written by amree

January 6th, 2008 at 6:36 pm

Posted in programming

Tagged with , ,

Reading MyKad in Windows

with 27 comments

For my first post in this blog, I decided to give out an example application to read MyKad which is written in Java. This application has successfully read:

  1. Old and new IC number
  2. Name
  3. Sex
  4. Date of birth
  5. Birth place
  6. Nationality
  7. Race
  8. Religion
  9. Address
  10. Photo

Do take note that for the photo part, it is not completely bug free, I’ll fix it when I got time which may not be happening :) There are a few things that I need you take note first:

  • Almost 70% codes of this application are not written by me. I’m merely putting pieces together from multiple references in order to read the MyKad.
  • Main credit should be given to Xenon who somehow managed to reverse engineered MyKad APDU so that we can read it without needs to pay a single cent for the SDK.
  • Don’t expect a perfect code here since it’s my first time writing Java codes after 3 years and I don’t see any needs to upgrade it, at least for now. But you can be sure that it’s working at the time of this post is written.
  • Even though it’s written in Java, it can be a guide for you to write in your own favorite programming language.
  • This application only reads data from Jabatan Pendaftaran Negara (JPN).

These are the system environments that I use to run this app:

  1. JDK 6 Update 2 (JDK 5 should be working just fine).
  2. Windows XP.
  3. Netbeans 5.5 (you may need to update the GUI Builder Pack to the beta version if you want to edit the GUI, however it’s recommended you use the latest version).
  4. A smart card reader, I use Athena (got Linux support). Other brand will do, just make sure the driver is installed correctly.

Follow these steps to read your first MyKad:

  1. First thing first, you need to download Windows binary of JPC/SC Java API.
  2. Get the Netbeans project file here.
  3. You must include jpcsc.jar as the library. You can get the file from Step 1.
  4. You must also put jpcsc.dll into your main project folder and if you want to distribute the application, you MUST put it together with your main jar file. You can also get it from Step 1.
  5. Plug in your reader.
  6. Run the application (either directly or from Netbeans).
  7. Insert your MyKad.
  8. Wait till the app finished reading it.
  9. A GUI will popup presenting your MyKad data.
  10. If no data is showing, it is possible that your MyKad chip is spoiled that is if you’ve done everything correctly. It will only take 14 days to get a new one.

If you have any question regarding the Java itself, you can ask in the comment section, but if you got question about the APDU commands, I suggest you read this post by Xenon, the explanations given are very detail. There’s also a simple application made by him to read MyKad written in C.

Screenshot of the interface:

GUI

Summarize links of all files in this post:

Stay tune for the Linux version :)

Update 1: Linux version is available here.
Update 2: Read MyKad using Visual Basic

Written by amree

January 5th, 2008 at 12:35 am

Posted in programming

Tagged with , ,