a tumblelog
week 16, 2019

River daisy flowering

River daisy, Osteospermum ecklonis, flowering
River daisy, Osteospermum ecklonis, flowering in a basket. Photo taken in my brother's garden.

The Single Biggest Mistake Programmers Make Every Day

I just read Eric Elliot's article The Single Biggest Mistake Programmers Make Every Day.

I believe the single biggest mistake that every programmer makes from time to time is overcomplicating things.

― Eric Elliot

Commit messages guide

I just read the Commit messages guide, a guide to understand the importance of commit messages and how to write them well by Rômulo Oliveira.

Testing ProxyChains with cURL

Today I wanted to test ProxyChains with a SOCKS5 tunnel, which I did as follows:

$ proxychains curl

This returns JSON which includes the proxy's IP address if everything works as expected, which it did.

For more information on how to use proxychains, see: Subversion proxy: fixed IP address with proxychains

How to use jq in a shell pipeline

If you use the identity filter, '.', you can pipe output of a command to jq, a lightweight and flexible command-line JSON processor, and have it pretty printed. For example:

curl -s | jq '.'

The above will show information about your current (external) IP address, similar to

For more information about jq, see the jq Manual.

Building the latest version of ProxyChains NG

Today I also built the latest version of ProxyChains NG in order to get rid of the "ProxyChains-3.1 (" message the old version of ProxyChains prints to stdout.

Tumblelog version 1.0 released

I just pushed version 1.0 of tumblelog, both the Perl and Python version, to GitHub.

New are the --version option and a [% version %] tag. The latter can be added to the template.

Mudan flowering

Mudan (Paeonia suffruticosa) flowering
Mudan, Paeonia suffruticosa, flowering.

Yesterday, I used the PlantSnap app on my iPhone 5 to identify a flowering bush growing in my mother's garden. The program suggested that it was a Paeonia suffruticosa. Today the flower I took a photo of yesterday was more open so I took another photo for this blog.

Refactoring tumblelog

This morning I refactored the Perl version of tumblelog because I wanted to add next and previous links to the day pages. Yesterday, I had done some brainstorming and I concluded that quite a rewrite was required, which was indeed the case.

In the evening I modified the Python version based on the new Perl version. Both versions are available on GitHub.

WD My Passport arrived

WD My Passport 2TB orange
Western Digital My Passport 2TB orange.

Making a backup on OS X

After I had unpacked the Western Digital My Passport I used Disk Utility on OS X to erase and format the drive as "OS X Extended (Journaled)".

Erasing and formatting a drive using Disk Utility
Erasing and formatting a drive using Disk Utility on OS X "El Capitan".

Next, I selected the drive in Finder, selected "Get Info", unlocked the settings at the very bottom and turned "Ignore ownership on this volume" off.

Ignore ownership on this volume disabled
"Ignore ownership on this volume" disabled after unlocking.

Finally, I used rsync in the terminal as follows

sudo rsync -avh /Users/ \

to start a complete backup of all Users data on the brand new Western Digital harddisk named Orange.

Transfer speed of a WD My Passport 2TB drive

When done with the backup of my OS X "El Captain" /Users/ directory the rsync command reported a transfer speed of 34.72M bytes/sec for the WD My Passport 2TB drive (output reformatted to fit):

sent 788.46G bytes
received 13.34M bytes
34.72M bytes/sec
total size is 788.81G
speedup is 1.00

Sheep walking on the road

Sheep walking on the road
In the afternoon a lot of noisy sheep passed by. I took a photo out of my office window.

WD My Passport 2TB ordered

I just bought an orange WD My Passport 2TB online at MediaMarkt for €79.99. The external hard disk drive will be delivered tomorrow. Somehow my Revolut prepaid credit card was not accepted so I used PayPal to pay instead.

The hard drive is going to be used to make an additional backup of my Mac mini 2014 as I want to do a clean install of macOS Mojave; I am still on OS X "El Capitan".