The Awesome
Posts tagged Computer Engineering
Windows Virtual PC
Feb 11th
I just able to get my hands on Windows Virtual PC for Windows 7. Can’t say Windows XP Mode is awesome but it works and it works better then any alternative on the market. Another free tool can be used to replace Windows Virtual PC is VirtualBox but of course VirtualBox can’t give you the slick usage Windows Virtual PC with Windows XP Mode installed. There is support for USB devices in native form so even if your device is not recognized by Windows 7 you can still use that device on Windows XP Mode. XP performance on Windows XP Mode is good, it is pretty much as fast as you can get by other virtualization software on the market. Also installed programs on Windows XP Mode appears on Windows 7 start menu so you can have a seamless integration for your old software. For newbies I recommend using Windows XP Mode as last solution because it will slow down both problematic running software and the entire system as a result of virtualization.
By the way maybe one of the most important things I observed while playing with Windows Virtual PC is it’s problems with linux. Do not try to install linux on Windows Virtual PC. I have tried installing Ubuntu, although live CD and installation worked fine i couldn’t started the installed system. I didn’t check the manuals about this (or the help files as Microsoft calls them) but what i was expecting is to at least seeing buggy working linux. On this phase you have great alternatives on market like VirtualBox which supports Windows and Linux OS as guest and host.
Update: Recently installed Windows XP on VirtualBox and when it comes to performance VirtualBox is far more better than any other alternative, again.
32bit Xdebug on 32bit LAMPP on 64bit Linux (WTF!?)
Dec 22nd
Many times I found myself trying to figure out how to work with 32 bit Xdebug on 32 bit LAMPP server on 64 bit linux. I have done exact same searches on Google over and over again in time. So I decided to mix those informations up once and not to search Google for this subject again. I assume that you already know about Xdebug and LAMPP server.
First thing to do is to install XAMPP for linux on your system. There is nice explanation about how to do this on it’s own site, so i think this won’t be a hard task for any of you geeks or nerds.
Second thing is to download and install development package for XAMPP on linux. It could be installed the same way and of course there is an explanation for that too.
So you have downloaded, installed and configured (secured) your XAMPP for linux and it’s development package. Surpirse! Development package was not needed. Really, you could done the all procedure without installing development files, but I insist on installing those files because they probably will be needed for others things you would try to do in feature.
And yet comes the tricky part. If you are using a 64bit linux system like I do, trying to compile Xdebug as 32bit extension for PHP on a 64bit compiler, don’t do it. Well, I am sure about it there is a way to do this right but my opinion is trying to this is really pain in the **s. Our trick to get Xdebug extension without compiling it is to visit this website which has remote debugging packages for Komodo IDE. You will need 32bit linux “PHP Remote Debugging” package. There is your 32bit compiled Xdebug extension, in somewhere on that package.
Next step: “cp xdebug.so /opt/lampp/lib/php/extensions”, with something like this command, copy your Xdebug extension to your php extension directory on your LAMPP install.
If you had no problems until here, then your job is nearly finished. Only thing left to do is to tell your php installation to use Xdebug as an extension. Adding these lines to your php.ini
[Xdebug] zend_extension = "/opt/lampp/lib/php/extensions/xdebug.so" xdebug.profiler_output_dir = "/tmp/xdebug/" xdebug.profiler_enable = On xdebug.remote_enable = On xdebug.remote_host = "localhost" xdebug.remote_port = 9000 xdebug.remote_handler = "dbgp"
will do the work. But remember you can not use Xdebug extension with Zend Debugger together. You have to choose one of them. If your installation is configured to work with Zend Debugger, please disable it.(by commenting out the Zend Debugger extension)
That’s all and your 32bit Xdebug extension on 32bit LAMPP installation on a 64bit linux should work fine. Feel free to leave feedback.
Also if you like to compile your own Xdebug here the sites I found while i was searching over and over:
Top 6 List of Programming Top 10 Lists
Nov 23rd
While stumbling upon the Google Reader, i see this post on my friends weblog.
Unreal Development Kit
Nov 23rd
Unreal Engine 3 on your project free! Epic Games released Unreal Development Kit for free, game developers should check this out.