Part of me wants to write about all the [horror]( and [glory]( there is to be seen in package management, but quite frankly it'll take too long. Instead, I will just leave you with a tiny piece of advice. Here comes. If you are on Windows and you want to install a *legitimate* Python package (like for example [PyCryptodome](, because naturally you are **fully aware** that [PyCrypto is dead](, which in reality is a bottomless pit, at the center of which there is a C library, straight from hell - then maybe get the [Microsoft Compiler for Python]( instead of, who knows, wasting hours or even days looking for a less reasonable solution. Credit, as so very often, [goes to stackoverflow](

I have a [problem with my Nokia 3]( and decided to try the [Nokia customer support]( while doing some [recreational math](, that's what a great Saturday is to me. Don't judge. During the conversation, I grew very suspicious that I was talking to a chat bot. This was the first time for me hearing about chat robots being deployed in support by a [respectable company like Nokia](, so I decided to make sure I wasn't being paranoid. Time for a Turing test! I guess you can never really know, but I am quite convinced they lie to me and are actually robots. You can try it yourself, just go to [their support site]( and start a chat. Would you like to know more?

My lamenting will be about the overall way in which device encryption is implemented in Android. This is mostly a collection of links where you can find out more about how it ~~worked across the recent versions~~ all went south. This article strictly expresses my own, badly informed opinion and you should check all the provided references carefully before forming your own. read();

We decided to use the javascript markdown engine [showdown]( for the blawg, and [$\KaTeX$]( for rendering latex. If you think that's a good way to go: Here is how to do it with wordpress.

We have updated the layout, also the posts are now markdown-rendered on the client side. Oh, and we switched to [$\KaTeX$]( for math rendering. Since this breaks compatibility with the old hairball of plugins we had, it will take some time before all the old entries are fixed, but we are working on it.

My Windows desktop computer is set to turn the screen off after one minute of inactivity. It's usually a good idea. Except when I am reading something on screen. Then it is terribly annoying. Most media players can prevent Windows from turning off the screen by calling [SetThreadExecutionState]( Well. So can I:
import ctypes
input('screen stays on. press any key to exit.')
Pretty neat, huh? Python really can do all things.

Es [gibt einige Probleme, im WiFi der Deutschen Bahn im ICE ein VPN zu verwenden](, und das ist natürlich ein Problem, weil es sich dabei um ein offenes und unverschlüsseltes Netz handelt. Die Bahn erklärt das Problem dadurch, dass Mobilfunk aktuell nur Pakete durch lässt, die maximal 1500 Byte groß sind. Da noch Platz für deren Header bleiben muss, sollte man die MTU auf 1440 setzen. Unter Windows macht man das wie folgt: Click!

I have started to [learn]( [rust](, and I am enjoying myself. This is a merge and update on the two fantastic blog posts on [how to setup Visual Studio Code for Rust]( and [how to enable debugging]( In my personal opinion, from among [all the available IDE solutions for rust](, this is the best. Do you want to know more?

Ich habe1 nach etwa einer Stunde die Suche nach einer LaTeX Vorlage für Übungsscheine erfolglos abgebrochen und eine eigene entworfen. Um dem einen oder anderen wissenschaftlichen Mitarbeiter das Leben zu erleichtern ist hier das Ergebnis meiner Mühen. Das ist jetzt natürlich auf die TU Berlin zugeschnitten und verwendet deswegen auch das offizielle TU Berlin Logo, aber es sollte keine große Schwierigkeit darstellen, es an die eigenen Bedürfnisse anzupassen. Die Verwendung sollte recht selbsterklärend sein. Es druckt pro DIN-A4 Seite zwei Übungsscheine. Wenn die Seite exakt in der Mitte geteilt wird, sollten die Seitenränder passen und in etwa 7mm betragen. In meinen Tests ist das Ergebnis jedenfalls passabel und muss abgesehen vom Trennschnit auf A5 nicht weiter zugeschnitten werden.
  1. This post is in German and I am not sure if this is even internationally relevant. []

I recently noticed that RdrCEF.exe was clocking close to all of my CPU cycles. This is a cloud service built into Adobe Reader DC, which [constantly sends all kinds of information to Amazon]( Leaving all the privacy concerns aside, my computer became inoperable by opening a PDF document. Okay, here's how you fix this. * Download the [Adobe Wizard](, most likely [the version for Adobe DC]( * Put on your robe and your wizard hat. * Get yourself your preferred [Adobe DC Installer](, and **make sure it's the MSI version**. * Use the Wizard to open the MSI and do this: [![Adobe Wizard Removes Cloud Services](/wp-content/uploads/2016/09/wizard-300x213.png)](/wp-content/uploads/2016/09/wizard.png) * Save the MSI and install your new AdobeDC. Of course, feel free to customize your AdobeDC installer in any other way.

So unless you know and use [git annex](, this is not going to be very useful for you. Check it out, though. It's pretty cool. Unless you are on Windows. In that case it's hell. Anyway, I wrote a script to help me figure out the output of [git annex unused]( In short, it tells you what those files used to be called before you lost them. Script:
import re, sys, os
from subprocess import Popen,PIPE
FNULL = open(os.devnull, 'w')

def seeker(s):
  process = Popen(["git", "log", "--stat", "-S", s], stderr=FNULL, stdout=PIPE)
  log ="utf-8")
  match ="(([ -~]*\/)*[ -~]*)\|", log)
  if not match: return ''
  else: return

if len(sys.argv)>1:
  print( seeker(sys.argv[1]) )
  clist = []
  while True:
    crawl = input().strip()
    if not crawl: break
    crawl = crawl.split()
  for x in clist:
    print('%s : %s' % ( x[0], seeker(x[1]) ) )
You can either call it with one argument which should be a key, or if you call it with no argument, it expects you to paste the list of results you got from git annex unused into stdin. It then goes through the list and tells you the corresponding filename for each key. This script is phenomenally stupid in that it does quite a terrible regular expression search on the output of git log and returns the first match it finds. Sue me, it works pretty well at my end.

The color that [PuTTY]( uses for blue is simply too dark. The scrollback buffer, by default, is 200 lines. That's ridiculous, I have several gigabytes of RAM going to waste here. In case you have a lot of stored sessions, it's quite tiresome to use PuTTY to go through all of them and fix whatever settings you would like to change. You can edit them directly in the registry, though - or use this Python 3 script!
from winreg import OpenKey, EnumKey, QueryValueEx, SetValueEx, \

class callrange:       
    def __init__(self, call_function): = call_function
    def __getitem__(self,index):
        try: return
        except OSError: raise IndexError

with OpenKey(HKCU,"SOFTWARE\SimonTatham\PuTTY\Sessions") as sessions:
    for s in callrange(lambda i: EnumKey(sessions,i)):
        with OpenKey(sessions,s,access=KEY_WRITE|KEY_READ) as key:
            for name,value in [
                type = QueryValueEx(key,name)[1]
By the way, searching the tubes reveals [some useful suggestions to improve PuTTY's default settings](

Ever since I started using Windows 10, it has been creating folders called "Camera Roll" and "Saved Pictures" in the "My Pictures" folder. It was the last straw. Applications had been creating subdirectories in the "My Documents" folder for ages now. Not again. The line must be drawn here. This far, no further. And I will make them pay for what they've done! Do you want to know more?