Random Disconnected Diatribes of a p&p Documentation Engineer
My new pet snake is installed, working, and really flies. Deathly silent, yet it instantly responds to every command. It's like somebody speeded up the world. Or at least speeded up my television. And, yes, this is a follow-on from last week's rambling post about our new "Mamba" Media Center box from QuietPC.com. In fact, even the title continues the not-quite-a-song theme.
The long and sometimes tortuous setup and installation is over. It's nestled neatly in the TV cabinet, and after a few days use it really does seem to be a superb machine - and a significant upgrade from the old I-US Media Center box. OK so most of the setup hassle was my fault (more later) because I wanted it to be on my local domain and integrated with the network. It needs to have remote Event Log access turned on, my "failed recording" monitor service installed, a custom screensaver, auto logon, and a few other tweaks.
What surprised me, though, was the benefits from the new TV cards. The old box had only one PCI slot, whereas most modern tuner cards are PCI-E only these days so I had to choose between terrestrial (DVB-T) and satellite (DVB-S). And none supported HD. The new Mamba has a dual DVB-T2 (HD) and a dual DVB-S2 (HD) card. And, amazingly, Media Center accepted both, and tuned both of them, so that we now get all of the terrestrial and the satellite channels. You can still record from only two tuner instances concurrently (either on the same tuner card or one from each tuner card) and watch a previously recorded program at the same time. But it's wonderful to get back some old favorite channels that aren't on satellite, and to finally be able to get all the HD channels.
Of course, the actual tuning process is still a pain, and really does need to come closer to the capabilities offered by ordinary TVs that can detect broadcast update signals and automatically retune channels that move around. Media Center has the facility to add new channels, but it never seems to fully work. In the past, when they moved channels around, I had to do a complete re-setup of all the channels - which means getting back the 500+ I don't want and had removed from the guide, and having to go through the laborious process of finding listings for channels where the channel name and the listing name are slightly different. Though maybe in the Windows 8 version of Media Center it will work better. No doubt I'll find out in time.
The final setup process was made more infuriatingly slow by a couple of unexpected hitches. For some reason, Media Center no longer has an option to start automatically when the system restarts from cold or when a user logs on. I have no idea why this option was removed, and it seems from a web search that lots of people are annoyed about it and have found an equally large number of kludges to fix it, including creating a profile and using a batch file in the \ProgramData\Microsoft\Windows\Start Menu\Programs\Startup folder. However, another solution seems to be obvious. Create a scheduled task that runs at logon and executes the file %windir%\ehome\ehshell.exe, and set the taskbar to auto-hide.
But the most annoying quirk was that my custom screensaver that displays details of photos never appeared. All I got was a nausea-inducing scrolling, panning, and zooming screenfull of black and white photos with odd ones occasionally appearing in colour - despite the Lock screen slideshow being turned off and my screensaver properly configured in Windows Personalization settings. I played with this for ages before finally searching the web for solutions. Most of which are totally confusing because the say to turn on the slideshow and then turn off the option to "show the lock screen instead of turning off the screen".
I even followed the advice on one site to use gpedit to disable the Lock screen altogether, but it made absolutely no difference. After I finally gave up and went back to configuring Media Center I found the screensaver option within the Media Center interface. Which is helpfully turned on by default. The Lock screen slideshow I was trying to get rid of wasn't actually the Lock screen at all. No wonder I had problems! After turning the Media Center screensaver off my own screensaver works fine. Doh!
I'm still not sure I'd recommend Media Center as a replacement for a normal TV to my non-technical friends, but it really is a superb system if you know something about computers, are prepared to fiddle with it, and accept the few shortcomings such as the usual need for updates and other maintenance tasks. Even the smart TVs I've seen can't compete with the full range of capabilities and flexibility of a powerful computer driving a big wall screen.
But I have to run. Now that I've got the "Dave" channel back again, there's ten episodes of "The Professionals" from 1978 I need to watch...
Media Center is alive and well! Yes, you can buy a proper no-noise Media Center appliance that just works out of the box, does satellite and terrestrial TV, and looks good on your TV stand. You can even watch the YouTube video on it that inspired the title of this week's rambling post.
Our current I-US Media Center box is struggling. It's had a selection of new hard disks, and is on its second button cell memory BIOS backup battery and third video card. It sounds like a bag of bolts when it's cool, and evolves into a jumbo jet by the time it's warmed up and is recording two concurrent TV programs. Vacuuming five years of accumulated crud from the heat-pipe radiator did help a bit, but the fact that it sometimes takes three reboots to find the hard drive makes me increasingly nervous about its longevity.
So it's being replaced by a shiny new one. Or, to be more accurate, a matt black new one - the attractive-in-an-understated-way Mamba from a local company here in the UK called QuietPC.com. It looks superb, feels really solid, and has an impressive component spec. Even the packaging is glorious, and you get all of the manuals and O/S disks you could ever want - including a magnified photocopy of the Windows product key in case your eyesight is failing and you can't read the label on the back of the case.
So far the initial setup experience has been excellent. It comes pre-configured for use as a TV with all the proper BIOS settings, there's no junkware installed, and it's absolutely silent when running - without showing any signs of getting beyond mildly warm. No doubt the separate power supply helps, and the solid aluminum case. We'll see what happens when it's under a real-life load recording two programs at the same time as my wife is watching yesterday's episode of Coronation Street. Mind you, the O/S is on an SSD and the main data drive is a hybrid beast with SSD cache, so it should be fairly speedy.
As usual, the hardest part of the setup is deciding on the name for the new PC. I was tempted by "Dendroaspis" (as in Dendroaspis polylepis, the black mamba tree snake), but that seems a bit too esoteric. There is a Finnish schlager band called Mamba, but their best-known songs are all unspellable words, and I'm not sure you can use accented letters in a BIOS network name anyway. I can imagine trying to solve some weird errors that might cause in my Active Directory and WSUS servers. In the end I settled on MAMBA-TV in case I forget what it is next time I'm doing my pretend-to-be-a-network-administrator thing.
The one "not quite fully prepared" bit is Media Center itself. I specified Windows 8.1 O/S, so I had to buy and install the Media Center add-on for a few pounds. Which would have been fine except that the credit card payment system they use was broken that day, so I ended up having to open a PayPal account and then close it again afterwards (part of reducing my attack surface). At one time you could just use PayPal to make a payment with needing to open an account - but I guess (like most other sites) they want to capture your personal information to sell to advertisers.
And how come the printer driver that Windows Update offers for my old Dell 5100CN printer is broken? Every attempt to print something just raises an error. I had this issue on another 8.1 machine, though it did start working after a few uninstall/reinstall passes. But as I'll rarely print from this machine, that's a minor issue. I installed a driver that's similar and works instead, even though it has fewer image adjustment options.
However, my custom screensaver that displays our photos when nothing else is happening is a necessity, and unfortunately I compiled it to use .NET 3.5. I had the usual error 0x800F0906 "Download failure" when it tried to install the .NET 3.5 framework because I use Windows Software Update Service (WSUS) to manage patching on my network. The solution, and a description of why it occurs, is in this blog post.
Now I just need to spend a day setting up the final bits and pieces, and adapting the wiring and the ventilation holes in the cabinet in the lounge where it will live. And configuring the TV setup and channel guide for the twenty or so channels that are worth watching out of the 600+ channels of junk that arrive over Free-Sat...
It looks like our Big Data is getting smaller. At least that's the impression I get from the exhaustive investigation carried out by the editor on our current project. Of course, "data" is actually a plural word so perhaps it's just that each datum is getting smaller. Or maybe there are fewer (not "less") of them.
The reason for all of this shrinkage is that, according to our most recent documentation style guides, there are no capital letters in our large quantities of information. It's now only "big data" and no longer "Big Data". Is it just me that feels it somehow loses its impact when deprived of capitals? "Big Data" seems to be saying "look at me - see how huge and important I am!" But "big data" just looks like its shrinking into a corner and hoping it won't be noticed.
And the enforced decapitalization makes some of my wonderfully delicate and skilfully crafted text sound plain odd. After I watched a documentary about how Big Data techniques are being used by many organizations around the world, I came up with:
Police forces are using Big Data techniques to predict crime patterns, researchers are using them to explore the human genome, particle physicists are using them to search for information about the structure of matter, and astronomers are using them to plot the entire universe. Perhaps the last of these really is a big Big Data solution!
But now that last sentence makes no sense at all, it just looks as though I had brain fade while I was writing it:
Perhaps the last of these really is a big big data solution!
I suppose it's all part of our ongoing drive to remove capital letters from the language - perhaps to suit the "txting" generation who don't know what a Shift (shift?) key is. My rants in An Upper Case of Indecisive Instruction, Hyphenless Decapitalization, and even I Can't Yell Any More obviously had no impact at all on our style guidance team.
perhaps it's time i gave up my crusade, and just be grateful i have a job at microsoft writing about sql server and azure...
The days when I played with ASP.NET web sites all the time have, perhaps unfortunately, gone. Now my day job has me delving into grown-up stuff such as the wonderful worlds of cloud service infrastructure, design patterns, systems and software architectural, Big Data, and even open source projects named after animals.
So a simple task this week, as I applied my almost forgotten skills to get my custom kludged-together server status website to delete old log files, was thwarted by permission errors. And, rather strangely, it coincided with a week when I watched John Cooper Clark reciting some of his famous haiku on the BBC TV program "Have I Got New For You". Including:
Freezing sentiment in seventeen syllables is very diffic
(See the original version on YouTube)
So, here we go:
ASPNET's gone So all I get is denied When I delete files
Not NETWORK SERVICE It was IUSR-machine but now something else
Yep, I tried setting the target folder permissions to allow the ASPNET account to delete files, but there is no ASPNET account in Windows Server 2008 R2. Instead, I tried setting the permissions for the NETWORK SERVICE group, but that doesn't work either. And there is no IUSR_[machine-name] account anymore, so that was another dead end.
So I went off and looked for the name of the account that the Default App Pool runs under, and found one I'd never heard of before: "ApplicationPoolIdentity". Which isn't actually an account. But various blogs say there is an IIS AppPool\[app-pool-name] account that you can configure. Err, no there isn't on my server. Another blog post suggested simply changing the Default App Pool to run under the NETWORK SERVICE account, but I didn't fancy that in case I broke something else.
Yet another blog said that ApplicationPoolIdentity is a member of the Users group, and you should just set permission on that account group. Which didn't work either. Finally I found this page, which explains that all you need to do is set the permissions on the new IIS_IUSRS account. Which worked.
In the end it had taken two minutes to add a "Delete" button and OnClick handler to the page, but the best part of an hour finding the right information, learning about how IIS works, and fiddling with permissions. But I guess that sometimes you do have to teach old dogs new tricks...
It's currently fashionable here in England to castigate large companies for not voluntarily paying more tax that they are legally obliged to do. Amongst the so-called offenders is Amazon, who have grown a huge order management, warehousing, and distribution network throughout the UK. Probably because we seem to be one of the countries that has wholly embraced the concept of online purchasing.
I'm a regular Amazon customer for a whole range of goods, and I ignore the pleas of those who demand a boycott on "tax avoidance" grounds. Basically I'm on the side of those who feel that if the Government thinks they aren't collecting enough tax from a huge employer who pays for large expanses of real estate and employs lots of people, when that company is following the rules, then they need to change the rules rather than just complaining.
And as a regular customer, I finally gave in and signed up for the "Prime" service where deliveries are made by Amazon themselves (or some subcontracted organization). It wasn't that expensive when I joined, though I may baulk at renewing now that it's gone up dramatically in price because you get the "Instant Video" streaming service in with the package (I've had it for four months and only managed to watch the first two minutes of one film to see if it worked).
But what does amaze me is the efficiency of the delivery service. In the past they used to say that online purchasing would never really catch on because people wouldn't be prepared to wait for goods to be delivered, or they would get lost or damaged in the post, or wouldn't look anything like the picture when they arrived (though you could say the same about most microwaved instant meals).
I preordered the latest Stephen Booth book some while ago. I love his books because they are set in the Derbyshire Dales and Peaks, right here in our part of the country, and I know all the towns and places his characters visit. In fact they even came to a café in our local town in one book, visited the aquarium in Matlock Bath where we went last year, and drive along the roads that we regularly use. And his books are a good read as well, of course.
But, straying back onto topic, the amazement that prompted this rambling post was that I got an email yesterday to say that the new book had been dispatched. Then another at 9:25 AM today saying "We're going to deliver your order today. If there's nobody in when we arrive we'll post through your letter box if possible, leave with an available neighbour or in your preferred safe-place, if you've previously provided us with those details." OK, that in itself is not so amazing. But at 2:15 PM I got another email saying "Your order, containing the item(s) listed below, has been posted through your letterbox." I went and looked, and they were right!
Never mind cloud-connected thermostats, online fridges, and the Internet of Things. I've got someone who emails me to tell me when to look in my letterbox...
Can software become more complicated and yet still be easy to use? It seems that, unfortunately in some cases, it can - and does so whether you like it or not. I just spent two hours trying to fix the Bluetooth connection between my wife's phone and her car, and discovered just how unfortunate it can be.
From a standing start only a few years ago my wife has dived head first into our exciting, online, socially-connected world. It took me ages at first just to persuade her that she needed a mobile phone. Now she's fully immersed into the digital delights of tablets, smartphones, email, Facebook, YouTube, and more. And it all seems to merge into some amorphous mass of transient information delivery with a useful lifespan of twenty minutes or less.
Except for one aspect: contact information. Maybe it's something to do with the combination of Google, Facebook, Android, and Exchange ActiveSync on her phone, but her contacts list grows magically by the day - and every entry is populated with a photo. And entries get magically linked together, with data from multiple sources, so that figuring out how to edit one becomes a nightmare. Even when you do edit it, the stuff you changed seems to get switched back again the next day.
Most of the time this isn't a problem. She loves that her phone shows her friends' latest photo when they call her, and that the People list has pictures that get updated automatically. I have to admit that it's all very clever stuff. However, her car doesn't seem to agree. Like many modern vehicles it has a Bluetooth hands-free connection for the phone, allowing you to make and answer calls while your phone is in your pocket. It displays all her contact phone numbers, including lists of the top 10 and a search feature. And it's voice-activated as well, so there's no loss of road/eye contact.
Or it was until it stopped working last week. Now the car just complains that it can't find any phones, and prompts to "start pairing". Being a logical kind of person, I began my fault diagnosis by pairing my phone (exactly the same brand and model) and it worked fine, though it took ages to connect. After a bit of investigation, it seemed that the connection was held up while it was downloading the contacts list. My phone has photos for some contacts (I cloned the list from my wife's some while back so that I had all our "vital numbers" in my phone), and also includes several entries that are auto-populated from our corporate SharePoint because the ActiveSync is to my Microsoft email account.
Aha! I wonder if it's the photos that are the problem? So I fire up OWA to delete the photos from the contacts as an experiment. But you can't. There seems to be no way other than deleting the contact and recreating it. Next, try "real" Outlook 2013. Again, no option in the Edit pane to remove a photo from a contact. And then I notice the list of "sources" from which the information for each contact is collated. How clever, and how annoying. It was only after a search of the web that I found you have to choose one of the entries in the "View Source" list, where you can right-click the photo and select "Remove picture".
After half an hour of this multi-step rigmarole I had a list of photo-less contacts (except for the corporate contacts that it refuses to remove). And, back in the car, the phone connected and populated the contacts list in less than 30 seconds. So obviously that's the problem. The car tries to load the photo-populated contacts list that's multi-megabytes in size, times out part way through, and decides that it can't connect to the phone.
Of course, there's a pop-up dialog when you pair a phone that asks if you want to allow access to the contacts list on the phone. Instead of saying yes, I tried saying no - thinking it would solve the problem. But then the phone becomes pretty much unusable through the voice-activated or in-car menu interface because there's no numbers, although you can answer incoming calls and dial numbers that you can remember. So it seems that you need to make a choice between pretty smiling faces for your contacts or usability in your car.
Though, according to a recent survey I saw in the newspaper, only one person in ten actually remembers more than one phone number these days because the phone does all the harvesting and remembering of numbers automatically. Which was followed by another report that one in seven people become "highly stressed" if their phone battery runs down, and "would find life almost impossible" if they lost their phone!
I admit that I worry about losing all the contacts that my wife and I have collected on our phones over time, but I reckon we're reasonably well protected because ActiveSync keeps the lists in our email accounts up to date, and I consciously export the contacts list to a file on a regular basis in case both of our email providers decide we're persona non-grata at some point. But that's just my usual paranoia.
Mind you, now I regularly have to suffer wife-generated complaints that our DECT house phones don't show the name of people when they call on the landline. If her mobile phone knows who the caller is, why doesn't the ordinary phone? Yes it has a contact list maintained by the base station that's available in all the handsets, and I did spend an evening entering the most commonly used numbers. But how do I justify to her that modern technology still has some wide disconnects, when a simple mobile phone can do everything by itself?
Maybe it's time to switch over to IP Telephony in our house. I'm sure I've got an old Cisco router that does IPT in my collection of spare hardware. I wonder if it can do ActiveSync with an email contacts list...
It seems that being a pop star is no longer the route to guaranteed wealth. According to several reports I've been reading, stars such as Lily Allen earn peanuts from writing and releasing songs and albums. Should we be feeling sorry for them...?
The trouble is, they say, that nobody actually buys music albums any more. The twenty highest selling entertainment products last year were dominated by video games and films, with only a couple of music albums making it into the list - and they were "mix tape" compilations. The best-selling albums now have sales measured in the very low (or less than) millions rather than the thirty-plus millions of past years.
The reason, they say, is that listeners tend to buy just the songs they like, rather than whole albums. A bit like in my younger days when everyone rushed out to buy the latest singles (we called them "45s" in those distant days). Or now they just listen to them for free, or with a subscription to an online "radio" station or streaming service. And I can kind of verify this because my wife occasionally hears a new song she really likes and buys it for less than a pound online. Our music database in Media Player has dozens of entries for artist/album that contain only a single song.
Maybe it was because my peak record buying days were in the periods we now call "Classic Rock" and "Prog Rock" that I was conditioned to buying a complete album. Often there was no single release from them, or you had to have the whole album to get the full experience and to "understand the concept and follow the story". I still occasionally find new music I like (there are bands out there creating great new rock and prog music). Inevitably I buy the physical CD, rip it onto our music server, and then pack the original away for safe keeping. I suppose it shows just how old-fashioned I am in both my musical taste and my approach to digital media.
But getting back to the problem of impecunious pop stars, it seems (according to the articles I read) that the only way they can make money is by live performances, touring, and personal appearances. Simply agreeing to sit in the front row of a fashion show, or opening a supermarket, pays enough to keep you in champagne for a year. But the big money is in touring - I guess why the Rolling Stones, Status Quo, and a myriad other aging rock stars choose not to retire. And, of course, most stars have at least one range of clothes, perfumes, or other high-priced commodity to help scrape together a reasonable living.
So it seems that, in our artificial digital world where almost nothing is real any more, our pop stars can't survive unless they are actually there in person as a real-time, physical entity. Who'd have thought that would happen...?
You can't believe just how fast a year goes by. It seems like only yesterday I was rebooting all the Hyper-V virtual machines because the server certificate for Hyper-V had expired. And now it's gone and done it again.
The certificate is renewed automatically, but it disconnects the VMs when it does this. Which causes the mouse pointer to go off and hide, and you can see only a quarter of the screen in the VM connection afterwards. Trying to do all that UI stuff without a mouse is hard enough, but doing it at the same time as looking though a tiny porthole, where you can't see most of the screen, is even harder.
However, rebooting all the VMs is something I try to avoid. OK, so I usually have to do it each month for patch Tuesday (or twice this month with the out-of-band update for Internet Explorer). A reboot all round is a pain because the virtual domain controller can't re-sync Active Directory until I boot up the cold-swap backup DC (one day I'll figure a way round having physical DCs). And the server that interfaces with my weather station and the solar panel inverter gets confused and has to reload all its readings.
So, this year, I decided there must be a better (and quicker) way to regain control of my VMs. And there is. As described in http://support.microsoft.com/kb/2413735, you just save the VM and then restart it. I'm sure I've tried this before without success, but it worked this year. Perhaps one of the patch Tuesday updates to Hyper-V changed something inside.
But maybe I should be upgrading to Server 2012 instead. I still have 2008 R2 on most VMs, and even one running Server 2003 (it was two until I got rid of ISA Server). According to a blog post I read this week I have only 450 days of support before Server 2003 reaches end-of-life. Maybe when I get a free week I can look forward to a holiday in the server cabinet.
Or retire from work and give up computing instead...