All posts by onlyconnect

Microsoft vs Open Source: only one loser

Microsoft, of course. Fortune reports that Microsoft will seek to extract royalties from users of open-source software. That would be monumental folly. Here’s why.

First, the company already has an image problem. It’s the “Evil Empire”, the vendor we love to hate. Litigating against free software would be appalling PR.

Second, let’s consider who would lose out if Microsoft succeeded in making widely used open source operating systems or applications illegal. Clearly, it would be the users of that software. But these users are in many cases also Microsoft’s customers. Windows on the desktop, Linux and Apache on the server, for example. Anyone who uses the internet uses open source software. If Microsoft litigates against open source, it will be litigating against its own customers.

Third, Microsoft won’t succeed. I don’t find it difficult to believe that:

…FOSS infringes on no fewer than 235 Microsoft patents.

as Fortune reports. But what if big patent holders like IBM decide to trawl their files looking for ways in which Windows or Office might infringe a patent or two? I’d be astonished if they came back empty-handed. This is not a game that Microsoft can win.

Fourth, the free and open source software movement is good for all of us. It’s lowered prices and fostered innovation. That’s a problem for a company that decides to attack it, because everyone will want it to fail.

Fifth, Microsoft has a dismal record in the courtroom.

Sixth, major legal confrontations are a huge distraction. They drain productivity. They divert energy and attention away from what the company is good at.

If Fortune is to be believed, Microsoft has been listening too much to its lawyers, and not enough to its customers.

Microsoft can thrive alongside open source. The way to do so is to create great software like Silverlight. Not by embarking on unwinnable legal contests.

Despite the above, I can understand (though not approve) that Microsoft may wish to mutter about its patents now and again, to spread a little FUD and dissuade customers from a switch to Linux. This may be no more than that. Otherwise, it is making a costly mistake.

 

Technorati tags: , , , , ,

Office Open XML needs wrapper classes

I’ve been writing a hands-on style article on using the Packaging API and Office Open XML. It all works smoothly, but its glaringly apparent that Microsoft needs to provide some wrapper classes for Open XML documents to make the API more usable. You can download some code snippets, which is a start, but these only scratch the surface. After all, Office developers are used to the COM automation API which makes it relatively easy to create and manipulate documents. By contrast, to get anywhere with Open XML you have to understand the raw XML. It is still miles better than working with RTF, or with the binary Office formats, but more difficult than it should be.

By way of illustration, look no further than the official code snippet for XLInsertStringIntoCell, which does what its name suggests: writes a string into the specified cell of an Excel spreadsheet. It is over 200 lines of code and comment (in fairness, more comment than code). That would be just 2 or 3 lines in VBA. Of course, once you have the wrapper function, it is just as easy. Unfortuntely there is a lot to wrap, but it is not necessary to be comprehensive. A simplified DOM that enabled the creation of basic formatted documents and spreadsheets without having to write thousands of lines of code would meet most needs.

I realise that you can write a “Hello world” document fairly easily; I’ve done it myself. But “Hello World” is not particularly useful. After all, you could output plain text or CSV, and Word and Excel will open them happily enough. The point of Open XML is to enable documents that have a little more to them: headers and footers, specified margins, rich formatting with fonts and paragraph styles, tables and graphics. Doing all that in Open XML is not trivial.

I am not the first to think along these lines. For example, here’s some code posted to CodePlex for working with Excel. Good stuff, but personally I’d like to see some official libraries, or even a well-run (WIX-style) officially endorsed open source project for this. It’s badly needed.

 

Technorati tags: , ,

Developers still miss VB6

A couple of years ago I wrote a piece on why Visual Basic 6 was frozen.

The topic is still of interest, and some reason reddit.com picked this link up recently, so the article has thousands of new readers.

If nothing else, it proves that developers still miss the old Visual Basic. Perhaps not so surprising; as I pointed out, it once had a reasonable claim to be the most popular programming language. That would not be true now; C# seems to be more popular than VB.NET, certainly among professionals, and I suspect Java is the number one overall (though these things are hard to measure intelligently).

Would I write the same article today? More or less, though the arrival of Vista and Office 2007 would make me state more forcibly that neither COM nor the Win32 API is dead. I still think that maintaining old-style VB would not have been feasible for Microsoft, except like FoxPro as a legacy thing and sadly now a dead end.

It’s also worth noting that VBA lives on, even though Microsoft is focusing on VSTO in its place. Except on the Mac, which is another story.

PS: I’ve fixed the comment feature on the article, so you can now have your say.

Technorati tags: , , , , ,

Sweet harmony between W3C and WHATWG

The new-ish W3C working group set up to create a new version of HTML has voted to adopt the work of WHATWG as its starting point, in particular the work on HTML 5. Here are the details from the co-chairs. This will speed up the process, and more significantly, brings together the W3C and the WHATWG. WHATWG was set up by browser vendors (Microsoft excluded) out of frustration with the W3C process and its abandonment of HTML in favour of XHTML.

Does this now make WHATWG pointless? That’s the obvious conclusion; but the group may not want to disband itself.

Thanks to Simon WIllison for the link.

 

Technorati tags: , ,

Why you should keep UAC enabled on Vista

Ian Griffiths has a nice post on why you should not disable UAC, even if you are are a developer.

I’ve followed that advice and it works for me, though there are still one or two apps where I have to Run As Administrator.

That does not include Visual Studio 2005. Despite the warning which it issues, I find it works for me without it (I realise there are scenarios where this won’t be the case).

The intriguing thing is that (as Griffiths notes) even Microsoft is not solidly behind UAC. I’ve commented on this before.

Since there is still a myth that running Vista with UAC enabled results in an avalanche of intrusive dialogs, it’s worth popping up from time to time to say that it is not so.

Windows security affects all of us, even if you do not like Windows or use it. UAC (and IE7’s protected mode, which depends on it) is a step forward and worth supporting.

 

Technorati tags: , ,

JBuilder 2007 comes to the Mac

Codegear has announced a new JBuilder 2007 release which includes Mac, Vista and RedHat support (the earlier release only ran on Windows). It is to be made available later this month (May 2007).

There are three editions, Turbo (free), standard and Enterprise. Enterprise has “Team Server” features, with tracking and source code management; it’s not clear from the release how this ties in with existing team offerings from Codegear/Borland. The standard edition replaces both Developer and Professional editions in the previous range; the release says there is: 

Special upgrade pricing of $250 and new user pricing of $499

You would have thought this would be a free upgrade for existing JBuilder 2007 users, since cross-platform support should have been there from the beginning, but the release doesn’t say that it is. I’d like clarification.

This of course is the “JBuilder” based on Eclipse. I was interested in a discussion on one of the JBuilder newsgroups about Eclipse updates. Eclipse is a platform for add-ins, each of which is constantly being updated. The idea is that you run the update manager from time to time to get the latest version of each add–in, or perhaps install new ones. There are multiple dependencies with obvious potential for conflict. Borland’s JBuilder is a tailored build of Eclipse, and in consequence it is apparently dangerous to use the update manager. One user complained about this and drew the following comment from JBuilder expert David Orriss:

Do not try to use the Eclipse updater in JBuilder 2007. It can lead to problems, as you have seen. I’ll agree that it could have been documented better, but to try to effectively block the updater [which] (via plugins or code modifications) causes problems in the Eclipse platform.

It is a significant point. On the plus side, one of the attractions of JBuilder 2007 is that it offers a consistent, supported build of Eclipse unlike an uncontrollable open-source installation. On the minus side, blocking the update manager blocks the key Eclipse benefit: its extensibility and continuous improvement.

 

Mix Unmixed

Microsoft had a good Mix07. Let’s start with the provisos. Silverlight with .NET may have been announced, but it’s a long way from delivery, with alpha code just posted and no date set. Adobe already has a widely deployed cross-platform runtime with an embedded Javascript engine, complete with JIT compiler.

Next, Microsoft is miles behind its rival in the design world; it’s Expression tools are just now appearing, while products like Illustrator, Photoshop and Dreamweaver are de facto industry standards.

Third, Mix07 had its share of hiccups, not least the bizarre closing plenary. The theme seemed to be the future of advertising: XBox maestro Robbie Bach entertained us for a short time with clips of in-game advertising, following which came a lengthy and less than sparkling panel debate, only redeemed by pithy comments from Economist Publisher and Managing Director Andrew Rashbash who reminded us that editorial independence still matters, which is a relief.

That wasn’t enough for most delegates. A little way into the debate I became aware of a distracting bonging noise from somewhere behind me. It was the doors clanging as attendees headed for the exit.

I have never seen so many people leave a Microsoft plenary, and I can’t shake off the suspicion that something else was planned for this slot, but pulled at a late hour.

Never mind, this was nevertheless a good conference for Microsoft. It is all about a one-two Silverlight punch. Punch one is online video. You know the story: streaming internet video used to belong to Real, Apple and Microsoft until Adobe sneaked in with a marvellous “it just works” implementation in the Flash runtime. How can Microsoft now compete? Two ways: price and quality. On the price front, it is giving away space on its streaming servers, a more than generous offer that is likely to be widely taken up.

Another factor is codecs. Flash has two, H263+ and VP6. H263+ is cheap to implement, thanks to to support in FFMPEG, but the quality is poor. The newer VP6 codec, from 0n2, is equally high quality but according to Microsoft’s Forest Key, less efficient:

We are 20% better. At constrained data rates, or at HD data rates, because it’s computationally more effective, we can do a significantly better job . We can do HD on a significant number of machines. You will be able to do HD video with Silverlight. That is something that Flash can’t claim.

On2 may dispute this, judging from the claims on its site; but even if Microsoft is only on a par, that might be good enough, bearing in mind the low cost of encoding and delivering:

Expression Media Encoder is a batch processing tool for delivering media to Silverlight. It’s an enterprise scale product. We have a streaming server that is part of Windows server. It is very cost effective. By comparison Flash has a very expensive SKU.

says Key. Another plus for Silverlight video is ease of development. Program Manager Wayne Smith closed his demo with a jigsaw puzzle video, by which I mean a jigsaw image, pieces strewn everywhere, with each piece playing a segment of video. This is not useful in itself, but it nicely illustrates that in WPF video is just another graphics brush. This makes it easy to integrate video into an interactive application, with overlays, user configuration options, multiple simultaneous videos playing, and so on. Welcome to interactive broadcasting.

I am not personally a video person; I’m more interested in the programming side. The second Silverlight punch is the announcement of official cross-platform .NET, something I’ve speculated about for a long time, since before .NET 1.0 was released. Why is Microsoft doing it now? In one sense it’s an admission of failure: there will never be a Windows-only internet, thank goodness. For the rest of us it is good news.

Will Microsoft compromise Silverlight to keep the full WPF better? That must be a risk; but Key insists not:

That’s not our concern. We’re going to make Silverlight as good as possible. We shouldn’t artificially sabotage Silverlight to keep differentiation.

Overall it’s a good story, and accounts for the generally enthusiastic reception which Mix delegates gave to the opening keynote, which was as good as the closing plenary was bad. Pay special attention to what the guys from Major League Baseball talked about, as this is where it comes together into a compelling deliverable.

With Silverlight and Expression, I now think Microsoft will make real impact.

Technorati tags: , , , , , ,

Canon Exposed

I attended a briefing/party in Monaco to mark the 50th Anniversary of Canon in Europe. At the exhibition I saw this display of the insides of a Digital Ixus – picture taken with an earlier model of the self-same camera:

At the event Canon announced the IXUS 950 IS, with 8.0 megapixels, 30fps VGA movies, and face detection technology (this is meant to improve focus, not recognize celebs).

But what did I learn about the insides of Canon itself? This was not an occasion for detailed analysis, though I saw some shiny new cameras and videocams, and had an chat about video codecs which was interesting in the light of my discussions with Microsoft about Silverlight video last week.

Some quick stats though: Canon says it launches 100 products per year and takes out 2000 patents. Since 2004, EMEA (Europe, Middle East and Africa) has been its biggest single market, accounting for 32% of revenue (9 billion Euro in 2006). According to COO Tsenuji Uchida, Canon’s market capitalization is the 6th largest in Japan and 81st worldwide, at around 9 trillion yen. It is the world’s biggest supplier of digital cameras (by value), but only number 4 when it comes to video cameras.

A large part of Canon’s business is in paper handling – printing, scanning, copying – and I would have liked to ask how it expects to thrive in the paperless office era, when and if that ever arrives (I think it will), but didn’t get an opportunity. The answer I guess is in the new corporate logo “We speak image”. Another interesting question is about device convergence: I’ve heard that Nokia is now the biggest single supplier of cameras if you count the things built into mobile phones. When phone cameras become “good enough” for family snaps, will that hit Canon’s market? Possibly, though as photograhy (still and video) becomes cheaper and easier thanks to advancing technology, the hobbyist market is growing and will never be satisified with a phone cam.

 

Hi, got a Dell? Outlook slow? Let me fix it

I enjoyed this comment from Thad Leingang who found one of my posts on Outlook 2007 performance problems. He is one of many to suffer from a Dell add-in installed by default called Media Direct; I’m not sure what this is meant to do, but as a side-effect it apparently slows Outlook 2007 to a crawl. Leingang fixed the issue thanks to an earlier comment here, but for him that was not enough:

I have made it a personal mission to seek out every DELL XPS1210 customer and tell him to ditch Media Direct. I am in sales and travel quite a bit. So in the past 3 weeks, I have interacted with 7 M1210 users. For instance, in Airports it is easy to spot the other Business travelers and it is customary to size-up each other’s package (PC that it). “Hi there, I see you have a M1210. Are you having a performance problem with your Outlook?” At first, I often get this “who the heck are you” look but after I explain more, I see tears form in their eyes. Tears of gratitude! Last Sunday in salt Lake airport, I help a guy named Dave delete Media Direct from his Dell. I was rewarded with free beer until I could drink no more (I had to catch my flight.) I even receive an unsolicited hug from a lovely lady in Irvine.

But why are users resorting to peer-to-peer support in airport lounges? Mainly because of the failure of the official alternative:

After I fixed my PC, My IT guy (Charlie) called Dell support and they said, “Oh yea, we are aware of this issue.” THEN WHY THE #@&K did you not tell us in the last 6 support emails we entered? “I am sorry sir, I will report this to my manager” BULL. This is undoubtedly a Dell problem!

I would be interested to know, first, whether Dell has fixed the issue with this add-in; and second, whether it has bothered to email its registered customers with the information Leingang is dispensing on his travels.

 

Technorati tags: , ,

Linn Records adopts FLAC for hi-res downloads

I was interested to see that Linn Records now offers FLAC downloads in its music download store. This is a download store done right – no DRM, no lossy compression (unless you specifically choose MP3).

It’s still something of a struggle finding a file format to please everybody. Linn now has three: MP3, lossless WMA, and FLAC. MP3 is no hassle. WMA is tiresome for Mac users. FLAC won’t play in Windows Media Player without an add-on. It’s even worse when it comes to high-res (typically 96/24) files. Linn says that high-res WMA won’t play at all in iTunes on the Mac, and that high-res FLAC won’t play in Windows Media Player.

Personally I shall choose FLAC if I buy any of these, as I have done with Robert Fripp’s DGM download store.

It’s great to see a small but highly regarded label adopting an open-source format for its downloads. How about it Apple?

 

Technorati tags: , , , , , ,