What to do with a 10kg Marrow?

  So my dad, being a keen gardener, sent me back to my flat with a food hamper last time I visited him. Included amongst home grown potatoes, lettuce, garlic, honey from his bee hives, eggs from his chickens and other stuff was a Marrow bigger than I’ve ever seen. I jokingly remarked that it …

More

The Benefits of micro-journaling

I recently read about a commandline utility called jrnl which can be used to keep a text-based journal with support for tags and intelligent date stamping (i.e. you can write ‘yesterday at 12pm’ and it will figure out that you meant 3/7/2014 12:00:00). I decided to have a go and have had a really great …

More

Profiling Java from the commandline

SSSplit is an XML aware sentence splitter that was written as part of SAPIENTA. It is primarily useful for sentence splitting in academic papers since it has rules for dealing with references and figures in the document. Unfortunately it has pretty poor performance. On a 2.7GHz machine, it takes a massive 50 seconds to split …

More

Pushbullet and Node Red

I recently found PushBullet, a really cool push notification service that you can use to send messages to all your devices (which have their app installed). There is even a PushBullet chrome addon which is perfect for use on my Chromebook. PushBullet’s service is completely free (as far as I can tell) so its perfect …

More

Why Python List Comprehensions are awesome

I’m currently in the process of rewriting a bunch of Perl code into Python code and optimising a fairly complex Machine Learning system. Here is a big ugly perl excerpt. It searches strings for ASCII characters 0-9 and replaces them with @@@ for machine learning lemmatization purposes. my @char_array = split(//,$temp); my @final_array = (); …

More

ZSH History Completion

One of the many advantages of switching to ZSH from BASH is the huge number of plugins that provide really useful autocomplete features for git (it will list repositories for you), ssh (it knows your frequently connected hosts and will suggest them for you) and package managers. One of my favourite features is the substring …

More

Another average day at work…

This is my job now...

Me after two cappucinos this morning…

I’m sitting rewriting some fairly in-depth AI and machine learning code and I’ve noticed some less than desirable things: There were a few pointless loops (where the author has decided they don’t need the result from the calculation but left the code in anyway) and some very long iterations used to get around the fact that a container (with about 40,000 elements) isn’t indexed. I’ve got my work cut out – that’s for sure!

Zoo City by Lauren Beukes

When I bought a copy of the Humble Book Bundle in the summer last year, I wasn’t quite sure what I’d gotten myself into. Lots of great authors publishing their books for whatever price you choose? It seemed too good to be true! Luckily, the books I’ve read so far are as fantastic as I’d …

More