Compiling wxWidgets sample apps with Visual C++ 2005 Express

To get wxWidgets to install with Visual C++ 2005 Express, I needed to change the linker options to set Incremental=No. Otherwise, I was getting this Linker Error CVTRES : fatal error CVT1100: duplicate resource. type:MANIFEST, name:1, language:0x0409 LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt

Django search engine

To help me get to grips with Django quickly, I created a search engine of the documentation. On the off-chance this is useful to others, I made it available at http://www.hobthross.com/docs/django/phpdig/search.php (Sorry if this does not show up as a hyperlink, WordPress appears to be chewing that up and ignoring it)

Django for Python websites

I’ve just taken a look at Django for the first time, and am seriously impressed. For a while now, I’ve been trying to find a way of using Python in websites, and haven’t found anything that works well enough - Zope, Cheetah, mod_python - all seem very difficult to get the simplest thing working… But Django looks like the answer. The guys behind Django have produced a very useful tutorial to help you get going with it, and the users mailing list seems very responsive…

Writing Apache modules

Apache1 modules If you need to know about Apache1 modules, the answer’s simple. Buy the O’Reilly book “Writing Apache Modules with Perl and C”” by Lincoln Stein & Doug MacEachern… Apache 2 modules Unless you’ve got the patience of a saint, or already know how to do it, give up now! :-) More seriously, the online documentation available to tell you what the (major) differences between Apache1 and Apache2 modules is extremely limited or non-existent.

CoLinux for Ubuntu

To install from scratch, follow instructions for installing Debian Sid here Now upgrade Debian Sid to Ubuntu Hoary Edit /etc/apt/sources.list, comment out Debian references, insert Hoary ones apt-get update apt-get dist-upgrade Alternatively, if you already have Ubuntu installed on a separate partition, then you can follow the the instructions for running a dual-boot CoLinux setup

Installing CoLinux on WindowsXP

This assumes that you don’t already have a Linux installation on a dual-boot machine that you want to use, and are going to install Linux from scratch. If you do already have a working Linux setup, then you can use it. The CoLinux FAQ explains how to configure coLinux on a dual-boot machine Get a 2nd IP address assigned that you can use on your Windows machine for the colinux interface (assuming you’ve already got one assigned to the main interface) Download colinux-0.

Printing to Windows XP printer from Ubuntu

Enable “Print Services for Unix” on Windows XP machine and share printer. (I’m not actually sure that this is necessary, it might be a red herring…) When you add the printer in Ubuntu, 1. Choose "Network Printer" and "Windows Printer (SMB)" 2. put your Workgroup in the Host field 3. Put “guest@/” in the Printer field (replacing and with your host & printer names) So, for example, if your Windows machine was called “Dozer” and your printer was called “LaserPrinter”, you would put “guest@Dozer/LaserPrinter”.