• submit to reddit
Jay Fields06/15/12
3389 views
0 replies

Clojure: expectations & with-redefs

In general, when I'm writing tests, the pure functions end up as bare expects and the impure functions end up as scenarios. The following contrived namespace keeps a list of users and allows you to get the full name of each user.

Joe Miller06/15/12
8397 views
0 replies

How To: Install graylog2 on CentOS 5 with RVM + Passenger

I decided to see if RVM – Ruby Version Manager – would allow me to setup an isolated Ruby environment just for graylog2 and not disturb the other Ruby apps on the machine. I also wanted to setup an isolated instance of Passenger-standalone for graylog2 then configure apache to listen on port 80 and forwarding requests with mod_proxy.

Howard Lewis Ship06/15/12
8885 views
10 replies

Synchronized Considered Harmful

News flash: concurrency is hard. Any time you have mutable data and multiple threads, you are just asking for abuse, and synchronized is simply not going to cut it.

Mike Christianson06/15/12
4929 views
5 replies

Your Programming Language Sucks?

I met someone recently that declared “Java sucks.” One proffered argument of that “suckiness” was Java’s lack of expressiveness.

Ralf Becher06/15/12
7477 views
0 replies

Working with Graph Data from Neo4j in QlikView

Now we can use graph data in a business intelligence / business discovery solution like QlikView to do some more business related analytics.

Pierre - Hugues...06/15/12
10274 views
0 replies

How to Resolve java.lang.NoClassDefFoundError: How to resolve – Part 2

This article is part 2 of our NoClassDefFoundError troubleshooting series. It will focus and describe the simplest type of NoClassDefFoundError problem.

Baruch Sadogursky06/15/12
1997 views
0 replies

Replication! What and How.

Working in distributed teams isn’t easy. There are time zone differences, language and cultural differences, and… data distribution. When the data you need is away, you are miserable. So, let’s fix it.

Juri Strumpflohner06/14/12
3775 views
0 replies

Choose Your Commit Messages Properly

How often did you take a look at the history of some file/folder?? It's just the best backup system you could have and that's one of the main purposes of a VCS

Arnon Rotem-gal-oz06/14/12
7614 views
0 replies

Silverlight Clients Playing Nice With Java: REST with JAX-RS

While I think Silverlight is a technology on its way out. It is still around and it is nice to know that with a couple of simple moves you can get it to play nice even with a Java backend.

Roger Hughes06/14/12
3902 views
0 replies

Defining a Class' Responsibility - Naming Part 4

In defining a class's responsibility the overriding guideline is to stick to the Single Responsibility Principle like glue and you can do this by coming up with one concise sentence that clearly reveals your object’s intent.

Mark Needham06/14/12
5634 views
0 replies

An Interesting Example of Imperative Versus Functional Thinking with Neo4j

Thinking about this problem imperatively, these nodes seem to belong together, but this changes when considering the problem functionally.

Gareth Rushgrove06/14/12
6772 views
0 replies

Heroku for Ruby, Python, PHP, .NET, Java, Node.js, and RingoJS

Here’s all the one’s I know about so far, many of them in or entering beta testing at the moment.

Matt Raible06/14/12
4457 views
0 replies

Upgrading to Play 2: Anorm and Testing

This time last year, I decided I wanted to learn Scala. I chose the Play Framework as my vehicle for learning and I added CoffeeScript and Jade to the mix. I packaged it all up, learned a bunch and presented it at Devoxx 2011.

Jens Schauder06/14/12
6169 views
7 replies

Repeat After Me: Setter Injection is a Symptom of Design Problems

I just stumbled across an article by Steve Schols in which he compares dependency injection via setter with constructor injection. And he prefers setter injection. I don’t agree. I especially do not agree with his arguments. Lets take them one by one.

Kelvin Tan06/14/12
10917 views
0 replies

ElasticSearch 0.19 extension points

Here's a list of the extension points exposed by ElasticSearch (as of 0.19.4). You should find this list useful...