Archive for January, 2008

Disappointing macbook air, review compared to thinkpad x61

Well.. Steve Jobs claims MacBook Air as the world thinnest laptop, look at the thickness from the picture, it is really amazing, but seriously, people care about the smallest laptop, or the lightest laptop, why they care about the thinnest laptop.

I looked at the spec of the macbook, here is what it said, and compared to thinkpad x61 (as you can tell, I am a biased PC user, but I also use mac):

  • Intel Core 2 Duo 1.6ghz - the x61 model started with 2ghz (also with 1.6 ghz low voltage)
  • 3 lb, - x61 model weights 3lb 10 oz, 10oz difference is not that big
  • 80gb  HD, that is way too small, - x61 gives you option to upgrade to bigger hard drive, or you can replace yourself,  x61 uses  standard SATA HD.
  • 0.76′ thick, -x61 is 1.4″,  that is half of the thinkness, cannot deny this is amazing
  • ports for other devices, this is something MacAir really bothers me, it has only 1 usb port, 1 micro-DVI port and 1 headphone. that means if you have more than 1 USB device, you will need to carry a big USB hub. And if you have a miniDV which uses 1394, you are out of luck!! - x61 has 3 USB 2.0, 1 1394
  • Starting price $1800, - x61 started from $1050, if you want the 1.8ghz MacAir, you have to spend more than $3000. This is crazy!

That said, judge yourself,  if you have a few thousand bucks to burn,  MacBook Air will sure get you enough attention. An alternative option is to buy a leopard and install it on your Thinkpad, what you lose is the shiny LED screen and a multi-touch trackpad. That is what I am using..
then compare to my favorite brand IBM thinkpad X61, I don’t see compelling reasons for people to jump ship

4 comments January 15th, 2008

How to allow Zend Optimizer and Zend Debugger coexist

One php script  that I used was encoded with Zend so I must enable Zend optimizer to run those scripts on my web server, yeah, as any smart people would guess, Zend optimizer should run smoothly with Zend Debugger, after all, they are all made by Zend, right? Turns out I was wrong.

I got this message after I enabled both Zend optimizer and Zend debugger: (I was using xampp with php 5.2.4)

PHP Fatal error:  [Zend Optimizer] Zend Debugger must be loaded after Zend Optimizer in Unknown on line 0

The php.ini was configured this way

zend_extension_ts = “E:\xamp\php\zendOptimizer\lib\ZendExtensionManager.dll”
zend_extension_manager.optimizer_ts = “E:\xamp\php\zendOptimizer\lib\Optimizer”
zend_extension_ts = “e:\xamp\php\ext\ZendDebugger.dll”
After some research, turns out the default suggested configuration was wrong, you must use a hidden arg zend_extension_manager.debug_server_ts and point it to a container directory that names its children directory with a name pattern “php-n.m.x”.

Here is the steps,

  1. download latest 5.2.10 Zend Debugger here
  2. unzip the downloaded zip file to your web host, rename the children directory from m_n_x_comp to php-m.n.x, i.e. change 5_2_x_comp to php-5.2.x
  3. point zend_extension_manager.debug_server_ts to the parent folder of php-m.n.x
  4. enable optimizer in the same way

so completed php.ini should have something like this.

zend_extension_ts = “c:\xamp\php\zendOptimizer\lib\ZendExtensionManager.dll”
zend_extension_manager.optimizer_ts = “c:\xamp\php\zendOptimizer\lib\Optimizer”
zend_extension_manager.debug_server_ts=c:\xamp\zend-5.2.10
zend_debugger.expose_remotely=allowed_hosts
zend_debugger.allow_hosts=127.0.0.1/32,192.168.1.0/255
zend_debugger.allow_tunnel=127.0.0.1/32

Now start your apache and have fun!

27 comments January 13th, 2008


Calendar

January 2008
M T W T F S S
« Jul   Jul »
 123456
78910111213
14151617181920
21222324252627
28293031  

Posts by Month

Posts by Category