Using Visual Studio Code for Rust on Ubuntu

I already wrote about using Eclipse for Rust development but after trying Visual Studio Code (VSCode) I think it is slightly better than the Eclipse integration:

  • when the cursor is at a variable the same variable is highlighted elsewhere.
  • tooltip popups when hovering over variables, functions, methods.
  • better native support for Git and Markdown files

Syntax highlighting, autocompletion, Ctrl + Click on functions and auto-formatting of course also work in VSCode as you would expect from an IDE.

Writing integration tests in Rust

In my first post I wrote a quite fragile, minimally working prototype that uses many unwrap() calls thereby raising lots of panics during execution. Implementing and verifying proper error handling requires testing. I don't want to do unit testing yet because that would require research about complicated mocking techniques and dependency injection in Rust. Instead, I would like to do integration testing of the whole application to prove that the end result is working as expected.

Drupal development setup on Ubuntu 15.10

I upgraded my local computer to Ubuntu 15.10 today and revisited my Drupal development environment (this guide is also available for Ubuntu 13.10). Here is a simple and fast guide how to configure Ubuntu for development. There are a number of installation documentation pages on this topic on drupal.org, but they suggest to use the packaged Drupal installation and to run Drupal in subfolders (e.g. http://localhost/drupal6). They also do not cover some other important development tools like Phpmyadmin or php.ini settings. During development we want to edit files and we want to do that somewhere in our home directory to avoid any permission problems. There is also Drubuntu, but it is outdated and does way too much magic in my opinion. So here is a more transparent tutorial that highlights the key development configuration settings for Drupal development on a local computer (do not use this for a production server!).…

Wie viele Frauen sprechen eigentlich bei "Am Schauplatz"?

Ich habe mir die ORF Sendung "Am Schauplatz: An der Grenze" vom 24.09.2015 angesehen und stellte fest, dass keine einzige flüchtende Frau* zu Wort kam. Auch die anderen Interviewten waren Großteils Männer*, also habe ich einfach mal nachgezählt: in der Sendung sprachen 38 Personen direkt in die Kamera, davon 9 Frauen* (24%). Was jetzt klingt wie eine Männersendung "Patriachat Reprodzuieren: Folge 5327" entpuppt sich aber als Produktion der Reporterinnen Gudrun Kampelmüller, Julia Kovarik und Doris Plank. Ich bin enttäuscht.

  • Die Einteilung nach Frau/Mann wurde nach meiner subjektiven Wahrnehmung durchgeführt. Wir sind uns bewusst, dass die Zahlen und Zuschreibungen dadurch nie ganz genau sein können und auch nicht sein sollen.