All posts by onlyconnect

Microsoft will have to face its own demons

I enjoyed Rafe Needleman’s post on Microsoft vs Yahoo. He runs down today’s key web offerings from Microsoft and Yahoo, and tries to guess which one would survive and which would be killed after an acquisition.

It’s fun speculation, but also shows how painful it would be to push this lot together. Must be a difficult time for all those product teams, facing the possibility of scrapped projects.

Another thought is what this offer says about Microsoft’s existing web efforts. It’s as if Microsoft is saying to all those Live teams, “Sorry  guys, it’s not working. We have to do something drastic.” If the bid fails, and we get the announcement that “Microsoft is excited to focus on continuing to build its Live platform” or something like it, it will still leave that awkward question hanging:

What can Microsoft do with Yahoo that it cannot do without it?

Microsoft’s ambivalence towards cloud services

The irony here is that Microsoft’s Live efforts have likely been held back by its own unwillingness to cannibalise the sales of its desktop products. Actually, not only its desktop products, but also its server products. I wrote two years ago about Office live vs Small Business Server, then noted how various limitations made it impossible to replace SBS with Office Live. It is also often noted how careful Microsoft is to ensure that, however rich the Office Live web components become, you still need Microsoft Office on the desktop.

I was asked the other day about how to set up a Nokia mobile with Office Live email. Yes, you can use its tiny web browser, but what about the proper email client, which in this case supports both POP3 and IMAP? Answer: can’t be done, without a third-party web-scraper service like IzyMail. Further, you cannot set up forwarding from Office Live to external email addresses. Hotmail shares these limitations, unless you upgrade to a paid-for Hotmail Plus account. All this is aggravating, and drives users to Gmail or indeed Yahoo, which both offer these features (actually, I don’t think Yahoo does IMAP except in a limited manner for the iPhone, but it does POP3).

Why has Microsoft struggled to support basic internet standards like POP3 and IMAP? Isn’t it do to with the fact that Microsoft’s real email server product is called Exchange? Yes, there is also the matter of trying to keep non-paying users on your web site, where they can see ads, rather than using offline clients, but Google has figured that it is better to keep your customers happy, than have them use rival services.

Why would buying Yahoo fix Microsoft’s internal (and understandable) ambivalence towards cloud services? Personally I don’t think it would. Rather, it’s Microsoft that needs to take the bold step of making its Live services as good as possible, rather than as good as they can be without damaging Windows and Office.

What money can’t buy

I realise that what Microsoft thinks it is buying, to judge from its conference call, is market share in online advertising and search. Still, I can’t shake off the suspicion that adding Microsoft to Yahoo might form something rather less than the sum of its parts. I also can’t help thinking that what Microsoft envies at Yahoo is its freedom from a LAN and desktop legacy that saps energy from internet-based initiatives. Look at what Ballmer said in the conference call:

It really represents a transformation of our business. The Windows user wants to be live. The Windows experience needs to increasingly embrace the Internet. There will be a Windows Live office. There will be an Office Live as we continue to bring out innovations in which Office transforms and is transformed by the Internet.

Unfortunately that freedom is something that cannot be bought. Microsoft will have to face its own demons.

Technorati tags: , , , ,

Anders Hejlsberg: Languages are becoming amalgam

Ted Neward has some notes on Microsoft’s recent Lang.NET symposium. In his notes on Day One he  mentions a remark by Anders Hejlsberg that “languages are becoming amalgam”. I don’t have any more details on what was said but it chimes with what I’ve observed in the last few years. We’ve seen C# and .NET take on characteristics of functional and dynamic languages; we’ve seen C# and Java adopt similar features; we’ve seen JavaScript/ActionScript evolve into another similar language.

Neward adds:

if languages are slowly “bleeding” out of their traditional taxonomies, how will the vast myriad hordes of developers categorize themselves?

Personally I’ve long thought that good developers can adapt relatively easily to different languages. Maybe it is more interesting now to look at development methodologies, whether implicit or explicit.

Further, even if business/web development languages are converging, native code memory-juggling in C or C++ remains distinctive and necessary.

Technorati tags: , , ,

Microsoft and Yahoo: it’s all about the ad platform

Just got off the conference call. One thing that is clear is that this bid is primarily motivated by the desire to build a bigger advertising platform. Microsoft talked about Google’s 75% market share in search advertising and the implication is that Microsoft is worried that it may never be able to build its Live brand into a serious competitor.

Microsoft says the offer is worth 44.6 billion dollars, split 50% cash, 50% equity, representing a 62% premium on yesterday’s closing price for Yahoo shared. It would like to complete the deail in the second half of 2008.

Ray Ozzie talked about information portals, the pivotal role of search, and plans to transform search from its current “10 blue links”. He mentioned natural language search and social platforms. He also mentioned Yahoo’s developer platform and said that Microsoft would extend it.

In answer to a question about the future of the MSN and Live brands after a successful acquisition, Microsoft talked about “a thoughtful process” involving a joint leadership team – Microsoft and ex-Yahoo. Nobody asked about PHP vs Window server technology but I suspect the answer would have been the same.

My initial reaction: I can see the sense of it though I doubt integration would be easy. I do think there is a cultural divide between Microsoft and Yahoo that would not be easy to bridge, though it is easier to envisage now than it would have been a couple of years ago. Reason: a formidable common competitor, and work Microsoft has done on open source and cross-platform technologies, such as supporting PHP on IIS, and creating Silverlight.

Will Yahoo bite? Will it have a choice, given that Yahoo itself is struggling and doesn’t have Windows+Office business to fall back on?

Currently Yahoo says:

The Company said that its Board of Directors will evaluate this proposal carefully and promptly in the context of Yahoo!’s strategic plans and pursue the best course of action to maximize long-term value for shareholders.

Not much, but not an instant rejection.

Microsoft wants to buy Yahoo

Microsoft is proposing to buy Yahoo and has sent a letter to its board of Directors.

Could this combination compete more effectively with Google? Would the Yahoo culture accept such an acquisition? Maybe a minor point in the grand scheme of things, but Yahoo is built on PHP and employs PHP’s inventor, Rasmus Lerdorf.

The combination will create a more efficient company with synergies in four areas: scale economics driven by audience critical mass and increased value for advertisers; combined engineering talent to accelerate innovation; operational efficiencies through elimination of redundant cost; and the ability to innovate in emerging user experiences such as video and mobile. Microsoft believes these four areas will generate at least $1 billion in annual synergy for the combined entity.

Listening to the conference call right now.

Technorati tags: , ,

Unravelling the reasons for Vista audio glitches

Since Vista’s first release I’ve been puzzling over why audio in Vista is prone to glitches, when it is meant to be fundamentally better than it was in Windows XP.

I’ve posted previously on the subject:

Audio in Vista: more hell than heaven

Why does audio glitch in Vista?

Another Pro Musician gives up on Vista audio

I myself suffered from this. When I stuck a CD in my Vista PC back in November 2006, it would not play smoothly. I don’t recall ever having this problem before, even back in Windows 3.1 days.

The Guardian commissioned a piece on the subject which is published today. The research showed multiple reasons for Vista’s audio problems. It’s best to show these as a series of scenarios.

1. Consumer buying new Vista PC with on-board audio

The recommended audio driver type for Vista is called WaveRT. The architecture is better than with previous driver models; you can read an official paper on the subject here. If you look at the API, you’ll notice two interfaces, IMiniPortWaveRTStream and IMiniPortWaveRTStreamNotification. The second interface was added at a late stage in the Vista development cycle. According to CakeWalk’s CTO Noel Borthwick, this was because the original API, which lacked this event notification, was very inefficient. Although Microsoft fixed it, the on-board audio drivers came out using the old inefficient driver model for WaveRT. RealTek actually lists support for IMiniPortWaveRTStreamNotification as one of the fixes in its 1.82 driver update, released in November 2007 a year after Vista went RTM.

The fact that the on-board audio vendors provided WaveRT drivers at all was an indication of their early support for Vista’s new driver model. Vendors of add-on audio cards didn’t get round to this much later, or in some cases not at all.

2. Consumer with Vista PC and an add-on card

Although WaveRT is the recommended driver type for Vista, older driver types are also supported. At a higher level, the new WASAPI audio API also emulates older APIs like DirectSound and MME. The quickest way to come up with Vista drivers was to use these legacy APIs. The result is that drivers for add-on cards were probably using inefficient compatibility APIs.

In both consumer cases, this is about apps as well as drivers. Applications make a choice about which Windows audio API to use. In many cases that’s going to mean an emulated API.

3. Pro audio user with add-on card

The situation for pro audio users is different again. On-board cards lack necessary features for pro audio. Pro audio applications have long bypassed the Windows audio stack to reduce latency, using either ASIO or WDM kernel streaming. This avoids the problems mentioned in (1) and (2) above, because ASIO and WDM kernel streaming work the same in Vista as in XP. However, even here Vista is less satisfactory than XP, because the OS imposes a greater overhead, and because according to Borthwick there are bugs which only Microsoft can fix. An example is mentioned in this interview in Create Digital Music:

Peter: Some users have reported MIDI performance issues — specifically, jitter — under Vista. How much of an issue is this? What are the factors that cause it?

Noel: Both Cakewalk and Digidesign and Cakewalk logged this issue with Microsoft. The root cause of this problem was found to be in the WinMM.DLL and was due to an inefficient check being done on every WinMM API call.  It has been addressed in Vista SP1.

The issue itself was pretty severe and impacted MIDI timing on playback and recording. As compared to XP, in Vista we observed timing discrepancies as far out as 150 ticks. You could also run into cases where MIDI events were lost while playing.

Here’s one instance where SP1 definitely improves matters; nevertheless, Borthwick told me that SP1 is not a cure-all and some other bugs remain unresolved.

Myth-busting

Some people think that Vista’s DRM is responsible for audio problems. Nobody I talked to thought that was the case. It doesn’t apply in the common cases mentioned above.

What about moving the audio stack out of the kernel? Probably not an issue, certainly not in the pro audio case, where things work the same as before.

Fixing Vista audio

Vista audio is definitely improving. SP1, improved WaveRT drivers for on-board sound, decent drivers for add-on cards, all are happening. It probably will reach the point where it is better than XP in some circumstances, because there are genuine improvements in the audio stack. If you are reading this and get glitches, check that you really have the latest drivers and updates.

64-bit has the potential to be really good, though driver support is dire right now.

It’s still a sorry tale and I suspect has lost Microsoft a lot of momentum in the pro audio world, and also among consumer users like myself who were surprised and disappointed by glitching audio.

Preventable? Ultimately I feel this is a symptom of Vista actually being rushed (despite long delays), thanks to the famous reset. There’s also the question of why the WaveRT API wasn’t done right at an earlier stage, which (if the above analysis is right) could have saved much grief. Finally it seems that the emulation layers are just too inefficient.

Technorati tags: , ,

How to speed up Windows Vista: official and unofficial tips

Microsoft has published an article on speeding up Vista, aimed at general users.

It’s not too bad. Here’s the summary:

  • Delete programs you never use
  • Limit how many programs load at startup
  • Defragment your hard drive
  • Clean up your hard disk
  • Run fewer programs at the same time
  • Turn off visual effects
  • Restart regularly
  • Add more memory
  • Check for viruses and spyware
  • Disable services you don’t need

Still, it’s a bit scattergun. I prefer a two-stage approach to improving performance (same applies to a single application):

  1. Find out what is slow
  2. Speed it up, or leave it out

For example, the benefits of adding memory tail off after a certain point. Task Manager will tell you to what extent RAM is slowing down Vista. Further, adding memory beyond 3GB is pretty much wasted on 32-bit Vista, since the system can only address 4GB, and the BIOS plus devices will use a lot of the 4th GB address space. That said, a system that is critically short of RAM (in other words, constantly swapping out memory to the hard drive) is in my opinion broken and unusable. Adding RAM in such cases delivers huge rewards.

Uninstalling programs gives little performance benefit if they are not running (unless disk space is limited). The aim is to reduce the number of running processes, not entries in the Start menu.

Vista defragments your drive regularly, by default. The benefits are often rather small, so it would be equally valid to suggest removing it from the schedule, or scheduling it to run less frequently.

The advice to restart regularly needs examination. Yes, a reboot can fix a sluggish machine. But it shouldn’t be necessary, and I recall that keeping Vista always-on was intended to be a benefit of the OS. Yes, here’s a quote from Power Management in Windows Vista [ppt]:

  • Windows Vista promotes the use of sleep as the default off state

In the right circumstances, Vista can run for ages without any problem. I’ve actually had Media Center (Vista Ultimate) run for several months without any issues; though this kind of thing is not very green so that’s another reason to do regular switch-offs. Still, to my mind “restart regularly” is a symptom of some problem that should be fixed.

Turning off visual effects is reasonable advice, though once again it may not yield much benefit. I tried it on my system and was surprised how little difference it made. Reason: I am running with Aero and a decent-ish graphics card, and hardware acceleration seems to handle the visual effects rather easily. Once again, if it’s not the thing slowing you down, then removing it won’t speed you up. You can test this quite simply, though it is tedious. Try it both ways. Did it make a difference? Measure it if possible.

It really is worth using the built-in tools, like Task Manager and the Reliability and Performance Monitor, to see which processes are grabbing lots of RAM and CPU. One of the good things about Vista is that such tools are easy to find. Click Start, type “reliability”, and click the link.

I’d also like to see mention of some favourite candidates for slowing down Vista:

1. Outlook 2007

2. The indexing service

3. Anti-virus software

4. Windows Defender

Hmmm, at least three of these are from Microsoft. Perhaps they are too embarrassing to mention.

Finally, I suspect disk performance is a big factor in real-world Vista speed. The reason is that many apps are very talkative when it comes to disk access. Here’s something to try. Go along to the Systernals site and download process monitor. This gives a good picture of what the actual processes on your Vista box are up to. Note how many events are occurring, how many of them involve file i/o, and which processes are responsible. You will also discover a large part of the reason why Outlook 2007 is so slow.

PS Another article, also just published, has good coverage of swap files and ReadyBoost.

Living without the mouse – the content is the interface

I meant to link yesterday to John Lam’s post on living without the mouse.

I do so today because it fits nicely with Edward Tufte’s remark that (ideally) the content is the interface.

Lam’s point is that “toolbars just waste screen real estate”. Thus, he’s learned to operate as far as possible with keystrokes, not only because this is quicker (hand does not leave the keyboard), but also because it lets him remove on-screen furniture.

He writes primarily about Visual Studio, but also has a great tip for Office 2007 apps like Word and Excel. Press Ctrl-F1 to toggle the ribbon on or off. No ribbon means a lovely clean workspace.

Web usability has a long way to go

First thing in the morning I often browse through recent blog posts and follow links that look interesting.

I noticed a free Windows 2008 book offer from Microsoft. Might be useful background for my review I thought – I’ll download it.

I lost count of how many slow, unresponsive pages I had to traverse before getting the book. Yes, I am persistent. I do recall having to sign in with Windows Passport (to the same account) twice – once to register for the book, and a second time for something called the E-Learning center, both times passing registration forms that I have seen many times before and do not intend to change. The final annoyance is that you cannot right-click and download the PDF; it is a Javascript link that opens in the browser. In my case I’ve set Adobe Reader to open outside the browser, which helps, but it is still an irritation.

It would not be so bad if this labyrinth of links were quick to navigate, but they are not. The problem in this case does not appear to be the download of large files (the PDF actually came down quickly once I got there), but rather slow server-side code resulting in web pages that seem to hang.

Next came an irony. Via Jimmy Guterman at O’Reilly I noticed a presentation by Edward Tufte on the Apple iPhone UI. Guterman warned that it was a large Quick Time file that would take “many minutes” to download. I clicked anyway. And waited. It was better than endless link-clicking, but still a poor user experience – no download thermometer, just a web page that seems completely unresponsive.

I agree with Guterman – the video is worth watching. Key points:

  • The content is the interface – remove “computer administrative debris” like buttons and toolbars.
  • Clutter is a failure of design
  • Add detail to clarify

Nevertheless, getting to the video is a lousy experience. The key here is that progress indicators transform the user’s perception of lengthy operations. I don’t just mean a spinning hourglass or the browser’s loading thermometer – we’ve learned that these are unreliable indicators, and that we may wait forever.

Nokia acquires Trolltech,

Nokia is to acquire Trolltech, makers of the popular cross-platform Qt GUI API and widget set. Qt (Cute Toolkit) is used by KDE, one of the two most widely used Linux desktops. It is also used in many cross-platform applications.

The announcement states that Qt will continue to be open source:

We will continue to actively develop Qt and Qtopia. We also want to underline that we will continue to support the open source community by continuing to release these technologies under the GPL

Nokia says:

The acquisition of Trolltech will enable Nokia to accelerate its cross-platform software strategy for mobile devices and desktop applications, and develop its Internet services business. With Trolltech, Nokia and third party developers will be able to develop applications that work in the Internet, across Nokia’s device portfolio and on PCs. Nokia’s software strategy for devices is based on cross-platform development environments, layers of software that run across operating systems, enabling the development of applications across the Nokia device range. Examples of current cross-platform layers are Web runtime, Flash, Java and Open C.

Interesting acquisition. I have great respect for Nokia, but find its platform strategy confusing. It is the major partner in Symbian, the operating system used in its smart phones, but it also uses Linux, for example in its Internet Tablets like the N810. Nokia sponsors an open source development platform called Maemo, which uses the Gnome Toolkit, a competitor to Qt. I also met Nokia folk at Adobe Max in Barcelona, talking up its Flash support. The Flash player is included on all high-end Nokia mobiles.

And what’s this about “applications that work in the Internet”?

It is a shame to see another smart, independent company swallowed by a giant, but there could be worse homes for Qt. That said, I’d be nervous about Qt’s support for Windows CE. And what will happen to Qtopia Phone Edition:

Qtopia Phone Edition is a comprehensive application platform and user interface for Linux-based mobile phones.

The releases say Nokia/Trolltech will continue to invest in Qtopia. Will it become core to Nokia’s own range of devices, or sidelined? What are the implications for Symbian? Is Nokia worried about too much mobile development going to Flash?

However you spin it, it seems that Linux is ascendant at Nokia.

Technorati tags: , , , , , ,