DevOps Zone is brought to you in partnership with:
  • submit to reddit
Derik Whittaker12/02/13
0 replies

Launching External Applications with Grunt.js

When I sat down to add grunt-exec to my gruntfile.js script everything worked during my test runs, but when I went to launch the real console application I quickly realized that something was not right.

Jakub Holý12/02/13
6 replies

How I Learned to Avoid Magical Dependency Injection And Love Plain Java

A short story about the complexity of magical frameworks and dependency injection with a happy ending, featuring Resteasy, CDI, and JBoss.

Anders Abel11/29/13
0 replies

My Worst Bug

The worst bug I’ve ever tracked down and fixed was a system freeze hidden in some 300.000 lines of code. It was only experienced when the device was left untouched for about an hour (typically a lunch break) while mounted in a grader and connected to a high precision GPS. I only had a few days to find and solve it.

Corey Goldberg11/28/13
0 replies

deadsnakes - Using Old Versions of Python on Ubuntu

The Python packages in the official Ubuntu archives generally don't go back all that far, but people might still need to develop and test against these old Python interpreters. Felix Krull maintains a PPA (package archive) of older Python versions that are easy to install on Ubuntu.

Sasha Goldshtein11/27/13
0 replies

Uneven Work Distribution and Oversubscription

A few days ago I was teaching our Win32 Concurrent Programming course and showed students an experiment with the std::thread class introduced in C++ 11. You can find the whole benchmark here. The heart of the code is the parallelize_count function, below:

Lukas Eder11/26/13
0 replies

A Lesser-Known Java 8 Feature: Generalized Target-Type Inference

Going through the list of Java 8 features, Generalized Target-Type Inference struck me as a particularly interesting, lesser-known gem. It looks as though the Java language designers will ease some of the pain that we’ve been having with generics in the past (Java 5-7).

David Winterbottom11/26/13
0 replies

How to Install PostGIS and GeoDjango on Ubuntu

Despite its extensive documentation, getting GeoDjango installed and configured can be a pain. Here are my notes for future reference:

Edmund Kirwan11/23/13
0 replies

The Structure of FitNesse

A structural peek under the bonnet of a great piece of software.

Phil Whelan11/22/13
0 replies

The Quest for a DevOps Culture: Communication is Key

We are constantly seeing articles about DevOps and the goal of improving communication between Dev and IT Operations. The underlying message is a good one: “let's all work together.” While everyone would like to work together, in theory, the adoption of DevOps has been slower than most would like.

Eric Minick11/21/13
0 replies

Pros and Cons of Deployment Agents

There are two basic strategies for executing the deployment. You can either have a worker on the deployment target (an agent) or not. Both strategies have the concept of a central deployment server that acts as a controller determining when and how deployments occur.

Simon Jackson11/20/13
0 replies

Intro to Raygun: Your Personal Exception Blaster

Exceptions are a way of life when you are building any solution, you do your very best to prevent them or handle them well should they occur, but real life (and real users) always throws a spanner in the works. Raygun is a new framework and complete reporting suite aimed at helping out in the world of error reporting.

Mark Needham11/19/13
0 replies

Git: Viewing the Last Commit on all the Tags

A couple of days ago I was curious when different versions of Neo4j had been released and although the release notes page was helpful I thought I’d find more detailed information if I looked up the git tags.

A. Jesse Jiryu Davis11/19/13
0 replies

Read-Your-Writes Consistency With PyMongo

A PyMongo user asked me a good question today: if you want read-your-writes consistency, is it better to do acknowledged writes with a connection pool (the default), or to do unacknowledged writes over a single socket?

Hubert Klein Ikkink11/18/13
0 replies

Grails Goodness: Namespace Support for Controllers

In a Grails application we can organize our controllers into packages, but if we use the same name for multiple controllers, placed in different packages, then Grails cannot resolve the correct controller name.

Hubert Klein Ikkink11/18/13
0 replies

Grails Goodness: Customize Resource Mappings

Since Grails 2.3 it is very easy to define RESTful URL mappings for a controller. We can use the resources and resource attribute and use a controller name as the value. Grails will then automatically create a couple of URL mappings.

Reza Rahman11/18/13
0 replies

JSF Specification Lead Ed Burns Discusses JSF 2.2 and Java EE7

If you are a JSF user you owe it to yourself to know about JSFCentral. Run by key JSF advocate, consultant and JSF in Action author Kito Mann, it's an excellent resource for everything JSF.

Arun Manivannan11/17/13
0 replies

Camel CXF Service With Multiple Query Parameters

While the awesome Apache Camel team is busy fixing the handling of the multiple parameters in the query, here’s a workaround

Peter Pilgrim11/17/13
4 replies

Win A E-Copy of My Java EE 7 Book Competiton

Thanks to the very kind folk at Packt Pub, we have a surprise competition for you at Devoxx and also out there online, who perhaps could not make it to Antwerp this year.

Ariya Hidayat11/16/13
0 replies

Using Packer to Create Vagrant Boxes

Using Packer to create CentOS and Ubuntu boxes is not difficult. If you want to follow along, I have prepared a Git repository ariya/packer-vagrant-linux which contains all the necessary bits to create CentOS 5.4 and/or Ubuntu 12.04 LTS 64-bit boxes.

Tom O'connor11/15/13
0 replies

FakeRAID and Virtualization

For a new project, without an allocated budget, I was asked to provide some simple Virt. capability, to hold them over until they get budget approval, and can buy their own hardware.

Barton George11/15/13
0 replies

Project Sputnik Profile Tool

Rather than re-inventing the wheel, and to help provide perspective, we are now working with the folks from Docker. They will be giving us their feedback, helping with integration and creating a Go profile.

Phil Whelan11/14/13
0 replies

Debugging Node.js Applications in Stackato

By now, most developers are familiar with the various debugging tools in their local development environment, but as they step towards cloud deployments, how can they achieve the same? Is remote debugging even possible in the cloud? Well of course it is.

Carlos Sanchez11/13/13
0 replies

Continuous Delivery with Maven, Puppet and Tomcat

A little bit late but finally the video from my session at ApacheCon Portland is available. That was the first version of the talk that I just gave at Agile testing Days which unfortunately was not recorded.

Swizec Teller11/13/13
0 replies

My Old Code is Atrocious

A few weeks ago a project of mine suddenly went offline. Fixing old code is always a humbling experience. Your own code, though … that’s humbling.

Wayne Beaton11/12/13
0 replies

The Art of the Git/Gerrit Commit at Eclipse

We’ve implemented some extensions to Git and Gerrit that check to make sure that commit records are structured as required, and reject those commits that are malformed.