Code Reading Calculate Wbnb per Token

Code Reading: Calculate WBNB per Token

Given a token, how do calculate its value against WBNB?

Someone already solved this for us, but let us try to understand what the code is actually doing.

Read more

Speed Up Ruby on Rails Development Environment

There will be a time when your Rails development environment started to become very slow due to multiple reasons, but mostly because your codebase is very big and the monolith architecture is just too sweet for you to pass on.

Read more

Exporting data from RDS to S3 using AWS Glue

Overview

Why would we even want to do this? Just imagine if you have data that are infrequently accessed. Keeping it in your RDS might costs you more than it should. Besides, having big table is gonna cause you a bigger headache with your database maintenance (indexing, auto vacuum, etc).

Read more

Order Update with Two-Step Payment

I was asked about this from my latest job application. Didn’t realize it’s going to be this long so I thought I should share it publicly, easier for me to show it to the next interviewer. The exact question was:

Read more