Writing ... or Just Practicing?

Random Disconnected Diatribes of a p&p Documentation Engineer

  • Writing ... or Just Practicing?

    Living in a Cage

    • 0 Comments

    Funny stuff, wireless. We take for granted that we can wander aimlessly about the office or home while maintaining a robust connection to the outside world, or just to the server down the hall. Let's face it, modern kit and the connection it provides is pretty reliable. And, rather annoyingly, after the not inconsiderable effort of hard-wiring my house with CAT-5 and a 10MB switches, it even seems that the new generation of Wi-Fi is faster.

    And range is less and less a limiting factor. From my laptop sitting in the lounge, I can see five wireless networks that have almost as strong a signal as my own router than lives on top of the display cabinet in the dining room. OK, so I run it at half power, but I'm only five yards away from it while my nearest neighbor is thirty yards away. And I can even tell where some of them actually are because they insist on transmitting their own name as the SSID. I just hope they are properly secured.

    Anyway, where I'm going with this is that - in contrast to Wi-Fi - not much else wireless seems to work as reliably. I read endless articles about how vague and unreliable the latest 3G networks are when using a mobile phone or a dongle; and that many sat-navs seem to spend most of their life trying to find satellites. I bought a radio-controlled wristwatch a couple of years ago, and we have several radio-controlled clocks in our house. Yet, even though we're only 70 miles from one of the major time signal transmitters that's supposed to serve half of Western Europe, updates are sometimes sporadic. I think I've more chance of radio wave radiation burns from it than getting to know the correct time.

    But what really got me going was a recent purchase of a wireless weather station. I've been using some old-fashioned tools (such as a wood and brass barometer) and simple indoor weather monitors for a while. However, real outdoor weather measurement has so far tended to involve the more "manual" activity of looking out of the window, or actually going outside. So I expected the complexity of boxes and technology nailed to a post in the garden to be a real improvement over current methods.

    Yes there's gubbins to measure the wind, rain, temperature, pressure, humidity; and some other stuff that seems undecipherable (do I need to know what the "evapotranspiration" or "leaf wetness" is?). And it all shows up on a fancy wireless console you keep next to the TV, or on the coffee table as a talking point, as well as being uploadable to a PC. Unfortunately, the only way it would work is with the sensors sitting on the dining room table, or with the wireless console precariously propped in a bush in the garden.

    The wireless range is advertised as "up to 100 metres line of sight". Yet, even though it's only fifteen feet away and I can see it through the window, the feeble non-licensed signal can't manage to struggle over that distance to the receiving console. Even with new batteries, the maximum range turned out to be about three feet. Maybe I got a faulty one? I can understand that the signal can't be as powerful as Wi-Fi (it's supposed to run off two AA batteries for a year). But I might as well stand outside with a sprig of seaweed, hold a wet finger in the air, and take off my hat to see what the weather's like.

    Talking to the customer care department, it seems that this is a common problem. It's because I live in a Faraday Cage. Modern houses have metal foil on the back of the wall panels, and low-emissivity glass in the windows (which uses a very thin coating of metal oxide to reduce long wave radiated heat loss - I know this 'cos I used to be a double-glazing salesman). So getting a wireless signal in or out is obviously going to be very difficult. They did suggest keeping the batteries warm to maximize the signal strength. Have I bought a weather station that only works in summer? The "ice warning" obviously consists of a blank display.

    Strangely, they also suggest that "traditional brick and stone" walls, even very thick ones, cause a lot less signal attenuation. So the solution seems to be either hacking into one of my neighbor's Wi-Fi signals (which obviously isn't aware that it should be blocked by my walls and windows) to see if they know what the weather will be like. Or go and live in a castle.

  • Writing ... or Just Practicing?

    Honey, I Shrunk The Internet

    • 0 Comments

    If any UK-based Internet users noticed that the Web was running a bit slow last Thursday, I apologize. Probably I was partly to blame. I managed to send an extremely large zip file on a four hundred mile round trip just to move it three quarters of an inch. I'm expecting a large invoice from my ISP to arrive any day now.

    How did I manage it I hear you ask? And, more likely, why? Well, in my continuing search to be eco-friendly I run a single server that hosts several Hyper-V virtual machines, one of which is my external Web server and another that is my main file store. As I export copies of the VMs regularly, I don't have any other specific mechanism for backing up individual files from the Web server. And, for security reasons, the Web server VM has only a single network connection going to the ADSL router and out onto the Web.

    So when I decided to back up just the Web sites, the only option other than reconfiguring the network was to zip them up, drop the zip file temporarily into the Web root folder, and then download it through a browser on the internal network. As the internal network also connects to the same ADSL router though the gateway and firewall server (another VM), the download runs at 100 MBits/sec and doesn't ever have to leave my server cabinet.

    Except I forgot about the ramifications of my recent venture into a more resilient connection with the outside world, which involves a cable Internet line and a load-balancing router on the gateway server. The cable line is ten times faster than the ADSL line, so (as you'd expect) the LB router decided to route my request for the zip file out through the cable connection.

    Therefore the zip file ended up travelling out from my ADSL router, over the wet string that is the phone line to my local exchange, via kilostream to the BT data centre in Birmingham, across some high speed optical fiber to TeleHouse in London, out west to the NTL data centre in Bristol, through several fiber cables and distribution routers back to the old Nynex Cable centre in Derby, out to the green box at the end of our street, via coax under my front lawn to the cable modem in my server cabinet, and back onto the other hard disk inside the same server as it came from.

    I have to admit that I noticed the download seemed to be taking a long time when I came back an hour later at it was still only at 85%. Next time, I promise I'll unplug the cable modem before I start... but isn't amazing what you can do with modern networking technology?

  • Writing ... or Just Practicing?

    A Picture's Worth a Thousand Wg8nX

    • 0 Comments

    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 1.1.1.1 - 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

    • 0 Comments

    ...possibly.

  • Writing ... or Just Practicing?

    Being Resolute...

    • 1 Comments

    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...

    • 0 Comments

    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)

    • 0 Comments

    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

    • 0 Comments

    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.

Page 31 of 41 (326 items) «2930313233»