DevOps Zone is brought to you in partnership with:
  • submit to reddit
Paul Hammant05/09/14
7874 views
0 replies

TDD When You Can't Refactor

Maybe Rails apps are too sophisticated in terms of coding constructs to be easily and cheaply test driven. At least compared to Java. Maybe frameworks are harder to TDD too, compared to libraries. Refactoring, in tools like Intellij for Java, is like giving the Mona-Lisa a proper smile with your fingers, hundreds of years after the last brush stroke, and perfectly. Not only that, but Intellij’s local-history undo is perfect too. Don’t like that smile? Hit Ctrl-Z.

Topher Marie05/09/14
3726 views
0 replies

Venture Capitalist David Aronoff on the Future of DevOps

David talks about the future DevOps educational programs validating the importance of the movement. He also speculates on future computing trends in storage and security based on past market patterns giving examples of how we need to reimagine problems as technology improves and internet bandwidth grows.

Gil Zilberfeld05/09/14
4433 views
0 replies

What Is A Unit Test?

The only value you get while writing a test, is when the code is not there yet. That’s right, in TDD. In that case, you get all of the above, plus insight about the design and safe incremental progress. If your test passes the FAIL test, then it is a unit test.

Hugues Johnson05/08/14
14824 views
29 replies

Java 8 Optional: What's the Point?

There's a new feature in Java 8 called the Optional class which is supposed to cure NullPointerExceptions. The catch with this new Optional class is of course the word "class". Optional is only a wrapper that contains a reference to some other object and isn't close to being a panacea for NullPointerExceptions.

Jakub Kubrynski05/08/14
8740 views
8 replies

Managing Spring Boot Application

Spring Boot is a brand new application framework from Spring. It allows fabulously quick development and rapid prototyping (even including CLI).

Eric Minick05/08/14
3118 views
0 replies

Continuous Delivery in Products: Feature Toggles

Many continuous delivery concepts are most applicable for software that is running on your own servers whether as part of a website, internal application or SaaS offering. For teams who write products that are installed by their customers, some continuous delivery concepts are hard to implement.

Jim Bird05/08/14
3452 views
0 replies

Driving DevOps

here is a lot of talk in the devops community about the importance of sharing principles and values, and about silo busting: breaking down the “wall of confusion” between developers and operations to create agile, cross-functional teams.

Andrzej Krzywda05/07/14
4431 views
0 replies

TDD and Rails - what makes a good Unit?

There is an ongoing discussion about TDD and Rails. It was recently heated by some some of the DHH statements in his RailsConf keynote and in the blog post: http://david.heinemeierhansson.com/2014/tdd-is-dead-long-live-testing.html One aspect of...

Juri Strumpflohner05/07/14
10529 views
0 replies

See, always told you: testing is just a waste of time

About the flamed debate around the death of TDD and why it isn't an excuse for not doing automated testing

Roger Hughes05/07/14
3757 views
0 replies

Tracking Exceptions - Part 6 - Building an Executable Jar

Having written the code and the tests, and being fairly certain it’ll work the next and final step is to package the whole thing up and deploy it to a production machine.

Alec Noller05/06/14
15043 views
0 replies

Dev of the Week: Dustin Marx

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 Dustin Marx, software developer, writer, and presenter.

Topher Marie05/06/14
3648 views
0 replies

Practical DevOps Advice Interview with Gene Kim

Entrepreneur, researcher, and author, Gene Kim, took some time to sit down with Rajat Bhargava, CEO of JumpCloud, to discuss different aspects of high-performing technology organizations he has been studying for over a decade.

Rob Allen05/06/14
2856 views
0 replies

Writing to Vagrant Synced Folders

I had a problem writing to the cache directory in my vagrant project due to file permissions. Fortunately Jeremy Kendall has already solved this problem in his Vagrant Synced Folders Permissions article.

Pierre-yves Saumont05/05/14
16867 views
0 replies

What's Wrong in Java 8, Part II: Functions & Primitives

Tony Hoare called the invention of the null reference the “billion dollars mistake”. May be the use of primitives in Java could be called the million dollars mistake.

Mitch Pronschinske05/05/14
14683 views
0 replies

Infrastructure as Code: When Automation isn’t Enough

The best piece of advice to about using Infrastructure as Code is to stay connected to the vast community of innovative developers. If your systems remain open to the rapid changes in that community, you’ll be able to share and benefit from the cutting-edge ideas that will make your organization successful.

Reza Rahman05/05/14
2295 views
2 replies

EJB 3 in Action: A Personal Journey

I am very proud to say the second edition of EJB 3 in Action is now published. In addition to covering EJB 3.2, we've also covered JPA 2.1, CDI 1.1, JAX-RS and WebSocket. The goal is to try to cover as much of the Java EE 7 "backend" technologies as possible.

Jakub Holý05/04/14
4374 views
0 replies

Clojure: How To Prevent "Expected Map, Got Vector" And Similar Errors

What my Clojure code is doing most of the time is transforming data. Yet I cannot see the shape of data being transformed – I have to know what the data looks like on the input and hold a mental model of how they change at each step

Jon Norton05/04/14
3442 views
0 replies

Paying Off Your Technical Debt

Technical debts in software are those places where, while the code functions properly, it has internal problems that make it challenging to maintain. As a developer, nothing feels better than tackling a piece of long-standing technical debt and turning code that everyone hates into code that’s a joy to work with.

Benjamin Ball05/04/14
1645 views
0 replies

The Best of the Week (Apr. 25): DevOps Zone

Make sure you didn't miss anything with this list of the Best of the Week in the DevOps Zone (Apr. 25 to May 1). This week's topic includes test-driven development, continuous delivery, scaling self-service-as-a-service, development methodologies, and Jersey/Jax RS streaming JSON.

René Pickhardt05/03/14
4002 views
0 replies

Version Control of Your Linux Config With Git

Just keep in mind that you don’t push the git repository to some public space since the config files might include a lot of passwords. Also look out for his .gitignore in his case the printer does a lot of automatic changes and is thus ignored. You might have similar settings for your configs.

Andrey Cheptsov05/02/14
2187 views
3 replies

What Makes IntelliJ IDEA Different

This post may sound commonplace to you if you already use IntelliJ IDEA. If so, then just ignore it or share with a friend of yours, as it’s intended for people who are still wondering what’s so special about IntelliJ IDEA and why is it so different from other IDEs.

Len DiMaggio05/02/14
1569 views
0 replies

The Red Deer Recorder

One of Red Deer’s goals has always been for it to be an easy to use test platform, but it’s always lacked the convenience of a keystroke recording tool. Until now that is. Before we look at how we can use the Recorder, let’s take a minute to understand just how it works.

Chase Seibert05/02/14
4462 views
0 replies

Loading Classes From Modules With Reflection in Python (Imp Module)

For a dynamic language, it’s more difficult than it needs to be to import a module dynamically in Python. It’s very easy to just from foo import bar, but what if you want to load a list of things and all you have is a string representation of each one, for example foo.bar?

Topher Marie05/02/14
3977 views
0 replies

Why Centralize Cron Jobs and Stop Fighting Configuration

As a company focused on server management, we’ve been talking a lot about how we can help DevOps and IT pros automate tasks and generally make their lives easier. Many a customer have asked us to include scheduling of tasks into our product. So, this past week we just did that!

Peter Verhas05/02/14
1923 views
0 replies

You Can Program Bug Free

You can not. This is a lie, just like the cake. You can lower the number of bugs.