DevOps Zone is brought to you in partnership with:
  • submit to reddit
Dustin Marx08/25/14
1621 views
0 replies

jinfo: Command-line Peeking at JVM Runtime Configuration

In the Java SE 8 version of jinfo running on my machine, the primary limitation of jinfo on Windows that I discussed in the post Acquiring JVM Runtime Information has been addressed.

Steven Lott08/25/14
4274 views
2 replies

Permutations, Combinations and Frustrations

What's really important about this question was the obstinate inability of the programmer to realize that their problem had a tidy, well understood solution. And has had a good solution for decades. Instead they did a lot of programming and sent 100's of words and 10 attachments (10. Really.)

Benjamin Ball08/24/14
3958 views
0 replies

The Best of the Week (Aug 14): DevOps Zone

Make sure you didn't miss anything with this list of the Best of the Week in the DevOps Zone (August 14 to August 21). This week's topics include the Java 9 features announcement and community reactions, Java testing frameworks, code duplication, BDD and Continuous Delivery, and modern IT and DevOps.

Jakub Kubrynski08/23/14
4506 views
0 replies

Debugging OpenJDK

Sometimes debugging Java code is not enough and we need to step over the native part of Java. I spent some time to achieve proper state of my JDK to do that, so short description probably will be useful for ones starting their trip. I'll use the brand new OpenJDK 9!

Carlos Sanchez08/23/14
3766 views
0 replies

Building Docker Images with Puppet

Everybody should be building Docker images! but what if you don’t want to write all those shell scripts, which is basically what the Dockerfile is, a bunch of shell commands in RUN declarations; or if you are already using some Puppet modules to build VMs?

Michael Scharhag08/22/14
2847 views
1 replies

Understanding JUnit's Runner architecture

Some weeks ago I started creating a small JUnit Runner (Oleaster) that allows you to use the Jasmine way of writing unit tests in JUnit.

Jim Bird08/22/14
52478 views
16 replies

Don't Waste Time on Code Reviews

Many people still think of code reviews as expensive formal code inspection meetings, with lots of prep work required before a room full of reviewers can slowly walk through the code together around a table with the help of a moderator and a secretary. Lots of hassles and delays and paperwork.

Dustin Marx08/21/14
1831 views
0 replies

Autoboxing, Unboxing, and NoSuchMethodError

J2SE 5 introduced numerous features to the Java programming language. One of these features is autoboxing and unboxing, a feature that I use almost daily without even thinking about it.

Cloudify Community08/21/14
3247 views
0 replies

A Puppet Automation + MySQL Tutorial: Wordpress Install in 7 Short Steps

In this blog post I'd like to demonstrate how a cloud application orchestrator can complement already existing automation processes powered by configuration management tools, in this case we will demonstrate with Puppet.

Alec Noller08/20/14
2737 views
0 replies

Dev of the Week: Topher Marie

Every week here and in our newsletter, we feature a new developer/blogger from the DZone community to catch up and find out what he or she is working on now and what's coming next. This week we're talking to Topher Marie, CTO and Co-Founder of JumpCloud.

John Ferguson Smart08/20/14
7177 views
4 replies

BDD, Automated Acceptance Tests and Continuous Delivery: Dealing with Scenarios that are "Work-in-Progress"

One of the principle rules of Continuous Delivery is that you should never knowingly commit code that will break the build. When you practice test-driven development this is easy: you write a failing test (or, more precisely, a failing "executable specification"), make it pass, and then refactor as required.

Benjamin Ball08/20/14
38191 views
33 replies

Java 9 Features Announced — What Do You Think?

JDK 9 features have been announced, and we want to know what you think about them! Are these features something you've been waiting for, or are you a bit underwhelmed? Do some of these proposals seem to go against improvements that you want? Post a comment and tell us!

Rob Galanakis08/20/14
3376 views
0 replies

A Short Letter to a Unit Testing Newcomer

One of my friends asked how to get started with unit testing and Test Driven Development and figured I could write a short post. I also mention TDD a few times in my book so I think it could use some more attention.

Topher Marie08/19/14
5213 views
0 replies

DevOps Has IT Heroes Sleeping Through the Night

Fifteen years ago, at the height of the dot com bubble, system administrators were burning the candle at both ends. With no cloud, Agile, or DevOps to help them, they were making it happen through sheer force of will and effort. As far as modern IT is concerned, those days are gone, and it's for the best.

Dave Farley08/19/14
4432 views
0 replies

Dealing with Testing Times

This approach not only gives you better control in your tests, but it also speeds them up – no more sleeping threads, which can add up in large test suites. As well as all that it enables classes of testing that were simply impossible before (e.g. long duration waits).

Christophe Phil...08/18/14
7093 views
1 replies

When is your code DRY enough?

When facing some duplicate code, you're not always feeling comfortable to dry it up. You're not even sure you'll keep - as is - the code you've just wrote. By experience, you don't want to spend a whole day to end, maybe, with an abstract solution end to reason about.

Kapil Viren Ahuja08/18/14
4300 views
0 replies

Unit Testing - Cost vs Benefit

Recently, I came across this Podcast series between Martin Fowler, Kent Beck and DHH which was in response to DHH’s post TDD is dead, long live Testing.

Ajitesh Kumar08/18/14
2978 views
0 replies

Test-Driven Development (TDD) Shines with Mocking

Test-driven development is a software development process in which developers write tests first and, then writing enough code to pass those tests. Once all of the tests pass, they do code refactoring to enhance code quality. Following are key advantages of adopting TDD as your development process.

Kevin Rutherford08/17/14
4466 views
0 replies

I Don't Measure Code Coverage

I believe that test coverage is an unhelpful measure. I have two main reasons behind this belief: Firstly, test coverage often gives false positives and false negatives; and secondly, too many badly written tests will slow a project down (that is, higher coverage can mean lower habitability).

Stefano Ricciardi08/17/14
2111 views
0 replies

Book Review: Version Control With Git

If you need detailed information about GIT, then this is the deal (short of reading the source code I guess). Every aspect of the tool is explained (sometimes in excruciating detail) and the authors go to a great length to provide tips and gotchas on commands (especially when you might easily shoot yourself in the foot).

Kapil Viren Ahuja08/16/14
5395 views
0 replies

Unit Testing - Why Not?

For JUnit implementation in our project, we see a great challenge in having them implemented as we are already running behind for Sprint 2 and Sprint 3

Richard Warburton08/16/14
7145 views
0 replies

Lambda Behave (Java Testing Framework) 0.3 Released

Its great to see that despite only releasing a couple of months ago there's already quite a few people trying out or contributing to lambda behave. Massive thanks to the London Software Craftsmanship Community for hosting a talk on Lambda Behave and the London Java Community and Opencredo for hosting a hackday.

James Betteley08/15/14
3060 views
0 replies

The DevOps Team Myth

Should there really be such a thing as a “DevOps Engineer”? Probably not, but we’re far too late to stop it, and trying to stop it seems a bit of a waste of energy to me. Eventually “DevOps Engineer” will come to mean something more specific, but for now we’re just going to have to read a few more lines on CVs.

Edmund Kirwan08/15/14
2904 views
0 replies

The Most Important Factor in Software Decay

Why are programs so poorly structured?

Phil Whelan08/14/14
4461 views
0 replies

DevOps: Tools Vs Culture

DevOps is a marriage between tools and culture. If you are just using the tools that you heard about at a recent DevOps Days and not also embracing the culture (or at least working towards it) then you're not really "doing DevOps".