PyTest live logging in PyCharm

PyTest does allow output to be ‘live printed’ 

Also, it possible to see logging output in PyTest

Checkout these two links:

Latex quirks

its interesting how many quirks Latex has.

System Design Interview

The system design interview can be of two kinds:

Object Oriented / Data Model :


System Design :



Things you do as a well rounded ML Engineer / Data Scientist

I came across this list somewhere on the web.

I felt the list nicely captures the different kinds of skills a well rounded ML Engineer/Data Scientist develops over his/her career:

Python Class Attributes

I recently came across this interesting article on class attributes v/s instance attributes in Python.




Named Pipes. C# Python. .NET Core

I recently ran into issues  using the NamedPipeServerStream API  with .NET Core.

  • In Windows,  NamedPipeServerStream creates a pipe with a defined name in a specific location on the Windows filesystem (\\.pipe\\)
    • In a Python client application,  we were able to open this pipe for communication  using  the   code  snippet  :  open(r’\\.\pipe\\’ + pipe_name, ‘r+b’, 0)


  • However, on Linux,  the behavior for the NamedPipeServerStream API is different.
    • Looking at the source code for .NET Core,  I saw that NamedPipeServer/ClientStream in .NET Core are built on top of Unix domain sockets.
    • So, if we want to communicate with a Python client, we have to use Python’s socket module




C# OutOfProcess Python