ParallelFX: concurrency library for .NET

A few links:

Announcement of CTP on Somasegar’s blog

MSDN article on PLINQ

MSDN article on Task Parallel Library

Joe Duffy – concurrent programming blog

Interesting note in Duffy’s blog about PDC 07 (the one that never was):

Note: some might wonder why we released the articles before the CTP was actually online.  When we originally put the articles in the magazine’s pipeline, our intent was that they would in fact line up.  And both were meant to align with PDC’07.  But when PDC was canceled, we also delayed our CTP so that we had more time to make progress on things that would have otherwise been cut.

Concurrency is a big deal; it’s good to see more library support.

Technorati tags: , , ,

Zoho users logging into other accounts by accident

Zoho users beware. There appears to be a nasty bug whereby a user logs in with their own credentials, but finds themselves logged into another user’s account:

I have the last couple of weeks experienced that I get logged on into another account that I do not know!
I can see the other account documents. Just a few minutes ago I tried to use my own logon but was logged in to the account of <…>

says a user on the Zoho forums.

Zoho says it is fixing this urgently:

We have analyzed the logs and found some race conditions that could happen under high load. We have a fix in, and are continuing to monitor it very closely. We have also launched a complete review of security, so that this type of issue does not recur. We are taking it very seriously and apologize profusely.

Food for thought nonetheless. This is the kind of reason people cite for sticking with on-premise applications. I argue that data is often safer in the cloud, but this kind of incident makes you wonder.

Technorati tags: , ,

Zoho CEO on Flash vs Javascript

Zoho is an online office suite. I was interested in comments from Zoho’s Sridhar Vembu on why it is coded using Javascript rather than Flash. He gives five reasons:

  1. Web standards. “Flash, for all its advantages, sits in a separate space from the browser.”
  2. Open source libraries more widely available
  3. Vector graphics can be done in browsers (SVG, VML)
  4. Mobile support – “one word – iPhone”
  5. Smaller size = faster loading

Note that he is not rejecting Flash in all circumstances; he merely regards it as less suitable than Javascript for his company’s premier product and web application.

Convinced? It’s a fair case, though I suspect you could equally easily make a case for Flash, citing reasons like:

  1. No need to code around browser differences
  2. Faster code thanks to just-in-time compilation
  3. More consistent font rendering across different platforms and browsers
  4. Easier coding of complex effects and layouts

Sridhar’s most compelling point

One way of investigating further is to contrast the Flash-based Buzzword with Zoho Writer. They are very different. Zoho’s user interface is busy and cluttered by comparison, though it has some ambitious features which Buzzword lacks (Insert Layer, for example). Personally I prefer the cleaner UI. But is that really because of Flash vs Javascript, or simply the outcome of different design decisions? Zoho’s apps are like its website, too much stuff thrown at the user. I count 25 products advertised on its home page – fourteen apps, four utilities, one beta, four add-ons, two uncategorised (iZoho and Zoho in Facebook). Overwhelming.

Users don’t care about Flash vs Javascript; they care about usability and productivity.

Another twist is what happens when these apps introduce offline support. Zoho has already done so, using Google Gears, but I don’t much like the implementation. It is modal and intrusive. I want offline synch to happen seamlessly when I hit Save; it should only raise its own UI when there is a conflict. There is also the point that Adobe’s Kevin Lynch made at the Max conference last month (and no doubt elsewhere): it is counter-intuitive to open a browser, when offline, to access a web application. Adobe has AIR, and Mozilla is also working on solutions to this. But to my mind Flash has an advantage here. Think: AIR, web storage, local cache. Whoever gets this right will grab a lead in the online office wars.

Technorati tags: , , , , ,