Roland's homepage

My random knot in the Web

Articles about miscellaneous

  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. Enjoying the sunshine

    On the 8th and 9th of March 2014 it was unseasonably warm. In fact the temperatures on both days have been the warmest on those dates since recording began in 1901.

    Here in Eindhoven the temperature reached 21 °C today! So I got out the lawn-chair and enjoyed the sunshine!

    sunshine on the balcony
  3. Laptop repair

    In November my four-year old laptop started acting up. First it shut itself down a couple of times when doing heavy calculations. Later the screen started showing artefacts in text mode and would hang the X server. I bought this machine from BTO because they offered quite a lot of ...

  4. Filtering a sound recording

    Recently I was listening to an MP3 file of a talk about no-till gardening when I noticed that there was a noticable buzz in the sound. I figured I would try my hand at sound filtering with Python as a learning experience.

    The Python standard library doesn’t have a ...

  5. Evaluating REACH

    One of my responsibilities at work is to act as local expert with regard to chemical substances. One of the tasks is making sure we comply with REACH (“Registration, Evaluation, Authorisation and restriction of CHemical substances”).

    The REACH directive itself is huge, numbering 515 pages in the Dutch version. In ...

  6. A new STL convertor added

    In addition to stl2pov, I’ve now written a program that writes a shaded projection of the STL file (along the z-axis) as a PostScript file. It supports arbitrary rotations of the STL file around x-, y- or z-axis and automatically centers the object in the view, so you can ...

  7. stl2pov rewrite

    Python logo

    On 2011-04-04 I re-wrote my parser for STL files in Python. The original C parser was 411 lines (excluding comments and blank lines). The new parser in Python is 134 lines. This is also without comments. It took me about two hours to write from scratch. But that includes debugging ...


←  Page 1 Page 2 / 3 Page 3 →