Benchmarking Go, Crystal, Python and JavaScript

Benford’s Law After watching a Netflix documentary about Benford’s Law, i got really interested in it because it can help detect fraud in e.g. balance sheets. So i searched my favorite programming languages and detected that there is no npm Package for checking Benford’s Law. Sooo … Long story short: I created nearly identical libraries for doing a Benford’s Law check in JavaScript, Go and Crystal. My inspiration was from a Python library - so the algorithm of these libraries is nearly identical.
Read more →

Switching to Hugo

Moving to Hugo I started this blog as my first blog using a static website generator. Back then i used what everyone else was using: Jekyll. But Jekyll has it problems. I don’t use Ruby for anything else and the management of the dependencies / ruby versions / etc of my static blog was too much for me. I blog way more often in german on my other WordPress sites and one of the main reasons is that it is easier and Jekyll wasn’t as easy as i expected.
Read more →

Forget Bash, take Python!

I wrote bash scripts for several years now. You can find old bash scripts of mine on GitHub but most of them aren’t maintained anymore - and i have a reason for that. But before i give you my reasons for not using many bash scripts anymore, lets look at the benefits of bash: It super easy and you basically already can it if you write Linux / BSD commands There are frameworks out now which give you advanced features like testing It works out of the box on nearly every Linux / BSD system Okay - sounds good - so whats my problem?
Read more →

Gitea Auto Update Script

I’m a gitea user for a long time now. Gitea is a nice application to build your own light and fast version of git hosting services like GitHub or GitLab. Gitea has one problem thought. It doesn’t update automatically. A issue for that is open nearly 2 years: https://github.com/go-gitea/gitea/issues/518#issuecomment-441742904 If there is one thing that i really hate, it is that a security sensible web application doesn’t update automatically. Because of that i have begun to write a update script for gitea before 4 months.
Read more →

FreeBSD: nvidia-driver installation

After installing FreeBSD to my workstation, i wanted a desktop environment. I’ve installed gnome3 after reading the official documentation https://www.freebsd.org/doc/handbook/x11-wm.html. But nothing has worked. So, i installed the nvidia-driver for my two GPUs. The first documentation i’ve found is from “7.3-RELEASE”: https://docs.freebsd.org/doc/7.3-RELEASE/usr/share/doc/en/articles/compiz-fusion/nvidia-setup.html. (I use 11.1-RELEASE) Don’t use that documentation to make your settings in /boot/loader.conf! There stands: nvidia_load="YES" And that’s simply not right for the newest driver! You should enter the following line:
Read more →