What exactly is “clean code”? While there are many definitions out there, the most popular one that most people agree on is that “Clean code is code that is easy to understand and easy to change or maintain.”
As code is more often read than written, constantly reminding ourselves to practice writing clean code is crucial in our career.
In this article, I am going to share with you some of the learnings that I have gathered over the years while also giving some examples in Python. With that said, these principles should generally apply to most programming languages.
While there a lot of awesome tutorials available out there for one to learn to become a better Django developer, most of them are geared towards beginners.
In this article, I am going to share with you some intermediate tips to make you a better Django developer while providing you with actionable steps or resources that I’m finding incredibly helpful along my Django learning journey.
So, what do “no-code” or “low-code” mean? In essence, they mean building software or applications by writing little to no amount of code. Before this, applications are traditionally built by developers or programmers writing code where coding is a difficult skill to master.
Not going to lie…
As a software developer myself, I was skeptical about no-code tools. We often pride ourselves in writing beautiful code to build complex, highly usable, and feasible products, and using no-code tools felt wrong somehow.
Every developer has a toolset which we will use while coding. These are tools that we live and breathe with at our jobs daily, and chances are, we can’t work effectively without them.
For the most part, everyone has their favorite code editor like Vim, Sublime Text, Atom, VSCode, etc., I am not going to bring those up. Also, using Git is indisputable and I believe we are all on the same page.
This article will share some of my favorite tools that I use as a back-end developer. …
While bootstrapping a side project, I wanted to get things out to the public as quickly as possible. Being a backend developer myself with relatively bad CSS skills, I came across PyWebIO (an alternative to Steamlit and anvil) on Hackernews.
PyWebIO is a Python library that provides a series of imperative functions to obtain user input and output on the browser. The input function of PyWebIO is blocking, and the output function will output content to the user in real-time. (documentation)
By default, PyWebIO uses WebSocket protocol for server-browser communication. …
Running Scrapy spiders in your local machine can be very convenient during the early stage of development, but we would eventually need to deploy and run our spiders in the cloud periodically.
In search of free options for running periodic crawling jobs, I have come across a few options available in the market such as Zyte Scrapy Cloud where you can easily deploy, run and scale your web crawlers. However, if you intend to multiple spiders periodically, you would have to start paying.
By the end of this article, you should be able to deploy your Scrapy project and schedule…
While there are a handful of Python Scrapy tutorials out there, I find that most of the tutorials do not cover these low-hanging fruits that can greatly improve the developer experience of web scraping.
In this post, I will be sharing with you some quick and easy tips that you can use when working with Scrapy which will greatly benefit you as a developer while some tricks here can even help to minimize the load to the websites that you want to scrape from.
Today, with the help of numerous open-sourced tools, libraries, frameworks, and many more web scraping solutions, web scraping can seem easier than ever.
While that is true, it can be foolish for someone to not expect any challenges while trying to scrape data from the web. For those who are wondering —
“Why scrape the web”?
Gathering data is incredibly crucial in today’s world. Through web scraping, businesses can gain competitive advantages such as:
If you are looking to start your web scraping journey with Scrapy, I would highly recommend you to…
Selling “covered calls” has been one of my go-to strategies when it comes to options trading as one can collect premium on top of appreciating stock price that you have already own.
In this article, I am going to explain to you what is a “covered call” (CC) and the reasons why it’s one of my favorite strategies to generate extra income on top of the shares that I have already owned.
Before we begin, this article requires you to understand the basics of options. …
Here’s a quick summary — I started writing on Medium in August 2019 and really started committing to writing an article every week since March 2020. Though I am a software engineer by profession, I focus on writing on these 3 topics:
While I’m not particularly sure about what’s a good number on Medium is, but a 10,000 monthly view without posting on any social media platforms makes me pretty happy.
So, back to the question, how much did I earn from a year of writing?
Here’s the answer — $67.46 in my first year…
A software engineer, writer, and FI/RE advocate. I enjoy explaining things to people and talking about software engineering, finance, and investing. 👋