• submit to reddit
Steve Hanov09/19/14
1 replies

A Quick Measure of Sortedness

How do you measure the "sortedness" of a list? Here, I propose another measure for sortedness. The procedure is to sum the difference between the position of each element in the sorted list, x, and where it ends up in the unsorted list, f(x). We divide by the square of the length of the list and multiply by two, because this gives us a nice number between 0 and 1. Subtracting from 1 makes it range from 0, for completely unsorted, to 1, for completely sorted.

Benjamin Ball09/19/14
0 replies

Take a Look at Developers In Action (NCDevCon 2014 Sessions)

DZone curators and research analysts recently attended NCDevCon, an annual event for web and mobile developers in Raleigh, NC. This article includes videos from a number of sessions they found interesting, as well as a link to the total video sessions from the conference.

Markus Eisele09/19/14
1 replies

WildFly 9 - Don't Cha Wish Your Console was Hawt Like This!

Everybody heard the news probably. The first WildFly 9.0.0.Alpha1 release came out Monday.

Reza Rahman09/19/14
0 replies

JMS 2 Hands-on-Lab Video and Materials

I ran a virtual JMS 2 hands-on-lab on August 14th. Stephen Chin graciously hosted the lab through his excellent NightHacking virtual worldwide meetups.

Aleksey Novik09/19/14
8 replies

Solving ORM: Keep the O, Drop the R, No Need for the M

The ORM complexity problem has a simple, production-ready solution hiding in plain sight in the Java world.

Mihai Dinca - P...09/19/14
1 replies

The Java Versions War

Do not take for granted that if your application works with Java version X it will automatically and flawlessly work with any Java version Y > X.

Eyal Golan09/19/14
0 replies

JUnit Rules

In this post I would like to show an example of how to use JUnit Rule to make testing easier.

Kenny Bastani09/19/14
0 replies

Deep Learning Sentiment Analysis for Movie Reviews using Neo4j

Sentiment analysis uses natural language processing to extract features of a text that relate to subjective information found in source materials.

G. Ryan Spain09/19/14
1 replies

AngularJS - How To Delay the $Digest() Cycle

Aaron Gray over at his blog recently posted a neat trick for reducing lag from the $digest() cycle when scaling AngularJS apps with large data sets. He recommends using a debounce function to put a delay on the $digest() cycle.

Lucas Saldanha09/19/14
2 replies

REST: It's All About Semantics

In this post I would like to put my two cents in and talk about RESTful web services. First of all I don't intend to discuss the history of RESTful services. Neither this is a tutorial about implementing RESTful web services.

Eric D. Schabell09/19/14
0 replies

How to Setup Custom Remote Deployment Repositories for JBoss BPM Suite

In this article we wanted to share another configuration property that can provide surprising help when setting up your JBoss BPM Suite.

Armel Nene09/19/14
0 replies

4 Reasons Football Teams Should Use Big Data and IoT

IoT and Big Data provide an opportunity, even if not new, to gather information and make executive decisions much faster than before. Football, as with other sports, is very competitive, IoT devices are getting cheaper, and more data can be collected for analysis than ever before.

Adiel Isaacs09/19/14
0 replies

Java Scheduling OR Quartz

Comparing apples to apples I found simple Java scheduling to be much more scalable, efficient, and simpler than the industry standard Quartz scheduling.

Ajitesh Kumar09/19/14
0 replies

Sublime: Configure to Open HTML Page in a Web Browser

This article presents steps that is needed to configure Sublime to open the HTML pages you are working, in your preferred web browser.

Paul Underwood09/19/14
0 replies

HTML5 Form Validation

Since HTML5 came into webpages it brought a bunch of new features, the most useful features it brings is the functionality that you would normally use JavaScript for. An very good example of how HTML5 can help us with forms is client side form validation.