Category: Software Development
-
Why is Kubernetes also called k8s
Kubernetes is abbreviated as “K8s” to shorten it’s length. There are 8 characters in “Kubernetes” between the first letter “K” and the last letter “s”. There are a few other places in the software industry where you might have noticed this style of abbreviation: I saw it first in “i18n” for “internationalization” (from where it…
-
PostgreSQL or Postgres?
I usually use “Postgres” when speaking to other developers and PostgreSQL in documents when I can use the capitalised “SQL” for emphasis. Here’s how the PostgreSQL name came up: PostgreSQL evolved from the Ingres project at the University of California, Berkeley. In 1982, the leader of the Ingres team, Michael Stonebraker, left Berkeley to make a proprietary version…
-
Signal App’s awkward copy-paste gesture
The “Copy message” button in the Signal App on iPhone doesn’t show up when you long press the text (on the pop-up ribbon like other messaging apps). The copy icon is placed in the bottom Tab Bar. That seems like an awkward UX error for such a mature app! Or is it just me wondering…
-
Reading and Writing Excel (xlsx) files with Python
Jan 2021 Update For Writing: use xlsxwriter (don’t use xlwt, it doesn’t support xlsx format.)For Reading: use openpyxl (xlrd removed the support for xlsx in Dec 2020 due to security concerns.)
-
Setting up Django on Windows IIS Server
This post is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
-
Why, When, and How to use Celery with Python
“Celery is an asynchronous task queue based on distributed message passing.” Let’s break that down:
-
Setting up a Python Virtual Environment for Web Development
Virtual Environments are helpful in keeping all the dependencies (packages), required for a Python project, in one place. So you can avoid issues with conflicting dependencies when working on different projects simultaneously. For instance, one major use case is when you want to run different Python versions like 2.7, 3.5, and 3.6 on the same…
-
Django’s Request-Response Cycle
Understanding the Request-Response Cycle is a crucial step in setting up for any WebServer. An example of the request-response cycle is when you “request” a web page by entering a URL in your browser and a web server sends a web page as ‘response’ to your browser. Of course, there’re usually several HTTP requests that…
-
Git — Getting Started
Using Git is simple and so I’m keeping this very short. 1. Github.com is not git 2. You only need to learn these six commands to get started: add commit push pull clone status 3. push is akin to uploading your files to the server (for safe-keeping). Before pushing you’ve to write a comment about…