20091115

Progress report

Things aren’t quite as bad as I thought last night.  I have, for instance, got Agent working, by the simple brute force expedient of running it in Win XP compatibility mode.  Sometimes the old ways are the best – literally, in this case.

However, I also ran off a list of all the installed software under the Vista regime.  This is going to take weeks to get everything back up and running.  Having made myself despondent I thought a bit of hardware hacking might help.  It’s always therapeutic to pull the insides out of a PC and put them back together again – as long as it works afterwards.

Needless to say, in this case it didn’t.  I’d found an extra SATA power adaptor and data cable, so went for the three drive setup.  This involved moving the current system drive to another SATA port – when the right-angle cable necessary to fit under the extended graphics card broke, leaving part embedded in the motherboard connector.  One fine pair of pliers later, the offending plastic was removed, and I was able to get all three SATA connections up and running.

Reboot – and only two drives showing.  The original data drive was AWOL: this was not what I expected, since it was the one cable I hadn’t touched, so it’s back inside the case again and check all the connections.  Turns out that the power lead to the drive had become adrift, so everything gets hammered back in as usual (which is possibly why the SATA connector above broke in the first place…), switch things back on and hey presto, three drives. 

Next question – which Samsung is the data drive and which is the old system drive in the BIOS?  Trial and error (emphasis on the latter) eventually got the drives in the right order, and I now have a Windows 7 workstation which boots up, complete with operational software.  Well, some of it’s operational, which is where we started.

20091114

Wish I hadn’t started

After all the hype, it seemed reasonable to try an update to Windows 7 on my main workstation.

I think my first mistake was to try to to this as a new install, rather than an update.  On second thoughts, perhaps the mistake was in the decision to upgrade in the first place.

We have any number of  PCs at work with complex configurations and obscure software, half of which is either totally obsolete or tied to hardware that probably belongs in a museum.  Frankly, they’re easy compared to this home monstrosity.  Servers running tightly optimised programs?  No problem.  This box?  Well, it has so many old and undocumented applications that I can’t track down sources for that there’s no way I can realistically hope to reproduce it in a new build.

So I took a decision to drop all the old stuff, and just concentrate on a core group of applications – the usual things, browsers, mail, usenet.

Problem number 1 – all my passwords and install keys are on the system drive that I’m replacing, and so far I haven’t been able to get three SATA drives running on the PC.  It will come with time, but to start with I need the new Win7 drive, plus my main data drive.  Why I didn’t store the passwords on the data drive is a mystery that will probably never be solved.

OK, several drive swaps later we have most of the info.  On to loading the applications, starting with Firefox: do you think I can find half the add-ons that I’m used to?  No, and to get details I have to re-attach the old system drive – again.

Even the Outlook install was difficult, mainly because of the number of external email accounts that I like to monitor directly.  I’ve forgotten most of the server names needed for IMAP and SMTP connections.  Thankfully, IE does work out of the box and I was able to research the necessary information.  Where would we be without the internet?  Oh, we wouldn’t have email…

Forte Agent – OK, it installs, and I even got the server account sorted (eventually); but on restarting the app it just hangs.   I don’t have the strength to fix this.

On reflection, the easiest components are still the Microsoft ones.  The company may come in for a lot of stick, but when things work, they work well: witness this, Windows Live Writer set up and blogging in no time at all.   Now if only Steve Ballmer would invest in buying a few more companies – like Forte.

20090502

Tied down again

This wireless stuff is all well and good, but it’s not something that I would necessarily want to rely on in a case of life-or-death.  All too often, the links from more than one of the PCs at home break for no apparent reason.  There’s no pattern in it, just one machine or another stops responding.

So it’s back to the wired network, and the subsequent upheavals in the office as I try to find out exactly which of the cables I left from last time connect to what.  OK, it might have been sensible to leave them plugged into the client systems, but I genuinely thought I’d be removing them for good – only to find out that I’ve somehow managed to thread them through locations where they simply cannot be removed without ripping all the furniture out, so there are a lot of loose RJ45 connectors lying around.

What will be interesting will be the potential effect moving the router of the main BT socket to an extension cable running off a spur socket.  I can expect around 5 Mbit/second at the moment – anything more than a 20% reduction in that will not be acceptable.  However, the only way to tell will be to try it, so I suppose it’s time to dig underneath the desks – and hope I have left a power socket free.  The good thing is that the wireless link will still work (as well as it ever has) after I move the router, so some testing before final installation should be possible.

Oh, the life-and-death bit?  Ever tried battling your way through a Guild Wars instance when the connection drops?  I lost a Survivor title when that happened once, and that’s not something I’m inclined to allow again.

20090323

How not to do it – the Microsoft way

Does Microsoft (or any technology company for that matter) really understand the concept of being business user-friendly?  Leaving aside the abomination otherwise known as Office 2007, which replaced a perfectly workable toolbar with a ribbon interface that seems to actively hide the most useful components, there’s a lot of stuff going on under the hood of any self-respecting PC and/or network that requires fixing in the default setup of Windows.

The latest example of the annoyances in this regard comes in the form of the default behaviour of Server 2008 with regard to remote sessions.  Who on earth thought it was a good idea to restrict user logins to a single session?  It’s become a joke now when I or my fellow conspirators throw one another off the administrative sessions we have so lovingly crafted just because the system thinks ‘one user, one login’.  Actually, what’s really annoying is that this is controlled by a group policy setting that I can never recall – it’s now firmly entrenched in the ‘IT problems and gotchas’ of our company SharePoint site, and needs to go into a build document.  But I still wonder why we should have to do this, when the old Server 2003 way worked perfectly well out of the box.

Another  default setting that annoys is the prejudice against NAT.  I’m tired of going through the registry edit and reboot required to get PPTP or l2TP working via a standard router to the Internet.  For bonus annoyance points, MS decided to change the required registry values between XP/2003 and Vista/2008.

The final target of ire this evening is the Windows Firewall.  All very nice in theory, but deplorable in practice.  We set up all these nice client PCs, get back to base – and find we can’t access them remotely.  Group policy to the rescue again, and disable that service.

I seem to spend half my time switching off, cancelling or simply bypassing roadblocks put in the way of simple, successful system management.  By all means create a ‘home user’ build for Windows, but please can we have a ‘business edition’ without all the unnecessary hindrances?

20090315

Atom’s back

Someone was working over the weekend – RSS functionality has returned to Blogger, and the feed definitions are being updated correctly.  Or at least as correctly as the Blogger style sheet will allow.  One monolithic line of code makes it difficult to be absolute about things like this.

I may be old-fashioned (OK, there’s no doubt – I am old-fashioned) and I certainly prefer human-readable text.  What does it cost to put a few line breaks and tab characters into a text file?  In this particular case, about a 2% increase in file size, which should not be a deal breaker.  For that, you get a text file that can be understood, and even parsed by the human eye

Perhaps you might argue that these things are not intended to be read by humans: their function is simply to define a set of data for a computer to work with.  But I would respond that we should not lose sight of the need for people to understand what computers are doing.  OK, there are some time and space-constrained operations where maximum efficiency is needed, but XML code is not amongst these: by its very nature, it’s a form of text, and doesn’t aspire to terribly efficient operation.  There’s a tremendous amount of repetition, unnecessary descriptive strings, and sheer bloat in even the most tightly structured XML file.  So why not add that extra 2% and make it readable?

If you want that space back, do something like parameterise the contents.  For instance, my atom.xml file contains my name repeated many times over – why not reduce it to a simple variable defined at the start of the list? 

If the standard insists on fully expanded strings, then go all the way and just add those two or three extra characters per line and make them proper lines.  Apart from anything else, this ensures that mistakes can be picked up more easily – but I must admit, the original mistake with the generating code that caused empty XML files to be created wasn’t going to be found very quickly from a blank output file.

20090314

Don’t update software on a Saturday

What’s today’s problem?

Well, bear with me, there’s a list:

Blogger has lost my RSS feed – and that of a lot of other people as well, apparently.  The automatically generated atom.xml is being created as a zero byte file.  So there’s a better than even chance that you won’t even see this post, at least while it’s meaningful.  There is a workaround, for anyone who needs it: use the feed identifier in the form of http://www.blogger.com/feeds/7959034/posts/default, where the number needs to be updated to your own account value.  Drop that intot he template, republish, and it’s working at least as far as anyone picking up the RSS feed this time around.  Apparently, it’s also possible to copy the actual file to your own atom.xml, but this needs to be done each and every time the blog gets updated, so to date I simply haven’t mustered up the energy.  Blogger already know about the problem, but it’s the weekend now and I suppose they’ve taken the time off.

Twitter – someone went and changed the API or something, and my old ceTwit application on the phone gave up reading posts.  I did manage to download an update, but this doesn’t seem to show a public timeline, and is consistently reporting a possible broken API and I’m left wondering if this is actually working at all.  However, I did manage to locate, download, configure and use a different product Twobile, which is working OK.  Since I seem to post Twitter updates even less frequently than I update this blog, however, it probably won’t break their service too soon.

For my final act of IT vandalism today, I thought I’d update the nVidia drivers for the graphics card in the workstation, a mere 8800 GT card.  Wonders will never cease – this actually worked.  Being flushed with success I also thought I’d go for the Windows Live tools (including Live Writer), and this is where it seems to have gone a little bit wrong – various components seem to be having issues with the firewall, and I no longer know if it will work.

Still, look on the bright side: even if it does work and this post gets published, no-one will ever see it as long as RSS is broken.

Caution - low flying laptop

The driver update didn't have the desired effect.  Still no profile updates, unless I manually change the registry entry.  One possible bright spot was the discovery of a script to do that job semi-automatically, but... it's in German and designed for Windows XP, not Vista.  My translation skills weren't good enough to get it working in the fifteen minutes or so before my attention was diverted elsewhere.

There's considerable discussion about how the video drivers achieved WHQL certification with such an evident bug - and why they haven't been fixed in over a year.  I see a lot of trumpeting success in getting the certification - but not an ounce of responsibility for errors like this.  Who is really at fault here - nVidia, Microsoft or Dell?

On the other hand, one beneficial effect of the new video drivers has been to prevent the irritating loss of dual screen functionality that occurred when the PC was locked: on return to activity, I'd see the second screen active for about five seconds, then it would switch off and push all active windows back to the primary screen, necessitating a trip to the keyboard to reactivate the monitor and then drag everything back over.  As the system still knew the second screen was there for those few moments, why did it then disable it?  Anyway, this bug at least is now fixed.  What's interesting is that it took me most of the day before I noticed the change in behaviour, which only goes to show how it should have been right in the first place.

20090312

Driven to distraction

I use a Dell Precision M4300 laptop for work - whilst not the lightest device around, it has sufficient horsepower and storage, and offers enough interfaces and screen real estate to cope with my various demands.

But since purchase it's been running slowly - Task Manager showed around 20-40% CPU utilization, all down to the System process.  Now this is a real can of worms, nearly everything that keeps the PC running is handled by this.  So I lost patience today and started to research the problem.

Turns out it's a fairly well known issue - Mark Russinovitch (he of Sysinternals fame) had already seen the same issue, and (being who he is) had figured out the cause.   Wonders will never cease - it turned out that it was the same driver, same symptoms and same cure that was effective for me.

This begs the question of why an issue that was known about a year ago (April 2008) has still not been addressed by Dell.  I was able to follow the Broadcomm links from Mark's blog entry to an updated driver for the NIC, but Dell's support site was less than helpful.  Once the new driver was installed, it was like working on a new PC - so much faster, better response to keyboard inputs, sheer luxury.  Imagine how much I would have appreciated it if Dell had taken the opportunity to  update their support site drivers to match.

Another issue on the same lines is the odd behaviour of the domain profile I use: apparently, this hasn't been updated on the server since around November of last year.  This means that changes I make on my desktop, for instance, are not reflected in the server copy, but files I thought I had deleted keep coming back: I have to log on to the server and delete the files from the copy there.  This one is weird: turns out it is a problem with the Nvidia display driver (for the FX 360M, a device that seems to be supported only by Dell, not Nvidia themselves) that screws up a couple of entries in the registry, a problem that only becomes apparent when you use Windows Server 2008 as a domain controller.  It just so happens that we switched to Server 2008 last November... Not sure if this latter problem is resolved yet, having already rebooted the PC several times to try and fix the NIC driver earlier in the day, I didn't get around to doing it again, so we'll see if the desktop reverts again tomorrow.  If so, I suspect the next step is to see if a laptop PC can develop wings in the short time it will take to fly across the office.

20090307

A site for sore eyes

I wonder if there's a degree course somewhere in website optimisation?  Even leaving aside the search engines completely, actually managing a site isn't a one-click operation.  Over time, the contents get more complex: this is true even (especially?) of a site like mine, which has been in existence for at least five years, albeit woefully lacking attention.  During this time, I occasionally discover new tools and new systems that get tried out, leaving remnants of pages and folders containing code that I have no way of identifying or managing properly.

It must take a very organised and disciplined approach to keep a site clean over time: even something as simple as multiple copies are likely to proliferate as local machines are replaced or new server installations come into play.  For instance, I have at least two copies of my own site on my home machine, and no real way of keeping them synchronised: Filezilla gives some help in this regard, but it's not really able to deal with things in the same way as, for instance, SyncToy or Microsoft Live Sync.  These latter two are very nice, but I haven't managed to get hem to support an FTP folder yet, so they don't quite fit the bill.

Once I have a local copy that I can depend upon, usually achieved by creating a new folder (don't want to risk losing old data.  Oops, there's another copy now!), I can check the contents out, and this is where I get really confused.  Some of the pages were created in MS Word (I know, I should have used Notepad, but I was feeling lazy); some were creating using whatever the tool of the moment was on the hosting company's site; some are straight from Photoshop or Lightroom; some are out of Blogger.  So far, I haven't gone as far as using Expression or anything like that, but I am seriously considering junking nearly everything (bar the contents of the blog) and starting again, with a properly designed site and a tool that I can stick to.

Whatever I select will need to have certain features:

  • Photo management.  Part of my lazy approach is that I don't like emailing pictures to all and sundry.  However, neither do I trust Flickr or the like to hold my photos.  (The truth is probably that I don't reckon they'd stand up to the public scrutiny there.)  So I like to just upload batches of pictures, mail interested parties and leave it up to them.
  • Blog integration.  I like Blogger, and also Live Writer's integration.  It may not be professional, but it sure is easy.
  • Ease of experimentation.  There's no way I'll be able to resist trying something new.  Pages will find their way in which aren't published via the approved route.  A site management tool must be able to integrate these back from the web into local storage.

I think the search is on.

20090226

Two steps forward, one step back

I’m seriously considering reverting to a wired network.  Not intending to drop the wifi entirely, but it seems that it doesn’t present the stability and reliability that I’ve come to expect.

A large part of this is down to the adaptors and aerials used by the system.  Of course, no two devices are from the same manufacturer, so I can’t really expect complete integration without problems.  Come to think of it, no two devices are actually running on the same platform (Win XP, Vista, 7, Mobile 6, and whatever variant of Linux is running on the actual router).  I suppose it’s a miracle that they manage to talk at all.

It’s not that connections to the router show any difficulties (apart from the USB stick wifi adaptor on the Win XP box – but that seems to fall out of the USB port if you even glance at it – this takes the concept of quick release to new heights).  But I also need to copy data between devices, and this is where it falls down.  Speeds are nothing short of appalling, less than the broadband link  would be expected to support, and without a properly managed DHCP/DNS on a server, even finding the other boxes can be tricky.

So do I really want to return to the rat’s nest of cables stuffed behind desks and book cases?  No, but I may not have the choice.  Unless I can sort out a no-cost (and most especially no-extra-box) solution, it will have to be back to wires everywhere.

The real negative, though, is going to be that the router will have to move.  It’s currently connected directly into the BT master socket, for best broadband performance.  But the no-extra-box constraint means that I can’t use a switch in the study, so the router will have to move up there and serve, with a likely drop in WAN access speeds.  And that’s not something that I really want to see happening.

20090214

Feature bloat

You know what it’s like – a nice new PC, all shiny, loads of disk space.  Then three days later it’s all slow, fragmented, and you start to think that maybe the old system wasn’t that bad after all.

Well, that’s the situation here.  The brand new 120 GB disk in my new netbook (has that term been trademarked?  If so, I’m in trouble – along with maybe nearly everyone else who has written anything on the web in the last six months) is now no longer showing 120 GB of free space.

OK, I put the Technet Windows 7 beta on it – whoops, there goes well over 7 GB free space in the OS folder alone.  Then there’s everything MS loads by default into Program Files.  Plus 4.5 GB of pagefile and hiberfil.sys.

Then I started. There are all the default things, like Acrobat Reader, Irfanview, Java etc.  The whole of the Windows Live suite – or at least, all the useful bits – like Live Writer!  Now it started getting out of hand: Silverlight, Digiguide, Filezilla, KeePass, Notepad++.  Anything else?  Yes, Live Sync!  After all, why waste disk space on one PC when you can waste it on two or more?  What was surprising was that so far, the Program Files folder was still only around 1 GB in size

The final straw was Guild Wars – on its own, this doubled the Program Files folder.  However, this isn’t the worst of it: I can afford the disk space, it’s the fact that GW will probably take up all the time I’m likely to save with the new system.  Ah, the perils of new technology.

20090206

PANs and POTS

Bluetooth on a mobile phone is an amazing invention - wireless headsets and hands-free calling alone would make it worthwhile.  However, for over a year I've had no luck at getting it to work as a modem for my various laptops.

Until today.  The new netbook, with a bit of tweaking and twisting, is now making L2TP connections via bluetooth and the ORBIT2, and thence via O2's network, all the way to the company network.  This has bugged me for so long, and now it's working!

The real answer lay in using Internet Connection Sharing on the phone - I could easily get the PC to see the phone, but never had any way of getting info in and out.  This last step fixed that.  Naturally, it isn't necessarily that easy - the bluetooth settings on the laptop take a bit of getting the head around, but I have satisfied myself that the functionality is reproducible.

The worst bit, so far, is the absolutely appalling lag - ping times in the 400-600 ms range mean that anything like a complex web page is going to load very slowly.  At that sort of rate, I'd almost be better with an old 300 baud modem on a POTS line.