Vim Cheat Sheets on a Mug

I’ve been thinking about some promotional material for the company I work for. What inspired me was seeing a vi coffee mug… Unfortunately only available in the US. I’ve been endeavouring to wean myself off textmate and the like so thought this was a brilliant idea. But with limited space, what essential commands should go on a vim cheat sheet? What other cheat sheets would you like to see in this format?

Read More

Sparklines

“Sparklines: Intense, Simple, Word-Sized Graphics”

If you’ve been reading this blog for sometime, you will know I’ve got a certain penchant for sparklines, a term coined by Edward Tufte and referred to in his book titled “Beautiful Evidence”

True sparklines are meant to be word-like graphics, such that they fit inline with the body of the text, however I’ve had difficulty implementing this with tools such as Excel or custom chart libraries like JFreeChart. The Google Chart API makes this relatively simple.

To that end, my choice of implementation is to present inline with a paragraph. Say for example I wanted to display the amount of jobs advertised over 4 months, then my version of a sparkline would look like this:
sparkline jobs

Sure, it’s pixelated, the colours are a little hard to differentiate, and the vertical axis is lacking a scale or unit of measurement. However this simple column chart does convey quite succinctly, when jobs are advertised, whether it is the start, middle of end of a month, and how many jobs are available per month.

So what makes a perfect sparkline? To be honest, I don’t ever think sparklines should be used as a supplement for detail. I believe sparklines are best used in situations where you want to convey a lot of data in a small space. They really should be thought of as triggers, not from which you conduct a detailed analysis, but something which triggers the thought to pursue more information in the first place.

Here’s another example recently used to show size of allocation failures on an IBM JVM heap.
allocfailures

Cool? Go get em: http://en.wikipedia.org/wiki/Sparkline

Read More

In. Ter. View. Questions

Well, as a performance test lead I’ve been getting more involved in the hiring process.

To cut through the chaff, these are some of the questions I like to ask potential candidates. What’s your favourite questions? How might you answer these?

I also like to follow up these questions with a half hour practical scripting in VuGen (or your tool of choice). You can learn alot about someone by the way they write their scripts.

The point? Determine if the person has recently used the tool (you’d be surprised) and suss out general knowledge of performance testing…

Read More