Archive for June, 2008



Swing apps grayed out by Compiz

There’s a known bug that lies between Swing and Compiz. When you start some swing application on JDK 5 or prior you get a gray window with no widgets rendered. To solve that you can setup an environment variable: export AWT_TOOLKIT=MToolkit Then start your application normally. The problem is fixed on JDK 6.

A calculator at the command line

Like the Firefox Browser at least one Gnome Terminal window is always open on my desktop. So it’s very convenient to have a command line math calculator. “bc” (bc – An arbitrary precision calculator language) is a real language to do calculations. But you can also use it to do simple and practical things at [...]

This errors could happen executing the release:perform goal in Maven: [ERROR] BUILD ERROR [INFO] ———————————————————————— [INFO] Failed to configure plugin parameters for: org.apache.maven.plugins:maven-deploy-plugin:2.2.1 [INFO] check that the following section of the pom.xml is present and correct: [INFO] [INFO] <distributionManagement> [INFO] <!– use the following if you’re not using a snapshot version. –> [INFO] <repository> [INFO] [...]

I recently discovered a behavior of SAXParser provided in JDK 6 that I think it’s a BUG. Here is the source: 1import java.io.StringReader; 2 3import javax.xml.parsers.SAXParser; 4import javax.xml.parsers.SAXParserFactory; 5 6import org.xml.sax.Attributes; 7import org.xml.sax.InputSource; 8import org.xml.sax.SAXException; 9import org.xml.sax.helpers.DefaultHandler; 10 11 12public class SAXExceptionTest { 13 14 private static class SampleHandler extends DefaultHandler { 15 @Override 16 [...]

Hi lviggiano, I am delighted to let you know that one of your photos with a Creative Commons license has been selected for inclusion in the newly released second edition of our Schmap England Guide: Dominion Theatre http://www.schmap.com/england/attractions/p=456/i=456_11.jpg I wouldn’t say that this is a good photo, I took it with my HTC-P3300 cell phone, [...]

From here: If compiling takes even 15 seconds, programmers will get bored while the compiler runs and switch over to reading The Onion, which will suck them in and kill hours of productivity. On my workplace build can take up to 15 minutes (with a proprietary build tool). Many people work here since the begin [...]




About

You are currently browsing the NewInstance weblog archives for June, 2008.

Longer entries are truncated. Click the headline of an entry to read it in its entirety.

Calendar

June 2008
M T W T F S S
« May   Jul »
 1
2345678
9101112131415
16171819202122
23242526272829
30  

Follow me

twitter flickr LinkedIn feed

Enter your email address:

Archives


Categories

Tag Cloud