Open in app

Sign In

Write

Sign In

Santosh Kumar
Santosh Kumar

74 Followers

Home

About

Feb 11

__str__ vs __repr__ in Python and When to Use Them

Introduction In a previous post, we have done a comparison between __new__ and __init__. In this post, we are going to do something similar, but with a different pair. For those who don’t know, __str__() and __repr__() are two dunder methods which you can override in a class to change the…

Python

3 min read

__str__ vs __repr__ in Python and When to Use Them
__str__ vs __repr__ in Python and When to Use Them
Python

3 min read


Jan 25

How to Control Philips Wiz Bulb Using Go

Introduction I have always been conscious about privacy and it was the sole reason I wasn’t early adapter of smart home devices. This changed when I bought Raspberry Pi. I learned that I can make my Pi hub to all the smart devices at my home. And this is how I…

IoT

5 min read

How to Control Philips Wiz Bulb Using Go
How to Control Philips Wiz Bulb Using Go
IoT

5 min read


Jan 3

First Month With My Raspberry Pi

Introduction It’s no longer than a month since I bought a Raspberry Pi. Pi 4B to be precise. In this post, I’m going to log how I spent my 1st month with it. Setup the Pi When I decided to buy Raspi, I decided not to go with the kit. The reason was the…

IoT

4 min read

First Month With My Raspberry Pi
First Month With My Raspberry Pi
IoT

4 min read


Dec 20, 2022

How to Write Classes in Golang

Introduction I have seen many people coming from Python background struggling with Go. What I have obeserved it they write code that is limited to writing functions and calling them. They never leverage design constructs such as abstraction, encapsulation, inheritance, composition etc. …

3 min read

How to Write Classes in Golang
How to Write Classes in Golang

3 min read


Dec 8, 2022

Testing HTTP Requests with Postman

Introduction In Postman Premier — The Minimal Postman you need to Learn, I posted the minimum of Postman you need to learn. In this article, I’m going to expand on that knowledge and dig more into the response. …

Postman

4 min read

Testing HTTP Requests with Postman
Testing HTTP Requests with Postman
Postman

4 min read


Nov 20, 2022

Postman Premier — The Minimal Postman you need to Learn

Introduction Welcome to my Fullstack with Santosh. Today we are going to learn about how to use Postman as a backend engineer to make our daily life easier. Postman is an API testing tool where you can test your REST APIs. …

Postman

7 min read

Postman Premier — The Minimal Postman you need to Learn
Postman Premier — The Minimal Postman you need to Learn
Postman

7 min read


Oct 22, 2022

Best Logging Library for Golang

Introduction I recently conducted a poll in the Go community regarding which logging library they use in their personal or professional project. The results were interesting. In this post I have jotted down the most favorite logging libraries and here is my opinion about them. Poll Results Here are the poll results that…

Golang

3 min read

Best Logging Library for Golang
Best Logging Library for Golang
Golang

3 min read


Published in

Better Programming

·Sep 3, 2022

Release Dangling Elastic IPs Using the Lambda and Go SDKs

An in-depth guide to save you money — Introduction Today, we are going to do a hands-on on how to kill a dangling EIP, or in other words, deallocate an unassigned Elastic IP. But before that, let’s talk about… What Is an Elastic IP, and Why Do We Need It? Elastic IPs are simply IP addresses provided by Amazon AWS. These are usually attached to internet gateways such as load…

Go

9 min read

Release Dangling Elastic IPs Using the Lambda and Go SDKs
Release Dangling Elastic IPs Using the Lambda and Go SDKs
Go

9 min read


May 26, 2022

How to Integrate Swagger UI in Go Backend — Gin Edition

Introduction Unlike FastAPI, Gin does not have OpenAPI integration built in. With FastAPI when you add a route, documentation is already generated. With Gin, this is not the case. But recently I integrated Swagger UI in one of my Go backends and I wanted to document that process. Prerequisites An already running…

Gin

9 min read

How to Integrate Swagger UI in Go Backend — Gin Edition
How to Integrate Swagger UI in Go Backend — Gin Edition
Gin

9 min read


May 16, 2022

gRPC for Absolute Beginners, in Go

Introduction The Internet has evolved in the last 2 decades a lot. HTTP/1.1 was not enough so we have HTTP2 now. The specification we used to transfer data between the client and the server has also evolved. From XML to JSON, now we have Protocol Buffer, which is a binary spec…

Grpc

11 min read

gRPC for Absolute Beginners, in Go
gRPC for Absolute Beginners, in Go
Grpc

11 min read

Santosh Kumar

Santosh Kumar

74 Followers

Full Stack Developer. Pythonist. Gopher.

Following
  • Netflix Technology Blog

    Netflix Technology Blog

  • Pinterest Engineering

    Pinterest Engineering

  • John Morris

    John Morris

  • Alessandro Butler

    Alessandro Butler

  • Amit Agarwal

    Amit Agarwal

See all (54)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech

Teams