Tips
Useful tool - Vista Battery Saver
Yesterday, I lectured on environmental technologies and had a chance to present, what I think is, one of the most useful ,open source downloads for people who use Vista on their laptop.
A few months ago, my friend Tamir Khason has released a super cool open source application called Vista Battery Saver.
PHP calling .NET - Running WCF service with basicHttpBinding
I am Writing a PHP application that needs to run a back end .NET application. When creating a running the WCF web service out of the box, the PHP could not connect to the web service.
The problem:
The PHP returns "Caught exception: Cannot process the message because the content type 'text/xml; charset=utf-8' was not the expected type 'application/soap+xml; charset=utf-8'."
The reason:
WCF is running a new version of web services than expected by the PHP.
Tip: Visual Studio 2008 fails to debug WCF web service
When trying to debug a WCF ( windows communication foundation) .NET 3.5 framework library, you might encounter a problem where Visual Studio (VS 2008) refuses to run or debug the WCF web service.
the problem:
The error you get from the WCF test client when trying to debug the WCF service is this - "WCF Test Client: Unrecognized option 'targetclientversion' specified"
Tip: Solving the browser caching problem of AJAX applications
Browser caching is generally a good thing, why download the same image again and again while you can download it once and save it on the browser? In some cases, however, this is not a wanted behavior.
The problem:
Tip: how to write an XML document with JSP for AJAX applications
AJAX applications usually connect to a server side application and request data in the form of XML. When the server side is written in JSP (Java Server Pages), for example a spring-framework web application with JSP views, writing the XML response is sometimes problematic.
The problem:
When using JSP to format the data in to XML and send it to the AJAX application, the XML is not recognized as XML (empty DOM object) and the AJAX application does not function properly.
Removing the Ant Configuration Selection in eclipse
When I updated to eclipse 3.2 I found a new irritating feature:
The problem:
The first time when selecting the Run As-> Ant build… on any of the ant tasks (targets) you have in your build.xml file, you get a window called “modify attributes and launch.”
After that any time you try to run an ant task (with or without the build…) you get an annoying “Ant Configuration Selection” window that makes the ant running process a click longer.

