September 24, 2008

“Getting Real” with RDF and SPARQL

he “Getting Real” approach by Web 2.0 poster child 37signals reverses the usual development process (from model to code to user interface) by going “from brainstorm to user interface sketches

Converting Numbers to Strings

Instead of writing your own function to convert an integer or float to a string, just use the C++ class stringstream (in the sstream header). In C++: #include #include #include

Capture a Screenshot in Java

Use the following Java code to capture a screenshot: import java.awt.AWTException;import java.awt.Rectangle;import java.awt.Robot;import java.awt.image.BufferedImage;import;import;import javax.imageio.ImageIO;public class ScreenCapture { public static void main(String[] args) { try { Robot robot