Writing ... or Just Practicing?

Random Disconnected Diatribes of a p&p Documentation Engineer

  • Writing ... or Just Practicing?

    A Picture's Worth a Thousand Wg8nX


    As a full-time 'Softie, I am - of course - a fully converted Binger. However, I occasionally pop across to the competition just to see what graphic they've used for the search engine name, designed to illustrate the particular day of the year. It's an interesting way to keep up with other cultures and see how clever the artists are that create meaningful designs using images that look like letters.

    This is, of course, a common way to produce an attractive logo whilst adding a bit of fun to it. But you do need to make sure that you maintain readability. For example, we use this logo for a local site related to feline identification and assistance in locating lost ones. Hopefully, the actual text that is the name of the site is obvious to all.

    So, on Christmas day, I popped across to Google to see what they'd done to celebrate the non-denominational gift-giving holiday period (as one of my very pc colleagues described it), and discovered that it said "Grmoi8". Or perhaps it was "GrhelB". Hard to be more precise because - other than the usual letter "G" - the remaining images bore almost no relationship to alphabetic characters.

    OK, so I know it's pretty easy to figure what the name of the site is when you get there. Even if you're struggling to decipher the URL in the address box, the fact that it says "Google Search" in big letters on one of the buttons tends to give the game away. Is it that "Google" has become such a well-known household expression (and verb) that they now only need to use the letter "G" to identify themselves?

    I tried navigating to http://www.g.com to see if they've decided to abandon the newly non-required letters altogether, but there's no sign of a search engine there. Probably because it resolves to the IP address - an Assigned Numbers Authority reserved address. So I guess there's no point in Microsoft trying to register b.com either.

    Of course, one of the annoying things about HTML is that you can't easily tell what fonts the user has installed - which is why CSS accepts standard font identifiers such as "serif" and "monospace" that the browser translates into the appropriate locally-installed font. It would be much easier if you could just specify a font such as those letters that look like cutouts from newspapers, or that have curly bits resembling some Olde English typeface that went wrong in the translation to digital form, and automatically send them down the pipe as GIFs if user didn't already have them. Without needing to install stuff or run some hosted process just to display them.

    What's more worrying, though, is that an increasing number of sites seem to use animations as the site name. I run IE8 in a quite viciously locked down mode for general browsing, and find that I now have to add lots of sites to the Trusted Sites Zone that I've never needed to before. Live Mail only works in that mode, never mind many other commercial shopping sites. And it's often impossible to read the pages and navigate many sites with scripting disabled because they rely on animations for content, and ASP.NET and JavaScript-powered postbacks for every link.

    In my days on the conference circuit I preached the accessibility recommendations (and legal requirements) on many occasions, but I rarely see any support for the more specialist user agents in these kinds of sites. Yet sites such as Amazon, MSDN, and many others seem to have figured how to do it in even the most locked down or non-standard browsers and user agents. I imagined some years ago that we'd nail the "only works with browser X" thing, but it seems even less the case as the years go by.

    For example, what's really annoying is that Visa Verify thing that pops up (or often doesn't in IE) just as you get to the end of a Web-based purchase. I've lost track of the number of times I've had to switch to Firefox and go through the whole shopping and checkout process again because the Visa site can't send me a working page. I guess that if our most trusted and respected institutions (?) can't make it work, what chance do the rest of us have?

  • Writing ... or Just Practicing?

    Derbyshire Does Global Warming



  • Writing ... or Just Practicing?

    Being Resolute...


    So we're out of the noughties and into the tens, and I suppose I should decide on some New Year (or, more likely, recycled from the last several years) resolutions. Of course, one of the nice things about being a married man is that you generally don't have to spend a lot of time trying to think of suitable topics to be resolute about. You can usually rely on "the better half" to provide some useful direction in these matters. Suggestions such as losing weight, getting more exercise, giving up smoking, going to bed earlier, and generally increasing the possibility I might live to see old age.

    But surely there are some more useful (and easier to keep) resolutions that I can come up with as we traverse into a new decade? Ones that there's at least a sporting chance I can keep until the middle of January? Having spent some inordinate amount of time pondering, I've come up with my own personal list. Feel free to borrow any that fit your lifestyle and situation.

    1. Accept that I'll never be able to look at a lambda expression and have even the broadest inkling of what it does without spending several hours taking it to pieces and reassembling it in a different order, often in a different language.
    2. Be nicer to the cats when they decide to sit right in the middle of my desk and pretend they are about to collapse from hunger just when - after several hours grappling with some complicated code - I'm about to figure out why it doesn't work.
    3. Learn the shortcut key sequences for Word 2007 so that it doesn't feel it has to continually remind me that I can "Keep typing the Office 2003 key sequence, or press ESCAPE to cancel".
    4. Upgrade my Windows 2008 servers to R2. Preferably without destroying my domain, or just giving up and buying new servers with it preinstalled.
    5. Accept that 86% is about as good as I'm ever going to get in FreeCell, and use the time I spend playing it to do something more useful. Such as getting better at Mahjong.
    6. Figure out how to switch PowerPoint templates in a way that means I don't have to go through all the slides individually reformatting them every time I change to a new template.
    7. Buy a replacement for the second monitor that displays everything in the top left corner of the screen in a bright yellow color.
    8. Understand Domain Driven Design without being hampered by the multitude of conflicting views and explanations.
    9. Discover some new words I can use in documentation to replace "leverage", "impact", and "functionality".
    10. Stop wasting inordinate amounts of time every year trying to think of New Year's Resolutions.


  • Writing ... or Just Practicing?

    Elf and Safety...


    One of the joys of living in England is the plentiful opportunities for amusement (and sometimes even amazement) due to the proliferation of daft laws and rules emanating from our near-expired Government. According to an article in last week's newspaper, it's now illegal to sell a grey squirrel. It's nice to know that the appropriate level of law and order is being enforced in these troubled times. But best of all are the ramifications of the "Elf and Safety" laws (as they are affectionally known) that now blight almost every aspect of our lives.

    I suppose it's kind of related to the area of computing I moan so vociferously about on regular occasions - protecting people from doing stupid things. I can understand that when I buy a potted plant at a garden centre, the stick that holds it upright has to have a big flat plastic cap on the top so I don't accidently poke my eye out, and I suppose it's logical that a packet of peanuts needs to carry a "May contain nuts" warning.

    So it follows that the computer software I use should also protect me from doing stupid things such as forgetting to save the document before closing Microsoft Word, or accidently formatting my system drive. Thankfully, with some very minor exceptions, we don't yet have multiple "Are you really, really sure you want to do this" dialogs. Though I wonder how long it will be before you need to tick a checkbox to agree to some legal contract each time you delete a file, in order to protect the software publisher from being sued for loss of data.

    And I see that MSDN is doing their bit to help me avoid installing the wrong version of software, or even following inappropriate advice in TechNet that might not be compatible with my O/S version. Whilst browsing for a fix for a problem on my Windows Server 2008 boxes the other day, I was presented with a big warning sign saying "This article applies to a different version of Windows than the one you are using. Content in this article may not be relevant to you. Please visit the Windows Vista Solution Center".

    Err... thanks. Yes, I do tend to avoid browsing any Web sites from the browser on the server. Especially as I'm usually logged on as an administrator (so I can actually do stuff), and the browser on the server has the Enhanced Security Configuration enabled so almost no Web site actually works anyway. Instead, I use my old non-domain desktop machine (which, perhaps surprisingly, is not running Windows Server 2008?) for general browsing. But I suppose you have to admit that maybe it does prevent some incorrect updates being applied.

    I guess the question is: how far should a company or organization have to go to protect people from themselves? Should it be illegal to sell scissors to anyone who doesn't have suitable training in their use and a certificate of proficiency (issued, no doubt, by the Department for Protection from Sharp Kitchen Implements)? Likewise, should computer users be forced to sign a statement absolving the manufacturer of liability before they can edit the Registry. Should there be a law against fiddling with virtual memory settings unless you are a certified engineer (suitably registered on some national database)? Anybody want to take a bet on how long it will be before these actually come to pass?

    If you think these are daft rules, how about the one that comes into force next year with regard to tobacco advertising. It will be illegal for cigarette packets and the associated display paraphernalia to carry any advertising at all. Somebody pointed out that the name of the brand is "advertising". I guess it will save the manufacturers money as all brands will be sold in plain white boxes. And, according to the new law, from under the counter. I'll probably have to sneak in to the shop in a large overcoat and dark glasses, and whisper conspiratorially to the shopkeeper. "Pssst... John... quick, gizza packet of the white things... here's a fiver... no questions asked...".

    But I suppose what kicked off all of this wild holiday rambling was the following picture I recently came across in the newspaper. Tragically, quite a few passengers were hurt in the accident.

    However, what caught my eye and got me wondering was the sign on the front of the bus. I can accept that, on "elf and safety" grounds, they'd need to display the warning that the bus was not in service so that people wouldn't hurt themselves trying to get on it when the door is ten feet off the ground and the seats are ninety degrees out of kilter with their normal position. But the bus was obviously "in service" when the accident happened (unless all the injured people were stowaways). So, who - and at what stage - did they change the sign on the front?

    Is there a standing instruction in the London bus driver's handbook that says that the first task in case of accident is to change the sign? Maybe there is a team of London Transport elf and safely inspectors who shadow each bus in case of an accident, and can be on the scene in minutes to change the sign. Or perhaps the Metropolitan Police have a directive that enforces this as the first task when arriving at an omnibus accident. Or could it be that - like modern mobile phones - the buses are equipped with a motion detector that automatically updates the display when it detects more than a pre-specified angle of rotation?

  • Writing ... or Just Practicing?

    Icon Do It (but only as an Administrator)


    I'm convinced that there are millions of Windows users out there who spend a large proportion of their time just sitting staring at their computer, without actually running any programs. Maybe they can't afford to buy the latest cool applications. Or the ones they've got don't work on Windows 7. Or perhaps it's a just a new incarnation of Zen meditation techniques. How else would you account for the increasing focus on, and proliferation of pretty background pictures and animated wallpaper? Even to the extent of having a different one every time you turn on the machine?

    OK, so I spend plenty of time just sitting staring at a computer screen, but in most cases this is displaying either a recalcitrant chunk of code, or some half-written Word document that seems to be going nowhere (a bit like this post, I guess). Maybe that's the point where I should hit "Show Desktop" and just relax as the calming scenes of flowers and landscapes lull me back into a more productive and positive frame of mind. Though the fact that my new Windows 7 box just has a plain green Windows 2000-style background doesn't particularly promote that remedy. I remember reading once that using a wallpaper eats up valuable memory and slows down your applications. Though I guess, running 64-bit Windows 7 with 8 GB of memory installed means this may not really be an issue any longer...

    However, there is one thing that I am weirdly particular about: drop shadows on desktop icons. Perhaps they make it easier to read the icon captions when you have a glorious full-color photo of the Grand Canyon on your desktop. But they sure look ugly and make it harder to read the text when you don't. Despite the natural tendency to look for the setting to turn them off in the various Themes, Colors, and Windows Appearance dialogs, everyone knows that you can get rid of them by opening the System Properties dialog, going to the Advanced tab, clicking the Settings button in the Performance section, and unchecking the last but one option. I mean, surely that's the obvious place to find the setting.

    And, while you're in there, you can turn off other stuff as well to make your machine go faster; or just so it behaves in a way that you, the user, want it to. Do you need your menus to slide or fade? Do you really want your windows to animate when you minimize them? Is it vital to have your combo boxes slide open and scroll smoothly? I don't know about you, but these seem to be options that I, as the user, should be able to specify. It's hard to see why only an administrator can decide if I need to see shadows under my icon text.

    But, if you have finally bowed to the pressure to stop running everything as an administrator, this actually is the case. You can only change system settings if you have admin rights for your account. That makes sense because the same dialog allows you to fiddle about with the paging file (virtual memory), restore the system, allow remote access, and change the computer name. All tasks that you probably don't want ordinary users to play with when they get bored looking at their wallpaper. Perhaps there is a Group Policy setting you can specify? I've searched the GPO templates and the Web, but I can't find one.

    So on my new Windows 7 box, after several days getting everything installed and configured, I followed the usual route to the System Properties to turn off the awful black icon drop shadows; as I usually do on all my machines. But now I'm an enlightened non-admin user, I have to enter the admin credentials to get to the settings. Most of the settings in this dialog are applied computer-wide, such as virtual memory and the computer domain membership, so that makes sense. But some are user-specific display settings, yet I can only change them under the context of an administrator-level account. So when I get there, changing them makes no difference. Well actually it does, but not for me. As I'm running the dialog under the admin account context, the changes I make are - of course - applied to the admin account settings.

    However, after performing my usual process of wildly clicking on (and swearing at) every part of the UI I could find, the answer became clear - if not exactly obvious. You just type Performance in the Start menu search box, select Performance Information and Tools and click Adjust Visual Effects in the left-hand list. All of the visual effects settings are available, and apply to the currently logged on user. The other settings that require Administrator permission to change are all disabled. Easy! Probably if I'd looked in the Help file first I'd have found the answer.

    Of course, it's just possible that nobody else in the whole world cares about drop shadows on their icons. Except, maybe, the millions of people who will buy a computer this Christmas just so they can stare at the wallpaper...

  • Writing ... or Just Practicing?

    A Big Box of Windows


    I watched some property development program on TV the other week about a "contemporary" new house with a "streamlined yet powerful" design. The comment from  the presenter was that it looked like "a big box with windows". Aha! That's what I've just bought! Though mine was delivered in a cardboard box with Dell labels on. But, at last, I'm Windows 7 enabled! Perhaps you can tell from the increased productivity and heightened user experience of this post.

    Or maybe not. Probably because I'm writing this on the old XP box, while the new one laboriously installs endless patches and the several tons of software I need just to make it worth getting out of bed in the mornings. I mean, how can a new machine built only three days ago already need 15 patches just for the operating system? I imagine that, after I install all the applications and other stuff I need, it will spend the whole of next week installing patches for these. All I can say is "Thank heavens for WSUS".

    Mind you, it's strange how - despite spending hours figuring out what spec you actually need (or just want) for a new machine - you can end up being surprised at what actually arrives. As usual, my recent purchase is a Dell box, configured through their Web site. You spend ages wondering if you can afford that extra 2GB of memory, what size drive to specify, whether you need a different DVD drive, and a mass of other features and add-ons. There's even an option with the box I ordered to specify any of more than a dozen better graphics cards, one of which adds over $1,500 to the total price. I guess you'd expect that to be somewhat "better" than the standard one I chose - but, there again, I don’t tend to play Tomb Quake or Halo Raider very often.

    However, the one thing you probably don't look at in the basic specs is the physical size of the machine. OK, so I did when I ordered a couple of new servers last year, but that's only because my sever cabinet is not very deep and I needed to find something a bit smaller than the standard sized boxes. And you'd think I'd have learned my lesson after the contretemps I had with the old XP box that this new one is replacing. I bought that from the Dell Outlet, spending time choosing one that had the performance I needed at the time, without ever wandering what the "C" after the model number meant. Until it arrived in a padded envelope.

    Well, yes, it is a big bigger than that. But not much. It turns out that the "C" meant "compact". It's a small and very pretty silver machine (Hawkwind, anybody?), but runs extremely hot and is incredibly noisy (again, a bit like Hawkwind if their last concert I went to is anything to go by). And it refuses to recognize Vista and Windows 7 as being anything other than programs designed to initiate the blue screen of death; which is why it's finally being retired after I've spent some five years coping with its various vaguarities.

    So I made sure the new box is not some weird compact thing. It's described on the Dell site as a "Mini Tower" case with "Vertical Orientation" (you get to choose vertical or horizontal, through surely if it was horizontal it wouldn't be a tower?). But it turns out to be about the size of a football field. Well, at nearly two feet high and deep, nine inches wide, an weighing more than my old 24" CRT monitor did, it certainly is no compact machine. I don't know if they loaded it onto the truck with a fork-lift, but it took two of use to haul it indoors and upstairs to the office. I might even have to put blocks under the desk feet so I can fit it underneath. Thank goodness I didn’t specify "Horizontal Orientation" or I'd have had to move my desk next door to make room for it.

    Still, it is a nice piece of kit. Running the 64-bit edition of Windows 7 and tons of disk space and processing power to spare. Though I suppose it will be out of date by next month.

  • Writing ... or Just Practicing?

    Move Over Harry Potter


    I can't honestly say that I've ever been much of a patron of the dark arts. Mind you, a few years ago I was fascinated to see a chapter for a book on ADO.NET that I'd written come back from review with fifteen paragraphs about devil worship in the middle of it. I was about half way through editing this when I suddenly realized it sounded unfamiliar, and seemed to have little to do with asynchronous data access and stored procedures. I assume that the reviewer had got their Ctrl-somethings mixed up, and I still can't help wondering if there is a Web site out there somewhere that has a detailed description of the behavior of a DataReader in the middle of an article about witchcraft and sorcery.

    Anyway, it seems that I have a friend and colleague who actually is a "dark arts" expert. At least he is when the dark art in question is Cascading Style Sheets (CSS). OK, so I long ago accepted that we needed a way of separating style from content in Web pages, and I don't know of any other technology that accomplishes this as well as CSS does. I mean, you can even do dynamic styling in response to UI events and all kinds of clever stuff with it. I'm still amazed at sites like Zen Garden where changing the style sheet actually makes you believe you navigated to a different page.

    Yet all my attempts to use CSS to achieve a design that doesn't look like a 1985 Web site (with everything centered and in Times Roman font) seem to result in a page that only works on a 42" screen, or requires you to scroll a mile and a half downwards then read it with your head on one side and one eye closed. It's like they designed the language to be impenetrable to mere humans. I mean, I can fix DNS servers, edit the Active Directory, administer Group Policy, understand design patterns, and I even know a fair bit about enterprise application design and development. But I can't even get margins or padding to work most times in CSS (probably 'cos I don't know which I should be using), and end up with nbsp's and transparent GIFs all over the place. Or (horror), tables for layout...

    So when I discovered that a site I manage for the local village residents group was broken in IE8 (and, obviously, had always been broken in Firefox), I put off trying to fix it for as long as possible. The site is based on the Microsoft ASP.NET Club Starter site, and a glance at the stylesheet with its myriad of clear thises and float thats meant I'd probably need to stock up with a month's worth of coffee and cold pizza. After a couple of hours randomly changing stuff (the usual geek's approach to fixing things you don't understand) I'd reached the point where the entire site was totally incomprehensible.

    So I emailed my pal Dave Sussman, who has spent the last several years of his life doing clever Web stuff with CSS and other complicated technologies. I know he's good at this kind of thing because he hasn't phoned me for ages to complain about rounded corners and designers generally. And, you know what? Within ten minutes I got the answer. Just take out a clear something or other, or change a margin this to a float that, at it would "just work". And he was, of course, absolutely correct.

    Mind you, he admitted he'd resorted to using one of his dark art tools - a wicked device called "Firebug", which does sound like something used by wizards or witches. I'm not sure if he dances around the fire naked at the same time, but I'm too polite to ask...

  • Writing ... or Just Practicing?

    To R2 Or Not To R2?


    ...that is the question. Whether 'tis nobler in the server cabinet to suffer the outrageous lack of valuable new functionality, or to take arms against the powerful improvements to the core Windows Server operating system. And by opposing, manage without them? To sleep (or hibernate): perchance to dream of an easy upgrade. I guess you can see why I don't write poetry very often - it always seems to end up sounding like somebody else's.

    So the disks for Server 2008 R2 dropped through my letter box the other week, and since then I've pondered on whether to upgrade. It's less than a year since I spent a whole week crawling around inside the server cabinet installing two sparkly new servers running Windows Server 2008, upgraded the networking, set up four virtual machines on Hyper-V, and generally dragged my infrastructure screaming and cursing into the twenty-first century. And now it seems it was all to no avail. I'm out of date and running legacy systems all over again.

    OK, so I assumed that there would be a Windows Server 201x at some point, and that I'd once again fall by the wayside, but I never expected it to be this soon. While the hardware might not last out the next decade, I kind of hoped that I'd just have to drop the VMs onto a couple of new boxes when the existing ones decided it was time for the bits of bent wire and plastic to give up the ghost. But now it seems the ones and zeros need to be replaced as well. Maybe they're nearly worn out too.

    So I printed off all the stuff about fixing upgrade problems (with the fair assumption that - if they exist - I'm going to find them), read the release notes, and then tossed the disk into the drive of the standby machine. At least if I break that one I can reinstall from a backup without interrupting day-to-day service. Of course, it would also be an interesting test of my backup strategy, especially as I've not yet had the misfortune to need to resurrect a Windows 2008 box using the built-in backup and restore feature.

    After a few minutes rummaging about inside the machine, the installer produced its verdict. OK, so I did forget about domain prep (it's also the backup domain controller), but it also said it needed 18+ GB of free space on Drive C. Not something I was expecting. But I have 17GB free, so I could probably move the swap file to another drive (there's over 100GB available there), but would that break the upgrade? And the VMs have a lot less free disk space. I'll need to grow the partition for them, and then try and shrink it afterwards - otherwise it will take even longer to export backups. Hmmm, not such a simple decision now is it?

    One thing is clear, next time I order any machine I'm going to specify it with 4 x 1 terabyte drives. I seem to spend my life trying to find extra disk space, even though the current boxes have nearly 400 GB in them. And they spend 99.9% of their time with the performance counter showing 1% load. It's a good thing I'm not trying to do something enterprisy with them.

    So with it looking likely that I'll be confined to my legacy version of Windows 2008 for the foreseeable future, I decided to review what I'd be missing. Maybe it's only a facelift of the O/S, and there are just a few minor changes. Well, not if you look at the "What's New in Windows Server 2008 R2" page. There's tons of it. Pages and pages of wonderful new features that I can drool over. But do I need them? I guess the one area I'm most interested in is updates to Hyper-V, and that list seems - to say the least - a little sparse. I don't need live migration, and I'm definitely convinced that, with the minimal workload on my systems, I don't need enhanced processor support or bigger network frames. And dynamic virtual machine storage won't help unless I stuff the box with bigger disks.

    The one feature I would like is the ability to remove the redundant connections* that Hyper-V creates in the base O/S (see "Hyper-Ventilation, Act III"), but I guess I can live without that as well. So what happens if I don't upgrade? Will I become a pariah in the networking community? Will my servers fall apart in despair at not getting the latest and greatest version of the operating system? Will I be forever dreaming about the wonderful new applications that I can't run on my old fashioned O/S? Will I still be able to get updates to keep it struggling on until I get round to retiring?

    Or maybe a couple of bruisers from the Windows Server division will pop round with baseball bats to persuade me to upgrade...

    * Update: In Windows Server 2008 R2 you can untick the Allow management operating system to share this network adapter option in Virtual Network Manager to remove these duplicated connections from the base O/S so that updates and patches applied in the future do not re-enable them.

Page 31 of 41 (324 items) «2930313233»