• submit to reddit
Thomas Mauch03/19/12
33957 views
12 replies

GapList – a lightning-fast List implementation

GapList combines the strengths of both ArrayList and LinkedList. It offers both efficient random access to elements by index (as ArrayList does) and at the same time efficient adding and removing elements to and from beginning and end (as LinkedList does).

Jim Bird03/19/12
12625 views
3 replies

Defensive Programming vs. Batshit Crazy Paranoid Programming

There’s healthy paranoia, then there’s over-the-top-error-checking, and then there’s bat shit crazy crippling paranoia – where defensive programming takes over and turns in on itself. Jim Bird shows us some tips for defensive (paranoid) programming that aren't over-the-top.

Giorgio Sironi03/19/12
12335 views
0 replies

Lean Tools: Seeing Waste

To be able to eliminate waste, you have to be aware of all the forms it presents itself in.

Ranjib Dey03/19/12
7595 views
1 replies

4 Reasons Continuous Delivery is Now Possible

Ranjib Dey explores what he thinks are the few critical points that make CD or continuous delivery feasible now. Contrasting his viewpoints is some commentary from Dave Farely, the author of "Continuous Delivery".

Felix Dahlke03/18/12
3518 views
3 replies

The Mustache Way

Mustache is my favourite template engine. It’s the only one I know that tries to keep logic out. There is a wee bit of logic, but just the bits without which it wouldn’t make sense to use it.

Blaise Doughan03/18/12
5449 views
0 replies

Client Side MOXy JSON Binding Explained

Recently I posted how to leverage EclipseLink JAXB (MOXy)'s JSON binding to create a RESTful service. In this post I will demonstrate how easy it is to take advantage of MOXy's JSON binding on the client side.

Jose Asuncion03/18/12
6573 views
0 replies

The Apriori Algorithm

The Apriori algorithm is a basic method for finding frequent itemsets. The latter is used to generate association rules with high confidence and high interest. Here is my summary of it along with a running example. The following set of baskets will be used:

Cristian Lungu03/18/12
4239 views
1 replies

A Java Enum Puzzler

Take a look at the following puzzler. You need to consider the order of the static initialization, the order of constructor calling and the way that the enum object is representated in Java.

Carlos Sanchez03/18/12
10764 views
1 replies

Infrastructure as Code - The Key to DevOps

It's true that DevOps is not about the tools in the same way that agile is not about the tools either, it’s a set of ideas, concepts, best practices,… but there is agreement that tools that allow us to deal with infrastructure as code are key on implementing DevOps concepts.

Carlo Scarioni03/18/12
73670 views
0 replies

Hadoop Basics - Creating a MapReduce Program

To explain Hadoop this let's create a sample MapReduce application. The program will be completely contained in one unique Java file. This application will take different dictionaries of english to other languages (English-Spanish) (English-Italian)(English-French) and create a Dictionary file that has the english word followed by all the translations pipe-separated.

Max De Marzi03/17/12
6220 views
0 replies

Java Network/Graph/Data Mining Algorithm 'Arsenal' on Neo4j: Part 2

De Marzi continues his series on Neo4j with the Java Universal Network/Graph Framework(JUNG).

Michael Mainguy03/17/12
3372 views
1 replies

Run your enterprise like a startup

I've worked in a variety of companies and I notice an interesting phenomena -- It seems that the capabilities of individual programmers in companies are inversely purportional to the size on the company

Sandeep Bhandari03/17/12
6493 views
6 replies

Java Anagram Buster

A typical programming question, that you might find in an interview situation, is how to solve whether two strings are anagrams or not. Here's how I did it using Java.

Mark Needham03/16/12
3247 views
0 replies

Running hg push to Google Code

I thought I’d then be able to just push a change from my Mercurial repository using my Google user name and password but instead ended up with the following error

Roger Hughes03/16/12
5486 views
0 replies

Integrating Spring Into Legacy Applications

One of the things that all Spring developers like to do is to shoehorn Spring into any application they work on - it’s one of my guilty pleasures in life: you see some code, think it’s rubbish because it contains several well known anti-patterns and then think how cool it would be if this app was a Spring app.