Roland's homepage

My random knot in the Web


This is my home in the virtual world, where I write about things that I want to share. The freely available software that I've written as well as some of the photographs I've taken over the years can also be found here. Please use the navigation links on the right if you are looking for something.

Recent articles

  1. Writing the README first

    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.

  2. Updating FreeBSD from source

    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 and ...

  3. Switching IPython to Python 3

    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 ...

  4. Making saline solution

    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 ...

  5. Modifying a FreeBSD port

    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 ...
  6. TeXcalc

    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.

  7. Stltools

    From the release of version 3.2, the py-stl software has been renamed to stltools. The reason I made this change mostly has to do with how FreeBSD handles packages. Programs that require an interpreter are prefixed with its name and version. So py-stl would become py27-py-stl, which would be ...

Page 1 / 12 Page 2 →