String quotes in PEP8

I use PEP8 in my Python projects except for a few rules. I think ‘single-quote’ and “double-quote” characters should NOT be the same. It could be better if these two characters had different counterparts in the Python language parser system. So we could use one of them for the template-strings (or f-strings). It doesn’t provide readability, causes inconsistency instead. Until now, I used string-quotes for the variable definitions and double-quotes for the visible texts. But now, I plan to use always double-quote as in many other programming languages.

January 12, 2019 · 1 min

Spreadsheet applications

Spreadsheet applications are the most functional applications I’ve used. Excel, Gnumeric, Google Sheet, OpenOffice Calc or whatever, it doesn’t matter. You can use it as task management like Trello, make daily - weekly - monthly plans, store and transfer data, and follow your financial situation. It’s like a Swiss army knife and not a new invention. I’ll update this article when I find a more functional application.

January 2, 2019 · 1 min

How do I publish my articles?

With just a command: # terminal $ ENV=PROD ./do.sh deploy I have many projects using my script named DOSH and the parameters are mostly in common; deploy, start, stop, runtests, etc. It can be a .NET Core or a Django project, or just a website using any static site generator like this one but I run all the projects with the same command: dosh start. In Windows, the command may be a bit longer than in the other operating systems. So it’s a good idea to shorten the command using some aliases, the default environment is DEV: ...

December 30, 2018 · 4 min

Important Windows Environment Variables

PowerShell and Git encoding problems To make git log command output properly display on Windows, we need to set a variable named LC_ALL: LC_ALL="C.UTF-8" Incorrect home folder in Emacs This problem is not only about Emacs. If you try to find a file from HOME variable, you may need to define the variable first: HOME="%USERPROFILE%" ;; place all backup files in one directory (setq backup-directory-alist `((".*" . ,temporary-file-directory))) (setq auto-save-file-name-transforms `((".*" ,temporary-file-directory t))) (setq default-directory (concat (getenv "HOME") "/Workspace")) More.. Take a look at the other posts about my Windows development environment.

December 25, 2018 · 1 min