All posts by onlyconnect

Sorry Ryan, this can’t be done

I enjoy Ryan Stewart’s Universal Desktop blog on Rich Internet Applications. It’s changing though. Stewart now works for Adobe, though he says:

I’m joining Adobe as a Rich Internet Application Evangelist on the Platform Team. One of the things I get a lot of feedback on is that everyone appreciates me being “neutral” and covering all angles of the rich internet application space. None of that is going to change.

Can’t be done unfortunately. He will have to get used to being Adobe’s Ryan Stewart.

 

Technorati tags: ,

Why Rich Internet Applications Matter

Anne Zelenka is sceptical about RIAs:

The idea is that we need more rich interactivity from our browser apps than they give us. But is this just developer fantasy, or does it represent a real end user need?

It’s a great question. I believe it’s fair to say that the all the interest in RIA, sparked by Flash and enflamed by Silverlight, is still more hype than real-world usage (especially Silverlight, still in Alpha for the .NET version).

There are multiple issues here. In particular:

  • Will we see HTML/CSS/JavaScript (call it AJAX if you like) gradually giving way to browser-hosted apps running in plug-ins (Flash, Silverlight, Java)?
  • Will we see a new breed of internet-delivered, zero-install desktop apps that will diminish our dependence on web browsers?  

I have few doubts about the first of these. Ease of development, flexibility and predictability of design, performance benefits of JIT compilers, convergence between internet and broadcasting, richer content enabled by ubiquitous broadband, to name some of them. 

The second is more contentious. But I think it will happen. There is room for debate about what constitutes a “real end user need”; but if you rephrase that as “real end user benefits” then it makes more sense. The main reasons are offline use and better integration with local OS services.

A while back a web app sceptic (I forget who) described the browser to me. “I call it Window”, he said. His point still holds. There is no need to do all your work within a browser box.

 

Technorati tags: , , ,

Google bans essay ads

The BBC reports that Google will ban essay adverts. I knew this was a problem but hadn’t appreciated how severe it is:

Banning the ads strikes me as sensible, but won’t students simply perform a search instead? Google could also block the searches, but that’s censorship and has difficulties of its own.

The internet has made both paid and unpaid plagiarism too easy; but there has always been a fine line between plagiarism and research (a song by Tom Lehrer comes to mind). Perhaps it is time to change the way students are assessed.

 

Technorati tags: , ,

Adobe CS3 won’t install

Users are complaining that Adobe Creative Suite 3 simply won’t install. I’m one of them, running 32-bit Vista Professional. Pop the DVD in, click Install CS3 Web Premium, setup starts running, then silently closes. No error message, no install either.

Of course I have tried a few things. I’m not the only one struggling: the Adobe user forums are full of similar problems. Note: similar but not identical. There appear to be multiple issues, and not just on Vista but on XP as well. Here are some popular solutions:

I’ve tried the first two without success so far, on two different machines. Next stop tech support.

It looks to me as if Adobe is having Windows Installer issues. Perhaps nobody had time to read and observe the Tao of the Windows Installer. Still, I reckon Adobe could do a better job with the error logging and reporting. There are installer logs by default in \Program Files\Common Files\Adobe\Installers\, but mine have nothing helpful; no errors are reported. The Windows installer supports a detailed logging mode, but it seems difficult to enable with this particular installer. The calls to the installer itself are wrapped by some kind of Adobe package manager, and the .msi files are designed to prevent you from opening them directly.

Here’s what I get if I run setup from a command prompt:

Begin Adobe Setup
UI mode: Full GUI
End Adobe Setup. Exit code: 4

Hardly illuminating. If I do the silent mode, I get Exit code: 7 instead.

The bottom line is that I have no clue what is going wrong. Perhaps it is a campaign to promote the Mac version. I’ll keep you posted.

Update

I fixed it. First, the logging was more helpful than I realised at first. In the Installers folder mentioned above, there is a file called:

Add or Remove Adobe Creative Suite 3 Web Premium 1.0.log.gz

I’d not looked at this because I also had a file called:

Adobe Creative Suite 3 Web Premium 1.0.log

It turns out that the former is more useful than the latter. Of course it is compressed in .gz format, which Vista does not understand, but the open source 7-zip archiver takes care of that. So I extracted the log and found this entry:

DEBUG: Error 2739: Could not access JavaScript runtime for custom action Internal Error 2739.

That gave me something to troubleshoot. I soon found this article which says to re-register JScript:

regsvr32 jscript.dll

from an administrator command prompt. I was away; the setup ran fine after that.

Incidentally I did call tech support, but the techie didn’t help directly; he asked me to email the log though, and it was looking at that which gave me the answer. Now I can get on with the review…

Technorati tags: , , , ,

Visual Programming is back: PopFly, Pipes, Scratch

The first true visual programming environment I used was IBM’s VisualAge Smalltalk. I liked it and thought it was a shame when IBM reverted to pure code-based development with Eclipse. Admittedly, complex applications got fairly confusing, with lines everywhere.

Now it seems visual programming is back. The other day Scratch hit the news, a cool visual programming environment for kids. I like the way that jigsaw-like shapes are used to indicate whether or not two blocks can be fitted together.

Yahoo has Pipes, drag-and-drop RSS feed combination and transformation.

Now here comes Microsoft PopFly, online visual programming for Silverlight. Is it programming? I think so:

Underneath the covers, blocks are just chunks of code that wrap complex operations, like retrieving data from a Web site or displaying an animated slideshow so that others can easily reuse that block.

PopFly looks interesting, easy to use and visually appealing, though I’ve not got an account yet. I’ve only watched the demo video.

Of course the visual bit only takes you so far. If you want to create your own blocks, or customize them, you have to write your own Javascript. I guess that will always be the case. It’s still good to see development being made more accessible for non-technical users.

 

Microsoft has “no plans to litigate”

According to Bill Hilf, general manager of platform strategy, Microsoft is not planning to litigate against open source after all. In an interview for Infoworld he says:

Our strategy from everyone in the company — from [Steve] Ballmer to Brad Smith to me and everyone in between — has always been to license and not litigate as it relates to our intellectual property. So we have no plans to litigate. You can never say we’ll never do anything in the future, but that’s not our strategy.

I am not surprised – for the reasons I stated earlier. Of course, the other side of the coin is that if Microsoft doesn’t intend to enforce its patents, then all this patent waving is little more than bluster. It is shadow-boxing. We will see plenty more of it on both sides.

 

Technorati tags: , ,

Eclipse, WebSphere winners in latest Java survey

BZ Research has released its latest survey of Java tools. Let’s start with the caveats:

  • The survey is based only on subscribers to SD Times.
  • Out of 19,623 subscribers invited to take part, only 758 (3.9%) completed the questionnaire.

I’m not surprised: I get bombarded with requests to take part in surveys, and rarely do so. Even so the results are interesting, and the year-on-year comparisons may be indicative of trends.

On to the results (note that percentages are non-exclusive so sum to more than 100):

  • Eclipse increased its usage slightly to 69.6%; NetBeans climbed to 2nd place with 23.3% (up from 17.9%).
  • Oracle’s JDeveloper is up from 15% to 19%.
  • IBM RAD has a decent showing, up from 10.8% to 19.5%, not far behind its WSAD at 22.1%.

The survey also covers app servers. Here, all the shares are down, implying more diverse usage than last year. WebSphere is first with 36.9%, then JBoss with 32 %, then BEA WebLogic at 23.7%. Oracle and Sun are 4th and 5th.

Overall, nothing dramatic to report, though the gain for NetBeans shows that Sun’s investment in this IDE is having some success.

CodeGear’s JBuilder doesn’t feature in the top 5, nor does the excellent IntelliJ IDEA.

 

A bad experience with Windows Live

The main problem I have with Windows Live is lack of confidence that it will actually work as advertised. There is a rational explanation for this kind of hunch. It is formed from previous experiences, and once formed, it hard to shake off.

Here’s what happened today. I wanted to contact a Microsoft blogger who hosts his blog on http://spaces.live.com. I couldn’t see an email address (understandably), so I clicked on the button that said Send a message. I was prompted to sign into Windows Live, which I did, and then after a bit of screen flashing and approving of ActiveX controls I had a form into which I could type.

I typed the message. Then I did something which reflects my lack of confidence: I copied the message to the clipboard, in case something went wrong and I had to type it again. Finally, I clicked Send. This is what I got:

Note that all my text was zapped. I closed the browser, restarted it, signed in again, returned to the message form, pasted in my text, and clicked Send again. Same result.

I’d noticed during the process that this messaging system has some relationship with Live Messenger. I figured therefore that upgrading Messenger to the latest version might help, especially since Messenger nags me on this subject whenever I start it up. So I fired up Messenger and allowed it to update itself. During the install I got this dialog:

Frankly, I will not take anything Microsoft says about user experience seriously until the company stops inflicting this kind of dialog on its users. Look at it. It recommends that I close some open programs, but does not say what the consequences will be if I do not. It is a vague threat that something might not work right. But that’s not all. Internet Explorer was not visibly open at the time. I had to go into Task Manager and end the process. Many users would not make it that far.

It gets worse. I’m being asked to close Windows Explorer. This is the application that forms the Windows desktop. If you close it, you lose the Start menu, taskbar, desktop icons, pretty much everything except the background.

Still, I didn’t want to risk a bad install. I went into Task Manager and ended the explorer.exe process. No more desktop. Then I continued the Messenger setup. It went through fine (except that no, I don’t want msn.com as my home page, but thanks for asking). Finally, I restarted Explorer. Task Manager – New Task – type Explorer – hit Enter. Yes, I’ve been here before. Zing! back comes my desktop.

Back to Live Spaces, paste in message, click send, and … you’ve guessed it.  “An error occurred loading this module”. Never mind.

 

Amazon and the future of music downloads

What’s the significance of Amazon’s announced DRM-free music download store?

Amazon is a major internet property for which I have a lot of respect. It had to decide between Microsoft DRM (“Plays for Sure”) or none, and it went for the latter. I think this is the end of the road for Plays for Sure. Apparently nobody can compete with iTunes. There is Zune, of course, but Zune isn’t even Play for Sure.

So it is DRM-free vs iTunes. As for iTunes, it will do both. Where we go from here?

Amazon’s problem is limited inventory. Of the major labels, so far only EMI is willing to go DRM-free. Users who purchase music downloads will stick with iTunes if they can’t get the songs they want.

Amazon’s prospects therefore hinge on whether or not other major labels follow EMI. That in turn will depend on how it works out for EMI. If it is seen to be growing its market share because it offers a better download product, others will abandon DRM and Amazon downloads can prosper. On the other hand, maybe EMI is devaluing its product. Perhaps the public will now perceive EMI music as free music, and actually buy less of it. In this case DRM, and Apple, are the winners.

While Apple has won the DRM-encumbered download war, it won’t necessarily have an easy ride in future. There are several interesting issues. One is how many users will bother paying for music at all. I’d love to know the age profile of iTunes customers. When I asked a teenager whether she ever paid for downloads, she just laughed. Yet music execs have told me that most customers buy less music as they age. If you follow the logic through, it implies that iTunes may be squeezed by an up-and-coming generation that doesn’t regard music as something you need to purchase, and an older generation moving into a time of life when they stop acquiring music.

A second factor is whether the music labels will continue to tolerate Apple as a middle man. In this respect, there’s an intriguing Reuters report which says that “the paid download video market is a dead end”. The report is a bit confusing, but seems to predict that free online video supported by advertising will win over paid-for downloads. The fundamental question is whether content providers will continue to let their customers interact with iTunes, giving Apple a cut of the proceeds, when they could interact with their customers directly. Although this report is about video, similar considerations apply to music.

Perhaps we should identify three phases in music “ownership”. Phase one was when you purchased a physical item – vinyl or CD. Phase two was when you downloaded music file by file. Phase three is when you just play music, leaving it to the system to work out whether it is played from a locally cached file or streamed from the internet.

Phase three is the one that makes sense in the digital era; phase two is a short-lived transition period. Phase two exists for two reasons. First, when connectivity and bandwidth is limited streaming does not work well. Second, it reflects the difficulty we have mentally adjusting to new technology. Paying for a download is physical media thinking translated to the Internet age.

That’s why I still think the subscription model is the only one that makes sense, long term. Either that, or I suppose everything may become free, which is the subscription model with zero fee. Amazon’s store may have some success for a year or two, but in due course nobody will pay for individual downloads.

 

Open Office chokes on Open XML spec

I’ve been looking at the notoriously lengthy specification for ECMA-376, also known as Office Open XML. You can download it here in both PDF and Open XML (.docx) format. I grabbed both.

At 5219 pages the Markup Language Reference is a seriously large document. The PDF is about 34MB, and the docx about 14MB. I started with the PDF, which opens easily enough, but is desperately slow to search, prompting me to try the alternate docx version. This dialog amused me:

There are too many spelling or grammatical errors in Office Open XML Part 4 - Markup Language Reference_final.docx to continue displaying them.

The docx took longer to load than the PDF, but searching is indeed quicker. Frankly it’s impressive that it is usable at all. I was trained to avoid long documents, on the grounds that they are prone to corruption, and that if they do corrupt you lose more work. That was when we thought 100 pages was long. I cannot think of any good reason why this document is not broken into smaller pieces

Still, it makes an interesting test case. I wondered how Open Office would cope with a document this size. I saved it as a .doc – 68MB – and loaded it into Open Office 2.1. This took several hours (I left it overnight). Once loaded, Open Office repaginated the document to 7453 pages. Searching it was pretty quick though, if anything faster than Word. Finally I saved it in Open Document format. 15MB. Note that both Open Document and Open XML are zipped formats, which explains their smaller size.

Open Office takes 31 minutes to load the Open Document version – quicker than loading the .doc, but not tolerable for normal work. By contrast, Word 2007 can load the .docx to a usable state in around 5 minutes. It all suggests that Word 2007 and/or Open XML is superior for very long documents. I’m using Vista by the way, with 3GB RAM.

What about the content? So far I’m impressed. The entries I’ve looked at have been clear,to the point, and include example code. No doubt there are dark corners, but this strikes me as a good effort.

 

Technorati tags: , , , , ,