All posts by onlyconnect

SQL Server 2008 will miss own launch party

Excellent session here at Tech-Ed from Francois Ajenstat (Director of Product Management for SQL Server) and others on new features in SQL Server 2008. It looks good: transparent data encryption; new policy-based admin; data compression that actually speeds performance; new datatypes including FILESTREAM, for queryable but unstructured data, and DATETIME2 for high-precision date/time; spatial data support so you can query by distance, for example; new entity-data framework (not the same as LINQ but works with it) for object-relational mapping; new REST-based data API code-named Astoria; richer reporting including features acquired from Dundas and removing the dependence on Internet Information Services.

It’s a significant upgrade, but when do we get it? I had previously assumed that it would be no later than February 27th 2008, the announced launch date for Windows Server 2008, Visual Studio 2008 and SQL Server 2008. Visual Studio will actually be available to developers three months earlier, at the end of November. Not so SQL Server. Ajenstat said the version available at the launch will be a CTP (Community Tech Preview), with the final version coming in the “second quarter” – in other words, perhaps as late as June 2008.

By way of compensation, an earlier CTP coming later this month should contain most of the new features, unlike the preview available now.

Ajenstat also noted that SQL Server “vNext” is set for 2010-2011. I’m betting on 2011 at the earliest.

Visual Studio 2008 release by end November, Sync Framework announced

News from Tech-Ed Developers in Barcelona: Microsoft has announced that Visual Studio 2008 will be available to MSDN subscribers “by the end of November 2007”. I’m a little disappointed not to find the RTM build here at Tech-Ed, but that’s not long to wait. Along with Visual Studio we get .NET Framework 3.5. The package includes LINQ (Language Integrated Query), and full designer support at last for WPF (Windows Presentation Framework) as well as WF (Workflow Foundation) and WCF (Windows Communication Foundation). It has taken a year since the first release of Vista to provide proper developer support for the frameworks which shipped with it.

S Somasegar, Corporate VP of the Developer Division, is also announcing the first preview of the Microsoft Sync Framework. Mary Jo Foley has a good summary. Interesting, given that  building online/offline synch into applications can be challenging. You can download it here. The description says it is “a comprehensive synchronization platform”.

He also has a few stats. He says:

  • Over 1 million professional developers use Visual Studio 2005
  • 17 million downloads of Visual Studio Express
  • 25% of Visual Studio developers are using Visual Studio Team System.

This last statistic is higher than I expected. I spoke recently to a Team System early adopter, who told me that while he was not exactly disappointed with it, nevertheless he had come across significant problems. His biggest issue was that you cannot manage work items across team projects, making it difficult for developers involved in several different projects. He also found the integration with Office poor, and the lack of a full Web UI frustrating. Nothing more than you would expect for a version 1 release.

Finally, Somasegar mentions a new release of Popfly Explorer with “an easy way to add Silverlight gadgets built in Popfly to web pages,” to quote from the brief press overview.

OpenSocial: where’s the identity story?

The media is ga-ga right now about Google’s OpenSocial story but most accounts are missing the key question here, which is about identity rather than APIs. An honourable exception is David Berlind – one of my top 10 tech journalists – who posed an interesting question at a press briefing but received an incomplete answer (a common experience). He asked how identities are mapped between containers.

I’ll explain. OpenSocial is an API for writing social widgets – JavaScript applets which hook into your relationships as expressed by people you’ve added as “friends”. Mark Andreessen has a great overview of the API, which is based on the concept of containers and apps. A container is a site such as MySpace or Orkut, which is where you’ve defined a set of relationships. An app is a widget or other JavaScript application that calls the OpenSocial APIs. The OpenSocial docs, which have just gone live, define a JavaScript API for widgets, and data APIs for People, Activities and Persistence, where Persistence covers retrieving and updating key/value pairs. All the data APIs use the GData protocol.

The big deal about OpenSocial is that many containers will support the same API, making it easier for developers to write apps. For example, music discovery site iLike, already big on FaceBook, can write one app that will more or less work in both MySpace and Orkut. And some new container site can start up, and by supporting the OpenSocial APIs be immediately attractive to developers with existing OpenSocial apps.

That’s definitely an advantage, but who are my friends? My Facebook friends? MySpace friends? Orkut friends? LinkedIn friends? If the social app concept is as big as people think it is (count me as a little sceptical), then the existence of multiple incompatible friend networks will soon become intolerable. Further, if I sign into a new container site, the big barrier to entry is that I have to recreate a friends network on this new site. Some sites workaround this problem in the crudest possible way. You have to give the new container site your username and password for some other container, and it pretends to be you and sucks out your existing contacts.

There is no simple answer to this. Even if you could do it, many people would be reluctant to merge multiple existing networks, because they represent different roles which they want to keep distinct. Social and business are the obvious ones, but that’s just the start.

There are several implications. First, the impact of OpenSocial on Facebook is probably less than some are implying. Facebook’s advantage is its bank of existing accounts and relationships. MySpace has lots of these too; but the arrival of OpenSocial has not changed that fact.

Second, the OpenSocial API is not such a big story yet. The big story will be when common identity gets added to OpenSocial. Right now, we have several containers vying to the one true identity provider for the internet, and a brave but so far unsuccessful effort by OpenID to free us from that alarming prospect. OpenSocial could evolve some federated way to unite identities. Or Google could try to make its Google Account system the center of our digital lives.

The identity wars matter more than the API wars.

Update

Others are also asking about this. Here’s a couple:

Dennis Howlett on a first Enterprise take

Bob Warfield who talks about a meta-social network

I’ll add more info as I find it, or by all means comment.

Programming Slimserver from .NET

I did a short article for Personal Computer World (Christmas 2007 issue, just published) on how to use the Slimserver API from VB.NET. This example app is the result. It is sadly incomplete but could be a starting point for an app that controls Slimserver.

Why would you want to do this? Well, Slimserver has a good web UI but programmatic control is useful as well. One possibility would be to create a smart remote using a Windows Mobile device. Operating a Squeezebox using the supplied remote is fairly arduous. I also like the idea of a really capable rich client for Slimserver, with advanced search, playlist management and so on.

Just in case you don’t know Slimserver … it’s a great way to manage your music on a network. It’s free, cross-platform, understands lots of music formats including FLAC (my favourite), and supports multi-room playback using either the free Softsqueeze, a Java player, or the Squeezebox hardware. It can also transcode to an MP3 stream, so that all sorts of devices can play what’s on your Slimserver.

Technorati tags: , ,

Kim Cameron hacked, commenters make fools of themselves

Kim Cameron has an amusing post on the aftermath of his blog being hacked and defaced over the weekend.

The reason for the hack: a security bug in WordPress. More proof of the problem posed by millions of apps out there on the internet with no update mechanism in place. Security fixes are made available, but not applied. WordPress has improved this somewhat by introducing an alert when you log-in to an out-of-date installation, but it needs to go further and provide something more automated. Personally I recommend the Subversion install, for those with command-line access; I used it for the 2.3.1 update and it worked well.

But I digress. The amusing part of Cameron’s post is his link to the comments on a news report describing the defacement. I believe in the value of comments, but some of the leading news sites are afflicted by knee-jerk commenters with time on their hands, who twist every post into another salvo in the OS wars. An news item about a Microsoft “security” expert being hacked seemed an ideal candidate (though I don’t believe identity is the same as security). “This is a shining example why you should host on Linux + Apache,” says one comment.

As Cameron observes, his site and blog is hosted by a third-party and runs on FreeBSD + Apache.

Conclusions? First, the thoughtless commenters on this kind of site are doing the community a disservice, by discouraging others with more interesting contributions.

Second, it shows what some have to put with just because of their association with a particular company.

Third, keep your WordPress patched.

Technorati tags: , ,

The curious business model of internet swap sites

It doesn’t quite add up, at least that how it seems to me.

I’ll explain. There are a number of places on the internet where you can exchange your unwanted CDs, DVDs, or other items, for others that you might like better. A while back I wrote a brief review of hitflip, a cd swapping site. I didn’t much like it. Someone commented to my post that SwapShop is much better. I tried it and found it was true: SwapShop is a better deal for users. The main reason is that while hitflip charges you a fee for each item you acquire (currently 79 pence), SwapShop is a free service. Furthermore, on my brief inspection SwapShop has better “stock”, the stock being items that users have posted as available. I’ve also seen the site recommended elsewhere, such as on the money site fool.co.uk. I like SwapShop and have made several successful trades.

However, there is something curious about the business model behind these sites, especially the fee-free SwapShop. A quick word of explanation. These sites do not really manage swaps, which would be inefficient. Instead, you exchange your items for credits, received when another user confirms receipt of an item you sent. These credits can then be used to “purchase” items from other users. But what happens if you would like to acquire an item, but do not have sufficient credits? Easy, you buy credits from the site:

If the item you want costs more than the Swap Points you have, you can wait to send more items to build up a larger number of points to spend, or you can buy points by going to the Account tab. Swap Points can be purchased for £1 each via PayPal.

This gives the the company running SwapShop some income, to supplement what it can get from Google AdSense and Amazon affiliate links. It’s not just SwapShop; other sites have a similar arrangement including PeerFlix (see here) and the aforementioned hitflip (see here).

Sounds reasonable – or does it? The success of the site, and the value of your credits, depends on the availability of items you want. In other words, it needs a balance between items offered and items received. But if somebody buys credits, that person acquires an item without contributing to the stock of available items. Put another way, and please correct me if I am wrong, the company selling credits is in effect selling stock that belongs to its users.

Consider a simple case. Let’s say the site is just starting, and ten people each offer a CD. They start browsing the CDs on the site, when an eleventh person comes along and buys all ten using purchased credits. Result: ten unhappy people, with credits but nothing to spend them on.

Provided the site is busy, this effect might not be noticed for some time, especially if users are happy to maintain accounts that are in credit. I’m puzzled though: other things being equal, isn’t this inevitably going to dilute the value of the site, potentially leaving users with valueless credits?

Other things might not be equal. For example, the company could counter this effect by purchasing stock with its income, and offering it in exchange for credits, or there might be other safeguards I’m not aware of.

If I’m right, selling credits for cash is a doubtful practice on this kind of site, unless users can also cash in credits (they can’t on SwapShop). A better approach would be to run it on a community basis, or get by on per-transaction fees, or let the advertisers pay for everything.

Isn’t my question about the business model at least a reasonable one? I can’t find it covered in the help page.

I put my concerns to Paul McDonnell, founder of SwapShop. He confirmed that money paid for credits is “a contribution towards the cost of running the site”. Isn’t that in effect selling items that belong to other people? “It’s a drop in the ocean, a tiny amount of money,” he told me, emphasizing that it was primarily for topping up credits for items you cannot quite afford. “It’s a benefit to the users. It’s just not an issue.” What would happen if, over time, this leakage resulted in a shortage of items to acquire? “I can’t imagine it happening,” he said. He referred to a recent questionnaire completed by thousands of users, none of whom raised the issue.

Point taken; McDonnell seems a decent guy and SwapShop users seem happy. Still, the nagging concern won’t go away.

Update

Here’s what Ian Wright at Hitflip told in an email reply to my query:

We are already monitoring the proportion of flips vs. worth of available items in our system via several internal reports. If an inflation of flips will be evident, we will buy items and insert them on hitflip.

Hmmm, it would interesting to know what those internal reports say, and what proportion would trigger the injections of items into the system. Still, it’s good that the problem has been considered. Hitflip is theoretically in a stronger position than Swapshop, since it has fee income.

 

Why does audio glitch in Vista?

I eagerly read An Overview of Windows Sound and Music “Glitching” Issues by Steve Ball, Senior Program Manager for Sound in Windows Vista, hoping to find out. Sadly, it offers no insight other than saying what a tough job it is for a busy operating system to play back audio smoothly.

I’d like to highlight a few of the comments to his post

The last time I remember my MP3s glitching was back when I had a P75mhz (which should be of no surprise). The only other time I had my MP3s glitch was when I upgraded my PC to Vista. This same machine (exact same hardware) which had XP running on it, *never* had an MP3 glitch. On Vista, sound **constantly** glitched. Merely scrolling web pages caused sound issues…honestly my mobile phone can play MP3s, while I surf the web, on a call and text message; all without any glitches. [from ateharani]

and this from explorer5:

Steve – Thanks for posting this article.. I’m hoping that in the second part of the series you will mention how and why “glitching” is appearing (sounding) on Windows Vista computers when those same exact computers when Windows XP was installed had no issues with sound quality.

and this, from divil:

When MS first announced that Vista could guarantee glitch-free media playback because of new kernel scheduling APIs my first thought was “what glitching?” since I’d never experienced it outside of DOS on slow machines. Now ironically, with Vista, I do get that wonderful experience. On a new PC.

Couldn’t agree more. See here for my earlier post: Audio in Vista: more hell than heaven.

Technorati tags: , , ,

Microsoft Oslo: now where have I heard this before?

“Oslo” is Microsoft’s latest pronouncement on the vexed subject of software modeling. This is from the backgrounder, which you can find here:

We are building a general-purpose modeling language, tools and repository to bridge all the models within an application, moving models to the center of application development. Models will no longer just describe the application, they will be the application.

Cool. But isn’t this reminiscent of what the OMG has talked about for years, with UML 2.x and Model Driven Architecture?

Why has MDA failed in mainstream development? I suspect the key question is whether it complicates rather than simplifies the software development process. In other words, the MDA overhead may exceed its benefits for the majority of applications. Looking at the list of OMG specifications that’s not hard to believe.

In relation to Oslo, I have a few questions.

First, why will Oslo succeed when other smart people have failed? Point of interest: they may even be the same people. Note this quote from Microsoft’s Jack Greenfield, whom I interviewed for the Register:

“We are the UML guys, that’s the funny part of it,” says Greenfield. “I was one of the chief architects at Rational; I spent a lot of time deeply steeped in the UML and in the committee work in the OMG. Other guys on team go deeper than I do.

Second, how serious is Microsoft about Oslo? When I spoke to Greenfield, I had the strong impression that modeling is an area of factional conflict within Microsoft. Thus, it could be the big thing one moment, then pushed to one side the next.

Third, how does Oslo simplify development, as opposed to giving developers yet another layer of complexity to worry about?

Irrespective of the above, it the parts of Oslo that talk about better integrating between BizTalk, the .NET Framework, and System Center do make sense:

There will also be investments aligning the metadata repositories across the Server & Tools Business products. System Center “5,” Visual Studio “10” and BizTalk Server “6” will utilize a common repository technology for managing, versioning and deploying models.

Further, who know whether Microsoft may yet do something wonderful with modeling that delivers on promises like:

In short, we want developers to be able to build [distributed] applications with one-tenth the code that is required today. And we want to establish a rich context in which those developers can interact with business analysts and IT professionals easily.

But count me in the sceptics camp until Microsoft comes up with something more convincing than rhetoric we have heard before.

UK Government resists Peer pressure on internet security

In July this year the House of Lords reported on personal internet security. I read the report and was impressed. I don’t agree with all of it, but I found it well-researched and mostly sensible. You can download it here [PDF]; I recommend it if you’ve not yet read the actual document.

The UK Government’s response [PDF], on the other hand, reads more like a series of excuses for doing nothing (or perhaps I have watched too much Yes Minister). So I guess that is that.

See Richard Clayton’s blog here (he was one of the advisors to the Lords committee), and this Register article.

Technorati tags: , ,

How ASP.NET began in Java, and the truth about Project Cool

A bit of nostalgia for you. Cast your minds back to 1999 or thereabouts. Microsoft is finishing off IIS 4.0 and there is no such thing as C# or ASP.NET. However, there are rumours that Microsoft is creating a Java-like platform codenamed “Cool”, in the aftermath of a dispute with Sun that was making it impossible to use Java itself. Microsoft denies the rumours. Here’s a report from February 1999:

There is no Java-like language under development at Microsoft, said Michael Risse,  Microsoft’s product manager for application development tools. Risse said the company is talking to developers about a concept called Cool, a much less ambitious project intended to tie Microsoft’s Visual C++ development tool more closely to its COM+ middleware. However, Cool is not yet in development, and is unrelated to Java, said Risse. He said Cool is strictly a “whiteboard” concept, and that no software code connected to the concept has been written at Microsoft. Cool is also unrelated to any Java technology within the company, Risse stated. “There’s no connection between Cool and Visual J++, and the Java lawsuit is irrelevant to the thinking we are doing [with Cool],” he said.

Even after C# was announced in 2000, Microsoft denied that it had anything to do with Cool:

Yesterday, Microsoft executives denied that C# was related to the rumored Cool project.

Now, over to Mark Anders, co-inventor of ASP.NET, whom I interviewed earlier this month at Adobe Max Europe. I asked Anders how ASP.NET came about.

Anders: “ASP.NET happened after we shipped IIS 4.0 and everyone went on vacation. Scott Guthrie and I – Scott worked for me at the time, he was 22 years old, straight out of college – and we took advantage of the time everyone was on vacation to start brainstorming new ideas. We looked at ASP and how it was being used. I had worked on Visual InterDev so I had a lot of friends on that team, and we were looking at the new version, I think it was Visual InterDev 6.0, and we noticed how messy the code was. We said, how can we do better? Scott and I worked for a month and a half, and then when everybody came back from vacation in January we showed them a prototype and a PowerPoint deck, showed them this vision, and people said, ‘keep working on it’.”

I asked whether the prototype was based on .NET from the beginning, or “Project Cool” as the rumour went?

Anders: “No, it was not. The original prototype was written in Java. I loved Java as a language and Scott did too. So it was done in Java, and we took that around to lots of different groups. The first group that we took it to was the tools team. The VB and the InterDev teams were in a feud, and when they saw our demo they liked it. They said, ‘If you build that, we will target it with our tools.’

“The VB team was working on developing a new runtime, what became the Common Language Runtime. It was not as complicated as COM, and it had a nice object system, it was garbage collected. So we made a decision that we would write our thing, which at the time was called XSP, in this new runtime. So we were the first ones to commit to writing anything on it. The VB team was going to be using it as their runtime, they were doing their forms, but we actually built the whole thing in .NET.

“The funny thing is, you mention Cool. It was called Cool at one time, but Microsoft denied it. Scott and I presented what was then called ASP Plus, but we presented it a long time before anybody talked about .NET. We went to a conference, I think it was in Washington DC or something, and Scott and I were up on stage. He is doing this demo, and he says, ‘Here is a directory listing’. And I glance up at the screen, and I see file1.cool, all these .cool files, and we’re busy denying that there is anything called Cool, and he has this directory listing. So I was worried that somebody would see that and put two and two together… but nobody picked up on it. They had asked if they could videotape me to re-broadcast, and I’d said fine, but when I realized that the Cool screenshot was shown, I contacted them and said, ‘I can’t let you have that videotape’, and they sent it back. So it never leaked.”

All these efforts did not prevent The Register posting a story in September 2000 which describes how a reader working with early C# samples:

…discovered that the original C# compiler was called coolc, subsequently renamed as csc.exec. Elsewhere, sample C# code has the HTML tag <script language=’COOL’ runat=’server’>, and Larry notes a couple of references to the string “C\temp\fact\factorial.cool”.

So why did Microsoft deny it? I’m guessing, but maybe the company felt that ‘Project Cool’ was related to Java in people’s minds, and wanted to emphasize that .NET was 100% Java-free. Any resemblance is purely coincidental, as novelists like to say.