In Part 1, we explored the “why” behind end-to-end encryption (E2EE). In Part 2, you learned to encrypt with AES—fast and safe. Part 3 brought in asymmetric encryption and digital signatures with RSA, solving the key exchange problem. Today, we combine everything: let’s build a…
In the first two parts of this series, you learned the fundamentals of end-to-end encryption and how to implement strong symmetric encryption using AES. Now, let’s tackle asymmetric encryption in Python. This post covers public/private key cryptography, secure key exchange, and digital signatures—all with hands-on…
Advanced Polars: Going Big with Lazy Evaluation and Production Workflows (Part 3 of 3)
August 4, 2025
In Part 1, I hit pandas’ limits and turned to Polars for performance. In Part 2, I detailed how I migrated my pipeline and tackled common migration hurdles. Now, in this final part, I’ll show how I use Polars for large-scale data work: leveraging lazy…
You’ve probably used Python’s type() function to debug mysterious errors or check what kind of data you’re working with. But here’s the thing: most Python developers use type() incorrectly, leading to brittle code that breaks in unexpected ways. I’ve seen production systems crash because developers…
In Part 1, we explored what end-to-end encryption is and why it matters. We also covered the basics of symmetric and asymmetric encryption. Now, we’ll focus on symmetric encryption — specifically using the AES algorithm — and implement it safely and effectively in Python. Symmetric…
In Part 1, I described how pandas reached its limit and how Polars solved my immediate performance headaches. In this part, I’ll dig into the practical steps I used to convert a real data pipeline from pandas to Polars. I’ll share what made the migration…
Here’s a fun thought experiment: imagine you’re sending a postcard through the mail, but instead of the postal workers just seeing the address, they can read your entire message, make copies, store it in their database, and share it with whoever they want. Sounds terrible,…
There I was at 2:47 AM on a Tuesday, staring at my laptop screen while my “quick data analysis” entered its fourth hour. The progress bar hadn’t moved in twenty minutes, my MacBook was making sounds that belonged in a server room, and I was…
Spreadsheets vs Python for Traders: My Journey Beyond Excel
August 1, 2025
You could say it all began back in June 1979. That’s when VisiCalc—the world’s first spreadsheet app—landed on the Apple II. Fast forward nearly forty years, and while VisiCalc is long gone, its grandchildren (hello, Excel!) are everywhere, especially in finance. I meet traders who…
Work smart with ZIP Archive in Python [Latest]
April 16, 2021
In this tutorial, we will go through ZIP archive, in brief, and cover how to work efficiently with ZipFile in python. We will be using the inbuilt python library Zipfile for this and implement some simple python scripts. What is a ZIP archive and how…

