Microsoft: Silverlight Is (almost) Dead

Following up on my previous post: Ballmer: Microsoft's Strategic RIA Platform is HTML5, it appears that Microsoft is officially switching its strategy away from silverlight and to HTML5.

Highlighted in two articles, from the company and PDC itself:

“Silverlight is our development platform for Windows Phone,” he said. Silverlight also has some “sweet spots” in media and line-of-business applications, he said. But when it comes to touting Silverlight as Microsoft’s vehicle for delivering a cross-platform runtime, “our strategy has shifted,” Muglia told me. Silverlight will continue to be a cross-platform solution, working on a variety of operating system/browser platforms, going forward, he said. “But HTML is the only true cross platform solution for everything, including (Apple’s) iOS platform,” Muglia said.

Read more here:

The big question remaining is what will happen to the Silverlight platform? Will it replace WPF? Or will it head for the graveyard as fast as Windows Phone is destined to? One way or another, it looks like the Microsoft RIA platform is in for an interesting ride, and HTML5 is on it's way into the mainstream.

This is actually really exciting to me. Although HTML5 is in its early days, the future is clearly heading that way. As our customers demand an increasing amount of accessibility in their Single Dealer Platforms, I see HTML5 as the natural long-term solution. People have asked me around Lab49 whether I think that an SDP with realtime data could be built in HTML5 today. My answer has consistently been that if you only support the most modern browsers, than yes. It would be ambitious, you'd be the first, and with that ambition comes a risk higher factor than other alternatives (Flex/Silverlght/WPF), but I believe it is indeed possible, the only question now is who will be the first to do it.

Buckle your seatbelts, RIA is about to be a bumpy ride...

Ballmer: Microsoft's Strategic RIA Platform is HTML5

While browsing around the web the other day, I came across what appeared to be the most popular tech story of the day: here in Engaget:Ballmer: next release of Windows will be Microsoft's 'riskiest product bet' .

 So I went to watch the video, and found what no one seems to be talking about, the real gem of this Ballmer interview:

Interviewer: "HTML or Silverlight, what is Microsoft's lead strategy for developing rich internet applications? Silverlight, HTML5, or acquiring Adobe?"

Ballmer: "If you want to do something that is universal, there is no question, the world is going HTML5... The world is just pushing down that HTML5 path, and so are we... What we've really done [with Silverlight] in very good ways is to repurpose it as an important part of the client platform, so yes, you will embrace HTML5, but it's also clear people want client apps... So we're dedicated to Silverlight, but with a little different concept, and we're embracing HTML5."

Interesting... looks like Ballmer is saying Silverlight is on its way out as an RIA platform, and HTML5 is the companies strategic bet. Clearly Silverlight is not yet a client platform, but if Silverlight is becoming their strategic client platform, where is WPF going in the longer term?

Watch the video here for yourself, the interesting bits start 2 minutes in: http://www.youtube.com/watch?v=iI47b3a9cEI 

On Delivery - Successful Software Delivery and Lifecycle

Given all the recent chatter around Continuous Delivery, I thought it would be good to speak a bit about the practices we prefer in Lab49. Lab49 strives for a model where delivery comes first, and focus on implementing it across our projects. Although this process can vary project to project [due to project, team and environment variability], the main theme of successful delivery remains the same. To some, this model may be very familiar. It has proven to yield high-quality results across a range of projects, and has removed tension from the development process.

There are two components to a successful delivery model. The first component, which I will not talk about in-depth here, is a team which specializes in project and scope management.

The second component is more technical -- it is the mechanism by which we test, configure and deploy all our projects, on a continuous basis, across all environments. This component is what "Continuous Delivery" now refers to, and has been a part of Lab49 projects for a long time.

Putting testing and delivery first has a simple benefit: simply put, software has no value if it cannot be delivered into production. No matter how good of a system you write, without a production deployment, the software has never given anyone any value. Therefore, configuration and deployment are the most valuable components of a software project.

Let’s look at the planned lifecycle of a typical, classic, fixed-time development project:

In theory, this process process looks pretty good, in practice, here’s what happens:

Although planned, development typically eats into the testing, configuration and deployment time, leaving what is the most important step until the end.

This problem, along with the problem of scope changing through the "develop" cycle, is often solved with an agile approach:

Agile is an iterative software lifecycle where every two or three weeks the team checkpoints, shows what they’ve done, and re-prioritizes to make sure they are developing the right software. Teams will occasionally take a "deployment" iteration to get everything ready for deployment and send it out to UAT or production.

This proves to be a much better model. Testing is applied regularly, and the team re-prioritizes work to make sure they are always delivering what the business demands.

Some people take agile one step further, adding configuration and deployment ("delivery") into the development model:

By making delivery part of the cycle, and enforcing a configure + deploy time, we can ensure that whatever we are writing can be delivered to the client at any time in the process, and immediately begin adding value to the business. In an ideal case, configuration + deployment < 10 minutes.

In all Lab49 projects I’ve been part of, I have strived to reach this goal. It is a good benchmark to test yourself again, but is often difficult to achieve. Differences in environments such as change management tickets and other requirements can make it difficult to achieve such a deployment model, but some practices and organizational patterns can help make it easier.

Maintenance of configuration and deployment is the responsibility of every developer on a project. A task should never be considered finished until it can be configured and deployed to all of the environments at hand. Developers should feel involved in the process of delivery, and just like build errors, should receive instant feedback on the quality of their code against the deployment mechanism.

Getting developer involvement can only be achieved by instilling a level of responsibility in each developer towards the deployment process. This can be done through messaging to the team, as well as through the required deployment of a project at the end of each iteration, or, even better, at the end of each day. Minimizing deployment time becomes in the interest of individual contributors because the shorter the deployment time and pain, the faster they are out the door at the end of the day. In this way, the process itself provides positive reinforcement.

But the goal above was not only to provide a daily feedback, but an instant feedback. We are interested in minimizing the time between each line of code written, and the feedback we can provide about that codes integrity.

In a typical test-driven development process, the feedback cycle looks like this:

 Feedback is provided at every step along the way about the integrity of the code and its logic. The missing component, which cannot be tested in this model, is the integrity of the checkin, configuration and deployment.

So far in this document, we’ve reduced the time to deployment testing from the time of the whole project [figure 1, linear project], to a regular process in the development cycle [figure 3, agile with deployment], to a daily process through some constraints on the development team. To provide this feedback even more regularly, we can integrate it into our build process, just like we do with unit or behavior tests:

Upon checkin, a system watching the source repository runs a build and runs the tests [I recommend TeamCity]. Upon successful build/test, the deployment script is the run to the development server. If this succeeds, the last step is to run the integration tests. Integration tests are there to ensure that the deployment was successful. This can be as simple as hitting a few web pages in a web project, and as complex and ensuring standard business workflows are functional. I will admit that while this is nice to have, it is rare in practice to see a project with both good unit/behavior tests as well as good integration tests. In reality, people tend to choose one or the other.

The concepts reviewed here provide a number of distinct advantages over other project configurations:

  • Coders are always adding value, because their code is always deployable
  • Reduces overall project risk.
  • Decreases code’s time-to-market (or time-do-deployment) by ensuring changes can be rapidly released.
  • Configuration and deployment is tested regularly.
  • Developers become aware of the deployment process early, are able to contribute code to deployment, and receive instant feedback when they break the deployment, just as when they break the build.

These advantages increase ROI, reduce risk, get us to market faster, and overall, make software engineering more productive and fun.

Posted by mrdecav | 1 comment(s)

C# @ The MongoDB Conference!

Mongo DB 

I will be speaking at the MongoDB conference in New York City on May 21st. I will cover their .NET/C# Development segment. We have a great demo lined up, and I look forward to seeing you all there.

MongoDB is an excellent open-source database which specializes in document-oriented (object-oriented) storage. You can save complex objects and query them back at lightening fast speeds. I heavily recommend checking it out -- and using it in all your future projects :)

If you're interested in knowing more about MongoDB, follow the link.

If you wish to attend the conference, you can sign up here.

On Social Democracy, GDP/Capita and Disposable Income

I'm sitting here on a short trip to Munich, and just read Greg Mankiw's latest post regarding today's New York Times article by Paul Krugman regarding European Social Democracy and the pending US healthcare reform. Paul Krugman essentially argues that economic advance can come hand-in-hand with social democracy. From what I can tell, Mankiw is politely dissenting.

While it is indeed interesting [and perhaps somewhat telling] that the GDP/capita is so much higher in the US than elsewhere, it is difficult to associate this to actual quality of life. While Germans may make less than us annually, they make about equal to us per hour (see my napkin math below).

I suppose the question really becomes whether Europeans work less because the incentive structure is setup such that more work isn't worth it past a certain level (much like any gradated tax rate does), or if they actually value their time not working higher than the extra salary.

But it could also be because of this: GDP/Capita accounts for both employed and unemployed people in the country. While this is important overall, it is not as vital to an individual worker. What an individual worker cares most about is how much he is making in an hour for himself.

 

GDP/Capita (PPP)

Avg. Hours Worked (Annual)

Average GDP/Hour (Productivity)

Disposable Salary

PPP Ratio

Disposable Salary (PPP)

Avg Disposable Salary/Hour (Real productivity?)

US

47440

1777

26.7

31410

1

31410

17.7

UK

36358

1652

22.0

26312

1.09

28680

17.4

Germany

35539

1362

26.1

25146

1.29

32438

23.8

France

34205

1346

25.4

26416

1.35

35662

26.5

One notable and surprising ratio shown in this is the productivity of actual employed workers (the ones that calculate using "disposable salary"). These numbers should mitigate the influence of unemployed on the productivity numbers by taking disposable salary of employed workers and applying the PPP ratios, then finding productivity using that. When these figures are used, employed individuals in both Germany and France take home more per hour than their US and UK counterparts. Also, the disposable salary of Germans and French are marginally higher than their employed American counterparts after PPP is accounted for.

 

Sources:

GDP/Capita (PPP): http://gregmankiw.blogspot.com/2010/01/learning-from-europe.html

Average Hours Worked: OECD - http://en.wikipedia.org/wiki/Working_time

Disposable Salary: http://www.worldsalaries.org/

PPP: OECD - http://www.oecd.org/dataoecd/48/18/18598721.pdf

Posted by mrdecav | with no comments
Filed under: , ,

Howto: Hulu and Pandora from Europe (or Australia, China, or South America...) for 10 cents an hour, using EC2

As an honest consumer who purchases all his music, software, movies and anything else, it annoys me when a content provider goes out of there way to keep me from paying them for their content.

A perfect example is the HBO show Entourage.  A great show which you can find old episodes of on iTunes of -- want to pay them $5, $10 or even $100 for a new episode?  Good luck -- get HBO on cable or wait for the DVD -- stupid.

Traveling in Europe, I've found little to miss, other than Hulu and Pandora.  Life without Jon Stewart is just not worth living! Due to head-in-ass license restrictions, you can't get either of these great websites overseas.  Public proxy servers, which route internet traffic through a middle man, tend to be too slow to solve the problem.

But using EC2 you can create your own, very inexpensive, proxy very easily if you're running Apple OSX or Linux.  Here are the steps:

  1. Sign up for an Amazon Web Services EC2 account
  2. Install the command line utilities for Amazon Web Services found here.
  3. Create a new key for yourself (follow these instructions)
  4. Open a terminal window
    1. Type ec2-run-instances -k [your_key_name] ami-7cfd1a15
    2. Type ec2-describe-instances until the new instance is in the "running" state
    3. Type ssh -i [path_to_your_key_file] -L 3128:localhost:3128 root@[url_for_instance]  Note the "-L 3128:localhost:3128".  This will route all network traffic from your machine, port 3128 to the instance's 3128 port.
  5. This will open a connection to your virtual machine on EC2.  On the EC2 instance you're now connected to, follow these steps:
    1. Type aptitude update
    2. Type aptitude install squid (squid is an HTTP proxy, a server that will be a middle man for your browsing)
  6. Change your browser's HTTP proxy settings to use the proxy at address localhost, port 3128.
  7. Keep the SSH window open until you're finished browsing.
  8. When you're done:
    1. Type exit to exit the connection to your virtual machine
    2. type ec2-terminate-instances [your_instance_id] to stop your machine, and the $0.10/hour charge.
That's it!
Posted by mrdecav | with no comments
Filed under:

Market Failure? China, pollution and real GDP

While doing some reading on Chinese quality of life and pollution last week, I noticed some interesting figures released by the WorldBank.  The estimated cost to GDP of pollution emitted by China is a total of 5.8%. That's rediculously high; every year, China is losing 5.8% of their GDP to damage to their environment.

Whats more startling is what this means for total GDP growth of the county.  In 2009, China's GDP is expected to grow by about 6.5% -- a numer low due to recession, but still considered high by global standards.  Because the cost of pollution is an externality, and to best of my knoledge is not included in the official GDP numbers, this growth does not include environmental pollution.  When you subtract the expected loss of GDP due to pollution from the total GDP of China, you're left with dismal 0.7% annual GDP growth.  Ouch! 89% of their growth is chopped from this single externality.

China is essentially gutting their natural resources and destroying their habitat with enormous amounts of externalities in order to provide us with inexpensive goods.

In most cases, this scenario leads to market failure.  China may be thinking that they can live with temporary loss while they attempt to lift their industry into the modern age - a long term investment using the capital locked in their public land. Certainly the short-term affect of removing the fully-realized costs from their exports and domestic products has been a positive one.  But with steadily increasing pollution and dwindling resources, they cannot keep it up forever.  At some point, these externalities need to be corrected or the market (and mother nature) will correct it for them.  Hopefully she'll keep the fallout off our shores.  Scary stuff! 

Posted by mrdecav | 1 comment(s)
Filed under: ,

The desktop is dead (really, for real this time)

Time and time again noise builds around the (re)introduction of thin client computing, the death of the desktop OS and the emergence of a single, large networked computer that we all work on.  A super mainframe that is omnipresent across all devices and networks.

But it has not been since the days of the drab green screens of the main frames that we have seen a significant uptake in thin clients over heavy metal. This is now ripe for change.

The stars are aligning in the cloud computing movement, and this time, it won't be another 3com web computing device. The traditional precursors to the explosion of the web device market have been torn down - bandwidth is ubiquitous, price of technology has come down so dramatically that these devices are now comparatively cheap against their full-blown competitors, and most computing services that people have come to expect have an online incarnation.

But the most important change is cultural.  People are demanding cheap alternatives to desktops.  The tell tale signs are there - the netbook craze, the rich web phone interfaces (iPhone, Android), and even the Kindle are all thin clients that are heavily in demand. People have begun to see the value add for a consumer of not having to maintain a desktop OS - they expect it to work like their TV - managed centrally, and pushed down. Zero maintainence time. With a wide range of people now spending most of their computing time in web browsers, and the need for desktop apps marginalized, the consumer demand has shifted towards less expensive, internet-oriented devices.

Even with the netbook fire sale, the market for these devices still hasn't been properly defined. Current netbooks are essentially small laptops with desktop OSes. While these machines hit the price point consumers expect in thin-clients, some of the real value adds a thin client can provide to consumers have not been realized in netbooks. The OS running on these devices is unnecessarially large, boot times are slow, and features like cloud storage are still not out of the box.  Couple this with the poor form factors and tiny keyboards, and there is still a lot to be done in this market.  Consumers know they don't need full blown desktop machines, but so far have only been exposed to "small laptops".

Despite the demand for netbooks, consumers still don't know what these web devices are - there is still an opportunity for proper market definition. There are very few companies who can really make the idea of web devices sit with consumers; excellent marketing coupled with good software and hardware is critical to open the market up.  With so many people having lost their shirts in the web device game over the past decade, chances are slim this company will emerge as a startup. Apple is clearly an industry favorite for defining new markets like this.  With the marketing engine to hit the concept home with consumers and the technical understanding to make it happen, and recent rumors of a "big iPhone" or "Apple Tablet", it's beginning to look like the market definition will start there.  But there are other players who look like they will be emerging as players.  TechCrunch has the "Crunch Tablet", Kindle is looking more and more like a web device daily, and Nokia has expressed serious interest in expanding into net books.

While heavy metal desktops will never become fully eclipsed by web devices, the desktop OS market looks to be in terminal decline.

Update: ... Or maybe Google will be the one to define the market.

Posted by mrdecav | 6 comment(s)
Filed under: ,

Tracking moved files: An interesting tidbit on file references in OS X

Today I had to help someone with a problem with iTunes on Windows.  For those of you that have not had the pleasure of using iTunes on Windows, it sucks, like most software written by Apple for Windows.  That being said, this problem really had nothing to do with iTunes.  The problem was that iTunes was 'losing' music.  As it turns out, the music that the user saw as 'lost' turned out to have been moved from its original location (the desktop) to the 'Music' folder.  iTunes uses absolute paths in its media library to hold reference to the file.  When the file moves, the reference is broken, and thus, the music appears 'lost'.  Without iTunes open all the time (and due to the occasionally unreliable file system watcher), it is simply not possible to track these files.

But then I started wondering... Surely Apple wouldn't let this happen on OSX.  Details like this tend to be a place where Apple shines.  So what in the world does iTunes do if I move something from the 'Music' folder to my 'Desktop' in OSX.  I decided to try.  First I closed iTunes, then I copied a music file, went back to iTunes, and hit play.  Low and behold, it played, no problem.  Not only did this leave me confused, but it also left me interested, so I decided to do a little exploring...

From what I can tell, Apple foresaw this problem with their 'aliases' early on in their original Mac OS, so rather than referencing files by path, you can reference files by a unique ID (if they are on a partition that uses a supported file system).

I'm no expert on Cocoa, but from what I can tell, the details of this can be found in the File Manager APIs and FSRef.

And for some more interesting reading on the topic.

So next time you get the dreaded 'cannot find the target to this shortcut, do you want to try to find the file?' prompt, just think about those 1980's Apple employees and how they solved this problem...

Posted by mrdecav | 2 comment(s)
Filed under: , ,

The Browser Love Affair, RIA and JavaScript as the 'new byte code'

Jump to a section of this article:

Why do consumers love the browser?

One of the things I still have not fully understood is the consumer's affection for the browser.  Unlike desktop applications, consumers seem to feel more comfortable and safe in a browser.

Perhaps it is the familiarity, always knowing where you are with a URL, the 'safety' of not messing up your computer, the security of having data stored in a cloud where it doesn't need backup, or the easy way to get away from where you are with the back button.  Add to this the familiarity of having an interactive 'page' over a bunch of forms and dialog boxes and popup windows, and the element of design and simplicity on the web, web developers were quicker to embrace a "less is more" approach, and web pages are typically thought through and designed by professional designers more often than desktop applications.

When you take all of these things into account, it makes a bit of sense why consumers have shown a preference for web based applications, and it is no surprise that most of the WPF applications we've seen emerge have followed the same basic browser concepts (back button, page like UI, navigation at top, hyperlinks, etc).

For someone who tries to stay away from web development, my recent past has been riddled with all the latest buzz-words on the web - Silverlight, Flash, AIR and JavaScript are all tools that I've had to engage with.  I've built trading systems in Flash and my most recent application is RIA in HTML + JavaScript...  None of these platforms have had the allure of WPF for me, the developer, but its what clients have asked for, and clearly what consumers are interested in.

 

Who is winning the war in RIA (Flex, Silverlight, HTML+JavaScript)?

Why is it that we feel the need to place browser chrome around everything, and when we do, what platform has emerged as dominant for the new breed of complex applications (Google Maps, docs, etc) that we've come to expect in the browser?

With out a doubt, HTML and JavaScript has been a hands-down winner.  Why is it so hard to name a single site that is a pure Flash or Silverlight application.  HTML + JS is certainly not easier to program, and Flash is now ubiquitous, so the concern of requiring a plugin is not there, is there something about interacting with the native browser, not a plugin, that has some appeal. 

I have become a firm believer that as a non-software company, it is your interest to leverage Microsoft-based development technologies as much as possible.  The ability to quickly get things done in .NET and its surrounding technologies is unparalleled.  When you are a software company though, it is much harder to justify.  Tying yourself to Microsoft, one who likely is or will become a competitor in your space is risky.  Hiring good web people (if you're a web startup) is harder because the .NET development culture tends to do things "the Microsoft way". And your acquisition story becomes limited (Google, eBay, Facebook, etc is less likely to by a .NET based system because it doesn't fit in their infrastructure).  For this reason, it may be clear why Silverlight is and will not become the dominant application platform on the web any time soon. Perhaps many web companies have the same fear of Adobe Flash.  By contrast, HTML and JavaScript is "open" and is not dominated by any particular entity.

The decision of most web companies to stick with HTML, despite the rich features of other platforms, is simply a business decision.  HTML will always be there, is relatively reliable, relatively backwards compatible (Adobe is pretty good at breaking builds of older code with newer versions of Flex), and does not tie you to the whims of any one company or platform.

 

JavaScript as Byte Code - C#, Java, etc to JavaScript Compilers and Cross-Compilers

HTML is great for document layout.  Its fast, clean and everyone knows it.  Sprinkle a bit of JavaScript on that, and you have a nice interactive document.  But HTML was never designed to be the basis for an application platform, and really is a pretty poor application platform.  But despite the features of other platforms, and the number of times HTML and JavaScript is pronounced dead, something breaths life back into it.

It started with FireFox, and continued on with the awefully impressive Google Maps.  Google has a large interest in keeping the browser alive and relevant.  The longer it does so, the longer it has a platform on which to compete with Microsoft that is already deployed to 99% of the world's user base.  A "Google Flash" may not be feasible, because of the deployment nightmare involved, but as HTML evolves with offline capabilities, richer CSS and faster JavaScript engines (see Google Chrome), it becomes a platform that can largely compete with the rest.

And for this reason, Google has cleverly turned the browser into their own RIA platform.   The "Google Virtual Machine", as you may call it.  To do this, they've leveraged the existing tools that Java has to offer, and created Google Web Toolkit - a Java compiler that can compile Java into cross-browser JavaScript.  And on the client side, they've added Google Chrome.  You can easily consider Google Web Toolkit and Google Chrome to be a full RIA platform, with JavaScript as the byte code transport.  And not only that, but its an RIA platform fully backwards compatible with the existing deployed base of browsers.

Perhaps the most interesting thing is that Google Web Toolkit is not the only JS or cross-compiler.  A variety for compilers have been built for this purpose.  Microsoft Research has Script#, which compiles C# to JavaScript, and a bunch of projects use JSC, a cross compiler that compiles MSIL into JavaScript (and therefore any .NET language).  With a whole variety of tools out there by different vendors to compile to JavaScript, it appears that JavaScript has become the new universal byte code.  It can be processed by a whole variety of browsers, and produced by a variety of tools - one of the only computing platforms that that is true for.

And compiled JavaScript can also be pretty fast and make applications that are rich and look good.  While it doesn't compare to the offerings of Cocoa, WPF or Silverlight, the quality of application that can be achieved is good enough for most consumers.  In the case of GWT, it is not only fast, but also efficient - and best of all, code can be shared amongst client and server.

 

I don't like HTML as an application platform, and I am not very fond of running every application inside the browser chrome.  But as business strategy and deployability have become increasingly important to me in my recent venture, an RIA application based around the native browser has become my platform of choice.  Cross compilation, in my experience, has proven an effective way to make a very rich client that can even handle push-data.

On Compensation in Finance

This post is part of a series of essays on things unrelated to software development. You can find all the essays here.

The compensation structures on Wall Street have long been criticized as excessive, lavish and unnecessary.  Banks have consistently justified such salaries, noting the executives being compensated brought in big earnings for the bank.  When the bank balance sheets were positive, there was little incentive to attempt to correct the salaries, however with most banks now in dire straits, many have begun to take a more firm tone with banks.

This concern was underlined this week by Obama’s new government enforced incentive cap of $500k per year for top executives in banks receiving federal aid. While Obama has found a significant problem in banks, their compensation structure, his cap is not only horribly low, but may also have a significantly negative effect on banks.  Without that ability to recruit top talent into executive positions, banks will have more trouble hiring than the offices of Mr. Madoff.

Free markets tend to assume that people will do what they consider in their best interest.  Consider a classic example of a big, blue lake, full of fish with multiple fishermen.  If the lake is a public entity, it is in the interest of each fisherman to collect as many fish as possible, without regard for environmental impacts or long-term sustainability.  If they do not, the other fishermen will fish the entire bounty from the lake, draining it of their resource, and they’ll be left with nothing.  If each fisherman owns their own portion of the lake, however, they will want to sustain their portion of the lake for future years, to ensure long-term prosperity.

The banks have begun to look much like the overfished lakes of Wall Street.  With huge annual bounties, and little incentive to maintain the overall value of the organization, traders, bankers and executives alike have taken large risky bets at expense of the the organization, in effect hollowing out their balance sheets.  Large bonuses rewarded short-term harvests, and threatened long-term prosperity.  Even with some compensation supplied in stock options, the incentive to make a few large cash bonuses and move on was so great, that it simply eclipsed the interest in ensuring a banks long-term viability.

Compensation structures should provide incentive for employees to ensure long run profitability over short-term profits.  The most obvious way to accomplish this is to lower annual cash bonuses and increase the use of instruments that mature over time, such as stock options.  Employees who receive bonus compensation based on the performance of the company in five years are more likely to ensure that the organization maintains long term profitability, and is less likely to take risky bets that undermine the banks sustainability and performance.

Obama is right to point out the broken compensation structures on Wall Street, but the amount of the compensation on Wall Street is not the cause of current economic woes. It is the form of compensation and how that from makes people act.  Obama should not be looking at limiting overall executive pay, but rather rewarding success in solidifying a firm over the long run.  If a salary cap is necessary to push a bill through congress in the short term, a bonus structure should be provided for any executive who has been instrumental in restoring confidence and a positive cash flow to a bank.  Change in the way banks provide incentive to their employees is necessary, but populist politics should not get in the way of proper reform.

Posted by mrdecav | 4 comment(s)
Filed under: , ,

Windows 7 and OS X: Its the simple stuff, stupid

Forgive me for borrowing from an old Clintonian campaign slogan, but it seemed appropriate...

Over the past few weeks, more and more information has come out about the direction of Windows 7.  Desperate to be cool once again, Windows is adding an OS X style dock, multitouch and a range of cool new UI effects to boot.

With all this attention to glamorous interface features, one would be surprised to see the range of negative articles published on Windows 7 thus far.  Much of it, of course, does have to do with the skepticism cast on Microsoft these days, however some of it is also pointing out important flaws in what Microsoft is doing.  The features being added to Windows 7 are not the features users need or are asking for most.  They are flashy features Microsoft thinks will sell Windows, but instead may erode its market share.  What Microsoft needs right now is to prove their critics wrong.  Performance, stability and productivity tools over that extra "wow" factor.

I have always been a proponent of Microsoft products.  I defended Vista through its hard times, and have always thought very highly of Microsoft products.  Times have changed.  With the start of some Unix development work, I converted to a more suitable Unix platform, OS X.  With this move, I began to find how far my general beliefs of development and UI design had diverged from what I had praised as quality software.  There is no doubt: OS X is not only a surprisingly stable platform, but it delivers the performance and features that users want - and does so better than its competitor.

Windows Vista was the perfect example of a monolithic, waterfall software development project.  Many of the features added were to push the agendas of those running the show, not the customers of the Windows product.  Emphasis was placed on Tablet PC and Windows Media Center over simplicity, cleanliness, speed and search.  This is not to say Tablet and WMC are bad products -- they both are powerful and interesting, but they were not the core concerns of consumers.  Because resources were moved to less important aspects of Windows, the development of core features that users really need suffered.

Vista search is slow, resume from sleep is buggy at best and not instant, UAC is annoying and shut off by most advanced users at the beginning, and the OS overall feels sluggish.  While Vista in many ways is a step above XP, it is arguably also a step backwards.  And although they may have tried to patch up security and speed up search, they did not place emphisis on it.  There is no good reason that Google can search billions of web pages faster than Windows can search a few million of my documents.  No arguments, no excuses, its pathetic.

 

Apple's OS X has taken a different tack than Windows.  Every year, a new version of OS X is released.  Every year, incremental new features (along with a few "pieces of flare") come out of Apple, and every year the user experience improves.  Apple seems to build in the features users want first, and then focus on the features that impress.  Many Apple advocates focus on the fancy effects, the security, the cool factor, etc. to promote Apple products.  But doing so misses the forest for the trees.  What Microsoft can learn from Apple is not the fancy demos of Expose, cover-flow and other fun effects.  Its real, value-added features that just work.  This is where Microsoft needs to focus its time.

Disclaimer: Don't get me wrong here.  I want Windows 7 to be good.  I want it to succeed.  But on that note, I am afraid that it won't.  Unless Microsoft can show business customers real value, Windows 7 may be destined for the same fate as Vista.  And I am scared that a failure of Windows 7 would hurt a product I do love, .NET.

Here are some of the things I've found since I first started using OS X:

  1. It turns on instantly from sleep.  Always.  Open the lid, move the mouse.  Its seriously that consistent.
  2. Search is fast.  Lightning fast.
  3. I don't miss anything (Except Visual Studio).  OS X has a lot of software that is comparable or better than Windows equivalents.  A lot of it is free too.
  4. Less visual clutter.  Finding features you want is easier.
  5. No surprises.  No chugging away at the hard drive unexpectedly, no "Please wait. Configuring updates" junk starting and shutting down.
  6. Quick view is priceless.  When looking for a file, being able to instantly see its contents greatly enhances productivity.  Why can't Windows do this?


None of these are flashy features... Just simple things that work well consistently.  Its important.  When I open my machine to show someone something, I expect it to turn on and not waste my time.  Countless times I've had Vista freeze on wake and then on restart seen "Please wait, configuring updates."  Maybe 20 minutes later I get back to what I wanted to present.

Here are a few demos of OS X you usually don't see in a typical sales pitch.  Things that just work on OS X.  Things that save me time.  Things that I want in Windows.

When writing software, you need to focus on what users need first.  Let's hope the Windows team pulls more than just the glamorous features from OS X.  Let's hope they find what makes OS X more productive and easier to use.  These are the features we need in Windows.  Multitouch is just a nice-to-have that few people will actually benefit from.

OS X is not going to take over all the Windows market share, but it could make a dent.  If Windows 7 fails to appeal to CTO's and consumers alike, it will be 3 years before Microsoft gets yet another shot.  In this time, it would not be surprising to see Apple's market share to grow from its current 9% to 20-30%.  Even by the time Windows 7 comes out (where Apple will have 10-15% of the market), Microsoft will have to change its game plan.  No longer can it ignore the consumers running on Apple platforms -- 15% of the market is just too much to ignore.  Proprietary formats and tools will have to bow to interoperable platforms (Silverlight and the new Office XML format).  This changes their business model quite a bit.

Posted by mrdecav | 6 comment(s)
Filed under: ,

Moving on...

To those that know me well, this post is of no surprise, however given that I haven't been posting for a while, and probably won't for a while more, I thought it was appropriate to post a quick, personal update. As of a week ago, I left my colleagues at Lab49 to pursue an exciting new venture which I hope will make the lives of many people easier. Because this venture is based on web technologies, I bought a mac and just to fit in a latte as well, and settled down in a world not as well known to me -- of Open Source and Unix/Linux. Unfortunately due to the sensitivity of any new venture, my next several months of work will be as secretive as possible. I will not be sharing technical secrets or what the project is about until a few months from now. For that reason, this blog will remain sparse for the next few months.
Posted by mrdecav | 1 comment(s)

Introducing PowerShell Pages - Script Style HTML Rendering

Early in the web development world, scripting languages such as ASP or PHP were used to compose pages. Although this proved great for relatively static pages, the dynamic web, filled with rich applications called for a more powerful framework. Thus, frameworks like ASP.NET were born.

ASP.NET solved a good number of problem spaces, but has made creating simple pages (such as a resume or menu, or other primitive list of data) more cumbersome. With the world of COM development becoming less common and less preferable, the gap for a scripting language to replace VBScript/ASP is needed. PowerShell scripting has filled the gap left by the demise of VBScript, but nothing has come along to replace ASP.

PowerShell Pages is an ASP like language, based on the PowerShell runtime. Using a simple HTTP Handler, ASP.NET can render pages scripted using PowerShell script (including cmdlets, and CLR/.NET objects) to the web. Simple, fast and intuitive programming for simple pages that just need to display some content.

The PowerShell Pages project is an open source project that I am starting.  Its implementation will be based on ASP.NET using a simple handler capable of consuming PowerShell HTML (PSH) scripts and writing HTML.  Because the script is hosted in ASP.NET, the ASP.NET HttpContext and the other components of the object model are available.  PSH scripts can work side-by-side with ASPX pages.

Ready to see what PowerShell Pages look like?
Sample Page:
http://decav.com/psp/resume.psh
Sample Page Code: http://decav.com/psp/viewsource.psh?page=resume.psh
View Source Code: http://decav.com/psp/viewsource.psh?page=viewsource.psh

Join the Project - Visit the PowerShell Pages CodePlex project workspace

Posted by mrdecav | 2 comment(s)

Gatsb.com Now Open Source (A Case Study in Geotagging, Workflow Foundation, SMS/MMS Parsing)

After hosting Gatsb.com for a year, I have decided to open source the project.  I haven't had time to promote it the way I wanted to promote it, and it therefore hasn't caught on with too many users.  I've been busy with other projects, other (grander) ideas, and think that this one should now belong to the community.

You can download the source code here: http://code.google.com/p/gatsb/

If you want to contribute to the project, please feel free to contact me at andreblog@decav.com

This project is a great case study of a bunch of new Microsoft technologies.  It includes Workflow Foundation, .NET 3.0, Microsoft Virtual Earth and ASP.NET Ajax.

One of the coolest features is how it keeps open a "session" with an SMS client.  Workflow Foundation is used to persist the state and when a new SMS comes in, it checks if theres an existing session for that SMS.  If there is, then it will revive the workflow and continue the session.  Cool stuff!

If you ever wondered how to create a database of geotagged entries, use ASP.NET ajax to make a snazzier site, or establish a user interface with any mobile device, I suggest checking out the code!

Posted by mrdecav | with no comments
Filed under: , , ,
More Posts Next page »