The Battle of the Suburbs in Canberra

Prelude This post serves for two purposes: It is part of the requirement for the Applied Data Science Capstone project in the IBM Data Science that I recently finished. Test of using Emacs Org mode and Babel for literate programming (data collection and analysis in this case) as an alternative to the Jupyter notebook which occasionally drives me crazy during my courses. The result is promising: I am able to use one single Org file including Python code blocks to collect and analyse data, to produce a pdf report via LaTeX, and to publish this blog post through Hugo static website generator.

Setting up C/C++ development environment in Emacs

Introduction It is no secret that Emacs, being an extensible, customizable, free/libre text editor (or simply the great operating system lacking only a decent editor (though not true anymore with evil mode emulating Vim keybindings)), is capable of handling many different tasks greatly. For example, Emacs can be configured as a development environment for many programming languages. As a matter of fact, many new programming languages have their corresponding emacs modes first before they are integrated to other IDEs.

Emacs journey: email with mbsync, mu4e and msmtp

Finally the day comes when I decided to move another part of my workflow inside Emacs - Email. Before I jumped into the "rabbit hole" of Emacs, I never thought there are other options for handling email than the default email client provided by the OS: Outlook on Windows, Mail on macOS and Thunderbird on Linux. At the first glance, using email in Emacs seems to be a very complicated process to me for two main reasons: 1.

Python development environment on macOS

To set up a clean and easy to manage Python development environment on Mac OS X (or more generally - a Linux-like working environment), I try to obey the following guidelines: Use Homebrew as the package management tool. General tools or system wide packages are installed through Homebrew. Install Python 2 and 3 (including pip) from Homebrew. Though Python 2 comes with OS X by default, but the version might be lower and may be changed due to OS X upgrade in the future.

Org mode syntax highlight for VHDL code

One problem I came across when I try to use Org mode as the markup language for my Pelian generated static blog is the syntax highlight for source code blocks. Org mode has the ability to highlight syntax of languages supported in its Babel functionality, be it in the Org mode buffer or the language major mode buffer, or exported PDF document or HTML file. However, things became a bit different for Org mode when it was used in Pelican through the org_reader plugin.