Monthly Archives: March 2007 - Page 3

equals versus ==

Interesting subject which Daniel Moth explains:
At a recent event where I was presenting on LINQ, I showed a query with a join, similar to the following:

      var results =      from p in Process.GetProcesses()      join p2 in MyProccess.GetMyProcList()      on p.ProcessName equals p2.MyProcName      where p.Threads.Count > 14      orderby p.ProcessName descending      select new { p2.MyProcDescription, ThreadCount = p.Threads.Count, p.Id };

After the session one of the delegates asked me: “Why do we have to use the equals keyword and not just ==“. In other words he would have preferred to type:
on p.ProcessName == p2.MyProcName
I didn’t have a good answer but promised to look into it.

view original

Rich Internet Application And Content Management

Today everyone talks about Web 2.0. But while the idea of a collective intelligence, implied here by the term’s inventor Tim O’Reily remains an object of trivial speculations, it is obvious that the World Wide Web is changing. Web applications are increasingly approaching the level of functionality, which is usually found only in desktop applications. And as this trend is gaining momentum, we can already witness the dawn of a new era brought about by a novel kind of web applications – Rich Internet Applications (IRA). At the same time, the popularity of terms like Web 2.0 and RIA makes developers use them as an attractive label on their products, without actually understanding the meaning behind those notions. So what does RIA mean, eventually?

ria Rich Internet Application And Content Management

JScript IntelliSense in Visual Studio "Orcas"

The March CTP of Visual Studio marks the debut of a much-requested and long-awaited feature: improved JScript IntelliSense. We’ve been working on this for almost a year now and I’m pretty excited to finally be able to share it with the public. There are a variety of topics I’d like to deep dive into, but for today let’s just take a quick aerial tour of the new features.
 JScript IntelliSense in Visual Studio "Orcas"
view original

Web 2.0: Shifting from “Get Fast” to “Get Massive”

process one logo Web 2.0: Shifting from “Get Fast” to “Get Massive”The Web 2.0 will have a large impact on development technology choice. Erlang is the most likely language and development environment to benefit from this trend. The new erlang book will help accelerate this trend as will the ripples in the pond caused by Tim O’reilly’s blog. At Process-one we’re well placed to take advantage of this technology having used Erlang to build a massive messaging server.
view original

MonoDevelop 0.13 has been released

mono MonoDevelop 0.13 has been releasedMonoDevelop 0.13 has been released This version features: Version Control support (Subversion only currently), supports adding, removing, moving, check-out, check-in, ChangeLogs and patch review. Much improved Code Completion, Visual Studio like templates. Task View. Support for Web References (Generate stubds from WSDL contracts from the IDE). Gtk# Designer improvements: Use of partial classes to separate user code from generated code, this means that it is no longer necessary…
view original

Writing to Word from SQL Server

Never a man to walk away from a challenge, Phil Factor set himself the task of automating the production of Word reports from SQL Server, armed only with OLE automation and a couple of stored procedures….

3 Writing to Word from SQL ServerHaving helped Robyn with her Excel Workbench, I couldn’t get out of my head the idea of achieving the same effect with MS Word. After all, from the data viewpoint, MS Word documents are just a series of paragraphs and tables aren’t they? Surely, it should be easy to read and write data between SQL Server and Word.
view original

JSON is not as safe as people think it is

Joe Walker is talking about the safety of JSON. He has talked about CSRF in the past, and this time he delves into the Array/JSON hack.

I saw some discussion recently about using JSON for secured data, and I’m not sure that everyone understands the risks.

I believe that JSON is unsafe for anything but public data unless you are using unpredictable URLs.“

How safe is your JSON?
view original

Browser Wars: Mozilla, IE, Opera join up for a panel discussion

Presented by the Silicon Valley WebBuilder, this event brought together Mike Shaver from Mozilla, Chris Wilson from Microsoft’s IE team, Håkon Lie from Opera, and expertly moderator Douglas Crockford from Yahoo! to talk about the current state of the browser landscape.

At first, each person got a chance to say their peace. Here are some core items that each person said:

Chris Wilson

We are not about to enter another browser war. This isn’t about destroying each other. This time it is about building the standards based web future, which means we need to work together. This isn’t 1995, so let’s not build that platform. The problem that we have is that as soon as you improve something, you break the web. This is especially hard since Microsoft has ~500 million users.

Chris queried the top 200 web sites and 50% of them are in strict mode. When he did this in IE 6, only one of them was like this. He hinted at having developers opt-in to standards mode in a different way.

Mike Shaver

Mike also said that he doesn’t consider it to be a browser war….. but rather a “mindshare struggle”.

The new “war” is having cool applications being built on the web itself. If the next flickr/gmail/… is built on the web, it is winning.

Don’t look to the W3C for the future.

Håkon Lie

“If you need a good browser for Windows 98 we have it”

Ajax is bad. We need to add HTML, CSS, and the like, and he had some funny acronyms.

He then discussed the ACID 2 test and had a lot of fun with IE 7 showing how it compared to Opera 3.6 from 1998.

The Wii (which uses Opera) is going to change the web. More people are trying to get their sites rendering correctly with the Wii than “who cares about that Opera browser”.

We need to support video as a first class citizen (and sound). “We can’t leave it to plugins anymore”.

What video formats should we support? There aren’t many open formats, so they use Ogg formats.

Where’s Apple?

They refused to send someone saying that “we are busy writing software”.