dinsdag 25 december 2018

Re-opened my Wordpress blog: d3media

I forgot I used a Wordpress blog to write about digital journalism. I started on Blogger writing about data journalism. Now I have update my Wordpress blog  with Blogger content: D3Media
Here is the URL: https://d3media.wordpress.com/ 

Why? Wordpress gives more options to enhance the quality. I am looking for example to installing automated tagging, or installing a bot for content search.

zondag 23 december 2018


Holiday time.....now it is time to play around with.... what? I have an old camera Nikon P5100. Question: can I control that camera from a PC? I did want to create trouble on my training/work related laptop so I fired up my Raspberry Pi.
After a bit of Google browsing I found out that you can control a camera from a PC:

1. first you have to install gphoto2 on the pi; here is the recipe to install from scratch . To compile the whole thing takes a bit of time, but after a cup of coffee you are ready to.

2. Hook up the camera with a usb connection and open a terminal. Here is an overview of the commands to check if gphoto2 is working. Take care that the pi is not opening the SD-card of the camera through auto mounting removable media; turn that off.

3. Now you want to take some shots. This is how you that from the command line .

4. Of course you cannot remember all these commands with detailed option. Well there are scripts on github. Shooot is a very nice one.

5. Finally.. you prefer a GUI, use gphoto-bottle . BTW the P5100 is quite limited in use with gphoto2, no movie, no streaming, only shooting pictures in a time sequence. So better use a newer camera!

woensdag 12 december 2018


Voyant is an amazing tool for text analysis, just play around with it at: https://voyant-tools.org/  Just download or copy you text and push the buttons. That is a different experience form the coding I used to do in R. Disadvantage is that your texts are public on the web. Solution: run the Voyant tool on your machine. Of course use a docker container: https://hub.docker.com/r/sepastian/voyant-docker/  .
Start the container with:
docker run -d --name voyant -p 8080:8080 sepastian/voyant-docker:latest
And here is the screen running at http://localhost:8080/voyant/