The technology behind Secure Sockets Layer (SSL) network connections is often perceived as a bit of “black magic” – smoke and mirrors securing our Internet connections from snooping. When banking and shopping online, even a novice user understands their browser sets up an HTTPS connection (which is simply HTTP over SSL) to protect the transaction. [...] Read Full Story
Early PCs seldom had more than a tiny, weak fan on the back of the case to push out excess heat generated by the internal electronics. As transistors shrank and chips grew faster and more complex, CPUs began running hotter and reaching dangerous temperatures - so hot, in fact, that the little case fan couldn’t protect [...] Read Full Story
A great Open Source project for gaining understanding about e-mail systems, including an in-depth look at SMTP and POP3, is the Java-based Apache JAMES Project. Although JAMES has the unfortunate shortcoming of being built around the now defunct and unsupported Apache Avalon Framework, it’s still a fantastic learning tool for understanding email protocols, mail delivery, and spam filtering. Not only that, it’s a fully functional, enterprise-ready mail server that can be up and running with ... Read Full Story
Yet another software development disaster is headed for the digital trash heap of failed projects. This time, the casualty is software funded by the U. S. Census Bureau. The Associated Press reports failure to deliver usable software to census enumerators could add as much as $2 billion to the 2010 census. Worse, the AP reports "census officials are considering a return to using paper and pencil to count every man, woman and child in the nation."
This is a spectacular train wreck... Read Full Story
JUnit Factory is rather clever how it analyzes and executes your code to generate characterization tests. However, legacy Java code was generally not written with testability in mind. This sometimes makes it difficult for JUnit Factory to attain complete coverage of your code due to the need for objects to exist in a complex state or the need to interact with an external resource such as a database.
JUnit Factory is often able to generate mock instances automatically for problematic classes... Read Full Story
Characterization tests provide a safety net for your legacy Java code by helping identify unintended changes in software behavior caused by code maintenance. JUnit Factory (http://www.junitfactory.com) from Agitar Software (http://www.agitar.com) may be used to automatically generate these tests for you. In this post, we’ll take a look at what happens to these characterization tests when a simple code change is made. Read Full Story
JUnit Factory ( http://www.junitfactory.com/ ) is a free Eclipse plug-in from Agitar Software ( http://www.agitar.com/ ) that generates characterization tests for your Java code. For more background on what characterizations tests are, and how you use them, you’ll want read my post “Characterization Tests: How To Deal With Legacy Java Code”.
This article describes how to generate tests for a simple Java class and how to read the tests. Not all of your real code will be this simple, and not a... Read Full Story
Companies have invested billions of dollars over the last decade building components and applications based on the Java framework. This work represents a wealth of expertise and collective knowledge that firms must protect and maintain. Unfortunately, in the dynamic field of software development where programmers change jobs, on average, every 18 months, the original developers on these past projects probably aren’t around anymore.
As a result, Java developers seldom have the luxury of worki... Read Full Story
Uh, oh. I think I'm way too young to sound like such a curmudgeon, but I just can't help myself. Before my recent move to a post-sales role, I spent 15 years writing software professionally. I thought at this point in my career I'd qualify as "the wise elder" - instead, I guess I'm just "the crazy old man who mumbles to himself."
Remember the days of eagerly poring over core dumps to quash that nasty bug? The fascination of learning something new? The dete... Read Full Story
Vincenty's Formula is an iterative solution for calculating the distance and direction between two points along the surface of Earth. For clarity, I've stripped out portions of the code I've put up for discussion, but you can download the entire Java source code from here. If you prefer C#, please see the C# version of this discussion.
Several years ago, I stumbled on a great pastime called "geocaching." It's a worldwide treasure hunting game where participants use ... Read Full Story