Skip to content

Instantly share code, notes, and snippets.

@chaitanya-lakkundi
chaitanya-lakkundi / draw_points.py
Last active August 17, 2025 16:43
Draw Points on Image Using OpenCV
import cv2
import numpy as np
points_str="303,186 304,185 305,185 306,185 307,185 308,185 309,186 310,186 311,185 312,185 313,185 314,185 315,185 316,186 317,187 318,188 319,189 320,190 321,191 322,192 323,193 324,194 325,194 326,193 327,194 328,194 329,194 330,193 331,192 332,191 333,190 334,189 335,188 336,187 337,186 338,186 339,185 340,185 341,186 342,186 343,186 344,186 345,186 346,186 347,186 348,186 349,186 350,186 351,186 352,186 353,186 354,186 355,186 356,186 357,187 358,187 359,186 360,185 361,185 362,185 363,185 364,185 365,185 366,185 367,185 368,186 369,186 370,186 371,186 372,185 373,186 374,185 375,185 376,184 377,185 378,185 379,185 380,185 381,185 382,185 383,185 384,185 385,185 386,185 387,186 388,186 389,187 390,188 391,188 392,188 393,188 394,187 395,187 396,186 397,186 398,186 399,187 400,186 401,185 402,185 403,185 404,185 405,185 406,185 407,186 408,187 409,188 410,187 411,186 412,186 413,186 414,186 415,186 416,186 417,186 418,186 419,186 420,186 421,186 422,186 423,186 424,186 425,1
# Basic Pratyahara demo for students learning Python
msutra = ["अ", "इ", "उ", "ण्", "ऋ", "ऌ", "क्"]
# read pratyahara user input
pratyahara = input()
# entering अण्
startvarna = pratyahara[0]

Sliding window protocol

सुनिश्चितानेकाधिकोशप्रसारविधिः

Preconception of what is Sliding window protocol

There is a fixed sender window size. This size determines the number of frames (data link layer's protocol data unit) to be sent simultaneously before receiving an ACK. Window size must be greater than 1. Otherwise, it would reduce to stop and wait protocol.

सुनिश्चितः इति ।

The word निश्चितः indicates that the number of frames is fixed while transmission. However, it is not an absolute number that is fixed. It may vary in different contexts. सु उपसर्गः is added to indicate this "depending upon context". सुनिश्चितः means well defined according to situation.

@chaitanya-lakkundi
chaitanya-lakkundi / README.txt
Last active May 14, 2017 04:51
CSS Themes for Kupfer Launcher
These files are to be copied into ~/.local/share/kupfer directory.
custom_theme plugin will automatically detect these themes and present a choice.
Any user can write custom css and share.