• +43 660 1453541
  • contact@germaniumhq.com

Blog

Essential Windows Subsystem for Linux (WSL) Settings

As an alternative to cygwin, I'm using more and more the Windows Subsystem for Linux (WSL). Unfortunately when trying to use it, esp. if coming from cygwin you'll need to consider the filesystem permissions, and how the drives are mounted so docker plays well when doing volume mounts. Here's how:


Read more

Why I Still Do Non Pythonic Checks

Sometimes things in life are simple. Python in particular allows checking if iterables or strings are empty, and if values are False, with just the not operator. Sometimes life is not that simple :).


Read more

Venv, a Better Virtualenv

If you like me like to create virtual environments for everything, then you'll already sold on the idea of virtualenvs. The good news is that since Python 3.3 there's a new module part of standard python: venv.


Read more

Moving to Vundle From Pathogen in Vim

Since 2014 I was using Pathogen to manage my Vim plugins. This Tuesday (19th of March, 2019), after a lot of deliberation I finally moved to Vundle. I couldn't be happier.


Read more

Writing Better With Vim

How are we to write better quality texts, faster? The spectrum of assistant programs that aid us in writing texts has increased dramatically. From Word itself that has an outstanding grammar checker bundled in, to grammarly, or more into the command line tools diction and vim, the choices seem endless. Since my focus is using the same writing tool for everything, I settled on Vim, and I use only 2 settings.


Read more

How to Type Keys Using Germanium

One of the most common interactions in browsers is writing keys. Germanium has a trivially simple API to type keys, that includes shortcut handling, and special keys such as . Here's how:


Read more

The Best Programming Language

Roughly 10 years ago, there used to be a time when I really believed Java was the answer to almost everything. JSF2 was just appearing, and the component model they had was amazing. GWT was out in full swing, with the plan to conquer the world. EJB3 were the next big thing. Ten years later it is all dust. Sic transit gloria mundi.


Read more

Creating Replacement Shell Scripts in Python II

So in the yesterday's article I ranted on why shell scripting in general, with bash in particular is terrible. But there's a reason why we write shell scripts, namely that we're in the same domain of the commands that we know. Here's how to use the same knowledge in the python scripts:


Read more

Replacing Shell Scripts With Python I

I have a love hate relationship with Bash. On one hand, I have a lot of scripts still running on it. On the other hand, almost all of them were started before I consciously decided that for most things I'll switch to Python. Here are 5 problems that I see with Shell programming:


Read more

More Is Less in Tests

After the article from yesterday where we got to see some code where code duplication actually improved the tests, we'll look at something similar today, but this time in unit tests, and why I'm not a big fan generally speaking of test parametrization.


Read more