New Blog Post

Pipenv Easter Egg

I’ve found this little easter egg hidden in pipenv: if not environments.PIPENV_HIDE_EMOJIS: now = time.localtime() # Halloween easter-egg. if ((now.tm_mon == 10) and (now.tm_mday == 30)) or ( (now.tm_mon == 10) and (now.tm_mday == 31) ): INSTALL_LABEL = “🎃 ” # Christmas easter-egg. elif ((now.tm_mon == 12) and (now.tm_mday == 24)) or ( (now.tm_mon ==…

How to fix android.view.InflateException: Error inflating class fragment

I got the error E/AndroidRuntime: FATAL EXCEPTION: main Process: de.creatronix.levelup, PID: 17026 java.lang.RuntimeException: Unable to start activity ComponentInfo{de.creatronix.levelup/de.creatronix.levelup.MainActivity}: android.view.InflateException: Binary XML file line #18: Error inflating class fragment after enabling minification in my build. The issue is that with the usage of safeargs with custom objects we use the the @parcelize annotation which seems to…

What is python pbr?

In Distributing your own package on PyPi I’ve talked about setuptools and twine to upload a package to the Python Package Index. PBR is a nice little add-on to simplify the setup and the deplyoment of your packages.