Since I am in the process of making most of my programs available on github, I have been re-shuffling the some git repositories. Especially my collection of scripts (small programs for different purposes). Because some of those scripts are private, I don’t want to publish that repository as a whole.
Older articles (4/15)
Today I watched Kenneth Reitz’s python for humans video. His statement that “API is all that matters” resonated with me because I sometimes struggle with that.
Then he mentioned that you should write the README first, before writing any code. This is something that I do sometimes, but not always thoroughly. So I decided to use this as an experiment to refactor my beammech module.
The deploy script is a program for managing configuration files. This script grew out of my need for a multi-functional installer for configuration files. I tend to keep those files in a separate git repository rather than changing my $HOME into a git repository.
This Python script is a small helper to open files from the command line. It was inspired by a OS X utility of the same name.
After updating the site generator that powers this website, I had to make some adjustments.
Sometimes I need to update my FreeBSD operating system. I prefer to do that from the source code, so that my customizations in (/etc/src.conf) remain.
At the writing of this article, I’m tracking the 10-STABLE branch. To start this, I removed the contents of /usr/src ...
More and more, IPython has become my tool of choice as the ultimate calculator and to try out concepts and code for use in my programs.
While I generally use the terminal-based interactive shell, notebooks offer more capabilities for integrating text, formulas and graphics.
With Python 2.7 effectively mostly ...
The standard recipe for saline solution is 9 grams of salt per liter of water.
Since most people don’t have an accurate scale, we need to convert the nine grams to a volume. For that we need the bulk density of table salt. For fine table salt, the listed ...
Installing software on FreeBSD is made easier by the ports system; a collection of Makefiles and patches that contains instructions on how to build programs and libraries. E.g. building and installing the mpv media player is done in the following way:
# cd /usr/ports/multimedia/mpv # make install clean ...
As an engineer, I often do diverse calculations that I want to save in my logbooks which I write in LaTeX. Up to now I’ve either formatted those by hand or used the listings package to include calculations made in IPython.