Ritik Kumar

🌜
🌞
Display pic

Ritik Kumar

Backend Engineer
Computer Network Enthusiast


Raspberry Pi Camera Live Streaming: Step-by-Step Setup

Are you ready for some weekend tech fun? Buckle up because we’re about to embark on an exciting journey! Our mission? To create a cutting-edge Raspberry Pi-based image streaming service that brings real-time images right to your phone, no matter where you are. And the best part? It’s all about keeping things locked down tight — your feed, your privacy, and your excitement!

🔧 What You’ll Need for this Awesome Project 🔧

Gather up your tools because we’re about to embark on a tech adventure that’s as exciting as it is educational! Here’s your checklist:

  • 🍇Raspberry Pi: The tiny computer with mighty capabilities, perfect for running small computing tasks right from the comfort of your home or lab.
  • 📷Raspberry Pi Camera: A budget-friendly 5MP camera that captures surprisingly sharp and clear images.
  • ☁️AWS EC2, Azure VM, or a Cloud VM Hosting Service of Your Choice: We’ll harness the power of the cloud to set up our very own Nginx server with mutual certificate authentication.

Setting up Raspberry Pi

Having any OS on Pi should be fine. We shall be using Python in this project. However, I recommend popular Linux distros like Debian or any OS based on Debian.

You can skip this step if you already have a working Pi. Or follow resources like this to flash your SD card and boot and set up Debian on the PI.

Connecting the Pi Camera

With the Pi setup complete and the Pi up and running, let’s get the PI camera on the Pi. Many resources are available on the internet to help us with this. You may follow this one.

Pipeline

In this project, we shall be creating this pipeline. A brief overview of the steps:

  • Python program uses the picamera2 module to periodically capture images
  • Encode and send the picture as an HTML file using SCP
  • Create an Nginx config file to serve the file
  • Create and install a key certificate to authenticate the client

Pipeline image read more...



Income Tax Filing for Foreign Assets

Let’s be real — filing for income tax in India can be a bit of a head-scratcher. It’s like trying to solve a puzzle where the rules keep changing, and for someone new to the whole earning-and-tax thing, it can get seriously overwhelming. You’ve got the basics down, but what about those foreign assets? The whole “I didn’t sell, why bother” strategy might not be the tax-saver it seems.

And don’t get me started on the CA route. It turns out that even they sometimes draw a blank regarding the nitty-gritty details.

And here’s the kicker — mishandling those foreign assets can trigger notices, bringing you face-to-face with the Black Money Act. Massive penalties lurk and the prospect of jail time is not just a distant threat. read more...



Jio vs TCP

🚀 Diving into the Network Abyss: Unraveling Jio’s 64kbps Terminal Limit from a TCP Perspective 🌐💻

Hold on to your virtual hats, tech enthusiasts! We’re about to embark on a journey that goes beyond the surface of India’s telecom giant, Reliance Jio. We’re delving into the mysterious realm of Jio’s 64kbps terminal limit, not to dissect Jio but to understand the intricate dance it performs in the world of TCP.

Sure, Jio is a behemoth in the telecom world, with its 5G plans and a game-changing impact on data costs that brought the nation online at lightning speed. But today, we’re not just talking about Jio; we’re on a mission to decode the enigma behind the 64kbps terminal limit, unravelling the threads that make TCP tick in this innovative landscape.

Forget the usual chatter about DAU/MAU numbers; we’re here to explore the techy side of Jio’s prowess. So buckle up, tech explorers, as we venture into the heart of Jio’s network intricacies, where IPv6 adoption reigns supreme at a staggering 92.5%. Let’s push the boundaries of understanding and discover what makes Jio’s TCP perspective truly fascinating! 🚀🔍📡

read more...



Networking when you google

I took a lecture aimed at explaining what happens when you google something. It was more like how a website is accessed from networking perspective. This lecture touches:

  • The Transport layer protocols
    • TCP
    • UDP
  • Explains what happens when we search for a website on the browser
    • DNS
    • Packet exchange on the network

Check this out here

read more...