NullifyNetwork

The blog and home page of Simon Soanes
Skip to content
[ Log On ]

Archive - Historical Articles

You are viewing records from 04/29/2003 18:24:07 to 04/28/2004 08:25:08. I'll be adding support for selecting a date range in future.

Has anyone seen an online real-time code collaboration application out there yet?

I'm looking for something suited to pair programming but online and with simultaneous data entry capabilities.  So both people have Visual Studio, both see the same code.  One types in one place another types in another and they can each see (assuming they're working on the same file, and the same place in that file) each others typing in real time.  This would allow for you to help another programmer.  They say two heads are better than one...

That or if anyone has any idea how you can easily do the user interface to such a thing so I can build one myself.  I was tempted to use accessibility to read the contents of a window then remoting to send it but this fails on the actual display of the entered data aspect.  It adds a major disconnect to have it in a seperate window.

And I don't want to reinvent the wheel and completely write a multiline, multiuser edit box by hand.  Not yet anyway... Permalink  6 Comments 

I've been thinking, how do you get around telco lockin?

You can't - well, not easily.  At least, not till there's a wireless mesh covering the whole world.

This is what the people at consume are aiming to get.  I think the ham radio operators got it right when they tackled the problem, which puts consume on the right track - but we need a longer range wireless medium to solve the problem.

Now, 3g, gsm, and others can solve the problem of range - but they're also all relatively slow in performance.  Ideal for keeping a continuous link, for chatting, for mail if you don't mind waiting - for voice services even.

So, what service covers the middle ground?  I don't particularly want a multi-billion dollar license just to provide wireless service to my peers.  I don't need a range in the kilometres (although that'd be handy!).

Permalink 

Okay so I need to know a bit of Java and be able to build something if needed to help a friend so figured I should install the stuff to get it going.

Now, here's the first of not many plusses over .NET.  I installed Eclipse by unzipping the archive and running it with an appropriate SDK installed.

It ran.  I was impressed.  Mostly by:

  1. The fact it wasn't as slow as treacle like all over Java IDE's I've had the dubious pleasure of trying out. 
  2. The fact that it was obviously Visual Studio .NET with a few minor improvements like a most excellent colouring of the current line slightly different so you knew where you were even with wordwrap and/or a long line.  Refactoring and code templates like what is coming out in Whidbey/Visual Studio .NET 2005 was also already in it and working well.
  3. My java app compiled and ran - the only difference between it and the equivalent C# app?  For some stupid reason Java's ArrayList is in the java.utils namespace rather than a collections namespace.
  4. Eclipse looks correct on Windows XP.  WHAT I hear you yell...  Well, it's true.  Visual Studio looks like it's on 2000 even if you change the theme, it's just poorer integration.

Now for the negatives I've noticed so far just playing around:

  1. No foreach on objects.  This one is really getting to me.  For just does not cut it!!!
  2. Threading doesn't use callbacks - you have to build a new thread class based on the parent class of Thread.  Seems somewhat of a disconnect from keeping the code nice and modular.
  3. The string type is capitalised.  Yes, I know this is petty.
  4. C# code looks nicer: Getters and setters are more neat and tidy.
  5. Where is delegation in Java?  It just seems to be... missing. 
  6. Interfaces seem to have been thought out more in C# - how do you prevent one being run if the object is addressed as its native type?
  7. Where are enums in Java?  Also... absent without leave.
  8. I can't seem to find struct's either - how to you make a high speed primitive type?
  9. Where are the overloading features again?  I can't find mention of most...  Operator overloading for example.
  10. No versioned GAC.
  11. No attributes for methods.

All this is ignoring the multi-language capability of .NET, and the 'interesting' model of page generation of ASP.NET where objects exist between calls and

Permalink  3 Comments 

Hmm, lots of people out there are searching for Jen Frickell on Google and mysteriously getting to my site because I mentioned her a while back.

The site you're looking for is over there, not here, although she doesn't update as much as she used to, bar special occasions - like April fools day...

Permalink 

Here's a little something that took a couple of hours to write, feedback is as always appreciated!  As I've already been asked: this is all GDI based, no DirectX...  Graphics for it would be appreciated!

Anyway, click here to run GravCave from my server, you need the dot net framework - available from windows update, or I expect it will run okay under mono.  If you wish you can right click and save target as to your local machine - it's 40kb and will run from anywhere.

Another .NET game in the same vein is Chris Sells' Wahoo.  This came about as I was curious why dot net based games were't slowly appearing yet, so thought I'd see how difficult it was to code a game in: turns out with C# it's much easier than many other languages.

I assume when people realise that they CAN use DirectX with an app that is loaded directly from the net, they'll start using it.

UPDATE: Source code is available on this page on my site

Permalink 

Ever wondered how to double buffer with a Graphics object so your GDI+ based game/control doesn't flicker annoyingly?

Me too.  There's probably a built in method that's easier, but this is how I managed to get it to work smoothly, it's nice and simple and allows you to draw anywhere that offers up the normal CreateGraphics method.

First, set up a bitmap to act as your backbuffer:

Bitmap BackBuffer = new Bitmap(this.ClientSize.Width,this.ClientSize.Height);

Graphics DrawingArea = Graphics.FromImage(BackBuffer);

Next, you want to draw to your graphics object as normal, so DrawingArea.Clear(Color.Black); and such.

Once you've completed drawing the object that you want to smoothly move, simply draw the pre-rendered bitmap over the top of the Graphics object you want to update:

Graphics Viewable = this.CreateGraphics();

Viewable.DrawImageUnscaled(BackBuffer, 0, 0);

You can also use other techniques to increase the performance, such as reusing the backbuffer by defining it in the class you're using it in - this means .NET won't need to recreate it repeatedly.

Permalink 

Okay so I was just wondering why Kunal Das' OutlookMT looked very much like the idea I had for solving the problem, until I find this post whilst searching for a way around the annoying security dialog you get when accessing Outlook from C#:

http://blogs.officezealot.com/Kunal/archives/000503.html

It looks like a suggestion I made on Scoble's site about how I would access Outlook to enable blog integration was the initial inspiration for OutlookMT's solution to Scoble's problem.

I guess this blogging thing really does work...

Permalink 

If your validation isn't working in Asp.net after deploying to a webserver with multiple virtual hosts you might find you need to copy the aspnet_client directory from the default site to the affected site to get the client-side validation working.

A good reason to always do server side validation!

Permalink 

This is my first attempt at an instructional article, so opinions on quality would be great!  Let me know if I made any mistakes too...

It's mainly for all those like Robert Scoble who would like to be able to drag and drop an item to a folder in their Outlook and post it instantly to their Blog, but it also covers web services and talking to Outlook.

Accessing Outlook

The first requirement is to be able to access Outlook.  For those with Outlook 2003 and XP this is relatively easy, thanks to .Net and Microsoft shipping an appropriate assembly with Office.  To install the Office 2003 assembly, you should run the office install and choose .NET Programmability Support.

You might need to use the command prompt to copy Microsoft.Office.Interop.Outlook.dll out of the GAC after installing it so you can add a reference to it, if you can add it as a reference otherwise do so and let me know how!  The Visual Studio add reference dialog doesn't seem to list items in the GAC...

Add an appropriate using clause:

 

Then you should be able to instantiate an Outlook object and make requests of it:

Outlook.Application app = new Outlook.ApplicationClass();

Outlook.NameSpace NS = app.GetNamespace("MAPI");

Outlook.MAPIFolder inboxFld = NS.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderInbox);

This will give you access to inboxFld, which will allow you to iterate through the contents of the inbox!  You can also change this to iterate through notes, or through calendar entries, tasks, etc. as you want.

For example, to iterate through your mail you can do:

 

Console.WriteLine(t.Subject);

}

To write out all the subjects on the console.  The only annoying thing will be you need to say yes to a security dialog when you access mail items - I'm working on getting around this, it doesn't happen for tasks or notes, etc.

Once you are able to access Outlook, your next objective is to post data to your weblog.  You can avoid duplicates through one of two ways:

  • Keep track of what has been posted by maintaining an ArrayList of articles on your blog and checking before trying to post one.
  • Keep track of what has been posted by changing something in the MailItem's - e.g. - set or clear a flag.

The first method requires keeping a list synchronised with the blog, the second is quickest and easiest, but wouldn't be suited with multiple people possibly posting things.

Posting to your blog

Obviously everyone is using different software to manage their blog.  I can't give an example of every single method, however the simplest from a programmers perspective is if you can access the database of your blog via a webservice.

Building a webservice

Google can supply many examples and tutorials, however an example of doing this is fairly simple.

Choose to add a new webservice to your site, or create an entirely independant project and call it something suitable - ours will be blog because it's an example.

Firstly, you will need to add a few more items to your using list, so you can do XML serialisation of structures and objects.  I will assume your database is MS SQL Server too, so ensure the following are listed in addition to the defaults for a webservice (I forget what they are):

 

 

 

 

 

using System.Web.Services.Protocols;

 

 

You want to be as object oriented as possible when building your webservice, so you should define a NewsItem structure to pass back and forth, you can adjust this to include whatever you need to store in an article:

 

{

public int id;

public string topic;

public string subject;

public string postedby;

public DateTime postedat;

public string content;

 

}

This will allow you to reference rows in your database as objects, a simple organisational benefit that crosses over and permits easy use of methods of the webservice without passing a lot of parameters.  It also allows you to add groups of entries to an ArrayList, which is a big benefit (although there is a problem converting from an object transferred by a webservice and an ArrayList, if you ever do this you will need to iterate through the object and add the entries back to an ArrayList - .net does not support converting from an object[] to an ArrayList).

You can then build your method for adding the article to the database.  I have used the database on my blog as an example, you will obviously need to change the insert statement and connection string to fit your situation.  There is also no exception handling, ideally you should enclose the opening of the connection and the executing of the query in Try Catch blocks.

Note that the XmlInclude for the NewsItem struct is listed, this allows the webservice to accept a newsitem given as a parameter - otherwise if would not know to serialise the structure.

[WebMethod]

[XmlInclude(typeof(NewsItem))]

public void AddArticle(NewsItem newarticle)

{

SqlConnection sqlcn = new SqlConnection("Data Source=(local);" +

"Initial Catalog=NullifyDB;" +

"Integrated Security=SSPI");

sqlcn.Open();

SqlCommand sqlcmd = new SqlCommand("INSERT INTO newsarticle (subject, topic, content, uid) VALUES (@subject, @topic, @content, @postedby);", sqlcn);

sqlcmd.Parameters.Add("@subject", newarticle.subject);

sqlcmd.Parameters.Add("@topic", newarticle.topic);

sqlcmd.Parameters.Add("@content", newarticle.content);

sqlcmd.Parameters.Add("@postedby", 253);

sqlcmd.ExecuteNonQuery();

sqlcn.Close();

}

You should then provide additional methods for anything else you would want to do, such as listing articles, deleting articles, and editing.  For Outlook integration you really only need this method.

Accessing the webservice

Once the web service is up and working, you need to create a web reference to the webservice, this is done in visual studio by right clicking the references box and choosing add web reference.  Lets say there's one at http://webservices.nullify.net/blog.asmx

When you add a web reference Visual Studio will automatically produce a wrapping class that will allow you to easily instantiate the web service as a local object, without worrying about any of the underlying technology.  (I'll only cover synchronous calls here, otherwise this will turn into a full fledged book...)

To access the above web service, you would simply define it as a new object:

net.nullify.webservices.Blog blog = new net.nullify.webservices.Blog();

And you would define our NewsItem scructure that we defined in the webservice:

net.nullify.webservices.NewsItem article = new net.nullify.webservices.NewsItem();

This will allow you to now call methods of the blog object, which will execute directly on your web server, with all the rights of a normal asp.net page - including the ability to insert articles into your database!

Using our imaginary webservice, rather than writing the subject for each MailItem to the console, you can post them to your blog:

article.subject = t.Subject;

article.content = t.Body;

article.topic = "OutlookPost";

 

blog.AddArticle(article);

(Note, this is assuming your webservice has no security, or is protected by asp.net/IIS' own security!)

I hope this post helps someone!

 

public struct NewsItem

 

using System.Xml.Serialization;

 

using System.Web.Services.Description;

 

using System.Web.Services;

 

using System.Data.Common;

 

using System.Data.SqlTypes;

 

using System.Data.SqlClient;

 

foreach (Outlook.MailItem t in inboxFld.Items)
{

 

using Outlook = Microsoft.Office.Interop.Outlook;

(This article has been truncated due to migration to a new database, apologies!  I hope what is here helps and if you have questions there are copies around on the web of this article.)

Permalink 

*********************************** I, CRINGELY - April 1, 2004 Column *********************************** This message is being sent to inform you that Robert X. Cringely's latest column is now available online at: http://www.pbs.org/cringely/ The title and topic of this week's column are as follows: "Timing is Everything" No matter what happens in Microsoft's current slew of court cases, the end will be the same, says Bob: Redmond will win. ******************************** SUBSCRIBE/UNSUBSCRIBE To sign up to receive notification of new "I, Cringely" columns, please visit http://www.pbs.org/cringely/when/, or send an e-mail to listserv@pbs.org, and in the body of the message type "subscribe tellmewhen-l * " (without quotes). (You can substitute your name in place of the *). If you would like to have your name removed from this list, please send an e-mail to listserv@pbs.org, and in the body of the message type "signoff tellmewhen-l" (without quotes). To avoid conflict, be sure to send the message using the same account that you used to sign up. An e-mail confirmation will be sent when you are officially removed from the Cringely list. If you experience difficulty unsubscribing or you're interested in changing e-mail addresses, please send your request to www@pbs.org. ******************************** Copyright 2004 PBS Online. Permalink 

This is being posted from a winforms application using a webservice interfacing with my weblog. Next up, posting from outlook by dropping items into a folder! Permalink 

I finally understand.

The reason I've been unable to write good documentation all this time is who has been reading it.  I write code that describes how to do something to a computer.  That documentation must be excellent syntactically, all encompassing and as flawless as possible.  It must also be complicated as the compiler/interpreter is generally fairly stupid and needs intructions for every step.

I have a tendancy to take that over when documenting the code, what I really need to do is say "This does x" rather than "This does y to z in order to get x to be the desired value, but has to take into account a, b, and c factors".

I finally understand - document simply and briefly to document well...

Permalink 

Do you have an idea for a piece of software that you personally would like?

A tool that would help you in your day to day use of a computer?  Something that would be neat on your smartphone?  An application to store/retrieve a particular type of information on a pocket pc?

Something that solves a problem in your classroom/computer lab/school/university/office/shop floor?

A web site that needs to do something really special?

If you want it more than you want to sell it, let me know your idea. I am willing to solve interesting problems free of charge so long as I keep full rights to resell them! FREE development. You/your company/your school/your university get full rights to keep it and if you so desire distribute a marked copy so long as you don't charge for it I'm open to other relationships too such as sponsored open source, and complete development under contract - ideal if you need something like a website that can answer industry specific questions from your users, or that needs to solve a problem that won't sell to others. Or if you just want to keep your hands on it!

What do I get out of this? There is a chance I could get to build the next winzip.

What do you get out of this? Your problem is solved.  Period.

What can you get out of a really good idea? A split of any profits!

Hopefully this business model will suit anyone, with any amount of money so long as there is a need or an idea, let me know your opinions.

I'm already working on one solution using this idea, and it seems to be working quite well for everyone involved.

Permalink 

Sometime in the next two days I will be turning on the new version of SiteBuilder - the software that runs this site (need to come up with a better name...).

The new version is written in C#, and although I've built it so the urls of everything are the same certain things have changed.

Therefore expect things to break a little... (RSS GUID's for one thing, the admin system, no more workdrive file storage for the moment, no comic management)

Workdrive will be reappearing completely rewritten in .NET in a short while, along with full PIM and Outlook integration.

Update: All done and live!
Another update: And the RSS feed now validates too... Permalink  4 Comments 

I unplugged my headphones, and my whole system crashed! Amazing how these things happen, but to be honest it's the first crash where it has't been directly related to hardware failure.

I got sent to https://oca.microsoft.com/EN/Response.asp?SID=77 ("Error Caused by a Device Driver") which is completely useless.

During seperate testing on another machine, I found that this can also result in an immediate crash on login as the system attempts to play a sound.

Lets see how many people get sent here from google...

To workaround for this problem to prevent the system crashing is you need to go into the Sounds and Audio Devices control panel, then change the default devices for playback and sound recording to a present soundcard either in safe mode if you don't have access to the USB audio device, or before removing the device.

Now to find out how to actually submit more details for a microsoft bug report... A simple "What were you doing when this happened?" text box would probably help a ton on the oca.microsoft.com site. Permalink 

I'm just starting looking into the possibility of rebuilding the software this site runs on in C#. It looks like it'll be fairly easy to make a seamless transition from a visitors perspective, but I'll probably need to completely rebuild the admin system. Which isn't a bad thing... Question is, how secure is code written in C#? Will I need to have extensive checks on user input like I do in PHP... Or will I need to have more checks? My guess is less as it's not a scripting language, but it'll be interesting to see how easy it is to break it. Permalink 

I'm sitting here, waiting, wondering about Visual Studio .NET. It works well for any one task, yet I have a fairly small project I'm building to solve a friends problem at their work and it seems too big for Visual Studio. Let me explain: The solution has five projects - the web client, a smart client for one type of user, a smart client for the admin user, an assembly with shared classes, an installer add-on to install the database - and a couple of installers. In total there are barely fifty forms/source files. That isn't too much stuff, I've seen projects with twenty assemblies, resulting in thousands of files. Visual Studio, on opening my small solution opens every file. Slowly. The end result is a single line of tabs for each file so you can't find anything in it and end up ignoring and instead use the solution explorer. You can compile everything in the solution quicker than you can open it initially on my machine. And I have no animations or anything on, it simply takes AGES to load and show everything. I can close it all before I save, but I shouldn't need to - and even then it still insists on doing SOMETHING with every file when you load it. I pity anyone that doesn't start to split their solution into multiple smaller solutions when they get to 100 files... Question is... Will Whidbey really speed things up a bit... Permalink 

It appears that the expensive car (Windows 2003) crashes more often. It looks like the last crash was to do with an ISAPI module and IIS. Windows itself remained up. It bought down the whole of IIS too, not just the web services, and not just the ability to run one type of dynamic page (I don't know which isapi module as of yet, but my guess is asp.net or the gzip compression module as they are the only ones loaded). On the other hand, the tiny debian server with jvds.com has only been down because of a reboot for a kernel vulnerability. The ability to auto-restart after a short delay is built into the OS, but what about IIS - why can't you set an IIS service to auto restart, then if it fails x times wait 20 secs and try again?? Permalink 

7 Days uptime and we're on a roll. The TCO for Windows may be higher, but it is for getting a more expensive car too. Now we get to see if the more expensive car is better than the economy model. Permalink  3 Comments 

Lets hope there's no more patches released. I've finished moving everything across, it's just a case of checking that nothing is using the other server for a few hours before I shut it down. Permalink 

I got my test web service to run on the new server! Since my network provider has blocked ports 135 etc. I have to use frontpage extensions if I wish to access it with visual studio - which was really slow as I only have cable. Would be nice if you could use the tried and trusted ftp to publish projects! (I know I can manually do this, it's just not the same building it locally then ftping it up every time I build something - I'm going to go try script it myself, should be fairly easy...) Permalink  1 Comments 

Firstly, now I'm into the swing of posting stuff, I appear to have become addicted... Someone tell me when it gets rediculous and I need to stop. Some background: Today till friday are days off from my day job as a network admin at a College in the UK. I intended to read up a bit more on my MCSD, relax, go shopping, do some coding, etc. I'm actually spending most of it still doing a migration from cobalt server appliances onto a Windows 2003 Standard box (the Linux VDS' are already up and running, and have been now for 11 days). This is for my hobbyish hosting business. Why I'm writing this however is that I'm actually seriously concerned that I have today off, as part of my responsibilities at work include ensuring everything is secure - and that includes running patches of which it appears the one that showed up for the Windows 2003 Server earlier (I didn't recognise what it was for) appears to actually be a very serious one indeed. I expect to see a vulnerability for this flying around the net within the next few days causing appropriate devastation, and all the other things that ensue. I just have to hope that the firewalls, antivirus, and 'overkill' filtering at work actually holds out against whatever nasty bug gets invented. *sigh* Permalink 

My first almost server wide crash. I opened IE (configuring frontpage extensions) on terminal services and somehow it crashed the whole GUI. The last thing I got to do was send an error report. Not a real crash, as the server was actually okay and still serving pages - but still, a real inconvenience and I couldn't reboot it through the admin interface (it said it was rebooting, then did nothing. Same with trying to use shutdown.exe in a telnet session - I intend to install pskill on it ASAP) so was a right annoyance as I had to ticket a hard reboot. There is no way a Windows server is even remotely close to as stable, or as reliable as a Linux server at the moment, the kernel might be - but the user interface and patching is letting the whole system down. UPDATE: I'm really glad I personally know the customers I've already moved onto this server, if I didn't I'd feel really bad about this - instead I know I can make it up elsewhere, but if I had just moved a business critical website over I would be fuming. Permalink 

I got the new server on the 1/2/2004. I applied security fixes and rebooted it. Today, I found another security update to apply. I apply it and it wants a reboot. With the cobalt box, it would run literally for 200+ days without needing a reboot for a patch. I know I moved away from it for security reasons as the patches were't coming anymore, but Microsoft really need to fix the rebooting of the machine. You don't need to restart ASP.net whenever you replace a web application, so why do you need to reboot the machine when it's a simple service or process that could be restarted on its own? The ability to replace a binary whilst running has been in Linux for a long time (no idea how long) - Microsoft recently added it to Windows in that it provides volume shadow copy services to permit the same kind of thing. So why does it still need a reboot?????? Anyway, enough of my frustrations. At least Microsoft are releasing patches unlike Sun do for Cobalt raq's. Advantage: It reboots fast. Permalink 

My customers like Windows 2003, well so far every one who's tested their site on it. Everyone (so far) who's tested the ftp thinks it's much faster. The ftp speed difference may be related to the hardware difference and current lack of users, 2ghz is considerable. On to a breakdown with more detail, please feel free to ignore this if you're stopping by for progress updates on the migration - it's more just for those who are interested.
  • The DNS server... Well, works. The configuration is again GUI based, which places restrictions on the speed of doing it, where I'd paste another four lines (or use a for loop!) and change the domain I now have to go through a wizard each and every time. Then go back in to turn on notify!
  • I like the look of the ATRN option on the smtp server. It makes what would have been a very painful thing to set up on Linux fairly easy. I dislike the lack of a basic IMAP4 server to go with the POP3 server though.
  • Permissions are massively better on Windows than on Linux, although the defaults always seem a little lax. The ability to fine grain restrictions can only be considered a benefit. cacls (command line tool) is a nice touch too. I miss the tickbox that Windows 2000 had where you could stop the rights being inherited. I know it's one click deeper, but that's annoying when you have to use it fifty times.
  • I want to script changes to the DNS Server, anyone have any ideas? Preferrably without stopping it, editing the registry, then starting the service again.
  • Why do I have to go through the process of manually doing a million things for each user I create. I want to be able to trigger a batch file to run every user that's created, and to create users based on a template!
Well, that's enough stressed babble from me for the moment, I'm off to try to find an alternative to .htaccess files that works on Windows so my users can configure their own restrictions and settings. Permalink 

To those experiencing strange problems with their hosting, this is as per the e-mail. All databases are now coming off xerxes.nullify.net, mysql.nullify.net redirects to it to continue to provide service without interruption if configured correctly in the first place. The databases on shodan are now in read-only mode, and all users are denied access. You MUST e-mail me with details of what accounts you need created on the new server setup. Your sites are already moved onto the new server unless you are paying, if you're paying they're going to be updated on the new server when I have confirmation of the final DNS change that will be coming sometime soon. Several people I own the domains for and host because they're friends have already been moved over, if they are experiencing problems then they need to contact me for their username and password - I'd mail it but without it you can't download your mail! (I'm trying to set them the same as initially - but if you changed your password I won't know.) Permalink 

I've started the test migration of data to the new windows 2003 server, this could be interesting. First points of note:
  • I prefer editing a config file to wiggling the mouse and using a gui.
  • Terminal services is laggy compared to SSH.
  • Microsoft's telnet server is very laggy compared to SSH, easily worse than a full graphics session over terminal services. Not sure how they managed that.
  • IIS 6 is almost the exact same speed on a 2.4Ghz machine as Apache on a 400Mhz machine.
  • PHP doesn't work so well under Windows, but fastcgi almost fixes this. Might just be the way Windows deals with starting new processes.
All in all, I am not impressed. But there is still time for things to change before I change my mind and get a debian server. Permalink 

Okay, I'm looking for comments primarily from users of the hosting regarding a hosting network rework. At the moment the setup is both overkill, and soon to be underpowered. I'm also concerned about the supportability of Cobalt units. I'm proposing to change the setup to one of the following options: Option 1, most outlay, best performance:
  • One UK Server, from dedipower with copious bandwidth and Windows 2003 Standard (expensive licensing is the biggest outlay) - acting as the main web server, main database server, backup mail relay and primary DNS
  • One US Virtual Dedicated Server, with very little disk space and memory but a decent chunk of bandwidth, running Linux - acting as secondary DNS and the primary mail server, but backed up onto the UK server.
Option 2, low(er) outlay, US only and less reliable:
  • One US Server, with Windows 2003 Web Edition - acting as the primary web server and DB server
  • Two US Virtual Dedicated Servers, running Linux - DNS, MAIL, etc.
There are other options, but those are the main two. Any suggestions, comments, ideas? I'll be getting the VDS as soon as possible as it's a part in every single setup and I wanted a backup mail server in a different datacentre anyway. Update: Just bought the VDS Update: Just bought the Win2k3 server, I'll see how it is for a few days before moving anything. Permalink  2 Comments 

The spammers are at it again, please do not mail me complaining about stuff with stupid addresses @nullify.net. The addresses do not exist, and were sent from the spammers directly, I had no involvement. Less than 25 addresses exist at nullify.net itself, of which only three send mail. Please check the message headers and report the issue to the appropriate abuse@ISP address. Permalink 

For 2004! And it appears that the big spam problem I've been having has been resolved, I do hope permanently. I think Microsoft are likely on the right track with 'charging' people cpu cycles to send spam, but fear that it's not going to affect spammers who use distributed trojans to send it. At least until that's not a possibility. Permalink 

This domain does not send spam. Infact, I go out of my way to prevent spam from entering it, and there are preventative measures should anyone attempt to send it. Recently a spammer sent a batch of messages with a return address at nullify.net that didn't exist, and have never existed. Please understand that a from address is easily faked to look like it came from anywhere, and that you should check the message headers for the true origin. If you have more details to enable me to trace this please IM me over ICQ or MSN. Permalink 

So, I think I've stopped updating subconsciously. I do still exist, I'm just thoroughly learning c# and the .net framework and being impressed that I can run stuff anywhere from linux to windows to my pocket pc without recompiling... Very handy. Permalink 

How do you notify a computer user, in a unobtrusive way that they'll still notice and have the opportunity to look at what you want to tell them? It's easy when it's important, you just show a dialog. But what about when it's not important? A system tray icon is sometimes missed, even flashing. The best I've seen so far are those little transparent popups in the bottom right. Any other ideas? Permalink 

I just rolled up a little application called [winunrar] that allows for extracting rar archives. Rar archives have better compression than zip, and this is a free app. Hopefully it'll be of use to someone, and it should mean that those without winrar, who don't like shareware, or generally want something small should still be able to benefit from rar compression! Permalink  2 Comments 

Looks like Microsoft are listening... Voice Command basically fullfills a half of what I was talking about a little while ago. Permalink 

I think I'm going to give C# a try after seeing Don Box and Chris Anderson do a MSDN TV program on Longhorn, programming in C# as easily as I program a page in PHP, yet writing a tile for the sidebar, and doing tcp/ip comms over http in just a couple of simple lines to make a Windows App post to Do's blog. Impressively simple. It might also be a solution to my long standing problem of decent RAD tools that develop for Pocket PC... .Net framework for Pocket PC should be usable from it. Combined with Mono on Linux, C# may well be the future of software development. I'm annoyed I discarded it as another Visual Basic when I heard about it initially... Permalink 

[Sitebuilder] now supports XML and particularly RSS formatting of pages. By including support in the site creation engine I've inherantly got syndication support for any page I feel like, including the main page. Check out the archive and the headlines in RSS - you can now blogroll my musings and silly observations! I've also started removing posts that when converted to XML don't conform to the standard or do but are unusable. It's easier than editing them and I think I want to start afresh. They'll always be in the iarchive if needed. If you're interested in using [sitebuilder] I can probably wrap you up a version under the GPL, so just [contact] me. Permalink 

Dylan Greene has found some pics of vs.net (and aero). Urls are at his site. Interesting... It looks like phpedit but with bits of dreamweaver. Permalink 

You could probably use a bayesian scheme to categorise music by mood based on the similarities of the compressability over time. It'd take training the system in the first place, but then it would probably be fairly accurate as the compressability is directly related to the music content. Then you could always listen to the right music for the moment... Permalink 

Tablet PC's are impractical. Looking at my PDA I find that hard enough to use with a pen - something bigger must be worse. We need a more natural means of control, the keyboard certainly cuts it for speed so maybe separate the tablet pc's screen into a keyboard (not like normal, but more like a pda's onscreen keyboard where applications don't hide behind it.). Voice recognition would be the most natural, but then you might as well scrap the screen and just have a bluetooth headset with a small flip out screen. Then you could see stuff, and hear stuff - whilst being able to dictate things to it too. Clearly we're not there yet... Permalink  1 Comments 

It's possibly the most twisted and inefficient language in existance, taking up an inordinate amount of storage space. It's not even easy to programmatically work with. Then again it's also almost human readable and you can fix almost all problems using notepad/vi. Grrr. Why can't there be a better portable storage medium... Permalink 

Bluetooth should auto-connect to a particular service when it was within range... So a pocket pc will just connect/sync as you walk in the house... Permalink 

There's loads of adverts on the net, but never for what you actually want... That and it's usually intrusive. I mean, I wouldn't mind being able to pull up on demand (a non-intrusive system, not something that comes up constantly) a selection of adverts for a particular thing, in a particular area, possibly with the ability to search by if they accept mastercard/switch/cheque/cash if they can fix your boiler on a sunday, if they have someone you can talk to about a product available at the moment, etc. A single like ebay but for adverts for anything would be handy. Permalink 

Why do people rely on the clock of the computer that the document is being accessed on? Why not rely on the senders clock... To enforce this it'd need for a small part of the encrypted document to exist only on the senders/intermediaries computer. When the document was requested this part could be requested, and sent without fear since the rest of the document is also required. After the time the part can be destroyed on the senders/intermediaries machine. This leaves a giant loophole - once you open the message, you can always read it, it relies on the software to destroy the part it has recieved after using it to successfully show the document. But I fear THAT loophole is unavoidable if the document is ever to be readable. (The document sent is encrypted so that only the correct reader can open it, and only when it's in its entirety.) Permalink  2 Comments 

I want a copy of a couple of days TV schedule on my PDA, preferrably in a searchable format as a simple listbox. That would be fairly useful... How on earth do you write a today screen plugin? Permalink 

My PDA isn't useful enough sitting on the desk whilst I'm at my machine. It should interact with the computer when I dock it and automagically: - Log into my chat mediums - Notify me of new e-mail rather than my computer, keeping the computer for work - not as a place to press F5 lots on a mail window - Notify me of new events, happenings and other things that would normally have me visiting sites - Be an information source that's not on screen, and therefore not a distraction Perhaps I can virtualise this by loading a page in IE that pulls data off my servers and shows the info? I don't have the first clue about programming on a pocket pc device... Shame you can't compile things in Delphi for it. Permalink 

Folders that show the contents of the inbox filtered would be handy. Permalink 

http://www.theregister.co.uk/content/31/30699.html Join The Registers cancer busters team, download a bit of software, and your computer will be scanning molecules for cancer fighting abilities while your computer is idling. Permalink 

I'm at work at the moment, but I just this morning tried Trillian 2 beta and have to share the good news that it has [jabber] support! I mean, yes - you have to pay for it, but it's well worth it and at only £15 approx it's not that expensive. Check out their website at www.trillian.cc and see if you like the free version. If you do you'll love the pay for version. (Hey, at least they're not paying me for the ad) Permalink 

I'm now the highest possible battle rank in Planetside (A MMOFPS - or massively multiplayer online first person shooter. Bet you didn't know that eh? Game with lots of people is more descriptive...). I still have another three command ranks to go, but what happens when you complete a MMOFPS? *breathes* Do you stop paying the monthly fee and never return, or do you continue paying, but not play except occasionally? A question for the ages... Permalink  2 Comments 

I've built an installer to download and install PuTTY - a free SSH client. It's available from the [putty] page. Permalink 

A CNN article has pictures (which were already in the wild) and some good commentary about half-life 2. It looks like the nda gloves are off. Permalink