Dihya theme

Published on Thu 03 August 2017 in Software Engineering • Tagged with bootstrap4, css3, html5, javascript, jinja2

I decided to develop a new theme for my website. As time goes on, this article will be lengthy as the work is in progress and some sections will be re-written.


Continue reading

Tkinter best practices

Published on Tue 27 June 2017 in Software Engineering • Tagged with python, tkinter

Tkinter is the standard Python interface to Tk/Tcl GUI toolkit. Programmers often wonder how to structure their tkinter program. In this article, I am going to answer to a question posted on StackOverflow which contributions drift away from some of software engineering fundamentals.


Continue reading

How to contribute to Flask

Published on Sat 13 May 2017 in Software Engineering • Tagged with flask, framework, python

I am an opensource advocate. I want to contribute to Flask microframework. So I followed the official documentation on GitHub where I stumbled on 6 issues. The problem is that the documentation itself is misleading and that can be a good starting point.


Continue reading

Introduction to Flask

Published on Mon 08 May 2017 in Software Engineering • Tagged with python, flask, framework

This articles shakes hands with Python web development. It introduces the Flask microframework. It is rather a light and soft introduction in that it tells the newbies only what they need to know at this stage. It is intentionally kept short, simple and without confusing terminology.


Continue reading

Python singleton design pattern

Published on Sat 08 April 2017 in Software Engineering • Tagged with python, design patterns

This article describes the main strategies to implement the Singleton design pattern in Python. I am going to skip the whole very subjective "use and do not use singleton" conundrum.


Continue reading

tkinter: the SaYa idiom

Published on Sun 19 March 2017 in Software Engineering • Tagged with python, tkinter

Python is a paramount programming languages. The same is to be said about user graphical interfaces. SaYa is an idiom I devised for tkinter developers to help them build less error-prone applications.


Continue reading

Python unit testing

Published on Mon 13 March 2017 in Software Engineering • Tagged with python, unittest, unit testing

Python unit testing simplified with few anti patterns to avoid.


Continue reading

Installing OpenCV 3.2.0 for Python 3.5.2 on Ubuntu 16.04.2 LTS

Published on Sun 26 February 2017 in Software Engineering • Tagged with python, opencv, ubuntu

You will learn how to install OpenCV 3.2.0 on Ubuntu 16.04.2 LTS to work with Python 3.5.2.


Continue reading

Python decorators

Published on Sat 18 February 2017 in Software Engineering • Tagged with python, decorators

What are the origins and goals of Python decorators? How to implement them and why are they useful?


Continue reading

min-dim on absolute and relative DIVs

Published on Sun 29 January 2017 in Software Engineering • Tagged with css

How min-width and min-height impact absolute and relative <div>?


Continue reading