Compass Mentis - Coen de Groot Blog

Namepy step 1 – Angular “Hello World”

Namepy step 1 – Angular “Hello World”

(This is part of the namepy project. Start at Namepy – on the shoulders of giants) Let’s make a very simple start, with a webpage with a basic Angular controller, just enough to show...

Namepy – on the shoulders of giants

Namepy – on the shoulders of giants

Whilst my core skill/tool is Python, I’m always learning new things, either inside or outside the Python ecosystem. I recently had the pleasure of working with Angular and Python/Flask. Here is a playful application...

Investment Tracking System – Django/Python

Investment Tracking System – Django/Python

My client, a start up with a lot of experience in their field, had identified an important gap in the market. Large sums of money were being invested, with very long payback periods, without...

VirtualBox – moving virtual disks

VirtualBox – moving virtual disks

Having installed VirtualBox I created a few virtual machines, with 20GB virtual disks each. After all, I’ve got a 1TB hard disk in my computer. When Linux started complaining about running out of disk...

Virtual machines using VirtualBox

Virtual machines using VirtualBox

Tapping into all the wonderful tools and languages that make our lives as developers so interesting can throw up some fun (?) challenges. You start installing the latest linter or library, and before you...

Installing Python 2.10 on Linux Mint 17.2

Installing Python 2.10 on Linux Mint 17.2

Warning: You may have some packages on your machine which rely on Python, and which may no longer work after installing a different version of Python. Ideally you should use a virtual machine for...

Bottle – Python micro framework

Bottle – Python micro framework

Like Flask, Bottle is a Python micro-framework. It is so micro that it only consists of a single file. Whilst Flask is already a fairly small framework, some developers prefer Bottle, mainly for its...

Flask and Angular on Heroku

Flask and Angular on Heroku

I am working my way through this excellent tutorial, covering Python3, Flask, Angular, Heroku, SQLAlchemy, Alembic, requests, Beautiful Soup, NLTK, Redis and D3. Here are some extra notes To stop me from blindly copying/pasting...

A simple Python Flask app on WebFaction

A simple Python Flask app on WebFaction

Flask is a popular Python-based micro framework. Here is how to install it on WebFaction. This is based on the Flask instructions and the WebFaction instructions. Log into your WebFaction control panel Domains/Websites ->...

Python for Data Analysis and Natural Language Processing

Python for Data Analysis and Natural Language Processing

As I’m making my way through Natural Language Processing with Python and Data Science from Scratch: First Principles with Python, the first step is to set up the development environment. My first attempt was to install numpy,...