• submit to reddit
Tomasz Nurkiewicz11/23/12
0 replies

Parallelization of a Simple Use Case Explained

Some time ago a friend of mine asked me about the possibilities of speeding up the following process: they are generating some data in two stages, reading from a database and processing the results

Peter Lawrey11/23/12
0 replies

Why Double.NaN==Double.NaN is false

I was just studying OCPJP questions and I found this strange code, where comparing Double.Nan returned false.

Mikko Ohtamaa11/23/12
0 replies

Migrating from BIND DNS servers to Amazon Route 53 by using cli53

Amazon Route 53 offers DNS as a hosted service. They maintain robust DNS service for you with easy to user web interface and API.

Comsysto Gmbh11/23/12
0 replies

Using MongoDB Geospatial with Spring Data and a Basic JQuery Mobile UI

This article shows how to use the MongoDB spatial feature in combination with Spring and a Web REST service.

Adam Warski11/23/12
0 replies

ElasticMQ is Now Synced to Maven Central

Thanks to Sonatype OSS repositories, ElasticMQ version 0.6.1 is now synced to central. All of the artifacts, except the standalone server (which depends on Ostrich, which isn’t available in the central repo) are synchronized.

Rodrigo De Castro11/23/12
0 replies

G-Wan Web Server

I read a post on the performance of Node.js vs. G-Wan and have quite a few things in there that caught my attention. Let's take a look.

John Cook11/23/12
0 replies

Dual Polyhedra for Kids

These figures are duals of each other: If you put a vertex in the middle of each face of one of the shapes, and connect all the new vertices, you get the other shape. You could use these as a tangible way to introduce duality to kids.

Pierre - Hugues...11/23/12
0 replies

How to Resolve java.lang.ClassNotFoundException

This article is intended for Java beginners currently facing java.lang.ClassNotFoundException challenges. It will provide you with an overview of this common Java exception, a sample Java program to support your learning process and resolution strategies.

Ayende Rahien11/22/12
2 replies

Design Patterns in the Test of Time: Façade

A façade is an object that provides a simplified interface to a larger body of code, such as a class library.

Ayende Rahien11/22/12
0 replies

Design Patterns in the Test of Time: Decorator

The decorator pattern is a design pattern that allows behaviour to be added to an existing object dynamically.

James Betteley11/22/12
0 replies

Continuous Delivery with a Difference: They’re Using Windows!

Although CD is commonly associated with tools and processes, Pat and Aleksander were very keen to push the cultural aspects as well. I couldn’t agree more with this – for me, Continuous Delivery is more than just a development practice, it’s something which fundamentally changes the way we deliver software.

James Sugrue11/22/12
16 replies

Thursday Code Puzzler: Investment Predictor

This week's code puzzler asks you to write a piece of code that calculates how long it takes for an initial investment to double

Peter Lawrey11/22/12
3 replies

Practical Uses for WeakReferences

Since weak references can be claimed by the garbage collector at any time, is there any practical reason for using them?

Luke Galea11/22/12
2 replies

Several Solutions for Queue & Worker Systems

Over the years we’ve tried several different queue/worker systems for our sites and we’d like to share our findings to help others decide on a technology.

Kelvin Tan11/22/12
0 replies

Tokenizing Second- and Top-Level Domains for a URL in Lucene and Solr

In my previous post, I described how to extract second- and top-level domains from a URL in Java. Now I'll build a Lucene Tokenizer out of it, and a Solr TokenizerFactory class.