DevOps Zone is brought to you in partnership with:
  • submit to reddit
Phil Whelan02/18/14
0 replies

DevOps: Self-Service

It is hard to imagine life before self-service in grocery stores. For developers and young startups growing up with cloud solutions like Amazon Web Services, Heroku and Engine Yard, self-service is already becoming the norm. Some of these folks probably cannot even imagine a world before this.

Santosh Kumar02/17/14
21 replies

Clean Code: Conditionals

This is part of a series of micro-blogs (somewhere between a tweet and a full on blog) on Clean Code. In this post, I’m going to focus on one big culprit in obfuscated, not clear clean code — Conditionals (i.e. if statements). Let’s look at an example:

Allan Kelly02/17/14
2 replies

Is manual testing sinful?

One of the asides I made in “Programmers without TDD will be unemployable” which caused a bit of outrage in the testing community was my comment “Manual testing is a sin.” While I have been unfair to many testers, and somewhat simplistic, I still stand by the statement. Let me expand on why I still stand by the comment and why I am wrong.

Dustin Marx02/17/14
0 replies

Book Review: Test-Driven Development with Mockito

Test-Driven Development with Mockito provides a general introduction to test-driven development (TDD) before looking at application of Mockito to implement test doubles as part of test-driven development.

Luis Aguilar02/14/14
0 replies

Unit Testing 101: Creating Flexible Test Code

When going for test-driven development, we all know that the unit test code becomes critical part of the code base. Is because of this that it is really important to have a solid unit test source code structure; flexible, intuitive and maintainable enough so that when the amount of unit tests grow, it does not become an uncontrollable mess.

Steven Lott02/14/14
0 replies

TCP/IP Mysteries and user support

It's not clear, actually, if this involves a TCP/IP "Mystery". What it may involve is a simple lack of ability to communicate. Or something.

Martín Proenza02/13/14
0 replies

Programmer life leaks: duplicate the bug

Our skills and customs as programmers always tend to leak into our lives. If you haven't realized, you are probably trying to do everything an agile way. Aren't you? In this article, see one of these leaks in action: duplicating the bug.

Mehdi Daoudi02/13/14
0 replies

What The World’s Worst DNA Mixup Teaches Us About Monitoring

The suspect’s DNA had been found at 40 crime scenes, linking her to burglaries, narcotics and six murders. It turns out the infamous ‘phantom’ wasn’t a murderer at all. Police were hunting an innocent factory worker who fatefully handled the same cotton swabs used to collect DNA samples from the crime scenes.

Henrik Warne02/13/14
2 replies

Unit Testing Private Methods

My preference is to simply remove the private modifier and make the method package private. Why is this a good idea? I will get to that after I discus the problems with the other methods.

Bogomil Shopov02/13/14
0 replies

Mission Possible: Teach Your Clients to Give You a Perfect Bug Reporting, Especially for Design Issues

The client sees the website in a different way, and if there is a problem, they will describe it to you with the words they know. Every developer has spent time talking or chatting or exchanging emails with a client who wants work done, but can't explain what they need in a way the developer can understand.

Lubos Krnac02/12/14
0 replies

Mock Private Method

Sometimes you have to extend or maintain a legacy codebase that usually contains few cohesive classes. There often isn't time in this hectic agile world to make such classes easy to unit test the standard way. When you are trying to unit test such classes, you often realize that unusual mocking is needed.

Patroklos Papapetrou02/11/14
6 replies

My advice to (junior) developers about their career

The last couple of months I have met several young developers that either looking for the first job or are still trying to get their bachelor degree. Many of them asked me to give them my advice on how they can make their first steps in the software development career. In this post I summarize my advice to all these “young” and ambitious developers. Don’t be fooled by the word young.

David Shepherd02/11/14
0 replies

Business DevOps is really what we want…

The idea that the way to increase Agility is to reduce the number of disciplines and replace everything with a super developer who can manage the team, work with the business, write great code, test it and then manage its deployment and support, is a pipe dream

Zac Gery02/11/14
0 replies

How Developers Gain Perspective: The Forgotten Approach

In business there are many ways to gain a better perspective about a project Customer visits are a fantastic way to expose developers to actual and/or potential clients. Initiating a visit shows customers a personal level of attention that they rarely get from most companies they interact with.

Vlad Mihalcea02/10/14
0 replies

Code Review Best Practices

Code review is a great software instrument and you should definitely use it to improve the quality of your code. But like any other tool, it may be misused sometimes. That’s why I came up with a list of best practices to guide you when reviewing your peers’ code.

Sam Sepassi02/10/14
0 replies

Secret Key Import in Java Keystore by Key Replacement Method

Key management is defined as a group of operations such as generating, exchanging, storing and protecting security artifacts. Without effective management of such valuable resources, the system can be easily compromised by attackers.

Peter Verhas02/10/14
0 replies

Use Java Annotation Deprecated the Right Way

There is hardly anything more infuriating that seeing a method @Deprecated without a proper documentation. I feel lost. Should I still use the method?

Phil Wilkins02/08/14
0 replies

Enterprise Security: A Data-Centric Approach

As an Enterprise Architect, I took an interest in this book as an opportunity to validate my understanding of security and ensure that ,in the design and guidance work that I do, I am providing good insights and directions so that the application architects and developers are both ensuring good security practices.

cyrille martraire02/07/14
0 replies

Canary Tests

Canary Tests are minimal tests to quickly and automatically verify that the everything you depend on is ready.

Matthias Marschall02/07/14
0 replies

Test Driven Chef Cookbooks With Meez

Getting your arms around all those tools and frameworks needed to write solid, tested cookbooks gets you spinning. You need to install Food Critic, Chef Spec, Berkshelf – and the list goes on. This set up can easily take up to half a day or more.

Konrad Garus02/06/14
0 replies

Review: "Version Control with Git, 2nd Edition" by Jon Loeliger

This book is a must-read for all Git users. It’s usable on all levels, from absolute newbie to someone who feels fairly proficient with Git. I’ve been using Git daily for quite a while, and it really helped me understand what is going on. Everything is very accessible, with plenty of examples as small and practical as possible, as well as some images.

Matthias Marschall02/06/14
0 replies

DevOps Dudes Comics: Aligning Goals

This installment of the DevOps Dudes series from Matthias Marshall looks at DevOps and mountain climbing.

Alec Noller02/05/14
0 replies

Dev of the Week: Rafael Winterhalter

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 Rafael Winterhalter, Java enthusiast and software engineer at Kantega in Oslo, Norway.

Mike Bushong02/05/14
2 replies

Open Source as the Future of IT

Open source is playing an increasingly important role in IT infrastructure generally. But is open source a natural evolutionary path for all IT disciplines, or are there certain characteristics that make some areas more ripe for open source than others?

Knut W. Hansson02/03/14
2 replies

Code Puzzler: Favorite Seats

Given an array of n rows numbered 0 to n-1, each of m seats 0 to m-1, where the cells have values True (meaning the seat is available) or False (meaning the seat is taken). A customer states that his favorite seat is at row x and seat y on that row.