Friday, 23 September 2011

Cloud outages

A letter in The Economist earlier in the year puts an interesting perspective on cloud outages.

SIR – I was disappointed that your article added to the hysteria that surrounds cloud computing (“Break-ins and breakdowns”, April 30th). In my view cloud computing is like commercial aviation. Which is safer per-mile of travel: aircraft or automobile? Car crashes are responsible for more deaths, yet a plane crash is certain to make the news. For the same reason, cloud computing outages are considered newsworthy. Although the frequent down times of companies’ internal IT systems are less publicised, these down times almost certainly cause more harm and lost productivity in aggregate (like car accidents).

Air travel makes people uncomfortable, in part because of a loss of control, no matter how well trained and experienced the pilot may be. Similarly organisations fear cloud computing, preferring to be “behind the wheel”. Yet transportation statistics show that desire can be misguided.

Aviation had its share of hype and detractors, but no one would argue that it has not transformed travel. I predict that once the dust settles, cloud computing will be no less transformative.

Milo M.K. Martin
Associate professor of computer science
University of Pennsylvania
Philadelphia

http://www.economist.com/node/18712181


Tuesday, 20 September 2011

How we see each other

I don’t know where this came from so I can’t credit it but many props to the original author, who ever you are.

Untitled


Monday, 19 September 2011

Connecting to TFS Preview from Visual Studio 2010

Took me a few minutes to figure out why I was getting an error connecting to TFS Preview.

First (and most obviously) you need Visual Studio 2010 with SP1 applied. You should have SP1 by now anyway.

Secondly (and less obviously) you need to install KB2581206.

There is a link to “download software” on your TFS Preview Admin page which lists all this but it’s easy to miss the link to KB2581206.

When you have the hotfix installed, connecting is just the same as normal. From the “Add Team Foundation Server” dialogue in VS2010:

  • Name or URL of Team Foundation Server = [your account name].tfspreview.com
  • Connection Details:
    • Path = tfs
    • Port = 443
    • Protocol = HTTPS

You authenticate with a web identity provider e.g. Windows Live ID.

While its in preview, this hosted TFS solution is in Microsoft’s Chicago data centre. Even though it’s a hosted solution, you can still have your own TFS Build Agents.


Tuesday, 13 September 2011

Windows 8

“This poses a tricky question, though. You see, not only does IE10 power Windows 8′s primary interface, but Internet Explorer 10 — the browser — is also available as a Metro-style app, and as a full-interface browser in the Explorer Desktop. All three versions are fundamentally identical. Now… what if Windows 8 is as successful as Windows 7 and all of its previous forebears? What if Windows 8 is actually a success on the tablet? If Windows 8 becomes ubiquitous, so does Internet Explorer 10 — and if IE10 can be found on hundreds of millions of devices, what platform do you think developers will choose?

It’s the great Web App Dream: write once, run anywhere. Do you write an app for tens of millions of iPhones and iPads, or do you write a single piece of HTML, CSS, and JavaScript that can run perfectly on every Windows 8, IE10-powered tablet, laptop, and desktop? Those same web apps, with a little tweaking, will probably even work with Chrome and Firefox and Safari — but here’s an uncomfortable truth: if Windows 8 reaches 90% penetration of the computing market, why bother targeting a web browser at all? Just write a native, Metro-style web app instead.

Finally, add in the fact that IE10 will almost certainly come to Windows Phone 8 next year, and you will have a single app container — AppX — that runs across every damn computer form factor.

Microsoft, threatened by the idea of OS-agnostic web apps and browser-based operating systems from Google and Mozilla, has just taken the game to a whole new level — and, rather shockingly, given that Windows 8 started its development in mid-2009, it would seem that the lumbering behemoth might have actually out-maneuvered Google.”

http://www.extremetech.com/computing/95837-windows-8-the-first-browser-based-os

Interesting...


Monday, 15 August 2011

Castle Windsor 3.0 beta

Castle Windsor 3.0 beta is available:

There are numerous new features, one of the more interesting ones is that the WCF Integration Facility is now officially part of the release:


Google buys Motorola Mobility

Google has bought Motorola Mobility, the mobile part of Motorola spun off as a separate entity a few years ago.

http://www.theregister.co.uk/2011/08/15/google_buys_motorola_mobility_wtf/

This makes for an interesting story with respect to Google’s Android partners, HTC, Samsung and around 30 others. Google is now competing against those companies. Will they now focus on another platform where they don’t have to compete with the vendor? Windows 7, say?


Friday, 5 August 2011

String Comparison in .NET

Hate stuff like this:

if (myValue == "true")

Like this:

int compareResult = string.Compare(myValue, true.ToString(), StringComparison.OrdinalIgnoreCase);

Two things.

  1. Explicit control over casing, nothing is assumed.
  2. No magic hard coded string i.e. true.ToString() versus “true”.

Note that true.ToString() is actually “True”.


Wednesday, 3 August 2011

Finding duplicate SPNs

You can’t have duplicate Service Principal Names (SPNs), its just not allowed. An SPN with a duplicate will not work. To find all duplicate SPNs in your domain, simply run the following:

setspn.exe –x

And that is it.


Tuesday, 2 August 2011

ThoughtWorks Technology Radar July 2011

http://www.thoughtworks.com/articles/technology-radar-july-2011

Highlights...

Continuous delivery
Maximise automation including “infrastructure as code” (see below), environment management and deployment automation. This is about taking control of your deployment process, reducing time the taken to get changes into production from weeks or months to days (or less). This is different from the recent concept of “continuous deployment” which is about putting every change into production (though while different, continuous delivery and continuous deployment dovetail well).

Infrastructure as code
Treat your infrastructure configuration the same as you would treat source code – source control, versioning, push out changes to the data centre in an automated manner.

DevOps
Fostering collaboration between your development and operations teams.

HTML5
Now a viable alternative to native applications and is cross platform.

Stored Procedures
I will quote directly:

“It is startling to us that we continue to find new systems in 2011 that implement significant business logic in stored procedures. Programming languages commonly used to implement stored procedures lack expressiveness, are difficult to test, and discourage clean modular design. You should only consider stored procedures executing within the database engine in exceptional circumstances, where there is a proven performance issue.”

So stored procedures are almost always bad.


Friday, 8 July 2011

“NewSQL”

Someone else agrees with me that getting rid of ACID is a bad idea. Enter “NewSQL”.


About Me