Programming

My first experience with programming was a small gallery with PHP, which loaded all images in a folder on my website. Many years later, I studied computer science and now I work as a software developer. Sometimes, I stumble across interesting problems – and then I will write a little post about it.

27. August 2022

Share MySQL via Dropbox

a sort of tutorial

I’m working on a application called "photo enhancer". Because I have two computers, I shared the SQLite database through Dropbox. As number of pictures stored in the DB grew, I needed a better database and switched to MySQL. In this post, I want to share my solution of how to setup your MySQL to be shared through Dropbox.

21. May 2021

Fast Python by Chris Conlan

Book Review

I wrote a small review of this great and well written Python book "Fast Python - master the basics to write faster code" by Chris Conlan.

I really enjoyed reading it and learned a few thinks while during it. Therefore, I recommend it to anyone who is interested in this topic.

11. August 2020

dict() versus {}

Python provides two different ways to create a dictionary: dict() and {}.

I prefer dict() when creating empty dictionaries to improve readability.

 

In this post, I want to check the performance across different usages and not only initialization.

27. July 2020

Performance of

all() and any()

The built-in functions all() and any()are nice and if the comparison is small, they are easy understandable. But how do they perform? Should we use them at all if our code needs to be fast?

 

Let me share my findings when I did some performance tests.