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.Continue reading Encoding Bangla (Unicode) SMS for SSLWireless in Python
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.Continue reading BSc in Computer Science Distance Learning at UoL: Why I chose it
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
A. Thus, it was copied to the server from a backup first. Even before the
default file, as it starts with
D. So, for a brief period, you saw my site. Till that default got copied over.
I didn’t hack you.
Please contact your hosting provider.
I made use of publicly available data from the Directorate General of Health Services to get a picture
Data Source: http://facilityregistry.dghs.gov.bdContinue reading Visualizing and Understanding Grassroots Healthcare in Bangladesh
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.
I found myself the problem of counting the occurrence of specific “days of the week” between two dates; for, of course, generating features for a predictive analysis task. For example, the number of Fridays and Saturdays between 2019-01-01 and 2019-01-15. And thankfully, good old PostgreSQL came to the rescue!Continue reading Counting Weekends between Two Dates in PostgreSQL
Transferring your credits from North South University might seem like a huge bureaucratic mess. But it is not. This post will guide you through the process of collecting the necessary papers for the process.Continue reading Collecting Documents for Transferring from NSU
Grameenphone quietly rolled out its 013 series of numbers and it wrecked everything. No web service, including Google is working with this 013 series of numbers. Its time for developers to fix this mess and update every validation logic you may have for validating mobile numbers or MSISDNs.
I enlisted a few RegExps for de-terrorizing you, even if a bit.
Enough reading, update your RegExps now!
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.
We all use HTTP, develop for HTTP and think that we know HTTP. But, I believe as engineers we should never take things for granted; rather we should dissect everything that comes before us, recursively as many times as possible. So, let’s keep applying this principle for HTTP. Continue reading Learn you some HTTP for fun and glory