Distributed Systems

Creating a Port Scanner with Python Networking Sockets

This is in continuation of the first part of Python networking with sockets. In this blog post we will further learn how to use more socket API’s. We will dig deeper into what a networking port is. Then we start implementing a simple port scanner. Finally, we will enhance this port scanner further. For Part …

Creating a Port Scanner with Python Networking Sockets Read More »

[FANG KILLER ICP] Will the Internet Computer Disrupt Big Tech?

What is the Internet Computer? The Internet Computer is blockchain technology and computing infrastructure initiated by the non-profit organization DFinity. Like the public Internet, the Internet Computer is a distributed computing platform consisting of thousands of connected and decentralized servers that host backend software. This idea mitigates the increasing monopolization of Internet services and enables …

[FANG KILLER ICP] Will the Internet Computer Disrupt Big Tech? Read More »

How to Build and Host Your Python Web App for Free

Hey Finxters! Have you ever felt surrounded by developers boasting from their latest app in prod hosted in the cloud?  Or the need for making yours too but overwhelmed by the technicalities involved? Needed to set up quickly and easily a mini data science demo website without resorting to web developers? Or simply wanting to …

How to Build and Host Your Python Web App for Free Read More »

Python Celery – How to Get a Task Result Object by ID?

What is Celery? Celery allows you to scale your application by distributing processing workload among multiple worker machines or processes. Celery uses task queues as units of work. A dedicated worker process monitors those task queues and pulls new work from those if it becomes available. Clients add messages to the task queue and brokers …

Python Celery – How to Get a Task Result Object by ID? Read More »

What are the Applications of Graphs in Computer Science?

[Reading time: 9 minutes] Graphs are everywhere. They are used in social networks, the world wide web, biological networks, semantic web, product recommendation engines, mapping services, blockchains, and Bitcoin flow analyses. Furthermore, they’re used to define the flow of computation of software programs, to represent communication networks in distributed systems, and to represent data relationships …

What are the Applications of Graphs in Computer Science? Read More »

PyPubSub – Creating Your First Publish Subscribe App in Python

Did you check the news today, or receive an email newsletter from a company? Both modes of communication follow the publish-subscribe communication pattern. This article will show you how to implement your own pubsub system in Python using the flexible PyPubSub library. If you already know about the PubSub concept, feel free to move ahead …

PyPubSub – Creating Your First Publish Subscribe App in Python Read More »

Python HTML Get Parameter

Problem Formulation: How to perform an HTTP get call in Python? Solution: Use Python’s requests library. This is semantically equivalent to issuing an HTTP get call: http://example.com?param_1=value_1&param_2=value_2 In fact, you can obtain this exact URL by using the r.url attribute on the request object: You can find the text response by using the r.text attribute …

Python HTML Get Parameter Read More »

How to Send UDP Multicast in Python?

Problem Formulation: How to send and receive UDP multicast messages in Python? Background: Multicast is a distributed systems concept for group communication over a network (one-to-many or many-to-many). The choice of the network “transport layer” which the Multicast uses determines its type—for example, IP Multicast is sending a multicast over the IP layer and UDP …

How to Send UDP Multicast in Python? Read More »

How to Send UDP Messages in Python?

Problem Formulation: How to send and receive UDP messages in Python? Background: The User Datagram Protocol (UDP) network layer allows you to send messages without providing deliverability guarantees. UDP is unreliable—massages may be lost or delivered out of order. But this makes UDP also fast, lightweight, and the protocol of choice for many streaming scenarios …

How to Send UDP Messages in Python? Read More »

TensorFlow — A Helpful Illustrated Guide

Machine Learning (ML) is a sought-after skill in today’s automated world. Google is one of the key players in the Machine Learning space. With the growing scale and popularity of deep learning, the limitations of a single machine become more and more pronounced. Motivation Training a model on a single computer can take a long …

TensorFlow — A Helpful Illustrated Guide Read More »