How to Apply for a PhD in US in 5 Steps

Many Sri Lankan students struggle to find quality sources of information on higher studies except for those who are lucky extremely enough to have the right connections. This guide will help you learn about graduate study opportunities and how to discover them.  First of all, I should mention about US-Sri Lanka Fulbright Commission. They offer wide…

SSL Certificate to Apache2 Server

If you don’t know anything about SSL (Secure Sockets Layer), it’s the standard security protocol to establish an encrypted link between a server and a web browser. The link ensures that all communications are private and that hackers cannot snoop traffic. By following this guide you will learn what an SSL certificate is and how…

Why You Need Conda to Manage Environments

Are you are confused by the many ways of creating environments in Python?Do you have to use Conda due to restrictions on the machine you’re working?This article explains as to why you need Conda. Learn what Conda is and how to use it without wasting your time. I came across Conda when I was working on a…

Dinero IV Trace Generator using Javascript

It’s quite surprising that around the time when this blog post was written, I couldn’t find a Dinero IV Trace Generator online. Dinero IV is a cache simulator software that had been developed around 20 years ago. To generate traces, you just have to do simple bit manipulations. Ironically, today, our modern browsers have the…

Branch Count using Intel Pin Tool

Having read this blog post you will be able to create your own tool to count the number of branches. You will also be able to learn the  fundamentals that you would need to do any program analysis using the Intel Pin Tool. The following guide assumes that you have set-up the pin tool using…

Intel Pin Tool; Setting up in 5 easy steps

This is the beginning of the Intel Pin Tool Series. Most of the online resources regarding Pin Tool waste the valuable time of the reader by not getting to the point directly. I intend to present a clear blog series which will help a beginner to familiarize with the Pin Tool in no time. Having…

And the roof fell down. Yep. Here in Boston.

Before I go in to the story, let me briefly tell you the reason behind this blog. A lot of students have asked me about the PhD application process, and settling into a new city/ country to start their studies. As a Sri Lankan student I didn’t find a lot of resources and if it…

Add Matplotlib Percentage Ticks to a Histogram

Matplotlib provides an easy way of converting your yaxis to percentages. It’s just a one liner But the issue is you can’t space the yticks as you want them to be. Usually you can do this by setting yticks (ax.set_yticks). But the issue is, python converts the axis directly to percentages, only after setting the…

Adding a Heatmap Overlay Over React Native Map

React Native Map  is the go to option if you’re trying to implement a map within a react-native application. I’m certain that you’ve been devastated to find out that React Native Maps does not officially support a Heatmap overlay. However,  based on the great work of pjamrozowicz,  I have forked the react native maps (v0.21.0), and added…