Friday, September 21, 2007

C vs C++: an interesting debate

http://thread.gmane.org/gmane.comp.version-control.git/57643/focus=57815

Sunday, June 17, 2007

Installing SXDE Build 64a in Parallels - Screen Resolution

The screen resolution is 1024x768 after the default installation. Need to change it to 1280x800 as the native resolution of the MacBook.
  1. "cd /etc/X11"
  2. "cp .xorg.conf xorg.conf"
  3. "vi xorg.conf" so that
            Section "Monitor"
               ...
               UseModes "Modes0"
            EndSection
            Section "Screen"
               ...
               SubSection "Display"
                  Viewport 0 0
                  Depth 24
                  Modes "1280x800" "1024x768" "800x600" "640x480"
               EndSubSection
            EndSection
            Section "Modes"
               Identifier "Modes0"
               Modeline "1280x800" 104.3 280 1360 1496 1712 800 801 804 834 -Hsync +Vsync
            EndSection
    

Installing SXDE Build 64a in Parallels - Memory

Zillions of people have posted how to do this. The following are the steps I took to make it work. The setup:
  • MacBook, Core 2 Duo 2.16GHz, 1GB Ram
  • Parallels 3.0 (Build 4128, June 9, 2007)
  • Solaris Express Developer's Edition (SXDE) 5/07 Build 64a (Nevada + Sun Studio 12)
The SXDE installer quits if the memory is less than 768MB. My MacBook came with 1GB. And Parallels allows a max of only 604MB for Solaris 10 VM when I have only 1GB memory. Fortunately, in another experiment, I bought Kingston KVR667R2K2SO/2GR (1GBx2, PC5300 667MHz) which fits the specification of my MacBook. So I swapped them with the two 512MB DIMMs. Then I was able to create a VM of 1GB memory and install SXDE. The Kingston KVR667 did not work with MacBook very well and caused a panic after my installation. I swapped them out and put the old 512MBx2 in, and reset the memory of the VM to 604MB.

Sunday, May 20, 2007

Make Picture Movie Like

This web site shows how to do it.

I tried it with Photoshop Elements.