Posts

Web Sockets: Revolution in Real-Time Communication

Image
Sending a message and getting an instant response without even refreshing the page is something we take for granted. But in the past, enabling real-time functionality was a real challenge for developers. Finally, the developers' community found a solution for building truly real-time apps: Web sockets. Before they came along, the “real-time” web existed, but it was difficult to achieve, typically slower, and was delivered by hacking existing web technologies that were not designed for real-time applications. So,  this article is all about building a deeper understanding of how WebSockets operate and what’s actually going on under the hood of applications using WebSockets. HOW WEB SOCKETS WORK? WebSockets provide a persistent connection between a client and server that both parties can use to start sending data at any time. (A quick review: the client is the application on a user’s computer, and the server is the remote computer that hosts the website and linked data). The client-se...

If I were a Wizard…

Image
Have you ever wondered what would you do if you activate the magic powers or if the genie grants you the three wishes? Of-course, you have. Each one of us did, maybe while watching a science fiction like Inception or dreaming about receiving a letter from Hogwarts or from the artwork of Sanju’s pencil in the ‘Shaka Laka Boom Boom’ show. (just trying to cover all sorts of audience) Well, the following article isn’t about achieving any of the above mentioned things(yeah I know you know that) but I’ll talk about the thrust experience, a feeling which is nothing less than the magic powers. You’ll have to wait a little longer for the secret to reveal and I hope it won’t disappoint you (especially the geeks out there) because the feelings are very real and maybe mutual to many of you. Let’s begin the journey: So, what got me started?? The answer is: Curiosity. Curiosity, to understand how is everything happening around us? How have we come so far in just a span of few years, in just a click ...

How To Create Virtual Environments For Your Python Projects

Image
Have you ever heard of virtual environments? If you are a beginner, then you might not have heard of them, but if you are an experienced Python developer, then they must be a part and parcel of your life. Creating a separate virtual environment for each of your Python projects is a good practice for it prevents various dependency and compatibility issues and keeps your main system clean. The main purpose of Python virtual environments is to create an isolated environment for each of your projects. For example, if you want to use an older version of a library or module in one project and the recent version in another, then you can conveniently create separate virtual environments for each of these projects.  In this blog post, I'll cover how you can easily create and use a virtual environment using virtualenv in 9 easy to follow steps . 1. Install virtualenv In order to install it just type the following command in the shell.  pip install virtualenv 2. Test y...

How to Get Started with Git

Image
If you are from the software industry or are planning to set your foot there, you must have stumbled upon the terms Git and GitHub at some point in your life. These tools are indispensable if you want to work on collaborative projects efficiently. So, keep reading if you're ready to be a Git master. Git...Sit...Go...  In this blog post, you'd get to know about: Why Use Git? Download and Installation Quick overview of Git operations Branching and Merging Important Git Commands Why use Git? First of all, what in the world is Git? Why should we bother learning about it?   Git is a free and open-source distributed version control system, for tracking changes in the source code during software development. Every contributor of the project can have a working copy of the code and complete change history on their local machines. Some of the most commendable features that Git provides are: Cheap local branching Convenient staging areas Multiple workflows This m...