• submit to reddit
Ricky Ho01/16/12
0 replies

Machine Learning: Ensemble Methods

Ensemble Method is a popular approach in Machine Learning based on the idea of combining multiple models. For example, by mixing different machine learning algorithms (e.g. SVM, Logistic regression, Bayesian network), ensemble method can automatically...

Toni Epple01/16/12
17 replies

NetBeans IDE 7.1 Review: JavaFX Support

Last year, with the release of version 2.0, JavaFX finally started to gain attention at the big conferences and there seemed for the first time to be a shift in developer perception now that Oracle addressed the issues that kept Java developers from using...

Nicolas Frankel01/16/12
0 replies

Strategies to improve your knowledge

If you’ve got a professional attitude regarding your developer carrer, chances are you’re looking to improve your knowledge, whether it’s language-related or framework-related (or even process-related but it is more far-fetched). So far, I found the...

Rickard Oberg01/16/12
0 replies

Creating a JDBC driver for Neo4j

When it comes to NOSQL databases, one of the key advantages is that they allow you to structure your data in a way that better resembles your domain, and also allows you to use query languages where you can express things that are either really awkward or...

Chris Smith01/16/12
1 replies

Options to Tune Document’s Relevance in Solr

Working at Lucid Imagination a customer once asked me about how they could modify the score of the documents in Solr in order to get most relevant results higher in the results list. While I was trying to respond the question I realized that there are too...

A. Jesse Jiryu Davis01/16/12
0 replies

An Isolated Install of Brubeck

I wanted to install James Dennis’s Brubeck web framework, but lately I’ve become fanatical about installing nothing, nothing, in the system-wide directories. A simple rm -rf brubeck/ should make it like nothing ever happened. So that I remember this for...

Rob Williams01/16/12
0 replies

An Eclipse Template for Parameterized JUnit Tests

After refusing much of any changes, especially the ugly TestDecorator fixture, after TestNG showed up, JUnit went bonkers with a spasm of matching features. Parameterized tests were in 3.8.1, but in 4.x, they were redone with annotations. The results were...

Dustin Marx01/16/12
1 replies

Rendering HTML Within JavaFX

JavaFX 2.0 allows for inclusion of HTML code within a JavaFX application using JavaFX 2.0's WebView and WebEngine classes from the javafx.scene.web package. This post looks at a very simple example of how this can be done.

Cody Powell01/16/12
0 replies

Operations should Communicate Close to the Change

I have said this before but it bears repeating. If you are making a change and you want people to know you have made a change, add a note where someone is most likely to come in contact with your note. If you are editing a file, add a comment to the bit...

Lukas Eder01/16/12
3 replies

The Java Fluent API Designer Crash Course

Ever since Martin Fowler’s talks about fluent interfaces, people have started chaining methods all over the place, creating fluent API’s (or DSLs) for every possible use case.

Wayne Ellis01/16/12
1 replies

Playframework, Twitter Bootstrap and Google Maps API

So, what did you do over the Christmas break? Presents, plenty of family time, kick back a little? I did all that and wrote a little web application as well. I thought I would share a little insight into how I got on. Background

Wayne Adams01/16/12
1 replies

Asynchronous Java SE Web Services: 1. Implementation

A few years ago, I posted a how-to on Java-SE-based Web Services. More recently, I've become interested in asynchronous web-service invocation, and, as it turns out, Java SE supports that, too. This post, then, is the asynchronous version of that older...

Matt Raible01/16/12
1 replies

Upgrading AppFuse to Spring Security 3.1 and Spring 3.1

Before the holiday break, I spent some time upgrading AppFuse to use the latest releases of Spring and Spring Security. I started with Spring Security in early December and quickly discovered its 3.1 XSD required some changes. After changing to the 3.1 XSD...

Robert Diana01/15/12
0 replies

DZone Top Article of 2011: 7 Tenets Of Framework Selection

As you develop any application, you will need to choose various tools, libraries and frameworks that you want to integrate into the application. In some cases, this could be a very simple task of choosing the most popular and widely respected tool....

Michael Foord01/15/12
0 replies

Mocking of 'Open' as a Context Manager Made Simple In Python

Using open as a context manager is a great way to ensure your file handles are closed properly and is becoming common:with open('/some/path', 'w') as f: f.write('something')The issue is that even if you mock out the call to open it is the returned object...