Articles by Simon Walker

Python parallelism cheat sheet (part 2)

This blog post is the second in a series I am writing, covering methods of simple parallelism. The following posts cover more convenient ...

Python parallelism cheat sheet

I often get asked "how can I parallelise my Python code?". I've come up with this simple cheat sheet to explain it. I will only explain the ...

Installing rust on older linux systems

At work we use SLES 11 which has quite old versions of openssl and installed certificates. I was getting certificate errors trying to ...

Fighting the compiler

I'm learning Rust at the moment, which I'm finding quite an interesting challenge. I agree with a lot of the Rust principles and find it ...

Numpy functions may not do what you think

Numpy has the ability to mask arrays and ignore their values for certain computations, called "masked arrays". They contain a .mask ...

Command line inconsistency

RTFM! Today I brought down our head node at work, because of a misunderstanding of command line arguments for a linux program. In fairness, ...

Add timestamps to stdout

I spent some time trying to get timestamps added to C++ printing, e.g .through cout. I naive approach is to write a function ...

Python database transactions

pymysql Defaults to autocommit=False connection = pymysql.connect(user='user', db='test') cursor = connection.cursor() ...

Separate IPython profiles for interactive use

I used to have two simple shell aliases for IPython: alias ipy=ipython alias pylab='ipython --pylab' These were separated for a couple of ...

git submodules are not so bad

I see a lot of complaints about git submodules, people suggesting alternatives, complaints about merging or other bits and pieces. Git ...


Page 1 / 7