Update 1 : Sadly, the released has been delayed due to a bug in the GRUB bootloader. With this Bug, Grub display only Ubuntu when you’re in a multi-boot system. To make the new release faster, they decided to respin only the Ubuntu 32/64 bit desktop CDs and the Ubuntu Netbook Edition. Normally these versions […]
Finding the closest pair of Point in a given collection of points is a standard problem in computational geometry. In this article I’ll explain an efficient algorithm using plane sweep, compare it to the naive implementation and discuss its complexity.
Several months ago, I wrote an article to compare the performances of short indexes for loops. I wrote that code to achieve my goal : And i found as a result that short was two times slower than int and I was convinced of these results until a week ago. At this time, a reader […]
The Maven team has just announced the release of Maven 3.0-beta-1. There is still several things to do for the final releases, but Maven 3 is now ready to go from Alpha to Beta. If you’re interested on migrating to this new version, you should have a look at this page from the Maven site […]
Java 7 : New I/O features (Asynchronous operations, multicasting, random access) with JSR 203 (NIO.2)
Like I’ve said in other post, we will have a new API to access File System in Java 7, but we’ll have several others new features in NIO.2 that I’ve not covered So I’ll try to cover them in that post. Indeed the JSR 203 (also known as NIO.2) add several new classes that improve […]
I experienced some problems with Substance in OSGi. Using this code : I got different errors, like : Exception in thread “AWT-EventQueue-0″ java.lang.NullPointerException at org.pushingpixels.substance.internal.utils.SubstanceColorUtilities.getDefaultBackgroundColor(SubstanceColorUtilities.java:823) I found a simple solution to make Substance work in OSGi : With that code, i’ve no more problems using Substance Look And Feel. Hope that will help someone.
I continue my posts on the new features of Java 7. In this post, I’ll detail the news coming from the Project Coin. This project has computed more than 70 new features proposal from the Java community for integration in Java 7. In this post, I’ll detail the Final Five (or So) features chosen from this project […]
Like you perhaps know, i’m currently migrating JTheque to OSGi. During this migration i found several problems in the JTheque architecture that made the migration impossible without changing some concepts. In this post I’ll detail all the problems I found.