Here comes a long-tough part of writing the guide for our next developers. Installing and running macOS on a virtual machine is not an easy task especially if you are running it on a laptop with less RAM (I haven’t done this task on a desktop with 32GB or more…


Recently, I have been having so much fun editing our existing README file on our Github. The README file has long been left unattended and only used for a couple of random resources for developers like “Don’t overuse count() and exists().” and “Use foreign key values directly!”. …


As I was making a whole new API and its model table to be used, here came the necessity to make A LOT of data for every single already-existing user accounts. The first thing that came up to my mind was using python manage.py shell to enter some simple scripts…


So far, I have been working on the company’s backend application(Tradir.io) without paying much attention to how I am going to help other future developers inherit the codebase. …


A while ago, I was given a huge task to implement soft deletion on several models of our app. I was going to just use the existing Django package that automatically handles soft deletion, but since my co-worker already made his own soft deletion for one model in the app…


You want to combine many small strings together into a larger string. Usually, + works well enough for small operations.

>>> a = 'Is Chicago'
>>> b = 'Not Chicago?'
>>> a + ' ' + b
'Is Chicago Not Chicago?'

However, when you have many strings to join, using…


Let’s say you need to use a reduction function like sum() or min() in order to get calculate the sum of squares. A good way to do this would be to use a generator-expression argument for data reduction and transformation.

You would do something like this:

nums = [1, 2…

This morning, I have decided that I will procrastinate learning PyTest because it’s projected to take a very long time — the pdf manual of PyTest alone is 400 pages and I also have to read PyTest-Django package manual and DRF’s own testing modules manuals. My boss told me I…


Since last Tuesday, I have started working at a new company: Tradir. Tradir is the company responsible for tradir.io, which is a collaboration web app for international trade. Leaving behind the previous project (brought to you by Hodosoft) was no easy process but the challenges at Tradir are much more…


There is a really bad habit of mine that has stalled me from becoming a good learner/developer — and that is a tutorial hell. …

Nicholas An

Backend Server Developer in South Korea

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store