More Linux Firms Standing Up To Microsoft Comments

Techdirt by Joe Weisenthal - Jun 22, '07 12:41pm
After getting a number of companies to sign its interoperability/patent licensing deals, Microsoft is finding that many Linux distributors aren't interested in these pacts. Red Hat, Canonical (the company behind the popular Ubuntu Linux) and now Mandriva have all stated that they want no part of these deals, and see no reason to sign them. As Mandriva CEO Francois Bancilhon correctly put it, the route to interoperability is not through deals, but through open standards. Of course, these deals were never really about interoperability, but about Microsoft looking to demonstrate that some Linux firms agreed with it about the need to license patents. Of course, the firms that have joined the Microsoft camp are seeing benefits, as Microsoft is sending business their way, particularly in the case of Novell. That being said, Novell has burned a lot of bridges in the open source community, while these holdout firms are likely to benefit from added love among Linux fans.
Be the first to comment this (no registration)

Debugging AJAX Applications on Internet Explorer - Part 1 Comments

All ITtoolbox Blogs - Jun 22, '07 2:24pm
In this entry we'll start with the simplest, but also the least portable option for debugging JavaScript in IE. In the upcoming entry I will explore more sophisticated options. JScript, Microsoft's version of JavaScript, supports the keyword debugger; that starts the debugger while the JavaScript code is executing in IE. In other browsers this keyword will be ignored just
Be the first to comment this (no registration)

New WordPress 2.2.1 fixes bugs, blocks exploits Comments

Linux.com :: Feature - Jun 22, '07 11:24am
WordPress yesterday released WordPress 2.2.1, which incorporates a number of small bug fixes and tweaks, along with some security issues that make this a required upgrade.
Be the first to comment this (no registration)

EnterpriseDB Releases v8.2 Comments

All ITtoolbox Blogs - Jun 22, '07 1:04pm
While I was at ODTUG in Daytona this past week, EnterpriseDB announced general availability of EnterpriseDB Advanced Server 8.2. I'll be posting more over the next couple of weeks but the big news is OCI compatibility. EnterpriseDB is shipping with a shared library that will allow you to compile Oracle Call Interface (OCI,
Be the first to comment this (no registration)

Web Inspector for Safari on Windows Comments

ASP.NET Weblogs by davidbarkol - Jun 22, '07 7:32am

If you've downloaded Safari for Windows and are a looking for a tool similar to Firebug or Nikhil's Web Development Helper, then you might be interested in the WebKit Open Source Project. Within the project is a tool call Web Inspector that performs much of the same tasks as the tools mentioned earlier. To run the tool:

1) Download the nightly build from http://nightly.webkit.org/.

2) Extract the contents from the zip file.

3) If you are running Vista then you will have to add the following to the end of the Preferences.plist file (under C:\Users\<UserName>\AppData\Roaming\Apple Computer\Safari\), just before </dict></plist>: 

          <key>WebKitUserStyleSheetLocationPreferenceKey</key> <true/>

4)  Execute the run-nightly-webkit.cmd file. This will launch Safari from the command prompt.

After Safari is launched you will have an additional item in the context menu called 'Inspect Element', select this to see the tool:

 Here are a few screenshots of it in action:

 

Be the first to comment this (no registration)

Google Talk Gadget Adds Multi-User Chats Comments

Google Operating System by Ionut Alex Chitu - Jun 22, '07 5:46am

Google Talk Gadget added support group chat. Just click on the "Group Chat" button when you are in a conversation, and you can invite other people to join your discussion. Unfortunately, this feature is not available in any other client, so if you invite someone who uses Google Talk for Windows, Gmail Chat or other Jabber client, he'll get a link to the web version of Google Talk.



The Windows client seems to be neglected this year, but I bet we'll see a major new release in the coming weeks that will add all the new features from the web version, phone calls and more.
Be the first to comment this (no registration)

Russia needs Internet censorship: official (AFP) Comments

Yahoo! News: Technology News - Jun 22, '07 3:27am

File photo shows a computer screen in an internet cafe in Moscow. Internet sites in Russia should be censored to combat extremist material, a senior legal official says, the newspaper Kommersant reported Friday.(AFP/File/Denis Sinyakov)AFP - Internet sites in Russia should be censored to combat extremist material, a senior legal official says, the newspaper Kommersant reported Friday.


Be the first to comment this (no registration)

Business.com could sell for up to $400 mln: report (Reuters) Comments

Yahoo! News: Technology News - Jun 22, '07 2:43am
Reuters - The Business.com Internet domain and search engine is for sale and could fetch between $300 million and $400 million, The Wall Street Journal Online reported on Friday.
Be the first to comment this (no registration)

VS 2008 JavaScript Intellisense Comments

ASP.NET Weblogs by ScottGu - Jun 22, '07 1:57am

One of the features that web developers will really like with VS 2008 is its built-in support for JavaScript intellisense.  This is enabled in both the free Visual Web Developer 2008 Express edition as well as in Visual Studio, and makes using JavaScript and building AJAX applications significantly easier. 

Below is a quick tour of some of the new JavaScript intellisense features to take advantage of:

JavaScript Type Inference

One of the things you'll notice immediately when you start typing within a script block is the richer support that Visual Studio 2008 now has for JavaScript keywords and language features:

JavaScript is a dynamic language, and doesn't support explicit type declarations, which has made implementing good intellisense difficult in the past.

Visual Studio 2008 adds support for type inference, which means that it evaluates and computes how a JavaScript block is being used and dynamically infers the variable usage and type information of the code to provide accurate intellisense support.

For example, Visual Studio below will infer that an html element is being retrieved by the document.getElementById() method, and provide appropriate html element intellisense for the variable result:

If I later assign a numeric value to the "myElement" variable (which in JavaScript converts it to a number), notice how VS will detect this and now provide integer intellisense for the variable later in the method:

Intellisense for External JavaScript Libraries

VS 2008 supports intellisense not just for in-line script, but also for externally referenced JavaScript files.  For example, assume we have a "getMessage" function like below defined within a "Util.js" javascript file:

I can then simply add a standard JavaScript script refrence element to my page, and I will then automatically receive intellisense support for it as I code:

Notice how VS automatically provides basic parameter intellisense information on the method without us having to do anything special to the JavaScript for it to appear:

Adding Intellisense Hints to JavaScript

As you saw above, Visual Studio will automatically provide basic intellisense help information for the method name and parameters of standard JavaScript.

You can optionally make this intellisense richer by adding comments to your JavaScript code that the intellisense engine can then pick up and use when you consume a method or library.  For example, I could add the below comments to the getMessage function in my util.js file:

And when I then code against it within my "Default.aspx" file Visual Studio will automatically display this summary information for the method:

As well as the parameter details:

We'll provide a tool that then allows you to automatically strip out your comments (and compress the whitespace and size) of your JavaScript once you've finished building your application.  For more details about the comment format that both VS and ASP.NET AJAX support, please read Bertrand Le Roy's post here.

Intellisense within External JavaScript files

Obviously you get full intellisense support within external JavaScript files, just like you do within script blocks inside .htm and .aspx files.

One of the interesting characteristics about external JavaScript files is that they can call and use the JavaScript functions and variables declared within other JavaScript files that a page loads. 

For example, if we declare two external Javascript files referenced on a page like so:

The JavaScript code within the "MyLibrary.js" javascript file will be able to call the methods declared within the Util.js file.

You can tell Visual Studio to provide intellisense for the "Util.js" library within the "MyLibrary.js" file by adding a /// <reference> comment at the top of the external library.  Once you do this, you'll get full intellisense support for those methods and variables:

This ends up being super useful when partitioning your JavaScript routines across multiple files.

To reference the ASP.NET AJAX client side JavaScript libraries, you can either add a <refrence> that points to your own copy of the .JS file (if you are manually including it in your project), or add a <reference> element with a name value if the library is being dynamically output by the <asp:scriptmanager> control on the host page:

Once you do this you'll get full intellisense for all of the JavaScript libraries and type-library patterns inside ASP.NET AJAX.

Calling Web Services using ASP.NET AJAX

ASP.NET AJAX makes it easy to expose methods on the server that can be called and accessed via client-side JavaScript.  For example, assume we define a simple webmethod in a .asmx web-service like below:

I could then have ASP.NET AJAX automatically create a client-side JavaScript proxy object that uses the JSON protocol to call and use it from the client by adding a reference to it with a <asp:scriptmanager> control in my page like below:

What is cool about VS 2008 is that when you declare a reference to a web-service using the <asp:scriptmanager> control like above, it will add client JavaScript intellisense support for it within the page automatically:

Obviously this makes it much easier to identify methods on the server and asynchronously call and invoke them.  You can use this to both exchange data between the client and server.  You can also use the AJAX UI templating technique I described here to retrieve HTML UI from the server using these callbacks and then dynamically update the page with them.

Creating Re-Usable ASP.NET AJAX Behaviors, Controls and Libraries

ASP.NET AJAX provides type-system support within JavaScript for defining classes, interfaces, and other object oriented concepts.  This makes it much easier to define re-usable libraries of JavaScript that encapsulate functionality and re-use it safely across pages and applications (without having to worry about the JavaScript conflicting with other JavaScript or libraries).

VS 2008 provides new "Add-Item" templates that makes it easy to create new ASP.NET AJAX behaviors, controls and libraries:

ASP.NET AJAX uses the "prototype" pattern within JavaScript to enable you to define classes and interfaces.  For example, I can create an encapsulated JavaScript class using this pattern using one of the project item templates above (notice below how the namespace created by Visual Studio by default is the same as my project namespace):

Obviously I then get full intellisense support when consuming my new library from any page or other JavaScript file:

Summary

Hopefully the above walkthrough provides a first look at some of the new JavaScript intellisense features coming soon (there are more - but this is a start).  In future blog-posts I'll also cover some of the new JavaScript debugging features that VS 2008 brings, as well as some of the WYSIWYG designer support for ASP.NET AJAX and the ASP.NET AJAX Control Toolkit.

To learn more about ASP.NET AJAX (and how you can use all of the runtime features I described above starting today with ASP.NET 2.0), I'd also highly recommend checking out these two new books that have recently been published and which cover the official ASP.NET AJAX 1.0 release:

Note that because of the new VS 2008 multi-targeting support, you can use the JavaScript intellisense features I showed above with both ASP.NET applications built using .NET 3.5 (which has ASP.NET AJAX built-in), as well as with existing ASP.NET 2.0 applications (including ones that use the separate ASP.NET AJAX 1.0 download). This provides a very compelling reason to start using VS 2008 - even if you are using it to only target .NET 2.0 applications.

Hope this helps,

Scott

Be the first to comment this (no registration)

Hitachi: Move the train with your brain (AP) Comments

Yahoo! News: Technology News - Jun 22, '07 6:06am

Hitachi, Ltd. Scientist Hideaki Koizumi holds a brain model while researcher Akiko Obata wearing a head gear during a demonstration of a new technology that reads brain activity and lets you control everyday objects without lifting a finger at Hitachi's research lab in Hatoyama, near Tokyo, Wednesday, June 20, 2007.  The 'brain-machine interface,' developed by Hitachi, analyzes slight changes in the brain's blood flow to detect brain motion and translate it into electric signals. (AP Photo/Shizuo Kambayashi)AP - Forget the clicker: A new technology in Japan could let you control electronic devices without lifting a finger simply by reading brain activity.


Be the first to comment this (no registration)
© 2007 · wiredb.com · All trademarks are properties of their respective owners.