All posts by onlyconnect

Server admin on the go with Microsoft’s Windows Phone 7 app for SBS 2011

Microsoft has created a Windows Phone 7 app for managing the forthcoming Small Business Server 2011 Essentials.

The app sends alerts to your home page, and lets you perform certain tasks remotely:

  • View storage status
  • View status of connected computers
  • Start PC backup
  • Enable and disable user accounts
  • Reset user password
  • Reboot server

imageimage

A neat feature for simple server admin, and a bit of stealth marketing for Microsoft’s smartphone, which is struggling to make an impact.

I hope the app has some additional security though. Otherwise, a phone thief could cause mayhem with those few features.

How Microsoft’s Office Web Apps were written in C# and compiled to JavaScript, maybe

While researching another product I came across this 2009 tweet from Microsoft’s Nikhil Kothari:

Office 2010 web apps – perhaps one of the most ambitious script# projects!

Script# is loosely equivalent to the Google Web Toolkit, but whereas GWT compiles Java to JavaScript, Script# compiles C# to JavaScript. According to the site:

Script# is used extensively by developers within Microsoft building Ajax experiences in Windows Live, Office to name just a couple, as well as by a external developers and companies including Facebook.

I had come across the project before, but was waiting to see if would evolve beyond what looks like a personal project for Kothari. It is hosted on http://projects.nikhilk.net rather than on an official Microsoft domain, and the latest release is 0.6.2. In other words, it does not have the look of a project that you would recommend for production work, interesting though it is. Nor is there much public activity around Script# that I can see, though there is a CodePlex site dedicated to improving its JQuery support.

Seeing Kothari’s tweet though raises several questions.

  • Did Microsoft really use it for Office Web Apps, a high profile project which is a key part of Microsoft’s cloud computing strategy?
  • Is there another, more up-to-date version of Script# that is used internally and which may one day burst into the public arena?
  • How might it impact the Silverlight vs HTML5 debate, if Microsoft comes up with a C# to JavaScript compiler in Visual Studio that lets developers code in .NET but deploy to cross-platform JavaScript?

I am sure there are readers of this blog who know more than I do, so by all means let me know.

Using HTML 5 to mitigate locked-down platforms like Apple iOS

Apple has created a beautiful mobile platform; but it has some drawbacks. One was highlighted yesterday, when Apple rejected an app from Sony for reading and purchasing digital books on the device.

According to Apple’s Trudy Miller, as quoted in the New York Times:

We are now requiring that if an app offers customers the ability to purchase books outside of the app, that the same option is also available to customers from within the app.

What Miller does not spell out is the further implication, which is that the purchase must go though the Apple App Store, and is therefore subject both to approval and to a 30% fee to Apple.

There is a suggestion that Apple is only applying the rule to books at the moment, but that could change. Other readers such as Amazon’s Kindle app will be affected though, after a grace period ending June 30 2011 for existing applications.

Currently these apps have a link which opens the browser, so that users can purchase on the web, and then download to the device, and this is what is annoying Apple. It is not clear to me whether Apple will be satisfied if that link is removed, but with users still to bypass the App Store by purchasing on the web.

It matters little. It is Apple’s platform, and tight control is one of its facets that makes it what it is. Apple can argue that it is enforcing the quality of the user experience. It seems to me that there are competition concerns if Apple comes to dominate a particular market; but don’t hold your breath for change driven by regulators.

What interests me about the issue is the extent to which HTML 5 apps provide a solution. Safari/WebKit on iPhone is a capable platform, and apps can even work offline and have local shortcuts installed. You can use local storage up to at least 5MB, with the user prompted to increase the limit if it is a SQL database – SQLite is built in to the platform.

Local storage is a problem for eReaders, though you can cache a fair amount of text even in 5MB. For many apps though, it is more than enough.

The more Apple locks down and taxes its platform, the more attractive the HTML5 alternative becomes.

Delphi and C++ Builder XE Starter Editions announced

Embarcadero has announced Starter Editions for both Delphi XE and C++ Builder XE, rapid development environments for native Windows applications.

These are not toy versions. The main technical difference between the Starter editions and the Professional versions are the absence of UML modelling, Class Explorer and Resource Manager tools. You also miss out on code completion for HTML, Live Code Templates, Subversion support, translation manager, refactoring and unit testing.

Not a big deal: most of these lacks are either not critical or can be addressed in other ways. Most features are the same, and you can build excellent high-performance applications with these Starter Editions.

The real restriction is the licensing:

Delphi XE Starter can be used by individuals who will earn less than US $1,000 for the applications they create with Delphi, or organizations or companies with five or fewer developers and less than US$1,000 in total annual revenue. Purchase the Professional edition or higher for larger scale commercial use.

with a similar wording for C++ Builder XE Starter.

The other question: how much? At the time of writing the Starter Editions are not in the online store, but according to this article in SD Times they will be $199 each or £149 for upgrades. Ownership of a Starter Edition gives you $100 discount if you later upgrade to a higher edition.

Delphi is as good as ever, especially bearing in mind that Microsoft has no real equivalent. Visual Studio is mostly .NET-based, whereas Delphi compiles to native code; and Visual C++ is more challenging to learn and arguably less productive. It is true that developers are waiting impatiently for 64-bit Delphi and for a promised compiler for OS X (and perhaps iOS?); but in the meantime if you need to build Windows applications do not ignore it.

Update: the European price is €199 each, or upgrades for €149.

Gadget Writing – iPhone docks, 5.1 headphones, mobile, gaming and more

I have started a new blog over at gadgets.itwriting.com which is for reporting on mobile, audio, gaming and other such enthusiasms. The main reason is to have somewhere to cover these subjects without diluting the focus of itwriting.com itself.

Currently on Gadget Writing:

AVI preparing a successor to the ADM 9.1 – the floorstanding ADM 40

Surround sound 5.1 headphones–why and why not. Roccat Kave reviewed

How to get better sound: higher resolution, or something else?

Review: Audyssey iPhone Audio Dock South of Market Edition

and a few more bits and pieces.

Mobl: a new language for mobile applications, with Eclipse integration

It has gradually dawned on me that, contrary to first appearances, the Apple iPhone and iPad do come with a capable application runtime for those who would rather not tangle with Objective C; and one on which you can run applications without the hassle of negotiating the App Store. This runtime is the WebKit-based browser and JavaScript engine. This is for web apps of course; but as noted in my look at NS App Studio last week, you can blur the boundaries between web and local by creating a local shortcut and designing your app to work offline. Here is the Apple documentation, which notes:

Offline application support is available in iOS 2.1 and later and in Safari 4.0 and later

So you can do offline. There is also a local database, based on SQLite, documented by Apple here – putting iOS ahead of Windows Phone 7, which has no built-in relational database for Silverlight applications. Another plus is that other WebKit-based mobile browsers should work as well, including the one in Android devices.

It is possible to create application frameworks that wrap these features into a single development platform that compiles to JavaScript, HTML and CSS. PhoneGap is one example, and NS App Studio another; but today Reddit alerted me to another, Mobl, which has a modern feel and benefits from Eclipse integration. It is also free and open source, and with the right community momentum looks like it could be interesting.

Mobl is a statically-typed language with a syntax similar to Javascript – there is a guide and language reference here. The goal is to create a complete DSL (Domain Specific Language) for mobile development, which according to the web site:

Integrates all aspects of a mobile web application into a single language: data modeling, user interfaces, application logic, styling and web services.

The main author is Zef Hemel, from the Delft University of Technology in the Netherlands. Mobl makes use of Stratego/XT, which is a language and toolset for program transformation, and SDF  (Modular Syntax Definition Formalism), a language for defining syntax.

Mobl includes data modelling which handles object persistence and a concise language for defining user interfaces. AJAX support is built-in and there is integrated support for RESTful web services and for JSON (JavaScript Object Notation). The Eclipse add-in includes syntax highlighting, inline error reporting, code completion, and reference resolving.

All rather impressive for a project that has just burst onto the scene. I installed the Eclipse add-on and enjoyed its simple license:

image

“This software is distributed in the hope that it will be useful.” – though I have not found time yet to try creating an application.

There is more information on the nicely-designed website and blog and in the Google Group.

Update: thanks to @FransBouma for the link to the Mobl guide.

Server and Tools shine in Microsoft results – so why is Bob Muglia leaving?

Microsoft released quarterly results yesterday:

Quarter ending December 31 2010 vs quarter ending December 31 2009, $millions

Segment Revenue Change Profit Change
Client (Windows + Live) 5054 -2139 3251 -2166
Server and Tools 4390 412 1776 312
Online 691 112 -543 -80
Business (Office) 5126 612 3965 1018
Entertainment and devices 3698 1317 679 314

Microsoft highlighted strong sales for Xbox (including Kinect) as well as for Office 2010, which it said in the press release is the “fastest-selling consumer version of Office in history.”

Why is Office 2010 selling better than Office 2007? My hunch is that this is a Windows 7 side-effect. New Windows, new Office. I do think Office 2010 is a slightly better product than Office 2007, but not dramatically so. SharePoint Workspace 2010, about which I mean to post when I have a moment, is a big disappointment, with a perplexing user interface and limited functionality.

Windows 7 revenue is smaller than that of a year ago, but then again the product was released in October 2009 so this is more a reflection of its successful launch than anything else.

What impressed me most is the strong performance of Server and Tools, at a time when consolidation through virtualisation and growing interest in cloud computing might be reducing demand. Even virtual machines require an OS licence though, so maybe HP should worry more than Microsoft about that aspect.

I still think they are good figures, and make Server and Tools VP Bob Muglia’s announced departure even more puzzling. Just what was his disagreement with CEO Steve Ballmer?

Server and Tools revenue includes Windows Azure, but it sounds like Microsoft’s cloud is not generating much revenue yet. Here is what CFO Peter Klein said:

Moving on to Server and Tools. For Q3 and the full year, we expect non-annuity revenue, approximately 30% of the total, to generally track with the hardware market. Multi-year licensing revenue which is about 50% of the total, and enterprise services, the remaining 20%, should grow high-single digits for the third quarter and low double-digits for the full fiscal year.

This suggests that 80% of the revenue is from licensing and that 20% is “enterprise services” – which as I understand it is the consulting and enterprise support division at Microsoft. So where is Azure?

Online services, which is Bing and advertising, announced another set of dismal results. Another part of Microsoft’s cloud, Exchange and SharePoint online, is lost somewhere in the Business segment. Overall it is hard to judge how well the company’s cloud computing products are performing, but I think it is safe to assume that revenue is tiny relative to the old Windows and Office stalwarts.

Windows Phone 7 gets a mention:

While we are encouraged by the early progress, we realize we still have a lot of work ahead of us, and we remain focused and committed to the long-term success of Windows Phone 7.

It looks like revenue here is tiny as well; and like most corporate assertions of commitment, this is a reflection of the doubts around Microsoft’s mobile strategy overall: how much of it is Windows Phone 7, and how much a future version of full Windows running on ARM system-on-a-chip packages?

Still, these are good figures overall and show how commentators such as myself tend to neglect the continuing demand for Windows and Office when obsessing about a future which we think will be dominated by cloud plus mobile.

Richard Thompson Nottingham 27 January 2011

I heard Richard Thompson and his band last night at the Royal Concert Hall in Nottingham. A pleasant venue, not too large, good acoustics, but lacking in atmosphere. The concert was pretty much sold out and there was no doubting the warm regard of the audience towards the performers, but it was not a lively crowd; it was an enjoyable evening but one that never quite sparkled.

Money Shuffle was an energetic opener; it is one of those songs that you think you have heard before even when you have not, with a timeless Richard Thompson feel to it. Then it was on through Dream Attic – he is performing his recent CD nearly in its entirety on this tour – with a slow tempo for Among the Gorse Among the Grey, and then full speed into Haul Me Up, a rollicking number which was a lot of fun.

As we progressed though the album Thompson gave succinct intros to the songs, gently mocking his own predilection for songs of death and mayhem – I loved these little bits of chatter, and I wish they had been put into the album, which is recorded live.

When we got to Big Sun falling in the River I had a moment of reflection. The song is set in London, Thompson told us, where the river is wide and at the right moment you can get some spectacular sunsets. The lyrics tell of a relationship going bad and shattered dreams:

Big Sun Falling In The River
Big sky shining in the water
Big love dying like the dying day

He doesn’t sing it like someone particularly upset though – not like, say, Missie how you let me down, or Long Dead Love, from Daring Adventures. Still, it is one of the recurring themes in Thompson’s music, with another being death. Sidney Wells, also on Dream Attic, is a gory tale of a serial murderer. Why so gloomy?

After my second beer last night I had what seemed a brilliant insight into the matter. It starts with English folk music, which sings of death in order to help us come to terms with mortality. And it continues with Richard Thompson writing Meet on the Ledge as a teenager:

Meet on the ledge, we’re gonna meet on the ledge
When my time is up I’m gonna see all my friends
Meet on the ledge, we’re gonna meet on the ledge
If you really mean it, it all comes round again

Richard Thompson’s words gained added poignancy after the tragic motor accident in 1969, when Fairport Convention’s drummer Martin Lamble and Thompson’s girlfriend Jeannie Franklyn died.

There is no answer to the reality of pain and loss; but music and humour is one route to healing and perhaps this is part of what is going on in Richard Thompson’s music and in the folk tradition.

As for the concert, we moved on through an evocative Stumble On and a lively Bad Again towards the interval, after which, Thompson had told us, he would sing his hits “it will be very short” he joked.

After settling for an ice cream thanks to the Royal Concert Hall’s lack of anything that can be described as beer, I returned after the interval expecting a succession of blasts from the past and more engagement from the audience. It turned out not quite like that. There was less chatter – though after performing The Angels Took my Racehorse Away, Thompson did remark on his pride that Henry the Human Fly, from which the song is taken, was the worst selling record ever in Warner Brothers catalogue (an exaggeration, I am sure). We got Wall of Death, though I felt it was a bit of a throwaway, perhaps he is getting tired of the song. We got an atmospheric Al Bowlly’s in Heaven with solos from band members, who were:

Pete Zorn – all sorts
Michael Jerome – drums
Taras Prodaniuk – bass
Joel Zifkin – electric violin

Al Bowlly is hardly a song for drummers, but let me mention that Jerome’s performance was excellent throughout the show, adding lots of energy to the sound, even if he did knock over several mic stands and cause a panic emergence of roadies onto the stage to fix things up during one of the songs.

Still, while Al Bowlly and Wall of Death count as hits in Richard Thompson terms, I would not say that numbers like One Door Opens and Take Care the Road you Choose are in that category, and it remained a low-key evening. We had one short encore and that was that.

I enjoyed the first half more; I think Thompson is more engaged with the new songs, and liked that he took the trouble to tell us a bit about them.

I have never been been to a poor Richard Thompson concert; I loved being there last night and he delivered in every respect. If I sound a little disappointed it is only because I have been to some that I enjoyed even more. I think Dream Attic is a good album but not a great album, and feel the same way about the concert. That said, if you ever get the opportunity to see this man perform, go without hesitation; he is one of the best.

Setlist

The Money Shuffle
Among the Gorse among the Grey
Haul me Up
Demons in her Dancing Shoes
Crimescene
Big Sun Falling in the River
Stumble On
Sidney Wells
A Brother slips away
Bad again
If Love whispers your Name
—INTERVAL—
The angels took my racehorse away
Can’t Win
One door opens
Al Bowlly’s in Heaven (band solos)
I’ll never give it up
Wall of death
Tear-stained letter
Take Care the Road you Choose
A Man in Need

No more Ruby support in NetBeans – the feature was little used, says Oracle

Oracle has announced the discontinuation of Ruby support in the NetBeans IDE. The reason? First, to free resources for JDK 7 support; but second (and more significant) – hardly anyone was using it.

There is hardly a shortage of Ruby IDEs. Ones that come to mind are the Eclipse-based Aptana, JetBrains RubyMine, the Visual Studio based Ruby in Steel, and Embarcardero’s 3rd Rail. Further, some Ruby developers prefer to work without an IDE.

I also suspect that Ruby has not quite hit the mainstream in the way it seemed that it might a few years back. Its influence has been huge, but in practice many developers still fall back to PHP, Java and C#.

How is Windows Azure doing? Few mission critical apps says Microsoft

I attended an online briefing given by Azure marketing man Prashant Ketkar. He said that Microsoft is planning to migrate its own internal systems to Azure, “causing re-architecture of apps,” and spoke of the high efficiency of the platform. There are thousands of servers being managed by very few people he said – if you visit a Microsoft datacenter, “you will be struck by the absence of people.” Some of the efficiency is thanks to what he called a “containerised model”, where a large number of servers is delivered in a unit with all the power, networking and cooling systems already in place. “Just add water, electricity and bandwidth,”, he said, making it sound a bit like an instant meal from the supermarket.

But how is Azure doing? I asked for an indication of how many apps were deployed on Azure, and statistics for data traffic and storage. “For privacy and security reasons we don’t disclose the number of apps that are running on the platform,” he said, though I find that rationale hard to understand. He did add that there are more than 10,000 subscribers and said it is “growing pretty rapidly,” which is marketing speak for “we’re not saying.”

I was intrigued though by what Ketkar said about the kinds of apps that are being deployed on Azure. “No enterprise is talking about taking a tier one mission critical application and moving it to the cloud,” he said. “What we see is a lot of marketing campaigns, we see a lot of spiky workloads moving to the cloud. As the market start to get more and more comfortable, we will see the adoption patterns change.”

I also asked whether Microsoft has any auto-scaling features along the lines of Amazon’s Elastic Beanstalk planned. Apparently it does. After acknowledging that there is no such feature currently in the platform, though third-party solutions are available, he said that “we are working on truly addressing the dynamic scaling issues – that is engineering work that is in progress currently.”