Monthly Archives: September 2007

Weakness on Mac (Finally!)

OK, after sometime getting used to this new OS, I finally found some weakness as compared to Windows or even Linux GUI. First of all the font rendering. Unlike Windows’ ClearType font rendering that is sharp, OS-X fonts are blurry, … Continue reading

Posted in Uncategorized | Leave a comment

How fast is Apple Macbook?

My Macbook has Intel Core2 Duo 2.1 GHz. I wrote a small program to do very simple math (trigonometry computation): #include #include int main(){ double x,y; long i; x = 1/3.1415692653; for(i=0; i<1000000; i++) { y = i/100000*x; printf(“%lu) sin(%lf) … Continue reading

Posted in Uncategorized | Leave a comment

OS-X is 64-bit Unix

Just to prove that my Macbook is a 64-bit machine, I build the following simple program: #include int main(){ printf(“sizeof(long) = %d\n”, sizeof(long)); printf(“sizeof(double) = %d\n”, sizeof(double));} Compile it with: gcc -mtune=nocona -m64 -mfpmath=sse -msse3 -O3 test.c -o test and … Continue reading

Posted in Uncategorized | Leave a comment

Making ipod video files from DVD

Search google for “handbrake”, and install it. Edit/create a new shell script, and paste one of the following: For low resolution:HandBrakeCLI -f mp4 -w 320 -l 176 -s 1 -N eng -e x264 -b 700 -2 -d -E ac3 -B … Continue reading

Posted in Uncategorized | Leave a comment

Internet everywhere with MacBook

This is how to connect to the Internet on the road via GSM phone provided by Cingular/AT&T Wireless (gotta have unlimited data plan though). First, enable bluetooth on the Cellphone (mine is Cingular 8125) and check the “Discoverable” box. Do … Continue reading

Posted in Uncategorized | Leave a comment