Picture worths thousand words …
I have never used a PHP accelerator before. Now it is a must to install APC for every new server (if you have enough memory to throw around).
Here we go:
If Slumdog Millionaire gets Best Picture (I highly doubt it), then Best Director would go to David Fincher. (Arrggh)
Updated.
You may have this error when require ‘xml/mapping’ in your ruby script:
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require': no such file to load -- xml/mapping (LoadError)
Solution: go to the gem directory of XML-Mapping (mine is /usr/lib/ruby/gems/1.8/gems/xml-mapping-0.8.1/lib/) and chmod all files in this directory to 644.
Who is to point finger at here ? Rubygem or XML-Mapping authors ?
This error eccors if you use screen et cetera and don’t have a terminfo file for urxvt in /usr/share/terminfo/r/, especially if you are ssh’ing into another box. You just need to create a terminfo file named rxvt-unicode in this directory.
More info about terminfo and how to compile it from a source file
Sometimes (even with new machines) there are problems at the client’s installation, for example:
Error 27848: Deterministic Network Enhancer installation requires a reboot first, to free locked resources.
After that the installation process is rewinded back and canceled. To fix it, open the command prompt as administrator (Right click on cmd then choose Run as Administrator). Type those commands and press Enter:
cd %systemroot%system32
regsvr32 /u dneinobj.dll
If Vista complains about regsrv32, then maybe the program is not on the system path. You must use absolute path:
C:\Windows\system32\regsvr32 /u C:\Windows\system32\dneinobj.dll
For error 2738
Internal Error 2738
follow the same procedure as above, just replace the command regsvr32 /u dneinobj.dll with
C:\Windows\system32\regsvr32 C:\Windows\system32\vbscript.dll
Update: regsrv32 should be regsvr32, my mistake
Notebookreview has a new review for Macbook Pro latest model (late 2008). Here is the spec:
Compare to my HP 6910p:
Or a better competitor Lenovo Thinkpad T500:
Consider that you can easily find a 10-15% discount coupon for Lenovo T series notebooks on net, what are the reasons to buy a mac except’s the OS and it’s look ? Leopard is a good OS, but does it justify the 45% price difference ? I don’t think so.
It’s annoying as hell ! Not only we need to patch to use Cisco client on 64 bit systems, recently i find out Cisco don’t support SMP (multi core) in its VPN client. It means after you load the cisco module, there’s a big chance you will run into a kernel panic: oops, the whole desktop freezes and the only thing you can do is a hard restart. Nice.
There’s a way out of this: turn off SMP aka turn one core of your CPU off before the module is loaded:
But why the hell do we have to use one core only ?? I mean, if we buy multi core CPU, we want to use it ! It’s ok if you only use VPN occasionally, however for folks like me who is forced to use VPN all day then this is just plain dumb. Good work Cisco, i will stick with vpnc afterall, ktnxbye !
Man, these freezes really bug me off … After setting up my laptop i realized every time i turn compiz on, the system would hang for 1-2 second then continue working. The time interval between two freezes is random. This problem happened with both closed source or open source drivers (for an ATI Mobility x2300 ).
It’s hard to google about a general problem like this, so i posted question on various forums. Luckily, i am not the only one is affected. This post explains the reason:
It seems that PAT support that is included in linux kernel 2.6.26 has some problems. If you are using a recent ATI Catalyst (fglrx) driver (at the time of this writing, the latest was 8.8) with 2.6.26 kernel with PAT support you may have problems.
Problems may include freezes every couple of seconds when playing videos or full-screen 3D apps/games.
To solve this problem you will have to disable PAT support in kernel. Fortunately there is a kernel boot parameter that does with without requiring recompilation. Just add “nopat” to kernel boot parameters and you should be OK. Debian users should not worry since PAT is disabled in the default kernel.
My /boot/grub/menu.lst:
title Arch Linux
root (hd0,0)
kernel /boot/vmlinuz26 root=/dev/sda1 ro nopat
initrd /boot/kernel26.img
I’ve just encountered this problem when moving to a new host: the database was ok, php was working, htaccess ok, wp-config ok but my website always showed me a numb blank face. The problem drove me crazy since every other Wordpress-powered sites on the same host worked. A fresh version of Wordpress with the old database helped no further. So i thought it could be a database problem and tried to re-export and -import the databse again, change the encoding of the new database, convert the password of Mysql user to the old one … every method i could think of or google out.
After two hours i turned to the webserver’s log just to find this one:
2008-09-24 23:32:51.681 [NOTICE] [xxx.xxx.xxx.xxx:64358-0#lamnk.com] [STDERR] PHP Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or
T_FUNCTION or T_VAR or ‘}’ in /xxx/blog/wp-content/plugins/last.fm/last.fm.php on line 17
What a relief ! To think last.fm caused this problem is beyond me. Why one plugin that worked on one host suddenly doesn’t work anymore on another host when other plugins do ???