Melvin K.

HomeBadges
Blog Author Picture

Melvin Koh

48 followers

Software Engineer | Creator of PrivateFileSaver.com | Educator | Writer | Find me on Twitter @melvinkcx2 😁

Testing Stripe Webhook Handlers

May 9, 2020

Subscribing to Stripe webhook events to be notified when payments are done? After implementing your code, it's time to make sure it works perfectly by coupling with some test cases. In this article, I'll be writing about why testing Stripe webhook ha...

Memoisation In Python - Exploring @lru_cache And Its Control Knobs

Apr 25, 2020

Memoisation is a common technique applied to reduce unnecessary repeated calculations in programming. This technique is frequently brought up as one of the dynamic programming techniques, and in articles, books aiming to help you get your first dev...

Writing Backward-Compatible Schema Migrations - How and Why?

Mar 28, 2020

Your app is running happily on its own without major glitches. What happens when business requirements changed and you are now required to update your database schema? In this article, I'll be discussing several caveats that demand our attention whe...

Understanding The Python Reduce Function With Examples

Mar 11, 2020

While there are plenty of Python libraries available for data manipulation, they can be overkill for simple data transformation. Python standard library comes with functools.reduce() function, one of the most used functions in functional programming,...

Debugging: Using PDB in Dockerized Environment

Jan 13, 2020

Docker, along with Docker Compose are the most used tools under the DevOps category, according to The State of Developer Ecosystem 2019 survey by JetBrains. Chances are if you're using Docker/Docker Compose for deployment, you'll most likely be usin...

Solving Producer/Consumer Problem of Concurrent Programming in Python

Nov 23, 2019

In "Concurrent Programming in Python is not what you think it is", I wrote about the notorious GIL in Python and did a simple experiment on existing concurrency mechanism in Python. Today, I'll describe another common scenario in concurrent programmi...

© 2021 Melvin K.

PrivacyTerms
Proudly part of