Roll a Dice on a Quantum Computer

When I say “Roll a Dice on a Quantum Computer”, technically there is no dice and it’s not entirely a click bait. I’m going to simulate and verify the probability of an 8 sided fair dice. Why would I want to waste resources to do such a simple task. Well, a simple answer. There is…

Parallel Merge Sort with Pthreads

Most of the implementations in the web for parallel merge sort do not consider how elements are divided between threads, if the total number of elements is not perfectly divisible by the number of threads. Also, the final merge (having joined all threads) should happen in a recursive manner. But first, let’s go through a…

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…

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…

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…