I switched from developing on a server to running development on my local computer as a part of my effort to better document and package the websites and their dependencies that I maintain. Therefor it also doesn’t make sense to maintain the DNS entries in my local server but instead I use the excellent Firefox add-on HostAdmin Host Editor.
I noticed however that IE was ignoring these entries in the hosts file for some reason. After some googling I stumbled into this blog post describing the solution which is to disable the “Automatically detect settings” check box in the IE options.
I’ve been playing around with Django lately and while I love the framework (and especially the admin interface) it does have some minor points. It might be because of my lack of understanding of the framework and/or Python but some stuff is hard to find. One problem I was faced with was that I wanted to use the .wide class that is provided by the admin to use in case the labels are to big and get overlapped by the form fields.
I was happily using the XmlSerializer to serialize and deserialize some XML documents at work when I came across a rather annoying “feature”. The deserializer is unable to deserialize integers that are specified in a hexadecimal format with a 0x prefix.