-
Python’s StringIO module
If you have primarily used Python for web backend development (Django/Flask, etc.), there are some aspects of Python you might not have needed, but are useful when working with data. One such is the StringIO class: StringIO creates an in-memory file-like object that you can read from and write to, just like you would with…
-
Chip Fabrication in India: Tata Electronics’ $14 Billion Investment
After years of unsuccessful attempts by various players to establish semiconductor fabrication in India, it seems the tide is finally turning: Tata Electronics Private Limited (est. 2020) has started investments in four manufacturing facilities spread across India. There’s also the China + 1 strategy at play here, where countries are trying to reduce dependence on…
-
Air Conditioner (AC) Buying Checklist
I was looking for a new AC for home recently and most online articles, which I checked, mentioned things like, “measure your room size”, “Decide Window vs Split AC”, “check energy star rating” etc. These are the things which I knew already; I needed other advanced parameters on which to base my decision. So here’s…
-
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…
-
India’s New Education Policy (NEP 2020) — Key Points
(Cross-post from schooldesk.io) A New Education Policy (NEP) for India was approved by the Union Cabinet on 29 July 2020. The policy is forward-looking, inclusive, the right amount of idealistic, and very much doable. There are big changes to the current system in this policy and these are being received very positively by most people,…
-
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: