Remote Working for Imperial Computing Students

With remote working becoming more important, in these short tutorials I will be covering how to effeciently work remotely for Imperial College Department of Computing students. I provide some pointers to main topics and encourage you to explore further.

September 29, 2021 · 17 min

How to generate plots using unit tests in Python?

This elegant Python library called unitreport allows you to use matplotlib inside unit tests to generate self-contained HTML reports. It creates a robust, modular and self-contained approach for analysing datasets, models and more.

September 3, 2021 · 4 min

The Neuro-Symbolic Conundrum

There is increasing interest in neuro-symbolic methods that combine recent advances in deep learning with symbolic methods of Artifical Intelligence. Yet, at the heart of their integration lies an intriguing puzzle.

August 8, 2021 · 3 min

How to handle logging in Python?

Let your application tell you what is going on at critical steps with effective usage of logging. In this post, I talk over a simple setup for using the logging library in Python.

June 29, 2021 · 4 min

Where does Pylint look for configuration files?

Pylint is a popular linting tool for the Python programming language, and often it needs to be configured. Pylint looks at several different locations to load its configuration.

May 25, 2021 · 2 min

The reality of accessible deep learning

Thanks to recent libraries such as TensorFlow and PyTorch, deep learning has become so accessible that it now can be in anyone’s toolbox. But at what cost does these libraries reduce the entry level for advanced methods?

February 28, 2021 · 5 min

Why I switched from Vim to Visual Studio Code?

I have been using Vim for almost a decade now and this new year I decided to switch to Visual Studio Code. But why?

January 11, 2021 · 4 min

C Recap for Pintos

A short recap of the C programming language with a Pintos perspective as a memory refresher. We go over topics such as preprocessor directives, pointers and linked list structure in Pintos.

September 25, 2020 · 1 min

How to hash a dictionary in Python?

You might notice that the in-built Python hash function does not work with dictionaries. That’s for good reason because it can be inconsistent across platforms. In this post, I talk about a simple method using standard libraries to hash a Python dictionary in a more stable manner.

July 30, 2020 · 2 min

Argparse with multiple files to handle configuration in Python

There many methods for handling configuration files within a project and it can be difficult to find a solution that works well. In this post, I talk about a small library that allows argparse to work well across multiple files while still providing the expected argparse features such a help pages.

July 17, 2020 · 5 min