Bitperi(Periklis Gkolias)

Productivity tips and coding for thriving people

Generate cooking recipes that guarantee food poisoning, with LSTM based libraries

Unless you are living in the Amazonian forest with no access to the Internet, there is literally no chance that you have not heard about the Deep Learning boom, of the last few years. Training neural networks, that can make decisions, distinguish fake images or generate fake videos, in a relatively short time is becoming the norm. It doesn’t all have to be scary though. Sometimes you can just have fun with all that power. Continue reading

The Incredible Hulk(ython): Making Python Strong(ly Typed)

Python is a wonderful dynamically typed language, but quite a few people consider this as its biggest disadvantage. But why? Even though dynamically typed languages, remove the headache of writing “mundane” type declarations and make writing more pleasant and a little bit faster, this need is just delegated to the runtime environment of the language. That means, that some bugs that could have been eliminated, almost immediately after they are introduced, they will now remain silent till the code is invoked, And you know when this is going to happen, right? 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

A Comprehensive Guide to Unit Testing with Python3

A comprehensive introduction to unit-testing and mocking with Python3 Unit testing is quickly becoming a must for all job adverts. There are a few people who don’t like Test Driven Development(TDD), but at least they agree on the value, automation testing(not only unit tests) add to the overall code quality and to the debugging process. By the time of writing, according to dice.com, TDD is enjoying increased popularity year after year. Continue reading