Your Model Server Says It Is Ready. But Is It Really Ready?Last September, I fixed a small issue in LitServe. When multiple API instances were passed to the server, middleware could be registered more than once. The fix was merged in PR #601. At first, I consJul 18 · 2 min readdev.shivagaire.com.np
How a fake client's project tried to hack my machine with RCESomeone messaged me on LinkedIn pitching a project idea. The repo he sent had a remote code execution backdoor in it. This is what it did and how I survived the linkedin lead that turned malicious witMay 22 · 12 min readdev.shivagaire.com.np
A Yogi's Guide to Debug Python ProgramsThere are many resources on how to write code but not many on how to debug. In this article, I am highlighting my approach to debug both synchronous and asynchronous Python programs. Approach to debugging Using IDE: Running a program in debug mode in...1PSep 14, 2023 · 5 min readdev.shivagaire.com.np
Beginners guide to Iterator, Iterable and Iteration in PythonIntroduction In programming iterable, iterator and iteration are pretty familiar words and one can have much confusion explaining and understanding these pretty common topics. Let's demystify them one by one. Iterable The natural language definition...2MPMay 29, 2021 · 3 min readdev.shivagaire.com.np
Multiple inheritance and MRO in pythonIntroduction Let's first talk about the word inheritance, oxford dictionary defines it as something from the past or from your family that affects the way you behave, look, etc. In object-oriented programming, inheritance facilitates code reuse with...2DCMay 23, 2021 · 4 min readdev.shivagaire.com.np