The Salsa Foundation Show Case March 2015

At the invitation of a friend I attended The Salsa Foundation‘s March 2015 Show Case performance at Deakin Edge, Federation Square. Here are some shots I took from the rafters of the third set when I was able to move close to the stage with my 50mm prime. Hope you enjoy!

Continue Reading...
April 2nd, 2015

Mocking a file-like object in python with mock framework

This is a follow-up to my previous post, where I described a manner in which you can mock a file-like object with fudge in python 3. The challenges were in figuring out: where the built-in read() was located; which calls are being made to the file-like object, and where to mock them I have since my friend delfick correctly point out that while there is nothing wrong with Fudge, it has not had much love and the Mock library is the Way of the Future as it has been included in the Python3 standard library.

Continue Reading...
June 29th, 2014

File Deduper

I have finished a very long term project to the point where it has tests and coding standards, and am happy to share it with the public. Behold, File Deduper. This application is designed to scan through and hash a collection of files, and then help you deduplicate them by hardlinking or removing the duplicates. When deduping, it has three modes of running:- graphical: if an image, try to display it along with a list of identical files console: displays a cursors dialog with matching files auto: will hardlink or delete duplicate files without prompt It requires Python 3.2+, is and is designed to be installed with pip into a virtual environment on a Linux flavoured system. Thank you notes, pull requests and bug reports are welcomed.

Continue Reading...
June 17th, 2014

Mocking a file read in python3 for testing

So for a personal project I had to prove, and ensure that a hashing function always returned hex characters. The hashing function would open a given file, read it in chunks, and then spit out a hex digest (for storage as text in a database).

Continue Reading...
June 9th, 2014

BeanShell, custom java classes and Jmeter

This tutorial will guide you through the process of making a java class and using it within a Jmeter plan. While JMeter does allow you to embed or include BeanShell code with the BeanShell Pre-Processor, Sampler and Post-Processor, you may find it extremely beneficial to instead create your code using your favourite java IDE which will give you the benefit of all the usual tools, documentation and support that you are used to.

Continue Reading...
July 25th, 2013
Contact Nixz Kerr