Bitperi(Periklis Gkolias)

Productivity tips and coding for thriving people

Asyncio, the invincible

TL;DR / Intro Async programming is the new sexy when it comes to multitasking. It became famous with NodeJS but you can find libraries that support it in most major languages. For example in Python, the two most famous approaches are the usage of Tornado Web Server and the built-in library asyncio. For today we will do an introduction to the latter, as it has gone through tons of iterations and improvements lately and it is ready to charm people with its intuitive approach. Continue reading

Django by example(Antonio Mele) - book review

Disclaimer: At the time of starting to write this article, the next version of the book under review, has not been published yet. If you want to read the newest version, you can find it here Many people don’t have enough time to research for a book. I think such articles could help people, accelerate their (correct)decision. That’s why I decided to write this article. This is a quick and dense review of Django by example by Antonio Mele Continue reading

Doctests, the shy giant of testing modules

2018-05-29 Periklis Gkolias
Do you use python, even to wash your clothes? Do you find unit testing boring, but still have to do it, because you find value in automated testing? Then this article is for you. The idea I believe you have used the python console, from time to time. Lets assume you are writing a few inline functions like below, to experiment with stuff: $ python Python 3.6.4 |Anaconda custom (64-bit)| (default, Jan 16 2018, 18:10:19) [GCC 7. Continue reading

How being lazy, led me to publicize my first python package

2018-05-08 Periklis Gkolias
How being lazy, led me to publicize my first python package There is a common saying, in the software industry, which goes like: I want to hire a lazy developer because he will find the way to deal with difficult problems in the shortest and easiest manner. I wasn’t there the first time this was told, but rumors say that these words belong to Bill Gates. I don’t know if Mr Gates would ever hire me(wink wink) but I have to admit that having that kind of laziness, has led me, from time to time, to create interesting and time saving libraries/scripts/workarounds. Continue reading

Must-read books for software engineers - the alternative list

2018-04-09 Periklis Gkolias
There are tons of great books out there and a gazillion articles recommending them. The purpose of this article is not to recommend them again; I am pretty certain, that all such lists are very easy to be found with a few Google searches and no one needs me to tell him, that Code Complete is a must-read. Thus, I’m going to list some books that are not very…popular, but they are totally worth reading. Continue reading