Categories
Uncategorized

Applying for a Bangladesh Tourist Visa 🇧🇩 in Singapore

For a Bangladesh Tourist Visa, you need to fill up a Visa Application Form and have a copy of your ID photo, your air tickets (with return flight), and documents to support your purpose of travel. S$29 would be charged for a Single-visit visa.

Categories
Uncategorized

Hasura JWKS: JWT w/ Multiple Auth0 tenants

TL;DR – By default, Hasura does not accept multiple JWKS URLs. Thus, write a lambda or a simple HTTP API to combine the JWKS keys of multiple tenants into a single JWKS endpoint. (Bonus: Buggy Auth0 fingerprint implementation)

Categories
Uncategorized

I reverse-engineered TraceTogether, for the “right reasons”

When TraceTogether was rolled out in Singapore, I geeked out with the BlueTrace Protocol and the basics of how it worked. However, with my experience of volunteering for the migrant population, I knew that we needed translations, badly. We needed translations if we wanted to an effective deployment of TraceTogether in the vulnerable population. With […]

Categories
Uncategorized

GovTech SafeEntry and TraceTogether Posters in Bengali (Bangla)

Seen those SafeEntry posters in Singapore, with instructions to “log in” to your neighborhood 7-Eleven? I have translated those into Bengali (Bangla) ahead of the reopening of Singapore, from the circuit breaker. These have been translated in the hope of protecting our migrant workers and the community amidst the uncertainty.

Categories
Uncategorized

Encoding Bangla (Unicode) SMS for SSLWireless in Python

If you are wondering why you cannot send Bengali text encoded in Unicode properly through the SSLWireless Push API in Python, well you are not alone. The solution is, encoding your UTF-8 text into UTF-16 (Big Endian) and then taking the hexadecimal value of it, transformed into uppercase.

Categories
Uncategorized

BSc in Computer Science Distance Learning at UoL: Why I chose it

I am a self-taught Software Engineer working in the industry for about 5 years. However, formal tertiary education has always been on my radar. This blog post describes my story, and why I chose a distance learning programme instead of an on-campus offering.

Categories
Uncategorized

I didn’t “Hack” Your Site

If you are seeing my website instead of the one you’re supposed to see, this post is for you. I sharing a hosting server with several hundreds of people. That server had a hardware failure, and backups are being restored as I speak. Why are you seeing my site? My Domain starts with the letter […]

Categories
Uncategorized

Categorical and Numeric Data in Scikit-Learn Pipelines

I always tend to organize every aspect of my experiments with organizers as useful as Pipeline. However, one shouldn’t be passing continuous variables into a OneHotEncoder or vice versa for Scalers. The solution is, split your data, treat them in separate pipelines before merging them together again. Inspired by Scikit Learn Examples.

Categories
Uncategorized

Counting Weekends between Two Dates in PostgreSQL

I found myself the problem of counting the occurrence of specific “days of the week” between two dates. And thankfully, good old PostgreSQL came to the rescue!

Categories
Uncategorized

Flask-like “global” request context in Sanic (asyncio)

Although something like Flask’s globally accessible request object is considered a terrible way of writing code (explicit is better than implicit), sometimes it makes sense to use it. For example, while passing a Correlation-ID to track a request’s life cycle through your micro-services.