Evaluating Project Metrics

Overview A metric is, roughly speaking, a mechanism to collect data on something. For our purposes, a metric is a mechanism to gather data about how well some aspect of a software project is working, in order to provide feedback that can be used to improve the project or the management of the project. Value of Metrics An important thing to consider is the value of metrics - a metric implemented without a specific goal in mind is just going to waste time, which will make your metric overall start to show that you are doing poorly. With this in...

HSDIMUL Project Health Metric

Recently I have been looking into how to track overall improvement in a code-base due to the introduction and continued use of testing. There are a number of metrics that are already defined, ranging from fairly complex ones that can measure quality across multiple projects in a large company, to metrics suited for a single-developer product. That being said, I haven’t run across any that I liked for my situation. To overcome this, I came up with the How Stupid Did It Make Us Look (HSDIMUL) metric. The Requirements First let’s look at the requirements I have for a test...

Recommendations for a Security Education

Perodically I’ll get asked for recommendations for good resources to get started learning about information security. I’ve written reviews on a number of books, and on a handful of other sources, so I thought I’d collect together some of those, as well as make some new recommendations. Most of these recommendations come from the perspective of someone more on the development side of security than IT. I’ve sorted things out into two broad categories -sources that can provide you with an underpinning for a security education, and sources that are good for on-going education (keeping up with news or learning...

A Slightly Snarky Overview of Security for Apache Tomcat

Apache Tomcat crops up a lot, and frequently having been configured by someone without a lot of security background. I’ll spend a little bit of time looking at some of what you can do to improve security at a high level - I won’t be giving step by step instructions, just trying to provide a feel for what the security features can do. For implementation details, you should take a look at the official documentation. Tomcat 7’s security documentation is at Tomcat Security Considerations. For the most part I’m using their documentation as a reference to put together this post,...

Chrome Fullscreen SVG and Javascript Animations

Recently I have been working on a small web application which uses Javascript to animate and interact with a SVG. I wanted to fullscreen the SVG with the animation running. To do this, I used the fullscreen API, but quickly discovered differences between browsers. In particular, while Firefox would provide a true full screen for a given element - that is, scale the element to the fullscreen - Chrome would turn off all other elements, but leave the element being fullscreened the same size, as pictured. Since that wasn’t acceptable, the next thing I did was write CSS to make...