General

The Machinist

In The Machinist, Christian Bale plays Trevor Reznik, a machinist who hasn’t slept in a year. As a result he is gaunt and emaciated and prone to memory lapses and paranoia. Through the movie, he slowly unravels the mystery of his condition and, although at times a bit confusing, lets you experience his bewilderment and provides a reasonably satisfying realization phase. In the end, you sort of share his sense of final relief. The movie reminded me of Fight Club (chronic insomnia) and Memento (writing down information except Reznik writes his reminders on Post-Its). Aside from that, there is no other comparison with the aforementioned movies as this movie is darker, more morbid, and more gory. Pretty good if you’re into that kind of movie.

Rating: 4/5

The Island

I was just looking for something to help me chill out from a pretty stressful week at work and school and The Island was it. It starts off in a 1984-like utopian world where Lincoln (Ewan McGregor) goes about his daily life, usually working. However, he also has this penchant to lurking around restricted areas. Then, on one of his explorations, he got a jarring reality check when he discovers the truth about “The Island”. He immediately sets out to rescue Jordan (Scarlett Johansson) who is about to go to “The Island”. This is when the action began in spades and shovels. The action is entertaining enough though they can sometimes be too loud and noisy (including a car chase reminiscent of the looon car chase in Bad Boys 2). The story was essentially just a foundation for these action sequences. Which is too bad since it could have been as nice as that of Equilibrium or The Matrix. Still, as an action fix, it delivered (though not as well as the two aforementioned movies).

One last thing. I know movies are commercialized but can’t they tone commercialization down a bit?!? The movies is peppered with 2-second brand exposures and it got kind of annoying. It even includes ones of MSN Search and XBox. M$!!! Maybe that’s why I was annoyed :P

Rating: 3/5

War of the Worlds

I’ve heard about H.G. Wells’ books of the same title though I haven’t actually read it. War of the Worlds is based on the events in the book but focuses on an average man (Tom Cruise?!? How can he be average?) doing his best to keep his family of two kids in one piece (literally and figuratively) amidst the ongoing chaos of war. Too much drama for my taste but it actually kind of works. Dakota Fanning played the horrified innocent girl pretty well and Tom Cruise is not too shabby either. But the setting of this human drama could have been any war, it definitely didn’t have to be H.G. Wells’ War of the Worlds which I expected to be this epic battle between Mars and Earth. Sure, the aliens and their retro juggernauts were awesome especially when they kill people one at time time, making it so much more horrific (although the efficiency of the method is a bit questionable) and US Army’s relatively puny firepower did add some pretty nice fireworks but as a whole, the war bit ended up a letdown and definitely not the reason to watch this movie. But if you miss Tom Cruise’s Jerry Maguire emoting, you just might want to.

Rating: 3/5

Tomcat 5 on Fedora Core 3

There are quite a few ways to go about this but one of the better (though not necessarily the easiest) is to use JPackage. On their website, it says that the JPackage Project has two primary goals:

  • To provide a coherent set of Java software packages for Linux, satisfying all quality requirements of other applications.
  • To establish an efficient and robust policy for Java software installation.

Now that is exactly what I’m looking for.

SETUP JPACKAGE
cd ~
wget http://jpackage.org/jpackage.asc
wget http://jpackage.org/jpackage.repo
su
rpm –import jpackage.asc
mv jpackage.repo /etc/yum.repos.d/
exit

SETUP RPM BUILDING
mkdir ~/rpms
cd ~/rpms
mkdir {tmp,build,rpms,sources,specs,srpms}

Put the following into .rpmmacros in your home directory:
%_topdir %(echo /home/jay/rpms)
%_tmppath %{_topdir}/tmp
%_builddir %{_topdir}/build
%_rpmdir %{_topdir}/rpms
%_sourcedir %{_topdir}/sources
%_specdir %{_topdir}/specs
%_srcrpmdir %{_topdir}/srpms

BUILD THE RPMS FOR REQUIRED NON-FREE PACKAGES JDK AND JTA
Get the JDK files from Sun: jdk-1_5_0_03-linux-i586.bin (not jdk-1_5_0_03-linux-i586-rpm.bin!)
cp jdk-1_5_0_03-linux-i586.bin ~/rpms/sources
Get the JDK source rpm from jpackage
rpm -Uvh java-1.5.0-sun-1.5.0.03-1jpp.nosrc.rpm
cd ~/rpms/specs
rpmbuild -ba java-1.5.0-sun.spec
Get the JTA files from Sun: jta-1_0_1B-classes.zip and jta-1_0_1B-doc.zip
cp jta-1_0_1B-classes.zip jta-1_0_1B-doc.zip ~/rpms/sources
Get the JTA source rpm from jpackage
rpm -Uvh jta-1.0.1-0.b.4jpp.nosrc.rpm
cd ~/rpms/specs
rpmbuild -ba jta.spec

INSTALL SOME DEPENDENCIES FOR JDK*
su
yum install xorg-x11-deprecated-libs
yum install xorg-x11-deprecated-libs-devel
yum install unixODBC
yum install unixODBC-devel
exit
*Theoretically not necessary if you use yum to install JDK

INSTALL JDK AND JTA
cd ~/rpms/rpms/i586
su
rpm -Uvh *
cd ~/rpms/rpms/noarch
rpm -Uvh *
exit

AND FINALLY INSTALL TOMCAT5
su
yum install tomcat5
yum install tomcat5-admin-webapps
yum install tomcat5-webapps
exit

Fedora Core 4 came out today though. Maybe all this hocus pocus is no longer needed.