• submit to reddit
Jim Bird07/12/11
6 replies

Developing and Testing in the Cloud

There’s a lot of hype around “the Cloud” and what it can do.

Rafał Kuć07/12/11
0 replies

Waiting for 4.0: SOLR-2272 – Solr and JOIN functionality

Recently, my attention caught the functionality described in the SOLR-2272 Jira ticket – functionality of SQL JOIN implemented in Solr. In today’s entry I take a look at this functionality. Preparation The first thing we need to do is download the code...

Anton Arhipov07/11/11
0 replies

What’s Cool In IntelliJIDEA. Part II: Live Templates

In IntelliJ, I use Live Templates quite heavily and still think that these are underused. It is not only the standard number of templates that can make your life easier while typing yet another piece of code, but it is also the ability to define new...

Nicolas Frankel07/11/11
8 replies

Give back to the community (please?)

Last week, I was ticked off by the behavior of a colleague: he complained the duplicated code panel in Sonar was not explicite enough. When I remarked he could give feedback to the Sonar team, he replied he had other things to do!

Mark Needham07/11/11
0 replies

Clojure: Language as thought shaper

I recently read an interesting article by Tom Van Cutsem where he describes some of the goals that influence the design of programming languages and one which stood out to me is that of viewing ‘language as a thought shaper’: Language as thought...

Loiane Groner07/11/11
12 replies

New Java 7 Language Features

Last week I was at the Java 7 launch party in Sao Paulo, Brazil and it was really cool. There were a lot of developers on the party to celebrate Java 7 (afterall, we have been waiting for it for 5 years!). I took some pictures at the...

Taha Siddiqi07/11/11
0 replies

A Tab-panel for Tapestry

Tab panels are used so often in component based web design that many frameworks provide an out-of-box implementation. ChenilleKit has one for Tapestry. Let us try another one. The tab panel will require two components. A TabPanel component to manage the...

John Whish07/11/11
2 replies

Merging two arrays

I've mentioned this before in passing in previous posts, but I've just used it to solve a problem and thought it deserved it's own blog post! The problem I had was that I had two arrays that I want to merge into one. ColdFusion doesn't have an in-built...

Michael Mccandless07/11/11
0 replies

Lucene's near-real-time search is fast!

Lucene's near-real-time (NRT) search feature, available since 2.9, enables an application to make index changes visible to a new searcher with fast turnaround time. In some cases, such as modern social/news sites (e.g., LinkedIn, Twitter, Facebook, Stack...

Jim Bird07/11/11
4 replies

Zero Bug Tolerance Intolerance

It sounds good to say that you shall not and will not release code with bugs – that your team has “zero bug tolerance”. It makes for a nice sound bite. It sounds responsible. And it sounds right. But let’s look carefully at what this really means.

Mick Knutson07/10/11
2 replies

DBUnit unable to import data for CollectionTable witout Primary Key

I ran into an issue running some DBUnit tests trying to seed a database where tables do not have primary keys such as CollectionTables in JPA. This blog illustrates how to the http://www.dbunit.org/properties/primaryKeyFilter property to refresh a table...

Mark Needham07/10/11
2 replies

Scala: Traits galore

We recently came across a problem where we had some logic that we wanted to be used by two classes. Our original thought was to pull it up into an abstract class which ended up looking like this:

Ashod Nakashian07/10/11
6 replies

(Almost) Everything You Read About Threading Is Wrong!

Threading is on the front pages more than ever, so to speak. Where only a few years ago programmers could brush the topic aside as complicated and not-very-useful, it’s increasingly harder to hide behind those excuses. Multi-core systems are the status...

Peter Lawrey07/10/11
4 replies

Low GC in Java: Using primitives

In a recent article I examined how using primitives and collections which support primitives natively instead of Wrappers and standard collections can reduce memory usage and improve performance.