Category Archives: Programming

Rooting OnePlus2 using Ubuntu.

Before you get started, let me tell you that rooting is a simple 15 mins process but it can make your life very difficult if you don’t know what you are doing so be very very careful. I did it successfully using my ubuntu 16.04 machine. This is a very brief guide to what  I did. 

Hi everyone,

So 2 days back I decided to root my oneplus 2. My phone is now 10 months old and OnePlus has some rooting friendly policies, click here for more info regarding OnePlus policies.

What was my motivation behind rooting my phone? Continue reading

Fastest way to get started with OpenDaylight

What is OpenDaylight?

As per wikipedia:

The OpenDaylight Project is a collaborative open source project hosted by The Linux Foundation. The goal of the project is to accelerate the adoption of software-defined networking (SDN) and create a solid foundation for Network Functions Virtualization (NFV). The software is written in Java.

Sometimes installation of these tools can get a little difficult since they are not very well documented.

Easiest way to getting started with OpenDaylight Continue reading

Getting started with OpenVSwitch

There are different blogs available online which talk about how to get started with openvswitch but they don’t tell you much about the technicalities. They just give you a whole bunch of commands and somehow all of it works but if the scenario is changed a little then nothing works out. So here’s my attempt to clarify things a little more.

Here’s what I am trying to do  :

  1. Install OpenVSwitch on my system.
  2. Create 2-3 Virtual Machines and connect them directly to the network which host is a part of. That means my VM will become part of the actual Network and can be reached by any system on my LAN.

Continue reading

Switch vs Router : They are not the same.

I have seen people using terms “Switch” and  “Router” interchangeably. But please note that they are completely different.

Switch is used to create a network whereas Router is used to link different networks.  They might look similar in appearance but they are different.

I will not explain the difference in terms of layers because that gets confusing and you have to have a good understanding of network layers for that. But to simplify things: Continue reading

Why is Python so popular despite being slow?

I came across an amazing answer for this by Alec Cawley on Quora.

What does it matter if a program runs in 100 msec instead of 1 msec, if only run it a hundred times? If it takes me 10 minutes to develop instead of 60 minutes, I have gained 3000 seconds and lost 10. Isn’t that the right way round?

The only reason for computers is to help us. By running an easy-to-write language, they help us. You need to prove the necessity for a hard-to-write language. There are such proofs – many applications really need performance.  But for the many that do not, Python is an excellent language.

Originally Answered: Why is Python in demand when it is slower than other languages?