Open in app

Sign In

Write

Sign In

Robus Gauli
Robus Gauli

60 Followers

Home

About

Nov 19, 2020

5 things I wish I knew before adding variable in .env

TLDR: Configuration management is hard. Fix it before digging a deeper hole. Below is the sample .env file that looks pretty standard and innocent. This does not necessarily map to a real-world configuration where you could expect this file to contain way more environment variables.This is pretty standard in projects…

Configuration Management

4 min read

Configuration Management

4 min read


Oct 26, 2020

How do I work on multiple projects simultaneously without losing my mind

When you work for a company that has multiple projects running at the same time and your job is to constantly context switch between projects, it becomes nearly impossible to wrap your head around given the project and problem at hand to work on. Sometimes I am writing K8s ingress…

Tmux

5 min read

How do I work on multiple projects simultaneously without losing my mind
How do I work on multiple projects simultaneously without losing my mind
Tmux

5 min read


Jan 5, 2020

Non-blocking I/O for Python

Motivation: Ever wondered “What if NODEJS non blocking I/O could be somehow ported to python?” Handling millions of long running tcp connections would require threads or processes pool in python. Below is the snippets for handling concurrent tcp connections using Thread Pool. The…

Nodejs

4 min read

Non-blocking I/O for Python
Non-blocking I/O for Python
Nodejs

4 min read


Apr 9, 2019

Thread safe lazy property caching for python.

F.Y.I: This article assumes you have idea about property decorator in python. class Math: @property def tao(self): pass # way you use it is math = Math() # access the property tao = math.tao property decorator are cool in a sense that it turns your function call into intuitive property…

Python

2 min read

Thread safe lazy property caching for python.
Thread safe lazy property caching for python.
Python

2 min read


Dec 30, 2018

A untold story about “composition” and “multiple inheritance” in PYTHON

Disclaimer: This article assumes you know idea of decorators in python. Python has always been this awesome language where you have first class support for decorator. Decorator allows you to write modular, compositional and loosely coupled code. It is O of “SOLID Principle” i.e. …

Python

2 min read

Python

2 min read


May 16, 2018

Generator and Traversal

When I was first introduced to lazy evaluation in Haskell, I was sold by the idea of working with infinite series. Here is the simple program that creates an infinite series of integers and outputs only first ten digits. -- |It creates a list of integers from 1 to infinity list…

Generator

6 min read

Generator and Traversal
Generator and Traversal
Generator

6 min read


Apr 8, 2018

New “dataclass” class decorator in Python3.7

As I was stumbling on the new features added on python 3.7, newly added module caught my eye which is known as “dataclasses”. This module exposes a class decorator called “dataclass” which wraps around the class definition and it smells very similar to “collections.namedtuple”. At a glance it looked like…

Python

2 min read

Python

2 min read

Robus Gauli

Robus Gauli

60 Followers

https://github.com/RobusGauli

Following
  • Netflix Technology Blog

    Netflix Technology Blog

  • Sagun Karanjit

    Sagun Karanjit

  • Yankee Maharjan

    Yankee Maharjan

  • Subash Poudel

    Subash Poudel

  • Niyanta

    Niyanta

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech