Today I (again) tripped over a problem that comes up if you try to install VMWare Server on a Debian Etch AMD64 system. The problem is that vmware-ping returns a "command not found" error, even if the executable is there. That happens because vmware-ping is linked against 32-bit libraries that are usually not installed on a 64-bit system.
To install all necessary libraries execute the following command:
If you need to compile the VMWare kernel modules, you can use module-assistant to install all necessary software (e.g. C compiler, kernel headers and so on):
Back in the days, when flat shading models, phong shading, gouraud shading and memory extenders actually meant something to people and you had to reboot your computer to get rid of a system driver that hooked your A20-gate, so that some guy from halfway round the world could trick your CPU to let him address your whopping 4MB of RAM as a linear space... that was about the time that I started getting real about learning something about computers.
So in the 90s, I learned about the MOD format, the S3M format, made a few tunes with S3MTracker, learned about vector math, sound mixing, particle systems, raytracing and that the difference between two consecutive notes in a well-tempered scale is the 12th root of 2. All because of one program whose output I watched in awe, about a year or two after it won 1st place at the geek-gathering that is known as the Assembly. In 1993.
That program was "Second Reality" by a few guys calling themselves the Future Crew and of course it's on YouTube now.
2nd reality
I have no idea if that means anything to you. But this is pure genius:
Real reality
Back in those days, I could have written one kick-ass computer game and everyone would have worshiped me to this day :-). Well, I didn't and you don't.
Abdallah Higazy was staying in a hotel in New York City on September 11 and the hotel emptied out when the planes hit the tower. In his room, a radio was found that can be used to talk to airline pilots. FBI agents threatened Mr. Higazy, that his family in Egypt would be tortured if he didn't confess that he was connected to the events of 9/11, so he confessed even though he's innocent. It turned out that an actual pilot had forgot the radio in the room that Mr. Higazy was staying in.
This is what you get if you allow "coercion". This is what you get if you give law-enforcement officials too much power. It's a prime example of racial profiling and an important reminder that threatening people cannot be part of fighting terrorism. Ever.
I recently solved this problem for a customer and had to search the web a lot to find all the necessary information. So I thought writing it all down might save someone else some time in the future.
...just got a lot easier. As I just saw on Peter Nixon's weblog, mysqldump has now new values for its command-line switch "--compatible", namely "db2", "postgresql", "oracle" and "mssql". So that should make this part of my life a lot easier in the future. We still have some eZPublish installations that run on local MySQL databases instead of our PostgreSQL setup.
then maurus.net has successfully moved to a new, dedicated, server running Debian Etch. The theme has new ajax-based features (though strictly speaking the involvement of XML is minimal :-) ) and I can finally install a fully spam-protected mail server. Let's see where this goes.
If you’re trying to install a Python library like simplejson that uses code written in C or C++, you might run into this error message:
error: Python was built with Visual Studio 2003;
extensions must be built with a compiler than can generate compatible binaries.
Visual Studio 2003 was not found on this system. If you have Cygwin installed,
you can try compiling with MingW32, by passing “-c mingw32″ to setup.py.
There seem to be 2.5 possible fixes. 2 of them fix the issue directly, the .5 is a work-around for simplejson:
Install Visual Studio 2003 or at least the non-optimizing C++-compiler that Microsoft delivers with the free .NET SDK. Finding the right version might be an issue though. This fix doesn’t work for me, as I have Visual Studio 2005 installed here already.
I simply chose the work-around. I don’t know if there are similar command-line switches for other libraries, but for my current project the performance of json-parsing code is not an issue.
The default documentation tells you that this will only work on Unix, because the readline library is not available on Windows, or at least not included in ActiveState’s Python distribution.
In fact, there’s a ctypes based version of the readline library developed here: PyReadline on SciPy. You can use this easily to enable tab-completion on a Windows system:
IronPython (for people not knowing already: IronPython is Python for the .NET CLR/DLR) has tab-completion built-in in the shell, ipy.exe. You enable it like this:
c:\>ipy.exe -X:TabCompletion -X:ColorfulConsole
I’m currently upgrading this weblog (read: I’ve been at it for 3 months now ;-) ), but I needed to write this down. I hope this helps someone else out there…
Update (10/16/2007): I’ve moved this weblog to a new server… it only took me three months :-). Time sure flies around here.