• submit to reddit
Michael Mainguy03/03/12
4921 views
0 replies

Aggressive control freaks make great programmers

Of the folks I know, the good/great programmers are all pretty aggressive. In addition they are also pretty controlling. As a person who historically fit in to that personality type, I wonder why this is. It seems to me that the reason has to do with the way people interact with computers when programming

Jay Fields03/03/12
3930 views
1 replies

Aligning Business & Programmer Goals

In a recent presentation I gave at speakerconf, one of the first questions I was asked related to how a language was chosen for the company I work for. Who is better suited to adding new languages into production than the developer team, rather than a CTO? But going along that line of thinking, doesn't it cause a scale issue where every developer choses what's best for themselves?

Constantin Alin03/03/12
18453 views
2 replies

Allowing Duplicate Keys in Java Collections

You may have found situations where you want to add more than one element with the same key in a Java collection. The MultiValueMap class from Apache Commons allows you to do just that.

Rafał Kuć03/03/12
4664 views
0 replies

Explain.solr.pl Solr Visualization Tool Open Sourced

The explain.solr.pl tool to visualize Solr search results has now been open sourced and from it you can get the following information: why a document was placed in the results list or why it wasn't.

Jose Asuncion03/02/12
8063 views
0 replies

Interfaces in Dynamic Languages

This post considers how useful interfaces in dynamic languages are. The question now is, are interfaces any useful in a dynamic language given that type checking isn’t done till runtime?

Geva Perry03/02/12
3741 views
0 replies

Continuing the Discussion of Bottom-Up Cloud Adoption

A quick follow-up to Perry's last post on Cloud adoption, this time focused on Amazon's EC2.

Santosh Kumar03/02/12
4443 views
0 replies

How to Build Tiny Services Using Redis

Using Redis to create a workflow using payments as an example. From the blog: "instead of using a protocol (HTTP, TCP, UDP, AMQP, ZeroMQ) we are going back to CS101 using a good old queue datastructure."

Michael Mccandless03/02/12
7355 views
1 replies

Exploring the Transactional Semantics of the Lucene API

Many Lucene users don't appreciate the transactional semantics of Lucene's APIs. Mike McCandless, a Lucene committer and author of Lucene in Action, will show how Lucene implements ACID properties, provides a two-phased commit API, and allows multiple commits in one in one index.

Bradley Holt03/02/12
9748 views
1 replies

Defining a RESTful Framework

Here are some key principles that one blogger would like to see addressed when creating RESTful web apps.

Craig Flichel03/02/12
3524 views
1 replies

Files and Directories in the JDK

In Java, java.io.File is one of the more frequently used low-level API objects. It also happens to be lacking in some basic functionality that we’ve all needed at some point, doesn’t provide different representations/API for files and directories and doesn’t throw fine-grained exceptions to differentiate between different types of error conditions (i.e., file already exists, directory not empty, invalid path, etc.)

Howard Lewis Ship03/02/12
3415 views
0 replies

An Advanced Example of Plastic

Plastic is Tapestry's built-in Aspect Oriented Programming library, which primarily operates at the byte code level, but shields you from most byte code level thinking: normally, your code is implemented in terms of having method invocations or field reads and writes passed to callback objects that act as delegates or filters.

Constantin Alin03/02/12
4792 views
3 replies

Creating a Fixed Sized List in Java Using Apache Commons

There are a few ways to create a fixed size list in Java - here we will look at using the FixedSizeList class from Apache Commons. Because you can't change the size of the list, some familiar methods from other collections are not available.

Hubert Klein Ikkink03/02/12
5541 views
1 replies

Grails Goodness: Binding Method Arguments in Controller Methods

Since Grails 2.0 we can use methods instead of closures to define actions for our controllers. We could already pass a command object to a method as argument, but we can also use primitive typed arguments in our method definition. The name of the argument is the name of the request parameter we pass to the controller. Grails will automatically convert the request parameter to the type we have used in our method definition. If the type conversion fails then the parameter will be null.

Romiko Derbynew03/02/12
6870 views
0 replies

Cypher vs. Gremlin in Neo4j

Some initial thoughts by Romiko Derbynew regarding Gremlin vs. Cypher in Neo 4j.

Kathiravelu Pra...03/01/12
6652 views
0 replies

Learn How to Configure the WSO2 Load Balancer for Auto Scaling

This is designed with the WS02 user in mind, and assumes that the reader is aware of how to configure the WS02 Load Balancer.