Archive for the ‘Programming’ Category

Visual Studio 2005 Web Development under Vista

Monday, July 21st, 2008

I have had an issue today with Visual Studio 2005 and Vista today, specificly I have been unable to use the built in mini-web server that is used for debugging web projects. When you run a project from within the development environment it starts WebDev.WebServer.exe and then points an instance of Internet Explorer at http://localhost:port/path/to/default.aspx.

Now I remember this working well in the past, and indeed if I replace localhost with it worked fine, I didn’t fancy having to type this every time I went to build and run a program. I could not find any way of configuring Visual Studio to point to the IP address rather than the host name.

Upon trying to ping localhost (fairly futile I understand but I was getting desperate) I noticed that packets were being returned over IPv6 (::1:) rather than IPv4 (, my first port of call was to disable IPv6 on the NIC – which unsurprisingly didn’t work as anything to do with localhost shouldn’t use the NIC, and unlike Linux; Windows does not appear to expose the loopback adapter to the end user.

The soloution as it turns out was to remove the IPv6 record for localhost from %WINDIR%\etc\drivers\hosts. Editing this file requires an instance of notepad.exe to be running as a local administrator (i.e. press the windows key, type “cmd”, right click cmd.exe in the list and choose “Run as Administrator”. I realised had this before, in the time between then and now all trace of the problem occuring was wiped from my memory leaving only the soloution in my head. Never mind all working now!

Bartle claims victory in battle

Monday, April 28th, 2008

I am sure that title is going to annoy someone an awful lot, but never mind. Richard Bartle submitted an opinion piece to The Guardian today, and as he puts it in his blog it is “Opinionated”.

I like it! I think it is something I had realised and accepted a long time ago (I was born in 1981) games are part of the norm for me. I learnt to program on a ZX Spectrum when I was 8, what did I write – computer games of course – pong, breakout, Thunderbirds (TV Series), rolling shooters. I even tried to write a Windows like GUI in BASIC (yes it had some serious design flaws). All of that was normal to me.

In case you missed the link above, here is opinion piece:

Integers, EVE and Medical Issues

Wednesday, February 25th, 2004

PHP Integers are really getting on my nerves at the moment, it seems that anything more than 32-bits is just plain not supported in PHP… to be honest that is awful… that is the most apauling degree of accuracy I have come across since BASIC. Oh well never mind rant over.

I am having lots of fun playing EVE and writing my dissertation, it is quite interesting researching the history of MMOGs, something that facinates me while being technical and worthy of a dissertation. Need to crack on with the dissertation bit though 5 days to go… should be fine, pleanty of time.

My stomach seems to be a lot better recently, I havnt had the same acid indegestion problems that I have been having the last week or so, I am still going to talk to the doctor see if there is anything that they can do by way of investigating what the problem might be. I am petrified it might be something serious or not even something serous… just something that would cause me to have to go onto a special diet… its hard enough work not eating meat products and still making interesting food without having to avoid other ingredients too… we will see.