Projects & Stories

Regex lexer for pygments

photo_small I am currently writing on my thesis about malicous detection systems and started using indirectly pygments with latex. I am pretty happy with it since it supports all kind of text/code highlighting. That was why I was a bit surprised when I saw that there was nothing for plain old regular expressions. Normally I would create a pull request for such things but I am currently a bit short of time and this is far from being perfect. Still I want to s []

Rancher v2 and a story about re-deploying nodes

photo_small I tried using Rancher v2 with Kubernetes a couple of times now. Everytime I ended up with errors like network plugin is not ready: cni config uninitialized failed to start containers: kubelet transport: authentication handshake failed: remote error: tls: bad certificate crypto/rsa: verification error All this error messages can mean a lot of different things but in my case it was because I re-deployed nodes without restarting/cleaning it. Apparen []

Sidekiq 3 Memory Killer

photo_small My Sidekiq 3 installation seams to be very hungry in respect of memory. If you dig through the Net you'll find a lot of similar reports. For e.g. the unicorn web worker a memory-killer script exists which should prevent running into Madland. So I thought I take an example and do a similar thing for the sidekiq workers. If you give them time and send a graceful kill signal there shouldn't be any data-loss either. #!/bin/bash # check if script is []