Yahoo Account Compromised?
Got this message today while logging into Yahoo Mail. Hope this is not something similar to what happened with Sony PSN ![]()
Got this message today while logging into Yahoo Mail. Hope this is not something similar to what happened with Sony PSN ![]()
If you have worked with Salesforce WebService API or Metadata API from within Java environment, then it is possible that you might have used Salesforce WSC. This is a all inclusive high performance WebService stack, designed to access the Salesforce APIs easily.
I have been using that for a tool I have been working on and it has been working great.
One issue I found with this library is that it generates two getters for boolean variables (Both get and is variant). Some tools (like Jackson) doesn’t like this fact and complain about it.
org.codehaus.jackson.map.JsonMappingException: Conflicting getter definitions for property "booleanVariable"
Fortunately, it is easy fix this issue. WSC uses templates to generate the Java files. These templates are there in com.sforce.ws.tools. Template which generates the type source files is type.template. In this template, replace the following,
public <%=gen.javaType(el)%> <%=gen.getMethod(el)%>() {
return <%=gen.fieldName(el)%>;
}
with
<% if(!"boolean".equals(gen.javaType(el))) { %>
public <%=gen.javaType(el)%> <%=gen.getMethod(el)%>() {
return <%=gen.fieldName(el)%>;
}
<%}/**end if()*/%>You might have experienced this. You want to see an article in some site. When you navigate using your smart phone to read the article, instead of showing the article, site would show you the mobile version of their home page with assumption that they are providing you the enhanced service
. It just freaks me out and I wonder why they do that.
Well, Xkcd, says it well.
If you know the Cricket game, you would sure to be aware of the on going Cricket World Cup 2011 hosted by India, Bangladesh and Sri Lanka.
Usually Google Chrome team releases a extension to make it easy for people to see the details like Fixtures, Teams etc. But not sure why, they haven’t done anything like it this year.
So I thought of writing an extension to do just that. And here is first version. Cricket World Cup 2011
Take a look, try it and let me know what you think (you can post comments in the chrome page itself). If you like it, don’t forget to rate it as you feel appropriate.
If you are into night photography or looking for super sharp images, then you must invest in a good remote control for your camera. Both Canon and Nikon makes good remote controls but ones with good features usually are compatible with higher end models. For example, for Nikon D90, Nikon makes only basic shutter release remote which cannot be used for time-lapse photography. To fill the void Satechi has released a remote control for D90, which provides good set of features.

Check out more details at Amazon.
Recently I purchased this product. It included the paper manual. I prefer digital manuals so I don’t have to worry about maintaining the paper ones. I looked around in the net but didn’t find it anywhere. So I scanned and making it available here.
Recent Comments